Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c1 = "container_chest_0"
- c2 = "iron_1"
- c3 = "container_chest_2"
- c4 = "container_chest_3"
- c5 = "container_chest_4"
- inv1 = peripheral.wrap(c1)
- inv2 = peripheral.wrap(c2)
- inv3 = peripheral.wrap(c3)
- inv4 = peripheral.wrap(c4)
- inv5 = peripheral.wrap(c5)
- size1 = inv1.getSizeInventory()
- size2 = inv2.getSizeInventory()
- size3 = inv3.getSizeInventory()
- size4 = inv4.getSizeInventory()
- size5 = inv5.getSizeInventory()
- net = peripheral.wrap("back")
- help = net.callRemote("container_chest_0","listMethods")
- print(help)
- print(size1)
- --for i = 1, size1, 1 do
- -- local tbl1 = chest.getStackInSlot(i)
- -- for key, value in pairs(tbl1) do
- -- print(key .. " = " .. tostring(value))
- -- end
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement