Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- net = peripheral.wrap("back")
- bridge = peripheral.wrap("left")
- bridge.clear()
- --count = 0
- while true do
- stored = net.callRemote("openblocks_tank_5","getTankInfo")
- tank2 = net.callRemote("openblocks_tank_6","getTankInfo")
- barrel = net.callRemote("mcp_mobius_betterbarrel_0","getStoredItems")
- if stored[1].contents then
- local capacity = stored[1].capacity
- local amount = stored[1].contents.amount
- local name = stored[1].contents.rawName
- -- count = count + 5
- print(stored)
- print(tank2)
- print(barrel)
- --bridge.addGradientBox(0,0,900,50,0xFF0000,0.8,0x00FF00,0.8,1)
- bridge.addBox(0,0,900,50,0x00CCFF,0.3)
- bridge.addBox(0,250,90,40,0x00CCFF,0.2)
- bridge.addText(1,255, "By Fatal1tyGC", 0xFF0000)
- bridge.addText(1,265, "This script",0xFFFF00)
- bridge.addText(1,275, "Runs Statview 0.1",0xFF0000)
- bridge.addText(1,1, name..": "..amount.."/"..capacity, 0xFF0000)
- bridge.addText(1,10,tank2, 0xFFFFFF)
- bridge.addText(1,20, barrel, 0xFF0000)
- else
- name = "No Fluid"
- amount = 0
- end
- sleep(0.15)
- bridge.sync()
- bridge.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment