Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getItemSlots()
- local slots = 16
- for i = 0, 15 do
- if turtle.getItemCount(0) > 0 then
- slots = slots - 1
- end
- end
- return slots
- end
- print(getItemSlots())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement