From 9da76f0a54f195e55062fde9859fdef7cac98cba Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 1 Jan 2023 17:53:56 +0000 Subject: movewalt --- movewalt.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/movewalt.lua b/movewalt.lua index 800f575..0aff3ae 100644 --- a/movewalt.lua +++ b/movewalt.lua @@ -1,4 +1,12 @@ +while true do for i=1,6 do turtle.select(i) turtle.dig() turtle.up() end turtle.select(7) turtle.dig() turtle.select(1) turtle.place() for i=1,6 do turtle.up() turtle.select(i) turtle.dig() turtle.select(i+1) turtle.place() end for i=1,5 do turtle.up() turtle.select(i) turtle.place() end + +while not turtle.detectDown() do turtle.down() end +turtle.turnRight() turtle.forward() turtle.turnLeft() +if not turtle.detect() then error"the" end + +end + -- cgit v1.2.3