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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user