Reactor & mimic opti

This commit is contained in:
Archie
2021-06-16 01:22:45 -03:00
parent 41fa90f1de
commit cfac2ee5e5
2 changed files with 4 additions and 3 deletions
@@ -338,8 +338,8 @@ The reactor CHEWS through moderator. It does not do this slowly. Be very careful
handle_alerts() //Let's check if they're about to die, and let them know.
update_icon()
radiation_pulse(src, temperature*radioactivity_spice_multiplier)
if(power >= 90 && world.time >= next_flicker) //You're overloading the reactor. Give a more subtle warning that power is getting out of control.
next_flicker = world.time + 1.5 MINUTES
if(power >= 93 && world.time >= next_flicker) //You're overloading the reactor. Give a more subtle warning that power is getting out of control.
next_flicker = world.time + 2 MINUTES
for(var/obj/machinery/light/L in GLOB.machines)
if(prob(25) && L.z == z) //If youre running the reactor cold though, no need to flicker the lights.
L.flicker()