From f234a3db037e36242fcf92463abe947999d420fa Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 10 Mar 2023 04:41:53 +0100 Subject: Added Garden Level Display. --- .../at/hannibal2/skyhanni/config/features/Garden.java | 19 ++++++++++++++++++- .../at/hannibal2/skyhanni/config/features/Hidden.java | 3 +++ 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java index a288113ed..9230247ee 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -282,7 +282,7 @@ public class Garden { public boolean optimalSpeedEnabled = true; @Expose - @ConfigOption(name = "Enabled", desc = "Warn via title when you don't have the optimal speed.") + @ConfigOption(name = "Warning Title", desc = "Warn via title when you don't have the optimal speed.") @ConfigEditorBoolean @ConfigAccordionId(id = 9) public boolean optimalSpeedWarning = false; @@ -293,6 +293,23 @@ public class Garden { @ConfigAccordionId(id = 9) public Position optimalSpeedPos = new Position(188, -105, false, true); + @Expose + @ConfigOption(name = "Garden Level", desc = "") + @ConfigEditorAccordion(id = 10) + public boolean gardenLevel = false; + + @Expose + @ConfigOption(name = "Display", desc = "Show the current garden level and progress to the next level.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 10) + public boolean gardenLevelDisplay = true; + + @Expose + @ConfigOption(name = "Garden Level Position", desc = "") + @ConfigEditorButton(runnableId = "gardenLevel", buttonText = "Edit") + @ConfigAccordionId(id = 10) + public Position gardenLevelPos = new Position(-375, -215, false, true); + @Expose @ConfigOption(name = "Plot Price", desc = "Show the price of the plot in coins when inside the Configure Plots inventory.") @ConfigEditorBoolean diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java index 5bd2b3ba4..c8604aeb3 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java @@ -38,4 +38,7 @@ public class Hidden { @Expose public Map gardenCropsPerSecond = new HashMap<>(); + + @Expose + public int gardenExp = -1; } -- cgit