diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-26 19:23:57 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-26 19:23:57 +0100 |
| commit | 38abef2c4409cf32b2087918ac587e8bf370c091 (patch) | |
| tree | b77cb9845c9dbe53ea5cd44c12ac210825d8e456 /src/main/java/at/hannibal2/skyhanni/config/features | |
| parent | f676436eda47f06a856aeeb40030d2e736f9724f (diff) | |
| download | skyhanni-38abef2c4409cf32b2087918ac587e8bf370c091.tar.gz skyhanni-38abef2c4409cf32b2087918ac587e8bf370c091.tar.bz2 skyhanni-38abef2c4409cf32b2087918ac587e8bf370c091.zip | |
Added Sea Creature Tracker.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
3 files changed, 37 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java index 2de341b4c..4867c0bcd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java @@ -70,7 +70,8 @@ public class DianaConfig { public DianaProfitTrackerConfig dianaProfitTracker = new DianaProfitTrackerConfig(); @Expose - @ConfigOption(name = "Mythological Mob Tracker", desc = "") + @ConfigOption(name = "Mythological Creature Tracker", desc = "") @Accordion + // TODO renmae public MythologicalMobTrackerConfig mythologicalMobtracker = new MythologicalMobTrackerConfig(); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java index 349f4882e..d0bf5d1f3 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java @@ -56,6 +56,11 @@ public class FishingConfig { public FishingProfitTrackerConfig fishingProfitTracker = new FishingProfitTrackerConfig(); @Expose + @ConfigOption(name = "Sea Creature Tracker", desc = "") + @Accordion + public SeaCreatureTrackerConfig seaCreatureTracker = new SeaCreatureTrackerConfig(); + + @Expose @ConfigOption( name = "Shark Fish Counter", desc = "Counts how many Sharks have been caught." diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java new file mode 100644 index 000000000..91c26aa21 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java @@ -0,0 +1,30 @@ +package at.hannibal2.skyhanni.config.features.fishing; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigOption; +import io.github.moulberry.moulconfig.observer.Property; + +public class SeaCreatureTrackerConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Count the different sea creatures you catch.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + public Position position = new Position(20, 20, false, true); + + @Expose + @ConfigOption(name = "Show Percentage", desc = "Show percentage how often what sea creature got catched.") + @ConfigEditorBoolean + public Property<Boolean> showPercentage = Property.of(false); + + @Expose + @ConfigOption(name = "Hide Chat", desc = "Hide the chat messages when catching a sea creature.") + @ConfigEditorBoolean + public boolean hideChat = false; +} |
