From ddedc6623618d9bb8dd7b8be5663092e1d7cec33 Mon Sep 17 00:00:00 2001 From: Seteron14 Date: Sun, 25 Dec 2016 22:14:45 -0600 Subject: [PATCH] Rad storm emergency maint Adds automatic emergency access to maintenance during radiation storms. --- code/datums/weather/weather_types.dm | 3 ++- code/modules/events/radiation_storm.dm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/datums/weather/weather_types.dm b/code/datums/weather/weather_types.dm index 6bae9f3d4e..9533aadc2c 100644 --- a/code/datums/weather/weather_types.dm +++ b/code/datums/weather/weather_types.dm @@ -161,4 +161,5 @@ /datum/weather/rad_storm/end() if(..()) return - priority_announce("The radiation threat has passed. Please return to your workplaces.", "Anomaly Alert") \ No newline at end of file + priority_announce("The radiation threat has passed. Please return to your workplaces.", "Anomaly Alert") + spawn(300) revoke_maint_all_access() \ No newline at end of file diff --git a/code/modules/events/radiation_storm.dm b/code/modules/events/radiation_storm.dm index 7ab509e963..7c677c6dd7 100644 --- a/code/modules/events/radiation_storm.dm +++ b/code/modules/events/radiation_storm.dm @@ -16,4 +16,5 @@ //sound not longer matches the text, but an audible warning is probably good /datum/round_event/radiation_storm/start() - SSweather.run_weather("radiation storm",1) \ No newline at end of file + SSweather.run_weather("radiation storm",1) + make_maint_all_access() \ No newline at end of file