Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Turtle Mining Program ]]--
- function check_inv_full()
- local inv_full = True
- for i = 1,9,1 do
- if (turtle.getItemCount(i) == 0) then
- inv_full = False
- break
- end
- end
- return inv_full
- end
- if check_inv_full() then
- print("bruh")
- else
- print("no bruh")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement