diff options
-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 +} |