Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = ({...})
- if #args < 1 then args = {"0"} end
- index = 1
- while true do
- for i = 1, index * 4 do
- repeat
- if turtle.detect() then turtle.dig() end
- until turtle.forward()
- end
- shell.run("mine")
- turtle.turnRight()
- turtle.turnRight()
- for i = 1, index * 4 do
- repeat
- if turtle.detect() then turtle.dig() end
- until turtle.forward()
- end
- for i = 1, 16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnRight()
- turtle.turnRight()
- index = index + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment