Hoff

Untitled

Jul 23rd, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function drop()
  2. for i=1, 16 do
  3. turtle.select(i)
  4. turtle.dropDown()
  5. end
  6. end
  7.  
  8. function shear()
  9. if not turtle.attack() then
  10. turtle.turnLeft()
  11. end
  12. end
  13.  
  14. while true do
  15. if not shear()then
  16. turtle.select(1)
  17. if turtle.getItemCount(1)>=1 then
  18. drop()
  19. end
  20. sleep(1)
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment