Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function check_inv()
- for n=1,15 do
- if turtle.getItemCount(n) == 0 then
- return true
- end
- end
- end
- while True do
- turtle.suckDown()
- if check_inv() then
- print('inv is full')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement