diff options
author | jakeQT <96396730+jakeQT@users.noreply.github.com> | 2022-06-17 22:21:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 22:21:23 +0800 |
commit | a6a7f33795b51ea679e048771dd9ffc5fcc365c5 (patch) | |
tree | d81310998fde50747922752b75bc7f697bc0db20 | |
parent | db895fe62e0a7eabc2f9e36e7701c554a4b204a9 (diff) | |
download | SoopyV2-a6a7f33795b51ea679e048771dd9ffc5fcc365c5.tar.gz SoopyV2-a6a7f33795b51ea679e048771dd9ffc5fcc365c5.tar.bz2 SoopyV2-a6a7f33795b51ea679e048771dd9ffc5fcc365c5.zip |
added cool others inquis spawned notification
+ cool others inquis spawned notification
-rw-r--r-- | features/events/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/features/events/index.js b/features/events/index.js index 5a1420b..a7cdbe5 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -36,6 +36,7 @@ class Events extends Feature { new SettingBase("NOTE: You must have music disabled for burrial guessess to work", "/togglemusic", false, "burrial_guess_into", this).requires(this.showBurrialGuess) this.otherInquisWaypoints = new ToggleSetting("Show other users inquis locations", "May be usefull for loot share", true, "inquis_location_other", this) + this.otherInquisPing = new ToggleSetting("Show cool title when someone's inquis spawned", "May be usefull for loot share", true, "inquis_ping_other", this) this.shinyBlocks = [] @@ -80,7 +81,6 @@ class Events extends Feature { return } this.slayerLocationDataH[user] = [loc, Date.now()] - if (this.otherInquisWaypoints.getValue()) Client.showTitle(user + "'s inquis spawned", "", 20, 60, 20) } renderWorld(ticks) { @@ -121,6 +121,9 @@ class Events extends Feature { if (this.otherInquisWaypoints.getValue()) { Object.keys(this.slayerLocationDataH).forEach(key => { + if (this.otherInquisPing.getValue()) { + Client.showTitle("&r&6&l[&b&l&kO&6&l] MINOS INQUISITOR [&b&l&kO&6&l]", "", 0, 50, 10); + } drawCoolWaypoint(this.slayerLocationDataH[key][0][0], this.slayerLocationDataH[key][0][1], this.slayerLocationDataH[key][0][2], 255, 0, 0, { name: key + "'s inquis" }) }) } @@ -461,4 +464,4 @@ class Events extends Feature { module.exports = { class: new Events() -}
\ No newline at end of file +} |