aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-09-07 12:10:45 +0200
committerGitHub <noreply@github.com>2023-09-07 12:10:45 +0200
commit1378e4e614d566cc0733647f0ae37ce85880fd8a (patch)
tree90574e5ceb00ac442533bc50aa1d2b377385fe46 /src/main/java/at/hannibal2/skyhanni/config
parentcff2c91c06a44a6498288be38c3149d70b28beef (diff)
downloadskyhanni-1378e4e614d566cc0733647f0ae37ce85880fd8a.tar.gz
skyhanni-1378e4e614d566cc0733647f0ae37ce85880fd8a.tar.bz2
skyhanni-1378e4e614d566cc0733647f0ae37ce85880fd8a.zip
It's time to punch wheat (#442)
It's time to punch wheat #442
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java24
2 files changed, 30 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
index acd280967..85cb33f8a 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -8,6 +8,7 @@ import at.hannibal2.skyhanni.data.GuiEditManager
import at.hannibal2.skyhanni.features.bingo.BingoCardDisplay
import at.hannibal2.skyhanni.features.bingo.BingoNextStepHelper
import at.hannibal2.skyhanni.features.chat.Translator
+import at.hannibal2.skyhanni.features.event.anniversary.ActivePlayerTimer
import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper
import at.hannibal2.skyhanni.features.event.diana.InquisitorWaypointShare
import at.hannibal2.skyhanni.features.fame.AccountUpgradeReminder
@@ -36,6 +37,7 @@ import at.hannibal2.skyhanni.test.TestBingo
import at.hannibal2.skyhanni.test.command.*
import at.hannibal2.skyhanni.utils.APIUtil
import at.hannibal2.skyhanni.utils.LorenzUtils
+import at.hannibal2.skyhanni.utils.TimeMark
import net.minecraft.client.Minecraft
import net.minecraft.command.ICommandSender
import net.minecraft.event.ClickEvent
@@ -247,6 +249,10 @@ object Commands {
"shtestmessage",
"Sends a custom chat message client side in the chat"
) { TestChatCommand.command(it) }
+ // TODO: remove for commit
+ registerCommand("shtestcenturytimer", "bleh") {
+ ActivePlayerTimer.lastTimerReceived = TimeMark(System.currentTimeMillis() - 19 * 60 * 1000L - 40 * 1000L)
+ }
}
private fun internalCommands() {
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
index 0ee81c801..3830f175b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
@@ -1037,4 +1037,28 @@ public class MiscConfig {
@Expose
public Position inventoryLoadPos = new Position(394, 124, false, true);
+
+
+ @ConfigOption(name = "300þ Anniversary Celebration", desc = "Features for the 300þ year of SkyBlock")
+ @Accordion
+ @Expose
+ public Century century = new Century();
+
+ public static class Century {
+
+ @ConfigOption(name = "Enable Active Player Timer", desc = "Show a HUD telling you how much longer you have to wait to be eligible for another free ticket")
+ @Expose
+ @ConfigEditorBoolean
+ public boolean enableActiveTimer = true;
+
+ @Expose
+ public Position activeTimerPosition = new Position(100, 100, false, true);
+
+ @ConfigOption(name = "Enable Active Player Alert", desc = "Loudly proclaim when it is time to break some wheat")
+ @Expose
+ @ConfigEditorBoolean
+ public boolean enableActiveAlert = false;
+ }
+
+
}