Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- barrel = peripheral.wrap("mcp_mobius_betterbarrel_0")
- mon = peripheral.wrap("front")
- mon.setTextScale(0.5)
- stack = barrel.getAllStacks()
- mon.clear()
- mon.setCursorPos(8,1)
- mon.write("1")
- mon.setCursorPos(8,3)
- mon.write("H")
- mon.setCursorPos(4,5)
- mon.write("Hydrogen")
- mon.setCursorPos(2,8)
- --print(barrel.getInventorySize())
- for i=1, barrel.getInventorySize() do
- item1 = barrel.getStackInSlot(i)
- if item1 ~= nil then
- mon.write(item1["qty"])
- end
- s=s+1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement