term.clear();
term.setCursorPos(1,1);
term.redirect(peripheral.wrap("right"));
i=0;
while i<1 do
sleep(3);
term.clear();
term.setCursorPos(1,1);
wire=rs.getBundledInput("back");
red=colors.test(wire,colors.red);
lime=colors.test(wire,colors.lime);
green=colors.test(wire,colors.green);
orange=colors.test(wire,colors.orange);
blue=colors.test(wire,colors.blue);
if red==true then
print("Reactor:Off");
end
if red==false then
print("Reactor:On");
end
if orange==true then
print("MFSU Full:Yes");
end
if orange==false then
print("MFSU Full:No");
end
if blue==false then
print("Coolant Systems:On");
end
if blue==true and red==false then
print("Coolant System:Off");
print("WARNING:There has been a malfunction in the reactor coolant systems.");
print("Disable reactor or risk fission core detination.");
end
if blue==true and red==true then
print("Coolant System:Off");
end
if lime==false then
print("Temperature:Normal");
end
if lime==true then
print("Temperature:High");
end
if green==true then
print("EMERGENCY!");
print("Critical temperature reached!");
print("Fission core dump initiated...");
sleep(3);
print("Crysis aborted...");
sleep(5);
term.clear();
term.setCursorPos(1,1);
print("Critical temperature reached.");
print("Reactor maintenence needed...");
i=i+1;
end
end
term.restore();
