diff options
author | SeRaid <77941535+SeRaid743@users.noreply.github.com> | 2024-05-01 21:02:11 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 11:02:11 +0200 |
commit | 2917930c250123951da6892813ca40246d71ac0a (patch) | |
tree | fe2818d9c19b3962219aeb3c6f12913ced595ceb /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 05715532dee8db1917369eaee6579a38b156a1f4 (diff) | |
download | skyhanni-2917930c250123951da6892813ca40246d71ac0a.tar.gz skyhanni-2917930c250123951da6892813ca40246d71ac0a.tar.bz2 skyhanni-2917930c250123951da6892813ca40246d71ac0a.zip |
Feature: add guide to dungeon hub races (#1471)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java | 5 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonsRaceGuideConfig.java | 34 |
2 files changed, 39 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java index 1f3c688db..2e1999509 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java @@ -128,4 +128,9 @@ public class DungeonConfig { @ConfigEditorBoolean @FeatureToggle public boolean shadowAssassinJumpNotifier = false; + + @Expose + @ConfigOption(name = "Dungeon Races Guide", desc = "") + @Accordion + public DungeonsRaceGuideConfig dungeonsRaceGuide = new DungeonsRaceGuideConfig(); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonsRaceGuideConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonsRaceGuideConfig.java new file mode 100644 index 000000000..d1508790f --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonsRaceGuideConfig.java @@ -0,0 +1,34 @@ +package at.hannibal2.skyhanni.config.features.dungeon; + +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.ConfigEditorColour; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; +import io.github.notenoughupdates.moulconfig.observer.Property; + +public class DungeonsRaceGuideConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Shows a guide for each of the Dungeon Hub races. " + + "§eCurrently only works with No Return; Nothing at all races.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Look Ahead", desc = "Change how many waypoints should be shown in front of you.") + @ConfigEditorSlider(minStep = 1, maxValue = 30, minValue = 1) + public Property<Integer> lookAhead = Property.of(3); + + @Expose + @ConfigOption(name = "Rainbow Color", desc = "Show the rainbow color effect instead of a boring monochrome.") + @ConfigEditorBoolean + public Property<Boolean> rainbowColor = Property.of(true); + + @Expose + @ConfigOption(name = "Monochrome Color", desc = "Set a boring monochrome color for the guide waypoints.") + @ConfigEditorColour + public Property<String> monochromeColor = Property.of("0:60:0:0:255"); +} |