diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java | 36 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java | 5 |
2 files changed, 41 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java new file mode 100644 index 000000000..549acb9db --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java @@ -0,0 +1,36 @@ +package at.hannibal2.skyhanni.config.features.garden.pests; + +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.ConfigEditorSlider; +import io.github.moulberry.moulconfig.annotations.ConfigOption; + +public class PestProfitTrackerConfig { + + @Expose + @ConfigOption( + name = "Enabled", + desc = "Count all items you pick up when killing pests." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption( + name = "Hide messages", + desc = "Hides regular pest drop messages." + ) + @ConfigEditorBoolean + public boolean hideChat = true; + + @Expose + @ConfigOption(name = "Time Displayed", desc = "Time displayed after killing a pest.") + @ConfigEditorSlider(minValue = 5, maxValue = 60, minStep = 1) + public int timeDisplayed = 30; + + @Expose + public Position position = new Position(20, 20, false, true); +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java index 95c476da8..6aada35c5 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java @@ -27,6 +27,11 @@ public class PestsConfig { public PestTimerConfig pestTimer = new PestTimerConfig(); @Expose + @ConfigOption(name = "Pest Profit Tracker", desc = "") + @Accordion + public PestProfitTrackerConfig pestProfitTacker = new PestProfitTrackerConfig(); + + @Expose @ConfigOption(name = "Spray", desc = "") @Accordion public SprayConfig spray = new SprayConfig(); |