aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorappable <enzospiacitelli@gmail.com>2023-04-10 17:44:46 -0700
committerGitHub <noreply@github.com>2023-04-11 02:44:46 +0200
commit04cfe48dbbc58da81c8390dfb20216a7258cba3e (patch)
tree09b517607af1cb71b2207981fc13115eb6696d91 /src/main/java/at/hannibal2/skyhanni/config/features
parent65d8a310f7880d1acfe799dbc0c90cc9cef08610 (diff)
downloadskyhanni-04cfe48dbbc58da81c8390dfb20216a7258cba3e.tar.gz
skyhanni-04cfe48dbbc58da81c8390dfb20216a7258cba3e.tar.bz2
skyhanni-04cfe48dbbc58da81c8390dfb20216a7258cba3e.zip
Farming fortune display (#34)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java51
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java3
2 files changed, 54 insertions, 0 deletions
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 336e83755..1e01135ce 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -758,6 +758,57 @@ public class Garden {
public boolean composterInventoryNumbers = true;
@Expose
+ @ConfigOption(name = "True Farming Fortune", desc = "")
+ @ConfigEditorAccordion(id = 18)
+ public boolean farmingFortune = false;
+
+ @Expose
+ @ConfigOption(
+ name = "FF Display",
+ desc = "Displays current farming fortune, including crop-specific bonuses."
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 18)
+ public boolean farmingFortuneDisplay = true;
+
+ @Expose
+ public Position farmingFortunePos = new Position(-375, -200, false, true);
+
+ @Expose
+ @ConfigOption(name = "Tooltip Tweaks", desc = "")
+ @ConfigEditorAccordion(id = 20)
+ public boolean tooltipTweaks = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Compact Descriptions",
+ desc = "Hides redundant parts of reforge descriptions, generic counter description, and Farmhand perk explanation."
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 20)
+ public boolean compactToolTooltips = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Breakdown Hotkey",
+ desc = "When the keybind is pressed, show a breakdown of all fortune sources on a tool."
+ )
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_LSHIFT)
+ @ConfigAccordionId(id = 20)
+ public int fortuneTooltipKeybind = Keyboard.KEY_LSHIFT;
+
+ @Expose
+ @ConfigOption(
+ name = "Tooltip Format",
+ desc = "Show crop-specific farming fortune in tooltip.\n" +
+ "§fShow: §7Crop-specific fortune indicated as §6[+196]\n" +
+ "§fReplace: §7Edits the total fortune to include crop-specific fortune."
+ )
+ @ConfigEditorDropdown(values = {"Default", "Show", "Replace"})
+ @ConfigAccordionId(id = 20)
+ public int cropTooltipFortune = 1;
+
+ @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 bc898c818..1aa26dd72 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java
@@ -38,6 +38,9 @@ public class Hidden {
public Map<CropType, Long> gardenCropCounter = new HashMap<>();
@Expose
+ public Map<CropType, Integer> gardenCropUpgrades = new HashMap<>();
+
+ @Expose
public Map<CropType, Integer> gardenCropsPerSecond = new HashMap<>();
@Expose