diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-06-22 22:33:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 14:33:32 +0200 |
commit | bda471a30833208d73c691d9bd167bf3d2626ea5 (patch) | |
tree | 126bc54b9606c4dfc72e3e0ef9b38e0871a49c5d /src/main/java/at/hannibal2/skyhanni | |
parent | 5165ad2ce09b9bde3e10c27dbe0af691019f70cc (diff) | |
download | skyhanni-bda471a30833208d73c691d9bd167bf3d2626ea5.tar.gz skyhanni-bda471a30833208d73c691d9bd167bf3d2626ea5.tar.bz2 skyhanni-bda471a30833208d73c691d9bd167bf3d2626ea5.zip |
carrot message (#249)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Storage.java | 3 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index ffac3b8ec..b92fcb7dd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -194,6 +194,9 @@ public class Storage { public long cakeExpiring = -1L; @Expose + public boolean carrotFortune = false; + + @Expose public Map<FarmingItems, ItemStack> farmingItems = new HashMap<>(); } diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt index 2da6f89b5..d52535f0d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt @@ -191,7 +191,6 @@ class CaptureFarmingGear { } } - //todo pet level up @SubscribeEvent fun onChat(event: LorenzChatEvent) { if (!LorenzUtils.inSkyBlock) return @@ -226,5 +225,8 @@ class CaptureFarmingGear { if (msg == "Yum! You gain +5☘ Farming Fortune for 48 hours!") { hidden.cakeExpiring = System.currentTimeMillis() + 172800000 } + if (msg == "CARROTS EXPORTATION COMPLETE!") { + hidden.carrotFortune = true + } } } |