Station alert levels (#8226)

This commit is contained in:
Flipp Syder
2022-05-17 21:05:31 -07:00
committed by GitHub
parent 2697bbf8c7
commit dcdda39048
21 changed files with 566 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,19 @@
alert-level-announcement = Attention! Station alert level is now {$name}! {$announcement}
alert-level-green = Green
alert-level-green-announcement = It is now safe to return to your workplaces.
alert-level-blue = Blue
alert-level-blue-announcement = There is an unknown threat on the station. Security is allowed to perform random checks. Crewmembers are advised to follow commands issued by any relevant authority.
alert-level-red = Red
alert-level-red-announcement = There is a known threat on the station. Security is allowed to use lethal force if necessary. Crewmembers should find a safe place to shelter in, and are advised to follow any present authorities.
alert-level-violet = Violet
alert-level-violet-announcement = There is a viral threat on the station. Medical staff are advised to isolate crewmembers with any symptoms. Crewmembers are advised to distance themselves from others and perform safety measures to prevent further spread.
alert-level-yellow = Yellow
alert-level-yellow-announcement = There is a structural or atmospheric threat within the station. Engineering staff are advised to immediately respond and perform safety measures. Crewmembers are advised to stay away from the threat, and stay in their workplaces if necessary.
alert-level-delta = Delta
alert-level-delta-announcement = The station is currently under threat of imminent destruction. Crewmembers are advised to listen to heads of staff for more information.

View File

@@ -0,0 +1,29 @@
- type: alertLevels
id: stationAlerts
defaultLevel: green
levels:
green:
announcement: alert-level-green-announcement
color: Green
blue:
announcement: alert-level-blue-announcement
sound: /Audio/Misc/notice1.ogg
color: DodgerBlue
red:
announcement: alert-level-red-announcement
sound: /Audio/Misc/notice1.ogg
color: Red
violet:
announcement: alert-level-violet-announcement
sound: /Audio/Misc/notice1.ogg
color: Violet
yellow:
announcement: alert-level-yellow-announcement
sound: /Audio/Misc/notice1.ogg
color: Yellow
delta:
announcement: alert-level-delta-announcement
selectable: false
sound: /Audio/Misc/delta.ogg
disableSelection: true
color: DarkRed

View File

@@ -38,6 +38,8 @@
whitelist:
components:
- NukeDisk
alertLevelOnActivate: delta
alertLevelOnDeactivate: green
- type: InteractionOutline
- type: ActivatableUI
key: enum.NukeUiKey.Key

View File

@@ -34,6 +34,14 @@
Emagged: fire_emagged
hideOnDepowered: ["fireAlarmState"]
- type: WiresVisualizer
- type: AlertLevelDisplay
alertVisuals:
green: fire_0
blue: fire_1
red: fire_2
violet: fire_1
yellow: fire_1
delta: fire_3
- type: UserInterface
interfaces:
- key: enum.WiresUiKey.Key