forked from Sea-of-Lost-Souls/Tannhauser-Gate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
radiation_storm.dm
23 lines (18 loc) · 853 Bytes
/
radiation_storm.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/datum/round_event_control/radiation_storm
name = "Radiation Storm"
typepath = /datum/round_event/radiation_storm
max_occurrences = 1
category = EVENT_CATEGORY_SPACE
description = "Radiation storm affects the station, forcing the crew to escape to maintenance."
min_wizard_trigger_potency = 3
max_wizard_trigger_potency = 7
/datum/round_event/radiation_storm
/datum/round_event/radiation_storm/setup()
start_when = 3
end_when = start_when + 1
announce_when = 1
/datum/round_event/radiation_storm/announce(fake)
priority_announce("High levels of radiation detected near the station. Maintenance is best shielded from radiation.", "Anomaly Alert", ANNOUNCER_RADIATION)
//sound not longer matches the text, but an audible warning is probably good
/datum/round_event/radiation_storm/start()
SSweather.run_weather(/datum/weather/rad_storm)