1gA

Test

1gA
Dec 8th, 2021 (edited)
540
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. c = peripheral.wrap("left")
  2.  
  3. while true do
  4.     sleep_time = 1
  5.     for k, item in pairs(c.getAllStacks()) do
  6.         print("name: " .. item.basic().name .. " qty: " .. item.basic().qty)
  7.     end
  8.     os.sleep(sleep_time)
  9. end
  10.  
RAW Paste Data