aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-05-03 14:07:46 +0200
committerGitHub <noreply@github.com>2024-05-03 14:07:46 +0200
commit37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb (patch)
treed98eea116bde6df39468be209de81dd5953b1767 /src/main/java/at/hannibal2/skyhanni/config/commands
parent23a5bc7eaf0e6ddc189b54d88d49d86c87174440 (diff)
downloadskyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.tar.gz
skyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.tar.bz2
skyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.zip
Feature: Add overflow crop milestones (#997)
Co-authored-by: HiZe <superhize@hotmail.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt9
1 files changed, 9 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 b4a2c336e..faca8636b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -7,6 +7,7 @@ import at.hannibal2.skyhanni.config.ConfigGuiManager
import at.hannibal2.skyhanni.config.features.About.UpdateStream
import at.hannibal2.skyhanni.data.ChatClickActionManager
import at.hannibal2.skyhanni.data.ChatManager
+import at.hannibal2.skyhanni.data.GardenCropMilestones
import at.hannibal2.skyhanni.data.GardenCropMilestonesCommunityFix
import at.hannibal2.skyhanni.data.GuiEditManager
import at.hannibal2.skyhanni.data.PartyAPI
@@ -292,6 +293,14 @@ object Commands {
FarmingMilestoneCommand::onComplete
)
registerCommand0(
+ "shcropgoal",
+ "Define a custom milestone goal for a crop.",
+ {
+ FarmingMilestoneCommand.setGoal(it.getOrNull(0), it.getOrNull(1))
+ },
+ FarmingMilestoneCommand::onComplete
+ )
+ registerCommand0(
"shskills",
"Skills XP/Level related command",
{ SkillAPI.onCommand(it) },