summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-19 17:13:28 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-19 17:13:28 +0200
commitdbfd0b107c2abf1966300dfc6dd7f34329fc282c (patch)
tree19ab3e018214bb932b6a65465135b95baee778bc /src/main/java/at/hannibal2/skyhanni/config
parentb45fd460c0a91de19fa7cc6e95b4987e9cdc25d5 (diff)
downloadskyhanni-dbfd0b107c2abf1966300dfc6dd7f34329fc282c.tar.gz
skyhanni-dbfd0b107c2abf1966300dfc6dd7f34329fc282c.tar.bz2
skyhanni-dbfd0b107c2abf1966300dfc6dd7f34329fc282c.zip
Show total amount of all rarities at the end of the chat message
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Fishing.java6
2 files changed, 10 insertions, 0 deletions
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<String> kuudraTiersDone = new ArrayList<>();
+
+ @Expose
+ public Map<String, Map<TrophyRarity, Integer>> 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
@@ -38,6 +38,12 @@ public class Fishing {
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
@ConfigAccordionId(id = 0)