mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[MIRROR] Better alert/announcment sounds and Status displays [MDB IGNORE] (#23481)
* Better alert/announcment sounds and Status displays * skyrat edits * Update status_display.dmi * Update flavor_misc.dm * Update communications.dm * skyrat edits * Update status_display.dmi * Update _sm_delam.dm * typo * Update status_display.dmi * Update status_display.dmi --------- Co-authored-by: DrTuxedo <42353186+DrDiasyl@users.noreply.github.com> Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,28 @@
|
||||
if(picture in GLOB.status_display_state_pictures)
|
||||
post_status(picture)
|
||||
else
|
||||
post_status("alert", picture)
|
||||
if(picture == "currentalert") // You cannot set Code Blue display during Code Red and similiar
|
||||
switch(SSsecurity_level.get_current_level_as_number())
|
||||
if(SEC_LEVEL_DELTA)
|
||||
post_status("alert", "deltaalert")
|
||||
if(SEC_LEVEL_RED)
|
||||
post_status("alert", "redalert")
|
||||
if(SEC_LEVEL_BLUE)
|
||||
post_status("alert", "bluealert")
|
||||
if(SEC_LEVEL_GREEN)
|
||||
post_status("alert", "greenalert")
|
||||
// SKYRAT EDIT ADD START - Alert Levels
|
||||
if(SEC_LEVEL_VIOLET)
|
||||
post_status("alert", "violetalert")
|
||||
if(SEC_LEVEL_ORANGE)
|
||||
post_status("alert", "orangealert")
|
||||
if(SEC_LEVEL_AMBER)
|
||||
post_status("alert", "amberalert")
|
||||
if(SEC_LEVEL_GAMMA)
|
||||
post_status("alert", "gammaalert")
|
||||
// SKYRAT EDIT ADD END - Alert Levels
|
||||
else
|
||||
post_status("alert", picture)
|
||||
|
||||
log_game("[key_name(usr)] has changed the station status display message to \"[picture]\" [loc_name(usr)]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user