summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt31
1 files changed, 30 insertions, 1 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 680834317..ee89b5720 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -1,6 +1,7 @@
package at.hannibal2.skyhanni.config.commands
import at.hannibal2.skyhanni.SkyHanniMod
+import at.hannibal2.skyhanni.api.SkillAPI
import at.hannibal2.skyhanni.config.ConfigFileType
import at.hannibal2.skyhanni.config.ConfigGuiManager
import at.hannibal2.skyhanni.data.ChatManager
@@ -14,6 +15,7 @@ import at.hannibal2.skyhanni.features.chat.Translator
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker
import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostUtil
import at.hannibal2.skyhanni.features.commands.PartyCommands
+import at.hannibal2.skyhanni.features.commands.WikiManager
import at.hannibal2.skyhanni.features.event.diana.AllBurrowsList
import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper
import at.hannibal2.skyhanni.features.event.diana.DianaProfitTracker
@@ -240,6 +242,33 @@ object Commands {
"shresetseacreaturetracker",
"Resets the Sea Creature Tracker"
) { SeaCreatureTracker.resetCommand(it) }
+ registerCommand(
+ "shfandomwiki",
+ "Searches the fandom wiki with SkyHanni's own method."
+ ) { WikiManager.otherWikiCommands(it, true) }
+ registerCommand(
+ "shfandomwikithis",
+ "Searches the fandom wiki with SkyHanni's own method."
+ ) { WikiManager.otherWikiCommands(it, true, true) }
+ registerCommand(
+ "shofficialwiki",
+ "Searches the official wiki with SkyHanni's own method."
+ ) { WikiManager.otherWikiCommands(it, false) }
+ registerCommand(
+ "shofficialwikithis",
+ "Searches the official wiki with SkyHanni's own method."
+ ) { WikiManager.otherWikiCommands(it, false, true) }
+ registerCommand0("shcalccrop", "Calculate how many crops need to be farmed between different crop milestones.", {
+ FarmingMilestoneCommand.onCommand(it.getOrNull(0), it.getOrNull(1), it.getOrNull(2), false)
+ }, FarmingMilestoneCommand::onComplete)
+ registerCommand0("shcalccroptime", "Calculate how long you need to farm crops between different crop milestones.", {
+ FarmingMilestoneCommand.onCommand(it.getOrNull(0), it.getOrNull(1), it.getOrNull(2), true)
+ }, FarmingMilestoneCommand::onComplete)
+ registerCommand0(
+ "shskills",
+ "Skills XP/Level related command",
+ { SkillAPI.onCommand(it) },
+ SkillAPI::onComplete)
registerCommand0(
"shcalccrop",
"Calculate how many crops need to be farmed between different crop milestones.",
@@ -549,4 +578,4 @@ object Commands {
if (args != null) function(args.asList().toTypedArray())
}
}
-}
+} \ No newline at end of file