aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorDavid Cole <40234707+DavidArthurCole@users.noreply.github.com>2024-08-25 18:30:44 -0400
committerGitHub <noreply@github.com>2024-08-26 00:30:44 +0200
commit560af1582429c4a0efd588820e9a273879b1e098 (patch)
treea1d26b824a8f5d1eedb12a21ab30a511b22a7f50 /src/main/java/at/hannibal2/skyhanni/config
parentf1ad84c1976fc8f0aede4ec8c93f2ea289bffebd (diff)
downloadskyhanni-560af1582429c4a0efd588820e9a273879b1e098.tar.gz
skyhanni-560af1582429c4a0efd588820e9a273879b1e098.tar.bz2
skyhanni-560af1582429c4a0efd588820e9a273879b1e098.zip
Feature & Fix: No Rarity on Compacted Dupes (#2383)
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/event/HoppityEggsConfig.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
index 5536d5691..010434990 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
@@ -156,6 +156,31 @@ public class HoppityEggsConfig {
public boolean compactChat = false;
@Expose
+ @ConfigOption(name = "Compacted Rarity", desc = "Show rarity of found rabbit in Compacted chat messages.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public CompactRarityTypes rarityInCompact = CompactRarityTypes.NEW;
+
+ public enum CompactRarityTypes {
+ NONE("Neither"),
+ NEW("New Rabbits"),
+ DUPE("Duplicate Rabbits"),
+ BOTH("New & Duplicate Rabbits")
+ ;
+
+ private final String name;
+
+ CompactRarityTypes(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String toString() {
+ return name;
+ }
+ }
+
+ @Expose
@ConfigOption(
name = "Rabbit Pet Warning",
desc = "Warn when using the Egglocator without a §d§lMythic Rabbit Pet §7equipped. " +