mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-27 15:06:35 +01:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commit afbdd1d8442973f5d570c30920d9d865b5acd479. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commit de22ad375d3ee4d5930c550da2fd23a29a86e616. * Attempt to normalize example.yml (and another file I guess) * Try again
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 player_list) //AIs are always aware of communication blackouts.
|
|
to_chat(A, "<br>")
|
|
to_chat(A, "<span class='warning'><b>[alert]</b></span>")
|
|
to_chat(A, "<br>")
|
|
|
|
if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts.
|
|
command_announcement.Announce(alert, new_sound = sound('sound/misc/interference.ogg', volume=25))
|
|
|
|
|
|
/datum/event/communications_blackout/start()
|
|
for(var/obj/machinery/telecomms/T in telecomms_list)
|
|
T.emp_act(1)
|
|
for(var/obj/machinery/exonet_node/N in machines)
|
|
N.emp_act(1)
|