aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-13 18:19:11 +0200
committerGitHub <noreply@github.com>2024-08-13 18:19:11 +0200
commit9f4e281457ea73a9363cdf781351ed26be6ecbfc (patch)
tree3c0e258290468b5815751b8b1fb6030f0192020c /src/main/java/at/hannibal2/skyhanni/config
parent54101578e57ce5ca8d74c55469b2fa6c5360a08c (diff)
downloadskyhanni-9f4e281457ea73a9363cdf781351ed26be6ecbfc.tar.gz
skyhanni-9f4e281457ea73a9363cdf781351ed26be6ecbfc.tar.bz2
skyhanni-9f4e281457ea73a9363cdf781351ed26be6ecbfc.zip
Feature: Farming Personal Best FF Gain (#2332)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java9
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java5
2 files changed, 13 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java
index c4bbfacf3..b39f5f01c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java
@@ -217,6 +217,15 @@ public class GardenConfig {
@FeatureToggle
public boolean jacobContestSummary = true;
+ @Expose
+ @ConfigOption(
+ name = "Personal Best Increase FF",
+ desc = "Show in chat how much more FF you get from farming contest personal best bonus after beating the previous record."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean contestPersonalBestIncreaseFF = true;
+
// Does not have a config element!
@Expose
public Position cropSpeedMeterPos = new Position(278, -236, false, true);
diff --git a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
index 3410d9b4d..39ce4402b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -29,7 +29,6 @@ import at.hannibal2.skyhanni.features.garden.pests.PestProfitTracker;
import at.hannibal2.skyhanni.features.garden.pests.VinylType;
import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward;
import at.hannibal2.skyhanni.features.inventory.chocolatefactory.ChocolateFactoryStrayTracker;
-import at.hannibal2.skyhanni.features.inventory.chocolatefactory.ChocolateFactoryUpgrade;
import at.hannibal2.skyhanni.features.inventory.wardrobe.WardrobeAPI;
import at.hannibal2.skyhanni.features.mining.MineshaftPityDisplay;
import at.hannibal2.skyhanni.features.mining.fossilexcavator.ExcavatorProfitTracker;
@@ -275,6 +274,10 @@ public class ProfileSpecificStorage {
@Expose
public Map<CropType, Double> latestTrueFarmingFortune = new HashMap<>();
+ // TODO use in /ff guide
+ @Expose
+ public Map<CropType, Double> personalBestFF = new HashMap<>();
+
@Expose
@Nullable
public CropAccessory savedCropAccessory = CropAccessory.NONE;