portablejim

Longer pump

Sep 25th, 2013 (edited)
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. turtle.select(1)
  2. a = 95
  3. b = 0
  4. while b < a do
  5. turtle.forward()
  6. b = b+1
  7. if b == a and turtle.getItemCount(1) < 1 then
  8. turtle.select(2)
  9. turtle.placeUp()
  10. turtle.select(1)
  11. turtle.suckUp()
  12. turtle.digUp()
  13. turtle.placeDown()
  14. b = 0
  15. end
  16. if b == a and turtle.getItemCount(1) > 0 then
  17. turtle.placeDown()
  18. b = 0
  19. end
  20. end
Add Comment
Please, Sign In to add comment