Neopherus

simple netherdiggy

Apr 24th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. tArgs = { ... }
  2. togo = tonumber(tArgs[1])
  3.  
  4. function checkfloor()
  5. if not turtle.detectDown() then
  6. turtle.placeDown()
  7. end
  8. end
  9.  
  10. for i=1,togo do
  11. turtle.dig()
  12. turtle.digUp()
  13. checkfloor()
  14. turtle.forward()
  15. end
Advertisement
Add Comment
Please, Sign In to add comment