aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-12-09 16:25:52 -0800
committerGitHub <noreply@github.com>2023-12-10 01:25:52 +0100
commit61368c57bd36f3d6be3d072cfd9bbb24ca8fa090 (patch)
treec2b48516b1bf5bdefbf8adc8259964715182b695 /src/main/java/at/hannibal2/skyhanni/config/features
parent6489b04f1e9fa0861985bf8b320bb4660115c2a8 (diff)
downloadskyhanni-61368c57bd36f3d6be3d072cfd9bbb24ca8fa090.tar.gz
skyhanni-61368c57bd36f3d6be3d072cfd9bbb24ca8fa090.tar.bz2
skyhanni-61368c57bd36f3d6be3d072cfd9bbb24ca8fa090.zip
Feature: Refined Jyrre Boost Timer (#783)
Add JyrreTimer for Bottle of Jyrre. #783
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java24
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java5
2 files changed, 29 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java
new file mode 100644
index 000000000..7b1732d4e
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java
@@ -0,0 +1,24 @@
+package at.hannibal2.skyhanni.config.features.event.winter;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import at.hannibal2.skyhanni.config.core.config.Position;
+import com.google.gson.annotations.Expose;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigOption;
+
+public class JyrreTimerConfig {
+
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "A timer showing the remaining duration of your intelligence boost.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Show when Inactive", desc = "Show the timer when inactive, rather than removing it.")
+ @ConfigEditorBoolean
+ public boolean showInactive = true;
+
+ @Expose
+ public Position pos = new Position(390, 65, false, true);
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java
index 79ac983c2..ae95b62f3 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java
@@ -24,6 +24,11 @@ public class WinterConfig {
@ConfigOption(name = "Unique Gift Counter", desc = "Keep track how many unique players you have given gifts to.")
public UniqueGiftConfig uniqueGiftCounter = new UniqueGiftConfig();
+ @Accordion
+ @Expose
+ @ConfigOption(name = "Refined Bottle of Jyrre Timer", desc = "")
+ public JyrreTimerConfig jyrreTimer = new JyrreTimerConfig();
+
@Expose
@ConfigOption(name = "Island Close Time", desc = "While on the Winter Island, show a timer until Jerry's Workshop closes.")
@ConfigEditorBoolean