Advertisement
obsidian777

quickmine

Aug 15th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. function digIt()
  2. while turtle.detect() do
  3. turtle.dig()
  4. end
  5. while turtle.detectDown() or turtle.detectUp() do
  6. turtle.digUp()
  7. turtle.digDown()
  8. end
  9. turtle.forward()
  10. end
  11.  
  12. term.write("Branch length: ")
  13. run = read()
  14.  
  15. for i = 1, run do
  16. digIt()
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement