Plazter

CHop2

May 21st, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. -- Fast wood cutter v.1.0 By Plazter
  2. -- (c) 2013 --
  3.  
  4. function plant()
  5. ------- Planting starts! -----
  6. turtle.select(15) -- sapling
  7. turtle.place()
  8. turtle.select(16) -- BoneMeal
  9. turtle.place()
  10. ------- Planting done!! ------
  11. function chop()
  12. turtle.dig()
  13. turtle.forward()
  14. if turtle.detectUp() = true then
  15. turtle.digUp()
  16. turtle.up()
  17. else
  18. turtle.down()
  19. print("I want a new order!")
  20. end
  21. end
  22.  
  23. ------- Program ------
  24. plant()
  25. chop()
  26. turtle.back()
Advertisement
Add Comment
Please, Sign In to add comment