summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-25 22:50:26 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-25 22:50:26 +0200
commit7917a6b60102edec628ec19d70c31b92c689e8f8 (patch)
treed1764e2e86b586c03733fe9e07a6171e86539ad6 /src/main/java/at/hannibal2/skyhanni/config
parentaf3567ad9f65f8495b889428c04da12f85d35aec (diff)
downloadskyhanni-7917a6b60102edec628ec19d70c31b92c689e8f8.tar.gz
skyhanni-7917a6b60102edec628ec19d70c31b92c689e8f8.tar.bz2
skyhanni-7917a6b60102edec628ec19d70c31b92c689e8f8.zip
Added the command '/shcroptime <amount> <item>' that displays the estimated time it will take to gather the requested quantity of a particular item based on the current crop speed.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
1 files changed, 2 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 4c3bdc573..e1a4533e7 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.event.diana.BurrowWarpHelper
+import at.hannibal2.skyhanni.features.garden.GardenCropTimeCommand
import at.hannibal2.skyhanni.features.garden.farming.CropSpeedMeter
import at.hannibal2.skyhanni.features.misc.CollectionCounter
import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager
@@ -55,6 +56,7 @@ object Commands {
registerCommand("shtestgardenvisitors") { LorenzTest.testGardenVisitors() }
registerCommand("shtogglehypixelapierrors") { APIUtil.toggleApiErrorMessages() }
registerCommand("shcropspeedmeter") { CropSpeedMeter.toggle() }
+ registerCommand("shcroptime") { GardenCropTimeCommand.onCommand(it) }
}
private fun registerCommand(name: String, function: (Array<String>) -> Unit) {