iMontouch

Turtle Builder: Cactus Farm 0.4

May 22nd, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Slot 1: Cobble
  2. -- Slot 2: Sand
  3. -- Slot 3: Cactus
  4. -- Slot 4: Fence
  5. local cactusPerTower = 3
  6.  
  7. local i = 0
  8. while(i<cactusPerTower) do
  9. turtle.select(1)
  10. turtle.placeDown()
  11. turtle.up()
  12. turtle.select(2)
  13. turtle.placeDown()
  14. turtle.up()
  15. turtle.select(3)
  16. turtle.placeDown()
  17. turtle.up()
  18. turtle.up()
  19. i = i + 1
  20. end
  21. turtle.forward()
  22. turtle.forward()
  23. i = 0
  24. while(i<cactusPerTower) do
  25. turtle.down()
  26. turtle.select(4)
  27. turtle.placeDown()
  28. turtle.down()
  29. turtle.down()
  30. turtle.down()
  31. i = i + 1
  32. end
Advertisement
Add Comment
Please, Sign In to add comment