Restore original messages

This commit is contained in:
Razgriz
2020-02-13 23:43:44 -07:00
committed by GitHub
parent 6756eeb81d
commit f049d5c44b

View File

@@ -7,16 +7,16 @@
announceWhen = 1
endWhen = revokeAccess
var/postStartTicks = 0
//YW Edit Start- Adjusted anouncement to be in line with cryogaia.
/datum/event/radiation_storm/announce()
command_announcement.Announce("Stellar Radiation flare detected from BD +33 2642, Protoplanetary Nebula. Radiation expected to flood space near \the [station_name()]. Please evacuate into one of the shielded maintenance tunnels or dorms.", "Anomaly Alert", new_sound = 'sound/AI/radiation.ogg') //VOREStation Edit - Dorms ref
command_announcement.Announce("High levels of radiation detected near \the [station_name()]. Please evacuate into one of the shielded maintenance tunnels or dorms.", "Anomaly Alert", new_sound = 'sound/AI/radiation.ogg') //VOREStation Edit - Dorms ref //CHOMPEdit: Restored original message
/datum/event/radiation_storm/start()
make_maint_all_access()
/datum/event/radiation_storm/tick()
if(activeFor == enterBelt)
command_announcement.Announce("The outpost has entered the radiation flare. Please remain in a sheltered area until the radiation flare has passed.", "Anomaly Alert")
command_announcement.Announce("The station has entered the radiation belt. Please remain in a sheltered area until we have passed the radiation belt.", "Anomaly Alert") //CHOMPEdit: Restored original message
radiate()
if(activeFor >= enterBelt && activeFor <= leaveBelt)
@@ -27,12 +27,12 @@
radiate()
else if(activeFor == leaveBelt)
command_announcement.Announce("The outpost has passed the radiation flare. Please allow for up to one minute while radiation levels dissipate, and report to medbay if you experience any unusual symptoms. Maintenance will lose all access again shortly.", "Anomaly Alert")
command_announcement.Announce("The station has passed the radiation belt. Please allow for up to one minute while radiation levels dissipate, and report to medbay if you experience any unusual symptoms. Maintenance will lose all access again shortly.", "Anomaly Alert") //CHOMPEdit: Restored original message
/datum/event/radiation_storm/proc/radiate()
var/radiation_level = rand(15, 35)
for(var/z in using_map.station_levels)
SSradiation.z_radiate(locate(1, 1, z), radiation_level, 1)
//YW Edit end.
for(var/mob/living/carbon/C in living_mob_list)
var/area/A = get_area(C)
if(!A)