Advertisement
wbennet997

suckup

Jun 21st, 2022
735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function check_inv()
  2.     for n=1,15 do
  3.         if turtle.getItemCount(n) == 0 then
  4.             return true
  5.         end
  6.     end
  7. end
  8.  
  9.  
  10. while True do
  11.     turtle.suckDown()
  12.     if check_inv() then
  13.         print('inv is full')
  14.         end
  15.     end
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement