Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Minecraft turtle tree chop

By: dryfclr5 on Jan 4th, 2013  |  syntax: Lua  |  size: 0.45 KB  |  views: 115  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. for u=1,55 do
  2. local i = 1
  3. turtle.select(1)
  4. turtle.place()
  5. sleep(1)
  6. turtle.select(2)
  7. turtle.place()
  8. sleep(1)
  9. for i=1,10 do
  10.  turtle.dig()
  11.  turtle.digUp()
  12.  turtle.up()
  13.  print("Chooped a layer")
  14. end
  15.  
  16. for o=1,10 do
  17.  turtle.down()
  18. end
  19.  
  20. print("Tree chooped down, depositing wood...")
  21. turtle.turnLeft()
  22. turtle.turnLeft()
  23. turtle.select(4)
  24. turtle.drop()
  25. turtle.select(3)
  26. turtle.drop()
  27. turtle.turnLeft()
  28. turtle.turnLeft()
  29. print("Finished")
  30. end