Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This simple script will dig a line
- for i=1,16 do
- local count = 0
- local fail = 0
- while turtle.digDown() or fail <= 10 do
- f = turtle.down()
- if f == true then
- count = count + 1
- fail = 0
- else
- fail = fail + 1
- end
- end
- for j=1,count do
- turtle.up()
- end
- turtle.digUp()
- turtle.placeUp()
- for k=1,16 do
- turtle.select(k)
- turtle.dropUp(64)
- end
- turtle.digUp()
- while turtle.dig() do end
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement