aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-10 04:41:53 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-10 04:41:53 +0100
commitf234a3db037e36242fcf92463abe947999d420fa (patch)
tree60243ad2c69be29d91c903cfcb54c89f0fe25fca /src/main/java/at/hannibal2/skyhanni/config
parent342d03543b9471320ad5c202d0a965aaf5c52eb0 (diff)
downloadskyhanni-f234a3db037e36242fcf92463abe947999d420fa.tar.gz
skyhanni-f234a3db037e36242fcf92463abe947999d420fa.tar.bz2
skyhanni-f234a3db037e36242fcf92463abe947999d420fa.zip
Added Garden Level Display.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java19
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java3
3 files changed, 26 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index c9ab200ca..ec666b099 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -203,6 +203,11 @@ public class Features extends Config {
editOverlay(activeConfigCategory, 200, 16, garden.optimalSpeedPos);
return;
}
+
+ if (runnableId.equals("gardenLevel")) {
+ editOverlay(activeConfigCategory, 200, 16, garden.gardenLevelPos);
+ return;
+ }
}
@Expose
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;
@@ -294,6 +294,23 @@ public class Garden {
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
public boolean plotPrice = true;
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<String, Integer> gardenCropsPerSecond = new HashMap<>();
+
+ @Expose
+ public int gardenExp = -1;
}