summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-12 02:06:44 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-12 02:06:44 +0200
commitb8ff120faff344de82e6b4b956de968a01a92433 (patch)
treec098a1fbc2746a83049fec46aaaa73f3974e9ac6 /src/main/java/at/hannibal2/skyhanni/config
parent1c3d1c70e3491ed6d02c73376f83dfdadc47ea09 (diff)
downloadskyhanni-b8ff120faff344de82e6b4b956de968a01a92433.tar.gz
skyhanni-b8ff120faff344de82e6b4b956de968a01a92433.tar.bz2
skyhanni-b8ff120faff344de82e6b4b956de968a01a92433.zip
Added command /shcropspeedmeter - Helps calculate the real farming fortune with the formula crops broken per block
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java3
2 files changed, 5 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 b808c4b31..f45c8a035 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -9,6 +9,7 @@ import at.hannibal2.skyhanni.features.bazaar.BazaarDataGrabber
import at.hannibal2.skyhanni.features.bingo.BingoCardDisplay
import at.hannibal2.skyhanni.features.bingo.BingoNextStepHelper
import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper
+import at.hannibal2.skyhanni.features.garden.CropSpeedMeter
import at.hannibal2.skyhanni.features.misc.CollectionCounter
import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager
import at.hannibal2.skyhanni.test.LorenzTest
@@ -55,6 +56,7 @@ object Commands {
registerCommand("shtestgardenvisitors") { LorenzTest.testGardenVisitors() }
registerCommand("shresetitemnames") { BazaarDataGrabber.resetItemNames() }
registerCommand("shtogglehypixelapierrors") { APIUtil.toggleApiErrorMessages() }
+ registerCommand("shcropspeedmeter") { CropSpeedMeter.toggle() }
}
private fun registerCommand(name: String, function: (Array<String>) -> Unit) {
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
index 1e01135ce..fcacb9ddb 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -822,4 +822,7 @@ public class Garden {
@ConfigOption(name = "Fungi Cutter Warning", desc = "Warn when breaking mushroom with the wrong Fungi Cutter mode.")
@ConfigEditorBoolean
public boolean fungiCutterWarn = true;
+
+ @Expose
+ public Position cropSpeedMeterPos = new Position(278, -236, false, true);
}