Advertisement
kyle1320

Untitled

Apr 1st, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function is_changing(slot)
  2. count = turtle.getItemCount(slot)
  3. if count == 0 then
  4. return true
  5. end
  6.  
  7. sleep(1)
  8.  
  9. newCount = turtle.getItemCount(slot)
  10. return count ~= newCount
  11. end
  12.  
  13. while true do
  14. for i=1,16 do
  15. if not is_changing(i) then
  16. turtle.select(i)
  17. turtle.dropUp()
  18. end
  19. end
  20. sleep(0.1)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement