From dbfd0b107c2abf1966300dfc6dd7f34329fc282c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:13:28 +0200 Subject: Show total amount of all rarities at the end of the chat message --- src/main/java/at/hannibal2/skyhanni/config/Storage.java | 4 ++++ src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index b55e410fe..21979ffef 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -1,6 +1,7 @@ package at.hannibal2.skyhanni.config; import at.hannibal2.skyhanni.data.model.ComposterUpgrade; +import at.hannibal2.skyhanni.features.fishing.TrophyRarity; import at.hannibal2.skyhanni.features.garden.CropAccessory; import at.hannibal2.skyhanni.features.garden.CropType; import at.hannibal2.skyhanni.features.garden.fortuneguide.FarmingItems; @@ -71,6 +72,9 @@ public class Storage { @Expose public List kuudraTiersDone = new ArrayList<>(); + + @Expose + public Map> trophyFishes = new HashMap<>(); } @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java b/src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java index f9e3fe207..e7fcff1ff 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java @@ -37,6 +37,12 @@ public class Fishing { @ConfigAccordionId(id = 0) public boolean trophyFishDuplicateHider = false; + @Expose + @ConfigOption(name = "Show total amount", desc = "Show total amount of all rarities at the end of the chat message.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 0) + public boolean trophyFishTotalAmount = false; + @Expose @ConfigOption(name = "Bronze Duplicates", desc = "Hide duplicate messages for bronze trophy fishes from chat.") @ConfigEditorBoolean -- cgit