From cc510eecffb28f910b960d57b724c4d052c5990c Mon Sep 17 00:00:00 2001 From: JrInventor05Next <205915704+JrInventor05Next@users.noreply.github.com> Date: Mon, 15 Dec 2025 05:03:54 +0800 Subject: [PATCH] Alert level rework (#424) * start * stage * delete trash * cleanup * comments * fix * code rabbit review * review changes review by Pupchansky --- .../UI/CommunicationsConsoleMenu.xaml | 2 +- .../UI/CommunicationsConsoleMenu.xaml.cs | 30 +++- Content.Client/Entry/EntryPoint.cs | 2 +- Content.Client/PDA/PdaMenu.xaml.cs | 53 +++--- .../AlertLevel/AlertLevelComponent.cs | 20 ++- .../AlertLevel/AlertLevelPrototype.cs | 82 --------- Content.Server/AlertLevel/AlertLevelSystem.cs | 78 ++++---- .../Commands/SetAlertLevelCommand.cs | 6 +- .../CommunicationsConsoleSystem.cs | 11 +- .../EntitySystems/EmergencyLightSystem.cs | 29 +-- Content.Server/PDA/PdaSystem.cs | 17 +- Content.Server/RoundEnd/RoundEndSystem.cs | 7 +- .../AlertLevel/AlertLevelPrototype.cs | 83 +++++++++ Content.Shared/PDA/PdaComponent.cs | 1 + Content.Shared/PDA/PdaUpdateState.cs | 1 + .../Prototypes/AlertLevels/alert_levels.yml | 168 ++++++++++-------- .../Prototypes/Entities/Stations/base.yml | 2 +- 17 files changed, 336 insertions(+), 256 deletions(-) delete mode 100644 Content.Server/AlertLevel/AlertLevelPrototype.cs create mode 100644 Content.Shared/AlertLevel/AlertLevelPrototype.cs diff --git a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml index b74df979cf..7fa07a6a6e 100644 --- a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml +++ b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml @@ -53,7 +53,7 @@