aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-05-29 23:00:20 +0200
committerGitHub <noreply@github.com>2024-05-29 23:00:20 +0200
commit2af916371b2edf71fb055a3f8de2bcd7b99b2251 (patch)
tree9a0e4f7ce2dca37f1d227ba0d6605f7b44e096e9 /src/main/java/at/hannibal2/skyhanni/config
parent21f92de676710c0c39d37056dada80af8266a9ba (diff)
downloadskyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.tar.gz
skyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.tar.bz2
skyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.zip
Improvement: Added Mining Event Icons (#1305)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java9
1 files changed, 8 insertions, 1 deletions
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"),