Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = { ... }
- togo = tonumber(tArgs[1])
- function checkfloor()
- if not turtle.detectDown() then
- turtle.placeDown()
- end
- end
- for i=1,togo do
- turtle.dig()
- turtle.digUp()
- checkfloor()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment