TovLenin

64 * 64 platform

Dec 11th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. function rowplant()
  2. for i = 1, 64 do
  3. if turtle.getItemCount(curslot)==0 then
  4. curslot = curslot+1
  5. turtle.select(curslot)
  6. end
  7. turtle.placeDown()
  8. turtle.forward()
  9. turtle.placeDown()
  10. end
  11. end
  12. function left()
  13. turtle.turnLeft()
  14. turtle.forward()
  15. turtle.turnLeft()
  16. end
  17. function right()
  18. turtle.turnRight()
  19. turtle.forward()
  20. turtle.turnRight()
  21. end
  22. function plantall()
  23. rowplant()
  24. for i = 1, 32 do
  25. left()
  26. rowplant()
  27. right()
  28. rowplant()
  29. end
  30. end
  31. curslot = 1
  32. plantall()
Advertisement
Add Comment
Please, Sign In to add comment