From 6a4663673cb244fb265bb08f96165d4929e72f0c Mon Sep 17 00:00:00 2001 From: appable Date: Wed, 12 Apr 2023 06:09:48 -0700 Subject: Farming fortune accessory support (#37) --- .../java/at/hannibal2/skyhanni/config/features/Bazaar.java | 2 +- .../java/at/hannibal2/skyhanni/config/features/Garden.java | 10 ++++++++++ .../java/at/hannibal2/skyhanni/config/features/Hidden.java | 4 ++++ src/main/java/at/hannibal2/skyhanni/config/features/Misc.java | 3 +++ 4 files changed, 18 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Bazaar.java b/src/main/java/at/hannibal2/skyhanni/config/features/Bazaar.java index 48d32fc15..e988c7b67 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Bazaar.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Bazaar.java @@ -18,7 +18,7 @@ public class Bazaar { public boolean bestSellMethod = false; @Expose - public Position bestSellMethodPos = new Position(10, 10, false, true); + public Position bestSellMethodPos = new Position(394, 142, false, true); @Expose @ConfigOption(name = "Cancelled Buy Order Clipboard", desc = "Saves missing items from cancelled buy orders to clipboard for faster re-entry.") 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 45189cec8..4a2ac82a2 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -771,6 +771,16 @@ public class Garden { @ConfigAccordionId(id = 18) public boolean farmingFortuneDisplay = true; + @Expose + @ConfigOption( + name = "Show As Drop Multiplier", + desc = "Adds 100 to the displayed farming fortune so that it represents a drop multiplier rather than" + + " the chance for bonus drops. " + ) + @ConfigEditorBoolean + @ConfigAccordionId(id = 18) + public boolean farmingFortuneDropMultiplier = false; + @Expose public Position farmingFortunePos = new Position(-375, -200, false, 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 1aa26dd72..59133d122 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.config.features; +import at.hannibal2.skyhanni.features.garden.CropAccessory; import at.hannibal2.skyhanni.features.garden.CropType; import com.google.gson.annotations.Expose; @@ -46,6 +47,9 @@ public class Hidden { @Expose public int gardenExp = -1; + @Expose + public CropAccessory savedCropAccessory = null; + @Expose public Map gardenDicerRngDrops = new HashMap<>(); diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java index 8b9ea625a..7808e0df7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java @@ -276,4 +276,7 @@ public class Misc { @ConfigOption(name = "Config Button", desc = "Add a button to the pause menu to configure SkyHanni.") @ConfigEditorBoolean public boolean configButtonOnPause = true; + + @Expose + public Position inventoryLoadPos = new Position(394, 124, false, true); } -- cgit