Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arg = (...)
- arg = tonumber(arg) or 1
- x = 0
- while x < arg do
- turtle.dig()
- sleep(1)
- if turtle.forward() == true then
- turtle.digUp()
- x = x + 1
- end
- if turtle.placeDown() then
- turtle.turnLeft()
- turtle.place()
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- turtle.turnLeft()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment