Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- you need to add modems to the reactor and monitor
- -- then you need to rightclick the monitors
- -- after that you see names in the chat, thange the names under here to that names
- while true do
- local reactor1 = peripheral.wrap("BigReactors-Reactor_0")
- local mon = peripheral.wrap("monitor_0")
- mon.clear()
- 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.white)
- mon.write(math.floor(reactor1.getCasingTemperature()))
- mon.setCursorPos(1,5)
- mon.setTextColor(colors.white)
- mon.write("Fuel Heat: ")
- mon.setTextColor(colors.white)
- mon.write(math.floor(reactor1.getFuelTemperature()))
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment