Drakaxx

furnace

Apr 17th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. function wSuckAndDrop()
  2. turtle.suck(3)
  3. turtle.turnLeft()
  4. turtle.drop()
  5. turtle.turnRight()
  6. end
  7.  
  8. turtle.select(1)
  9. while true do
  10. local data = turtle.getItemDetail()
  11. if data then
  12. if data.count <= 10 then
  13. wSuckAndDrop()
  14. end
  15. else
  16. wSuckAndDrop()
  17. end
  18. os.sleep(30)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment