updated miner
This commit is contained in:
parent
72419e60b8
commit
92dd4866da
@ -23,14 +23,18 @@ local function digLayer(a)
|
|||||||
turtle.digDown()
|
turtle.digDown()
|
||||||
turtle.forward()
|
turtle.forward()
|
||||||
end
|
end
|
||||||
if i%2==0 then
|
if i<a then
|
||||||
turtle.turnRight()
|
if i%2==0 then
|
||||||
turtle.forward()
|
turtle.turnRight()
|
||||||
turtle.turnRight()
|
turtle.forward()
|
||||||
else
|
turtle.turnRight()
|
||||||
turtle.turnLeft()
|
turtle.forward()
|
||||||
turtle.forward()
|
else
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
|
turtle.forward()
|
||||||
|
turtle.turnLeft()
|
||||||
|
turtle.forward()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user