Alert level reloads (#8530)

* adds prototype reload for AlertLevelSystem, reorganizes selectable alerts a bit

* makes alert levels not necessarily require localization

* oops

* sus

* does the same for announcements as well

* oh, that's not how that works at all

* ok, NOW it works

* fixes localization, adds event for when alerts are reloaded

* addresses review
This commit is contained in:
Flipp Syder
2022-06-01 00:40:11 -07:00
committed by GitHub
parent 58cacd12ed
commit 74c7aa9510
3 changed files with 73 additions and 14 deletions

View File

@@ -9,10 +9,6 @@
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
@@ -21,6 +17,10 @@
announcement: alert-level-yellow-announcement
sound: /Audio/Misc/notice1.ogg
color: Yellow
red:
announcement: alert-level-red-announcement
sound: /Audio/Misc/notice1.ogg
color: Red
gamma:
announcement: alert-level-gamma-announcement
selectable: false