Add syndicate sleeper agents random event (#27501)
* Intercept rule (#10) * add * b * add this back lol * fix test fails (alert levels dont have prototypes) * tweaks
This commit is contained in:
@@ -96,6 +96,16 @@ public sealed class AlertLevelSystem : EntitySystem
|
||||
RaiseLocalEvent(new AlertLevelPrototypeReloadedEvent());
|
||||
}
|
||||
|
||||
public string GetLevel(EntityUid station, AlertLevelComponent? alert = null)
|
||||
{
|
||||
if (!Resolve(station, ref alert))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return alert.CurrentLevel;
|
||||
}
|
||||
|
||||
public float GetAlertLevelDelay(EntityUid station, AlertLevelComponent? alert = null)
|
||||
{
|
||||
if (!Resolve(station, ref alert))
|
||||
|
||||
Reference in New Issue
Block a user