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

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