mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
- Obviously, by default, this will be one. - Adds new event where the link with central command is broken for - Admins can make or break the link with Central command Indefinitely with the secrets panel - You cannot do the following while the link is broken: Call the shuttle / Recall the shuttle / Fax Central command / Recieve messages from Central command / Send messages to Central Command / Call or Send the Cargo Shuttle - An admin may send a message to the crew even when the link is broken, but he will be prompted first asking if he is sure. - Blob alerts ignore whether or not the link with central command is broken
13 lines
462 B
Plaintext
13 lines
462 B
Plaintext
/proc/command_alert(var/text, var/title = "",var/force_report = 0)
|
|
var/command
|
|
command += "<h1 class='alert'>[command_name()] Update</h1>"
|
|
if (title && length(title) > 0)
|
|
command += "<br><h2 class='alert'>[html_encode(title)]</h2>"
|
|
|
|
|
|
command += {"<br><span class='alert'>[html_encode(text)]</span><br>
|
|
<br>"}
|
|
if(map.linked_to_centcomm || force_report)
|
|
for(var/mob/M in player_list)
|
|
if(!istype(M,/mob/new_player) && M.client)
|
|
to_chat(M, command) |