From 37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 3 May 2024 14:07:46 +0200 Subject: Feature: Add overflow crop milestones (#997) Co-authored-by: HiZe Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands') 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 @@ -291,6 +292,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", -- cgit