aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/CorpseLocatorConfig.java20
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/GlaciteMineshaftConfig.java25
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftWaypointsConfig.java24
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java4
4 files changed, 73 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/CorpseLocatorConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/CorpseLocatorConfig.java
new file mode 100644
index 000000000..b116bc09e
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/CorpseLocatorConfig.java
@@ -0,0 +1,20 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class CorpseLocatorConfig {
+
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "Locates Corpses that are within line of sight then mark it with a waypoint.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Auto Send Location", desc = "Automatically send the location and type of the corpse in party chat.")
+ @ConfigEditorBoolean
+ public boolean autoSendLocation = false;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/GlaciteMineshaftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/GlaciteMineshaftConfig.java
new file mode 100644
index 000000000..5b50ffcc8
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/GlaciteMineshaftConfig.java
@@ -0,0 +1,25 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.Accordion;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import org.lwjgl.input.Keyboard;
+
+public class GlaciteMineshaftConfig {
+ @Expose
+ @ConfigOption(name = "Mineshaft Waypoints", desc = "General waypoints inside the Mineshaft.")
+ @Accordion
+ public MineshaftWaypointsConfig mineshaftWaypoints = new MineshaftWaypointsConfig();
+
+ @Expose
+ @ConfigOption(name = "Corpse Locator", desc = "")
+ @Accordion
+ public CorpseLocatorConfig corpseLocator = new CorpseLocatorConfig();
+
+ @Expose
+ @ConfigOption(name = "Share Waypoint Location", desc = "Shares the location of the nearest waypoint upon key press.\n" +
+ "§eYou can share the location even if it has already been shared!")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int shareWaypointLocation = Keyboard.KEY_NONE;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftWaypointsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftWaypointsConfig.java
new file mode 100644
index 000000000..a8c7b4d55
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftWaypointsConfig.java
@@ -0,0 +1,24 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class MineshaftWaypointsConfig {
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "Enable features related to the Glacite Mineshaft.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Entrance Location", desc = "Marks the location of the entrance with a waypoint.")
+ @ConfigEditorBoolean
+ public boolean entranceLocation = false;
+
+ @Expose
+ @ConfigOption(name = "Ladder Location", desc = "Marks the location of the ladders at the bottom of the entrance with a waypoint.")
+ @ConfigEditorBoolean
+ public boolean ladderLocation = false;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
index 05ad3fb27..f4b64bf4f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
@@ -47,6 +47,10 @@ public class MiningConfig {
public FossilExcavatorConfig fossilExcavator = new FossilExcavatorConfig();
@Expose
+ @Category(name = "Glacite Mineshaft", desc = "Settings for the Glacite Mineshaft")
+ public GlaciteMineshaftConfig glaciteMineshaft = new GlaciteMineshaftConfig();
+
+ @Expose
@ConfigOption(name = "Notifications", desc = "")
@Accordion
public MiningNotificationsConfig notifications = new MiningNotificationsConfig();