Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require ("component")
- local iCon = component.get("54c7fdac-a57c-4040-9348-4a3be4f608dd")
- local methodTable = component.methods(iCon)
- local sideOfBufferChest = nil
- for k,v in pairs(methodTable)
- do print(tostring(k) .. " = " .. tostring(v))
- end
- for k in pairs(methodTable)
- do print(tostring(k) .. " - " .. component.doc(iCon, k))
- end
- for i=0, 6, 1
- do
- if(iCon~=nil) then print ('Found Inventory Controller')
- if(iCon.getInventorySize(i)~=nil)
- then sideOfBufferChest = iCon.GetInventorySize(i)
- print(iCon.getInventorySize(i))
- end
- else print ("Inventory Controller is missing/unavailable") end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement