Refactor guard bell (#1553)

* Remove maps edits

* fix from review

* Remove unused CP14 alert levels (fixing YAML)

* fix missing prototype CP14GuardBell

* fix from review 2

* fix TriggerSystem partial

---------

Co-authored-by: Jordan FUMA <@jfa>
This commit is contained in:
Kryyto
2025-07-26 14:09:04 +02:00
committed by GitHub
parent 6ff39a79e2
commit 23ce52c69e
26 changed files with 174 additions and 244 deletions

View File

@@ -18,8 +18,7 @@ public sealed class AlertLevelSystem : EntitySystem
[Dependency] private readonly StationSystem _stationSystem = default!;
// Until stations are a prototype, this is how it's going to have to be.
// public const string DefaultAlertLevelSet = "stationAlerts"; // OLD VANILA. Changed by CP14.
public const string DefaultAlertLevelSet = "CP14TownAlerts";
public const string DefaultAlertLevelSet = "stationAlerts";
public override void Initialize()
{
@@ -185,8 +184,7 @@ public sealed class AlertLevelSystem : EntitySystem
}
// The full announcement to be spat out into chat.
// var announcementFull = Loc.GetString("alert-level-announcement", ("name", name), ("announcement", announcement)); // OLD VANILA. Changed by CP14.
var announcementFull = Loc.GetString("cp14-alert-level-announcement", ("name", name), ("announcement", announcement));
var announcementFull = Loc.GetString("alert-level-announcement", ("name", name), ("announcement", announcement));
var playDefault = false;
if (playSound)