SummitSummit

DigD2

Feb 3rd, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local count = 0
  2. term.write("How many blocks forward? :")
  3. count = read()
  4. function Down()
  5. for i = 1, count do
  6. turtle.digDown()
  7. turtle.dig()
  8. turtle.down()
  9. turtle.dig()
  10. turtle.forward()
  11. turtle.dig()
  12. turtle.forward()
  13. turtle.digUp()
  14. end
  15. --turtle.turnRight()
  16. --turtle.dig()
  17. --turtle.forward()
  18. --turtle.turnLeft()
  19. --turtle.dig()
  20. --while count > 0 do
  21. -- turtle.digUp()
  22. -- turtle.Up()
  23. -- turtle.dig()
  24. -- count = count - 1
  25. --end
  26. end
  27. turtle.dig()
  28. --turtle.forward()
  29. Down()
  30. print("Job's Done!")
Advertisement
Add Comment
Please, Sign In to add comment