updated miner

This commit is contained in:
Julian Brammer 2024-06-01 21:31:46 +02:00
parent 72419e60b8
commit 92dd4866da

View File

@ -23,14 +23,18 @@ local function digLayer(a)
turtle.digDown()
turtle.forward()
end
if i%2==0 then
turtle.turnRight()
turtle.forward()
turtle.turnRight()
else
turtle.turnLeft()
turtle.forward()
turtle.turnLeft()
if i<a then
if i%2==0 then
turtle.turnRight()
turtle.forward()
turtle.turnRight()
turtle.forward()
else
turtle.turnLeft()
turtle.forward()
turtle.turnLeft()
turtle.forward()
end
end
end