aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonRoutes/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-25 15:56:35 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-25 15:56:35 +0800
commit118fb2e6547fc4078b539afd42b4e373682b747e (patch)
tree4a3114f5b8b3843348572b91562317bbff918e05 /features/dungeonRoutes/index.js
parent30e0e951950bf7001fb3586e6471bc4948566904 (diff)
downloadSoopyV2-118fb2e6547fc4078b539afd42b4e373682b747e.tar.gz
SoopyV2-118fb2e6547fc4078b539afd42b4e373682b747e.tar.bz2
SoopyV2-118fb2e6547fc4078b539afd42b4e373682b747e.zip
+ more performance tracking stuff
Diffstat (limited to 'features/dungeonRoutes/index.js')
-rw-r--r--features/dungeonRoutes/index.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/features/dungeonRoutes/index.js b/features/dungeonRoutes/index.js
index 84c5409..7282822 100644
--- a/features/dungeonRoutes/index.js
+++ b/features/dungeonRoutes/index.js
@@ -49,6 +49,13 @@ class DungeonRoutes extends Feature {
})
if (this.recentLocations.length >= 2) drawLinePoints(this.recentLocations.map(a => [a.loc[0] - 0.5, a.loc[1] + 0.1, a.loc[2] - 0.5]), 0, 0, 255, 2, true)
})
+
+ let roomData = {}
+
+ this.registerCommand("roomname", (...name) => {
+ name = name.join(" ")
+
+ })
}
worldLoad() {
@@ -62,7 +69,7 @@ class DungeonRoutes extends Feature {
if (this.recentLocations.length + this.recentMines.length + this.recentEtherwarps.length + this.recentTnts.length > 50) {
let arrs = [this.recentLocations, this.recentMines, this.recentEtherwarps, this.recentTnts]
let smallestArr = undefined
-
+
if (this.recentLocations[0].id < this.recentMines[0].id && this.recentLocations[0].id < this.recentEtherwarps[0].id) {
this.recentLocations.shift()
return