diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-18 12:10:46 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-18 12:10:46 +0800 |
commit | 4f36ccbe179654be353c8837802d94254182ddd5 (patch) | |
tree | af1f73c656038ef8d7ace6fabd511787abf4daf2 /features/events | |
parent | 89be4749d38875ce2dad1ad9db57ec6488c2c1d1 (diff) | |
download | SoopyV2-4f36ccbe179654be353c8837802d94254182ddd5.tar.gz SoopyV2-4f36ccbe179654be353c8837802d94254182ddd5.tar.bz2 SoopyV2-4f36ccbe179654be353c8837802d94254182ddd5.zip |
+profile selection to networth and statgraphs pages
Diffstat (limited to 'features/events')
-rw-r--r-- | features/events/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js index c98eb32..632be08 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -8,6 +8,7 @@ import { calculateDistanceQuick } from "../../utils/utils"; import SettingBase from "../settings/settingThings/settingBase"; import ToggleSetting from "../settings/settingThings/toggle"; import { fetch } from "../../utils/networkUtils" +import ButtonSetting from "../settings/settingThings/button"; class Events extends Feature { constructor() { @@ -33,7 +34,9 @@ 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("NOTE: You must have music disabled for burrial guessess to work", "/togglemusic", false, "burrial_guess_into", this).requires(this.showBurrialGuess) + new ButtonSetting("NOTE: You must have music disabled", "for burrial guessess to work (/togglemusic)", "togglemusis_button", this, "click", () => { + ChatLib.command("togglemusic") + }, false).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) |