aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
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.java21
2 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index 59e14e60d..61dcf0de7 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -151,6 +151,11 @@ public class Features extends Config {
editOverlay(activeConfigCategory, 200, 16, garden.visitorTimerPos);
return;
}
+
+ if (runnableId.equals("cropMilestone")) {
+ editOverlay(activeConfigCategory, 200, 16, garden.cropMilestoneDisplayPos);
+ 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 94a3b38cb..6ada96ef0 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -113,6 +113,27 @@ public class Garden {
public boolean numberCropUpgrades = true;
@Expose
+ @ConfigOption(name = "Crop Milestone", desc = "")
+ @ConfigEditorAccordion(id = 5)
+ public boolean cropMilestone = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Display",
+ desc = "Show how much more crops are needed to reach the next crop milestone. " +
+ "§cRequires an tool with either an counter or cultivating enchantment in the hand."
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 5)
+ public boolean cropMilestoneDisplay = true;
+
+ @Expose
+ @ConfigOption(name = "Display Position", desc = "")
+ @ConfigEditorButton(runnableId = "cropMilestone", buttonText = "Edit")
+ @ConfigAccordionId(id = 5)
+ public Position cropMilestoneDisplayPos = new Position(0, 0, 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;