Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- gpu setup
- local gpu = component.gpu
- local mon = mon.redirect(gpu)
- local reactor1 = component.br_reactor
- local versionType = "NEW"
- local DEBUG = false
- local debugList = {}
- local debugVars = {}
- local colors = { lime = 0xBFFF00, black = 0x000000, white = 0xFFFFFF}
- -- set size of the screen for lvl 3
- gpu.setResolution(132,38)
- gpu.setBackground(colors.black)
- gpu.fill(1, 1, 132, 38, " ")
- local sections = {}
- local graphs = {}
- local infos = {}
- mon.clear()
- -- Begin Reactor 1
- --mon.setCursorPos(1,1)
- --mon.setTextColor(colors.white)
- --mon.write("Reactor #: ")
- --mon.setTextColor(colors.lime)
- --mon.write("1")
- mon.setCursorPos(1,1)
- mon.setTextColor(colors.white)
- mon.write("Active: ")
- mon.setTextColor(colors.lime)
- mon.write(reactor1.getActive())
- mon.setCursorPos(1,2)
- mon.setTextColor(colors.white)
- mon.write("RF/T: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getEnergyProducedLastTick()))
- mon.setCursorPos(1,3)
- mon.setTextColor(colors.white)
- mon.write("RF Stored: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getEnergyStored()))
- mon.setCursorPos(1,4)
- mon.setTextColor(colors.white)
- mon.write("Casing Heat: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getCasingTemperature()))
- mon.setCursorPos(1,5)
- mon.setTextColor(colors.white)
- mon.write("Fuel Heat: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getFuelTemperature()))
- -- End Reactor 1
- os.sleep(1000)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement