From 2af916371b2edf71fb055a3f8de2bcd7b99b2251 Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Wed, 29 May 2024 23:00:20 +0200 Subject: Improvement: Added Mining Event Icons (#1305) Co-authored-by: Cal --- .../skyhanni/config/features/mining/MiningEventConfig.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java index 81eeb2b1a..8f5dac292 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.config.features.mining; import at.hannibal2.skyhanni.config.FeatureToggle; import at.hannibal2.skyhanni.config.core.config.Position; +import at.hannibal2.skyhanni.features.mining.eventtracker.MiningEventType.Companion.CompressFormat; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; @@ -29,8 +30,13 @@ public class MiningEventConfig { @Expose @ConfigOption(name = "Compressed Format", desc = "Compresses the event names so that they are shorter.") + @ConfigEditorDropdown + public CompressFormat compressedFormat = CompressFormat.DEFAULT; + + @Expose + @ConfigOption(name = "Compressed Island", desc = "Shows the islands only as icon.") @ConfigEditorBoolean - public boolean compressedFormat = false; + public boolean islandAsIcon = false; @Expose @ConfigOption(name = "Show Passed Events", desc = "Shows the most recent passed event at the start greyed out. " + @@ -38,6 +44,7 @@ public class MiningEventConfig { @ConfigEditorBoolean public boolean passedEvents = false; + public enum ShowType { ALL("All Mining Islands"), CRYSTAL("Crystal Hollows Only"), -- cgit