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/MiningConfig.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/TunnelMapsConfig.java80
2 files changed, 83 insertions, 0 deletions
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 b529a7c91..6d8bd06ab 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
@@ -48,6 +48,9 @@ public class MiningConfig {
public MiningNotificationsConfig notifications = new MiningNotificationsConfig();
@Expose
+ @Category(name = "Tunnel Maps", desc = "Settings for the Tunnel Maps")
+ public TunnelMapsConfig tunnelMaps = new TunnelMapsConfig();
+ @Expose
@ConfigOption(name = "Commissions Blocks Color", desc = "")
@Accordion
public CommissionsBlocksColorConfig commissionsBlocksColor = new CommissionsBlocksColorConfig();
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/TunnelMapsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/TunnelMapsConfig.java
new file mode 100644
index 000000000..99f36a429
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/TunnelMapsConfig.java
@@ -0,0 +1,80 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import at.hannibal2.skyhanni.config.core.config.Position;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import io.github.notenoughupdates.moulconfig.observer.Property;
+import org.lwjgl.input.Keyboard;
+
+public class TunnelMapsConfig {
+
+ @Expose
+ @ConfigOption(name = "Enable", desc = "Enables the tunnel maps, which give you a path to any location you want. Open the Inventory to select a destination.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enable = true;
+
+ @ConfigLink(owner = TunnelMapsConfig.class, field = "enable")
+ public Position position = new Position(20, 20);
+
+ @Expose
+ @ConfigOption(name = "Auto Commission", desc = "Takes the first collector commission as target when opening the commissions inventory, also works when completing commissions.")
+ @ConfigEditorBoolean
+ public boolean autoCommission = false;
+
+ @Expose
+ @ConfigOption(name = "Campfire Hotkey", desc = "Hotkey to warp to the campfire, if the travel scroll is not unlocked shows a path to the campfire.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int campfireKey = Keyboard.KEY_NONE;
+
+ @Expose
+ @ConfigOption(name = "Travel Scroll", desc = "Lets the mod know that you have unlocked the travel scroll to basecamp.")
+ @ConfigEditorBoolean
+ public boolean travelScroll = false;
+
+ @Expose
+ @ConfigOption(name = "Next Spot Hotkey", desc = "Hotkey to select the next spot.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int nextSpotHotkey = Keyboard.KEY_NONE;
+
+ @Expose
+ @ConfigOption(name = "Dynamic Path Colour", desc = "Instead of the selected color use the color of the target as line colour.")
+ @ConfigEditorBoolean
+ public boolean dynamicPathColour = true;
+
+ @Expose
+ @ConfigOption(name = "Path Colour", desc = "The colour for the paths, if the dynamic colour option is turned off.")
+ @ConfigEditorColour
+ public String pathColour = "0:255:0:255:0";
+
+ @Expose
+ @ConfigOption(name = "Text Size", desc = "Size of the waypoint texts.")
+ @ConfigEditorSlider(minValue = 0.5f, maxValue = 2.5f, minStep = 0.1f)
+ public float textSize = 1.0f;
+
+ @Expose
+ @ConfigOption(name = "Path width", desc = "Size of the path lines.")
+ @ConfigEditorSlider(minValue = 1f, maxValue = 15f, minStep = 1f)
+ public float pathWidth = 4.0f;
+
+ @Expose
+ @ConfigOption(name = "Distance at First", desc = "Shows the distance at the first edge instead of the end.")
+ @ConfigEditorBoolean
+ public boolean distanceFirst = false;
+
+ @Expose
+ @ConfigOption(name = "Compact Gemstone", desc = "Only shows the icon for gemstones in the selection list.")
+ @ConfigEditorBoolean
+ public Property<Boolean> compactGemstone = Property.of(false);
+
+ @Expose
+ @ConfigOption(name = "Exclude Fairy", desc = "Excludes the fairy soul spots from the selection list.")
+ @ConfigEditorBoolean
+ public Property<Boolean> excludeFairy = Property.of(false);
+}