summaryrefslogtreecommitdiff
path: root/movewalt.lua
blob: 0aff3ae7b9186836c66a2b9be8444f20873e706f (plain)
1
2
3
4
5
6
7
8
9
10
11
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