reactor1.GetActive()is true or false
Here is my code
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: ")
if reactor1.getActive==true then
mon.setTextColor(colors.lime)
mon.write(reactor1.getActive())
else
mon.setTextColor(colors.red)
mon.write(reactor1.getActive())
end
sleep(1)
end
So if the
reactor1.GetActive()function is true the text is going to be lime green and if false its going to be red
If i missed anything please let me know
I'm using the mod Big Reactors
Thanks!












