mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
60202429a7
* starting work * most generic * more alerts * remaining alerts * many fixes * fix * properly set * virgo doesn't use those lines? * actually they are used * smallfixes * oops * silence of the bots * docs
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
/datum/event/communications_blackout/announce()
|
|
var/alert = pick( "Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you*%fj00)`5vc-BZZT", \
|
|
"Ionospheric anomalies detected. Temporary telecommunication failu*3mga;b4;'1v¬-BZZZT", \
|
|
"Ionospheric anomalies detected. Temporary telec#MCi46:5.;@63-BZZZZT", \
|
|
"Ionospheric anomalies dete'fZ\\kg5_0-BZZZZZT", \
|
|
"Ionospheri:%£ MCayj^j<.3-BZZZZZZT", \
|
|
"#4nd%;f4y6,>£%-BZZZZZZZT")
|
|
|
|
for(var/mob/living/silicon/ai/A in GLOB.player_list) //AIs are always aware of communication blackouts.
|
|
to_chat(A, span_boldwarning("<br>"))
|
|
to_chat(A, span_boldwarning("[alert]"))
|
|
to_chat(A, span_boldwarning("<br>"))
|
|
|
|
if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts.
|
|
GLOB.command_announcement.Announce(alert, new_sound = ANNOUNCER_MSG_COMMSBLACKOUT)
|
|
|
|
|
|
/datum/event/communications_blackout/start()
|
|
for(var/obj/machinery/telecomms/T in GLOB.telecomms_list)
|
|
T.emp_act(EMP_HEAVY)
|
|
for(var/obj/machinery/exonet_node/N in GLOB.machines)
|
|
N.emp_act(EMP_HEAVY)
|