xmann110

Untitled

Aug 15th, 2019
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getLogs()
  2. turtle.select(2)
  3. local items = turtle.getItemCount()
  4. if items < 32 then
  5. turtle.select(1)
  6. turtle.placeUp()
  7. turtle.select(2)
  8. turtle.suckUp(64 - items)
  9. turtle.select(1)
  10. turtle.digUp()
  11. turtle.select(2)
  12. end
  13. end
  14.  
  15. turtle.select(2)
  16. turtle.refuel(64)
  17. getLogs()
  18.  
  19. while true do
  20. turtle.placeDown()
  21. for i=1, 49 do
  22. turtle.forward()
  23. getLogs()
  24. turtle.placeDown()
  25. end
  26. turtle.turnLeft()
  27. turtle.turnLeft()
  28. turtle.placeDown()
  29. turtle.up()
  30. end
RAW Paste Data