aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-04 13:55:29 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-04 13:55:29 +0800
commitae748a62f6424b0ac2604c2cceb551b0ca5742b2 (patch)
tree0bc9804b96004fc516091cdf027a70fae7d7eaff /features/globalSettings
parent19276a08b82a1b8967811d0cd1d95676c3958002 (diff)
downloadSoopyV2-ae748a62f6424b0ac2604c2cceb551b0ca5742b2.tar.gz
SoopyV2-ae748a62f6424b0ac2604c2cceb551b0ca5742b2.tar.bz2
SoopyV2-ae748a62f6424b0ac2604c2cceb551b0ca5742b2.zip
add current lobby day display
Diffstat (limited to 'features/globalSettings')
-rw-r--r--features/globalSettings/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 856791e..8ece6f8 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -109,6 +109,9 @@ class GlobalSettings extends Feature {
this.registerCommand("sweight", (user = Player.getName()) => {
this.soopyWeight(user)
})
+ this.registerCommand("lobbyday", () => {
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Current lobby is day " + (World.getTime() / 20 / 60 / 20).toFixed(1))
+ })
this.lastCookies = 0