Advertisement
Lukas1234

Baumfarm

Oct 10th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. for p=1, 50 do
  2.  
  3. if turtle.detect() == true do
  4.  
  5. turtle.dig()
  6. turtle.forward()
  7.  
  8. for i=1, 5 do
  9.  
  10. turtle.digUp()
  11. turtle.Up()
  12.  
  13. end
  14.  
  15. for o=1, 5 do
  16.  
  17. turtle.Down()
  18.  
  19. end
  20.  
  21. turtle.back()
  22. turtle.select(1)
  23.  
  24. if turtle.getItemCount(1) != 0 do
  25.  
  26. turtle.place()
  27.  
  28. end
  29.  
  30. end
  31.  
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement