Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local reactor = peripheral.wrap("BigReactors_Reactor_0")
- local monitor = peripheral.wrap("monitor_0")
- mon.clear()
- 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 Temperature: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getCasingTemperature()))
- mon.setCursorPos(1,5)
- mon.setTextColor(colors.white)
- mon.write("Core Temperature: ")
- mon.setTextColor(colors.lime)
- mon.write(math.floor(reactor1.getFuelTemperature()))
- -- End Reactor 1
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement