diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-28 21:54:02 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-28 21:54:02 +0800 |
commit | 1e25b92fe2a47644ca6a25a25976d89a5c7a6e8c (patch) | |
tree | 15f44d7efd50a049fa856778b56f10a8dbb61999 | |
parent | 1da702b92a1bb9a6b16d5135e9f0e40d4e2d27c8 (diff) | |
download | SoopyV2-1e25b92fe2a47644ca6a25a25976d89a5c7a6e8c.tar.gz SoopyV2-1e25b92fe2a47644ca6a25a25976d89a5c7a6e8c.tar.bz2 SoopyV2-1e25b92fe2a47644ca6a25a25976d89a5c7a6e8c.zip |
add only show waypoint path option
-rw-r--r-- | features/events/index.js | 5 | ||||
-rw-r--r-- | metadata.json | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/features/events/index.js b/features/events/index.js index c10e2f8..6e12d9f 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -35,6 +35,7 @@ class Events extends Feature { this.burrialWaypointsEnabled = new ToggleSetting("Burrial waypoints", "Show waypoints for burrials during the diana event", true, "burrial_waypoints", this) 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.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) @@ -84,7 +85,7 @@ class Events extends Feature { lastPoint = point }) } - if(this.showingWaypoints){ + if(this.showingWaypoints && !this.onlyShowPath.getValue()){ this.burrialData.locations.forEach((loc,i)=>{ let typeReplace = [ @@ -205,7 +206,6 @@ class Events extends Feature { apiLoad(data, dataType, isSoopyServer, isLatest){ if(isSoopyServer || dataType !== "skyblock" || !isLatest) return this.lastRequest = Date.now() - ChatLib.chat("loading api ") let profileData = data.profiles[0].members[Player.getUUID().toString().replace(/-/g,"")] @@ -258,7 +258,6 @@ class Events extends Feature { } } }) - ChatLib.chat("Loaeded " +newLocs.length) this.burrialData.locations = newLocs this.sortBurrialLocations() diff --git a/metadata.json b/metadata.json index 35a0f53..92f6e6e 100644 --- a/metadata.json +++ b/metadata.json @@ -5,7 +5,7 @@ "entry": "index.js", "description": "Soopy addons v2", "name": "SoopyV2", - "version": "2.1.42", - "versionId": 169, + "version": "2.1.43", + "versionId": 170, "requires": ["soopyApis", "soopyAddonsData", "CustomTabCompletions", "guimanager", "mappings"] } |