mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Combine roundstart intercept and security level announcements (#80475)
## About The Pull Request At roundstart when the intercept report is sent, two announcements are created at the same time. It's loud and overlaps. This combines them into a single announcement. Before:  After:  ## Why It's Good For The Game Two Centcom or any other announcements playing at the same time (especially with two different sound files) can be annoying and the sounds distort each other. ## Changelog 🆑 LT3 qol: Roundstart intercept report and security level announcements are combined into a single announcement /🆑
This commit is contained in:
@@ -361,11 +361,11 @@ SUBSYSTEM_DEF(dynamic)
|
||||
|
||||
print_command_report(., "[command_name()] Status Summary", announce=FALSE)
|
||||
if(greenshift)
|
||||
priority_announce("Thanks to the tireless efforts of our security and intelligence divisions, there are currently no credible threats to [station_name()]. All station construction projects have been authorized. Have a secure shift!", "Security Report", SSstation.announcer.get_rand_report_sound())
|
||||
priority_announce("Thanks to the tireless efforts of our security and intelligence divisions, there are currently no credible threats to [station_name()]. All station construction projects have been authorized. Have a secure shift!", "Security Report", SSstation.announcer.get_rand_report_sound(), color_override = "green")
|
||||
else
|
||||
priority_announce("A summary has been copied and printed to all communications consoles.", "Security level elevated.", ANNOUNCER_INTERCEPT)
|
||||
if(SSsecurity_level.get_current_level_as_number() < SEC_LEVEL_BLUE)
|
||||
SSsecurity_level.set_level(SEC_LEVEL_BLUE)
|
||||
SSsecurity_level.set_level(SEC_LEVEL_BLUE, announce = FALSE)
|
||||
priority_announce("[SSsecurity_level.current_security_level.elevating_to_announcement]\n\nA summary has been copied and printed to all communications consoles.", "Security level elevated.", ANNOUNCER_INTERCEPT, color_override = SSsecurity_level.current_security_level.announcement_color)
|
||||
|
||||
return .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user