Advertisement
Digitamz

craftSort

Jun 26th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. while true do
  2. local sortL = ""
  3. local sortR = ""
  4. turtle.select(1)
  5. if turtle.suck() then
  6. if turtle.getItemCount() == 64 then
  7. turtle.transferTo(2,7)
  8. turtle.transferTo(3,7)
  9. turtle.transferTo(5,7)
  10. turtle.transferTo(6,7)
  11. turtle.transferTo(7,7)
  12. turtle.transferTo(9,7)
  13. turtle.transferTo(10,7)
  14. turtle.transferTo(11,7)
  15. turtle.craft(7)
  16. for i=1,11 do
  17. turtle.select(i)
  18. shell.run("succ", sortL, sortR)
  19. end
  20. else
  21. shell.run("succ", sortL, sortR)
  22. end
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement