aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/cosmetics/index.js1
-rw-r--r--features/improvements/index.js9
2 files changed, 10 insertions, 0 deletions
diff --git a/features/cosmetics/index.js b/features/cosmetics/index.js
index 1eb73d7..4803999 100644
--- a/features/cosmetics/index.js
+++ b/features/cosmetics/index.js
@@ -39,6 +39,7 @@ class Cosmetics extends Feature {
this.registerEvent("playerLeft", this.playerLeft)
this.registerEvent("worldLoad", this.worldLoad)
this.registerStep(false, 5, this.step)
+ this.registerStep(false, 1, this.step1)
this.registerStep(false, 60*10, ()=>{
new Thread(()=>{this.loadCosmeticsData.call(this)}).start()
})
diff --git a/features/improvements/index.js b/features/improvements/index.js
index 32b1641..c2b098a 100644
--- a/features/improvements/index.js
+++ b/features/improvements/index.js
@@ -20,6 +20,15 @@ class Improvements extends Feature {
ChatLib.chat(color + "&m" + ChatLib.getChatBreak(" ") + "&r");
}
}).trigger.triggerIfCanceled(false)
+
+ this.registerCommand("warp", (...args)=>{
+ if(args[0] === "dung") args[0] = "dungeon_hub"
+
+ ChatLib.command("warp " + args.join(" "))
+ })
+ this.registerCommand("dung", (...args)=>{
+ ChatLib.command("warp dungeon_hub")
+ })
}