aboutsummaryrefslogtreecommitdiff
path: root/features/events
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-30 15:42:06 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-30 15:42:06 +0800
commit1855ae3ac49d0bc4e963566563112c0e6bc2c21b (patch)
tree8109c7f165db0e101e1d4fa2d6b00d1d29697b59 /features/events
parent6c6dab63b5a781b4495d52d056d606a71254f22b (diff)
downloadSoopyV2-1855ae3ac49d0bc4e963566563112c0e6bc2c21b.tar.gz
SoopyV2-1855ae3ac49d0bc4e963566563112c0e6bc2c21b.tar.bz2
SoopyV2-1855ae3ac49d0bc4e963566563112c0e6bc2c21b.zip
add option to not load burrials from particles + fix laod api key from other mods
Diffstat (limited to 'features/events')
-rw-r--r--features/events/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js
index 5af1b09..58c408b 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -37,6 +37,7 @@ class Events extends Feature {
this.burrialWaypointsPath = new ToggleSetting("Pathfind waypoints", "Calculate a path thru all the waypoints", true, "burrial_waypoints_path", this).requires(this.burrialWaypointsEnabled)
this.onlyShowPath = new ToggleSetting("Only show waypoint path", "For if u want to use other mod waypoints + soopy path", false, "burrial_waypoints_only_path", this).requires(this.burrialWaypointsPath)
this.burrialWaypointsNearest = new ToggleSetting("Show nearest using pathfinding", "Use pathfinding to highlight the next burrial instead of disance", true, "burrial_nearest_path", this).requires(this.burrialWaypointsEnabled)
+ this.loadFromParticles = new ToggleSetting("Load burrials from particles", "Will load particles from burrows in the world", true, "burrial_from_partles", this).requires(this.burrialWaypointsEnabled)
this.updateTimerEnabled = new ToggleSetting("Show API update timer", "Shows a countdown till the burrial waypoints will be next updated", true, "burrial_timer", this).requires(this.burrialWaypointsEnabled)
this.updateTimer = new HudTextElement()
@@ -279,7 +280,7 @@ class Events extends Feature {
}
}
}
- if(this.showingWaypoints){
+ if(this.showingWaypoints && this.loadFromParticles.getValue()){
let foundEnchant = false
let foundCrit = false
let foundStep = false