From 9d69a028879f26d2b43ca5be7ee41f2c843be705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Rybn=C3=AD=C4=8Dek?= <1+dzejkobik007@noreply.localhost> Date: Sun, 4 Oct 2026 22:35:55 +0000 Subject: [PATCH] Upload files to "/" --- elevator.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 elevator.lua diff --git a/elevator.lua b/elevator.lua new file mode 100644 index 0000000..799568b --- /dev/null +++ b/elevator.lua @@ -0,0 +1,29 @@ +local lastPlayername = "" +local levelHeight = 6 + +local shaftBox { + min = {x = -744, z = 1474}, + max = {x = -748, z = 1470}, +} + +local hallwayBox { + min = {x = -749, z = 1470}, + max = {x = -744, z = 1477}, +} + +local level = { + MOUNTAIN = 1, + ALLEY = 0, + ENCHANT = -1, + OREPROCESSING = -2, + AUTOCRAFTING = -3, + CHICKENS = -4, + SPAWNER = -10, + REACTOR = -11, +} + +local playerDetector = peripheral.wrap("left") + + +local function main_loop() + if lastPlayername == "":