diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-19 11:12:06 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-19 11:12:06 +0800 |
commit | 1074f35a9e1c97895c3d214fe2b403af7112284b (patch) | |
tree | a1d9bd53115771279e62b0460ee9b3ea52a18f72 /features | |
parent | 4ce106d9ffdf73c80568e9daca8613297b4708bb (diff) | |
download | SoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.tar.gz SoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.tar.bz2 SoopyV2-1074f35a9e1c97895c3d214fe2b403af7112284b.zip |
+ make inquis text red
Diffstat (limited to 'features')
-rw-r--r-- | features/events/index.js | 4 | ||||
-rw-r--r-- | features/globalSettings/index.js | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/features/events/index.js b/features/events/index.js index f21a068..5ba3710 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -55,7 +55,7 @@ class Events extends Feature { this.loadFromParticles = new ToggleSetting("Load burrials from particles", "Will load particles from burrows in the world", true, "burrial_from_partles", this) this.showBurrialGuess = new ToggleSetting("Estimate burrial location from ability", "Will show a line + box where it thinks the burrial is", true, "burrial_guess", this) new SettingBase("There is also a hotkey to warp near", "see minecraft controls menu", true, "warp_info_hotkey", this) - new ButtonSetting("NOTE: You must have music disabled", "for burrial guessess to work (/togglemusic)", "togglemusis_button", this, "click", () => { + new ButtonSetting("NOTE: You must have music disabled", "for burrial guessess to work (/togglemusic)", "togglemusis_button", this, "toggle", () => { ChatLib.command("togglemusic") }, false).requires(this.showBurrialGuess) @@ -174,7 +174,7 @@ class Events extends Feature { if (this.otherInquisWaypoints.getValue()) { Object.keys(this.slayerLocationDataH).forEach(key => { - drawCoolWaypoint(this.slayerLocationDataH[key][0][0], this.slayerLocationDataH[key][0][1], this.slayerLocationDataH[key][0][2], 255, 0, 0, { name: key + "'s inquis" }) + drawCoolWaypoint(this.slayerLocationDataH[key][0][0], this.slayerLocationDataH[key][0][1], this.slayerLocationDataH[key][0][2], 255, 0, 0, { name: "§c" + key + "'s inquis" }) }) } } diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 33ee3dc..19f5263 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -128,6 +128,14 @@ class GlobalSettings extends Feature { }) this.registerEvent("guiMouseClick", this.guiClicked) + + this.partyChatEnabled = true + + this.registerChat("&r&9Party &8> ${*}", (e)=>{ + if(!this.partyChatEnabled){ + cancel(e) + } + }) } renderWebpage() { |