Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. i = 1
  2.  
  3. for i = 1, 16 do
  4. turtle.select(i)
  5. if turtle.refuel(0) then
  6. turtle.refuel()
  7. end
  8. end
  9. end
  10.  
  11. turtle.select(2)
  12.  
  13. while not turtle.detectUp() do
  14. if turtle.getItemCount(i) <= 0 then
  15. turtle.select(i + 1)
  16. i = i + 1
  17. end
  18. turtle.up()
  19. turtle.placeDown()
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement