mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Add a proc for getting the station center * Add a couple of comments to ZTRAIT defines * Remove unused global_map list * Refactor weather to use the trait system * Un-hardcode the transit z-level * Use Z traits to determine Portal Storm event areas * Fix loading away missions containing anything that reads traits
20 lines
679 B
Plaintext
20 lines
679 B
Plaintext
/datum/round_event_control/radiation_storm
|
|
name = "Radiation Storm"
|
|
typepath = /datum/round_event/radiation_storm
|
|
max_occurrences = 1
|
|
|
|
/datum/round_event/radiation_storm
|
|
|
|
|
|
/datum/round_event/radiation_storm/setup()
|
|
startWhen = 3
|
|
endWhen = startWhen + 1
|
|
announceWhen = 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", 'sound/ai/radiation.ogg')
|
|
//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)
|