mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Cross server evacuation messages now include the evacuation reason (#1035)
* Cross server evacuation messages now include the evacuation reason (#53980) Co-authored-by: Bobbahbrown <bobbahbrown@ gmail.com> * Cross server evacuation messages now include the evacuation reason Co-authored-by: Hulkamania <39933245+JetBrody@users.noreply.github.com> Co-authored-by: Bobbahbrown <bobbahbrown@ gmail.com>
This commit is contained in:
co-authored by
Bobbahbrown
Hulkamania
parent
d394f912a0
commit
958f948a76
@@ -256,6 +256,7 @@ SUBSYSTEM_DEF(shuttle)
|
||||
if(call_reason)
|
||||
SSblackbox.record_feedback("text", "shuttle_reason", 1, "[call_reason]")
|
||||
log_shuttle("Shuttle call reason: [call_reason]")
|
||||
SSticker.emergency_reason = call_reason
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] has called the shuttle. (<A HREF='?_src_=holder;[HrefToken()];trigger_centcom_recall=1'>TRIGGER CENTCOM RECALL</A>)")
|
||||
|
||||
/datum/controller/subsystem/shuttle/proc/centcom_recall(old_timer, admiral_message)
|
||||
|
||||
@@ -62,6 +62,9 @@ SUBSYSTEM_DEF(ticker)
|
||||
/// People who have been commended and will receive a heart
|
||||
var/list/hearts
|
||||
|
||||
/// Why an emergency shuttle was called
|
||||
var/emergency_reason
|
||||
|
||||
/datum/controller/subsystem/ticker/Initialize(timeofday)
|
||||
load_mode()
|
||||
|
||||
@@ -525,7 +528,10 @@ SUBSYSTEM_DEF(ticker)
|
||||
if(STATION_DESTROYED_NUKE)
|
||||
news_message = "We would like to reassure all employees that the reports of a Syndicate backed nuclear attack on [station_name()] are, in fact, a hoax. Have a secure day!"
|
||||
if(STATION_EVACUATED)
|
||||
news_message = "The crew of [station_name()] has been evacuated amid unconfirmed reports of enemy activity."
|
||||
if(emergency_reason)
|
||||
news_message = "[station_name()] has been evacuated after transmitting the following distress beacon:\n\n[emergency_reason]"
|
||||
else
|
||||
news_message = "The crew of [station_name()] has been evacuated amid unconfirmed reports of enemy activity."
|
||||
if(BLOB_WIN)
|
||||
news_message = "[station_name()] was overcome by an unknown biological outbreak, killing all crew on board. Don't let it happen to you! Remember, a clean work station is a safe work station."
|
||||
if(BLOB_NUKE)
|
||||
|
||||
Reference in New Issue
Block a user