summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-11-04 07:03:19 +1100
committerGitHub <noreply@github.com>2023-11-03 21:03:19 +0100
commit667fd43324e5610ec16a12ef42d4e4d3aff75419 (patch)
tree303d13b2dbbc8983ca9a9616a3f3bdcd566be9cb /src/main/java/at/hannibal2/skyhanni/config
parent1618ea0aeb9118c4e12dc0837c8d77226fa7d8a9 (diff)
downloadskyhanni-667fd43324e5610ec16a12ef42d4e4d3aff75419.tar.gz
skyhanni-667fd43324e5610ec16a12ef42d4e4d3aff75419.tar.bz2
skyhanni-667fd43324e5610ec16a12ef42d4e4d3aff75419.zip
add expired pumpkin to farming fortune (#673)
Added command /shpumpkin to toggle include/exclude Expired Pumpkin farming fortune in the /ff gui and in the true ff display. #673
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index 951e80ebf..173b48fa4 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -251,6 +251,9 @@ public class Storage {
public boolean carrotFortune = false;
@Expose
+ public boolean pumpkinFortune = false;
+
+ @Expose
public Map<FarmingItems, ItemStack> farmingItems = new HashMap<>();
}
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 69e8e5933..4a7e6cdcb 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -216,6 +216,10 @@ object Commands {
"Toggles receiving the 12 fortune from carrots"
) { CaptureFarmingGear.reverseCarrotFortune() }
registerCommand(
+ "shpumpkin",
+ "Toggles receiving the 12 fortune from pumpkins"
+ ) { CaptureFarmingGear.reversePumpkinFortune() }
+ registerCommand(
"shrepostatus",
"Shows the status of all the mods constants"
) { SkyHanniMod.repo.displayRepoStatus(false) }