From 1855ae3ac49d0bc4e963566563112c0e6bc2c21b Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 30 Mar 2022 15:42:06 +0800 Subject: add option to not load burrials from particles + fix laod api key from other mods --- features/events/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'features/events') 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 -- cgit