Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = peripheral.wrap("left")
- while true do
- sleep_time = 1
- for k, item in pairs(c.getAllStacks()) do
- print("name: " .. item.basic().name .. " qty: " .. item.basic().qty)
- end
- os.sleep(sleep_time)
- end
Add Comment
Please, Sign In to add comment