Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glass = peripheral.wrap("top")
- cell = peripheral.wrap("cofh_thermalexpansion_energycell_0")
- reactor1 = peripheral.wrap("BigReactors-reactor_0")
- function vakje1()
- glass.addBox(1,1,80,30,0xFFFFFF,0.2)
- end
- function tijd()
- time = textutils.formatTime(os.time(), false)
- glass.addText(5,2,"Time: " .. time, 0xFF0000)
- end
- function energycell()
- energy = cell.getEnergyStored("cofh_thermalexpansion_energycell_0")
- glass.addText(5,12,energy .. "rf",0xFF0000)
- end
- while true do
- glass.clear()
- vakje1()
- tijd()
- energycell()
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement