diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-17 15:20:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 15:20:19 +0200 |
commit | 202512d5f171754613f734b649aa24644b578d06 (patch) | |
tree | 919fe8623f37da5fc5a6278053373a692c7e8fbd /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | bbb447e8c7eb784f2276fbd82c54f03062f58fbc (diff) | |
download | skyhanni-202512d5f171754613f734b649aa24644b578d06.tar.gz skyhanni-202512d5f171754613f734b649aa24644b578d06.tar.bz2 skyhanni-202512d5f171754613f734b649aa24644b578d06.zip |
Feature: Vermin Highlight (#1457)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
2 files changed, 28 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminHighlightConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminHighlightConfig.java new file mode 100644 index 000000000..23b785823 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminHighlightConfig.java @@ -0,0 +1,22 @@ +package at.hannibal2.skyhanni.config.features.rift.area.westvillage; + +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.ConfigOption; +import io.github.notenoughupdates.moulconfig.observer.Property; + +public class VerminHighlightConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Highlight Vermins in the West Village.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Color", desc = "Change Vermin highlight color.") + @ConfigEditorColour + public Property<String> color = Property.of("0:60:0:0:255"); +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/WestVillageConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/WestVillageConfig.java index f0e68cdde..5dbf1a231 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/WestVillageConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/WestVillageConfig.java @@ -11,8 +11,13 @@ public class WestVillageConfig { @Expose public KloonHackingConfig hacking = new KloonHackingConfig(); - @ConfigOption(name = "Vermin Tracker", desc = "infested") + @ConfigOption(name = "Vermin Tracker", desc = "Track all vermins collected.") @Accordion @Expose public VerminTrackerConfig verminTracker = new VerminTrackerConfig(); + + @ConfigOption(name = "Vermin Highlighter", desc = "Highlight vermins.") + @Accordion + @Expose + public VerminHighlightConfig verminHighlight = new VerminHighlightConfig(); } |