From cfac2ee5e5f6235aeb88aab6e97f5cddc0b20eea Mon Sep 17 00:00:00 2001 From: Archie Date: Wed, 16 Jun 2021 01:22:45 -0300 Subject: [PATCH 1/3] Reactor & mimic opti --- hyperstation/code/mobs/mimic.dm | 3 ++- hyperstation/code/modules/power/reactor/rbmk.dm | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index 4740f2ba..95c29ada 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -337,9 +337,10 @@ return WAITING_FOR_SOMETHING notify_ghosts("A group of mimics has spawned in [pickedArea]!", source=pickedArea, action=NOTIFY_ATTACK, flashwindow = FALSE) - while(spawncount >= 1 && validTurfs.len) + while(spawncount > 0 && validTurfs.len) var/turf/pickedTurf = pick_n_take(validTurfs) var/spawn_type = /mob/living/simple_animal/hostile/hs13mimic spawn_atom_to_turf(spawn_type, pickedTurf, 1, FALSE) spawncount-- + message_admins("Spawned a mimic!") return SUCCESSFUL_SPAWN diff --git a/hyperstation/code/modules/power/reactor/rbmk.dm b/hyperstation/code/modules/power/reactor/rbmk.dm index 5f466648..5499f233 100644 --- a/hyperstation/code/modules/power/reactor/rbmk.dm +++ b/hyperstation/code/modules/power/reactor/rbmk.dm @@ -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() From 351bb857859ba92cc0414e40028887cdfba089a5 Mon Sep 17 00:00:00 2001 From: Archie Date: Wed, 16 Jun 2021 01:25:38 -0300 Subject: [PATCH 2/3] Whoops, debug --- hyperstation/code/mobs/mimic.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index 95c29ada..40a12324 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -342,5 +342,4 @@ var/spawn_type = /mob/living/simple_animal/hostile/hs13mimic spawn_atom_to_turf(spawn_type, pickedTurf, 1, FALSE) spawncount-- - message_admins("Spawned a mimic!") return SUCCESSFUL_SPAWN From ed1c980ca65c8e468384ec7e65e6cf81eb1d89d5 Mon Sep 17 00:00:00 2001 From: Archie Date: Wed, 16 Jun 2021 02:09:31 -0300 Subject: [PATCH 3/3] This too --- hyperstation/code/modules/power/reactor/rbmk.dm | 2 +- lore_entries/meltdowns.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hyperstation/code/modules/power/reactor/rbmk.dm b/hyperstation/code/modules/power/reactor/rbmk.dm index 5499f233..6ab02719 100644 --- a/hyperstation/code/modules/power/reactor/rbmk.dm +++ b/hyperstation/code/modules/power/reactor/rbmk.dm @@ -5,7 +5,7 @@ #define COOLANT_OUTPUT_GATE airs[3] #define RBMK_TEMPERATURE_OPERATING 640 //Celsius -#define RBMK_TEMPERATURE_CRITICAL 800 //At this point the entire ship/station is alerted to a meltdown. This may need altering +#define RBMK_TEMPERATURE_CRITICAL 810 //At this point the entire ship/station is alerted to a meltdown. This may need altering #define RBMK_TEMPERATURE_MELTDOWN 900 #define RBMK_NO_COOLANT_TOLERANCE 5 //How many process()ing ticks the reactor can sustain without coolant before slowly taking damage diff --git a/lore_entries/meltdowns.txt b/lore_entries/meltdowns.txt index 431dd7ed..a474cff5 100644 --- a/lore_entries/meltdowns.txt +++ b/lore_entries/meltdowns.txt @@ -1 +1 @@ -SYSADMIN -> Allcrew@seegnet.kin. RE: Emergency Meltdown proceedures. ` The nuclear reactor is an inherently safe engine, however this does not mean it is foolproof. Dilligence will mean the difference between having a safe, reliable power output which can last for decades, and a nuclear hellfire. `What to do during a meltdown: `-A reactor will melt down when the fission inside it produces an uncontrollable amount of heat (in excess of 300 degrees celsius). If this ever happens, a stationwide alarm will sound. If you hear this alarm, you must act quickly and calmly, as you will have approximately 1 - 2 minutes before the reactor explodes. `-To avert meltdown, simply locate the control console, and choose the 'SCRAM' setting (the button labelled AZ-5). This will immediately lower all control rods and attempt to cool the reactor. Injection of carbon dioxide via the moderator line will help this process. `-In the event of damaged control rods, IMMEDIATELY shut off all supply pumps, filters and evacuate the engineering section IMMEDIATELY to prevent unecessary loss of life. `-As a meltdown occurs, nuclear fuel is deposited all over the station, and must be cleaned up with a shovel. This spent fuel is HIGHLY radioactive, and must be handled with extreme care. If the unthinkable comes to pass, instruct crew to seek shelter in maintenance. To avoid complications, it is recommended that engineers equip radiation proof suits and gas masks, and proceed to clear a path to the evacuation arm with shovels. Remember: Stay safe through vigilance! \ No newline at end of file +SYSADMIN -> Allcrew@seegnet.kin. RE: Emergency Meltdown proceedures. ` The nuclear reactor is an inherently safe engine, however this does not mean it is foolproof. Dilligence will mean the difference between having a safe, reliable power output which can last for decades, and a nuclear hellfire. `What to do during a meltdown: `-A reactor will melt down when the fission inside it produces an uncontrollable amount of heat (in excess of 810 degrees celsius). If this ever happens, a stationwide alarm will sound. If you hear this alarm, you must act quickly and calmly, as you will have approximately 1 - 2 minutes before the reactor explodes. `-To avert meltdown, simply locate the control console, and choose the 'SCRAM' setting (the button labelled AZ-5). This will immediately lower all control rods and attempt to cool the reactor. Injection of carbon dioxide via the moderator line will help this process. `-In the event of damaged control rods, IMMEDIATELY shut off all supply pumps, filters and evacuate the engineering section IMMEDIATELY to prevent unecessary loss of life. `-As a meltdown occurs, nuclear fuel is deposited all over the station, and must be cleaned up with a shovel. This spent fuel is HIGHLY radioactive, and must be handled with extreme care. If the unthinkable comes to pass, instruct crew to seek shelter in maintenance. To avoid complications, it is recommended that engineers equip radiation proof suits and gas masks, and proceed to clear a path to the evacuation arm with shovels. Remember: Stay safe through vigilance! \ No newline at end of file