aboutsummaryrefslogtreecommitdiff
path: root/commands/yog.js
diff options
context:
space:
mode:
authorNinjune x <enderknight537@gmail.com>2023-01-08 02:12:14 -0600
committerNinjune x <enderknight537@gmail.com>2023-01-08 02:12:14 -0600
commit688e13930681bca7881d19468745f7067e9bc5c2 (patch)
tree9e95e59359dd2ae6e2e7761666b99a191bb62a1f /commands/yog.js
parent1891ada92ab1911cfaaa7ad0e72c85573f4fcbb6 (diff)
downloadcoleweight-future.tar.gz
coleweight-future.tar.bz2
coleweight-future.zip
v1.8.6future
Diffstat (limited to 'commands/yog.js')
-rw-r--r--commands/yog.js62
1 files changed, 0 insertions, 62 deletions
diff --git a/commands/yog.js b/commands/yog.js
deleted file mode 100644
index 1544553..0000000
--- a/commands/yog.js
+++ /dev/null
@@ -1,62 +0,0 @@
-import constants from "../util/constants"
-import { waypointRender } from "../util/helperFunctions"
-
-const PREFIX = constants.PREFIX
-let yogWaypoints = []
-
-export function yog(arg2)
-{
- const WAYPOINTNAME = "Yog"
-
- if(arg2 != "toggle")
- {
- new TextComponent(`${PREFIX}&bGo to the leftmost corner of the topaz crystal facing bal close to bal then do /cw coords yog toggle.`)
- .chat()
- }
- else
- {
- if(yogWaypoints[0] == undefined)
- {
- let startPos = [Player.getX(), Player.getY(), Player.getZ()],
- x = startPos[0],
- y = startPos[1],
- z = startPos[2]
-
- console.log(x + " " + y + " " + z)
- yogWaypoints.push([x + 10, y - 7, z - 27])
- yogWaypoints.push([x + 10, y - 7, z - 27])
- yogWaypoints.push([x + 28, y - 8, z + 15])
- yogWaypoints.push([x - 41, y - 3, z + 26])
- yogWaypoints.push([x - 32, y - 3, z + 45])
- yogWaypoints.push([x - 22, y - 3, z - 34])
- yogWaypoints.push([x + 28, y - 8, z + 36])
- yogWaypoints.push([x - 47, y - 3, z + 32])
- yogWaypoints.push([x - 43, y - 1, z + 4])
- yogWaypoints.push([x - 47, y + 2, z - 20])
- yogWaypoints.push([x + 11, y - 13, z + 40])
- yogWaypoints.push([x + 15, y - 13, z + 43])
- yogWaypoints.push([x - 44, y + 2, z - 29])
- yogWaypoints.push([x + 33, y - 4, z - 15])
- yogWaypoints.push([x - 6, y - 4, z - 34])
- yogWaypoints.push([x + 19, y - 12, z + 35])
- yogWaypoints.push([x + 16, y - 9, z - 15])
- ChatLib.chat(`${PREFIX}&b${WAYPOINTNAME} waypoints turned on!`)
- }
- else
- {
- yogWaypoints = []
- ChatLib.chat(`${PREFIX}&b${WAYPOINTNAME} waypoints turned off!`)
- }
- }
-}
-
-register("renderWorld", () => {
- if(yogWaypoints.length < 1) return
- waypointRender(yogWaypoints)
-})
-
-register("worldLoad", () => {
- yogWaypoints = []
-})
-
-export default "" \ No newline at end of file