using Robust.Shared.GameStates; namespace Content.Shared.Trigger.Components.Effects; /// /// Changes the alert level of the station when triggered. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class AlertLevelChangeOnTriggerComponent : BaseXOnTriggerComponent { /// /// The alert level to change to when triggered. /// [DataField, AutoNetworkedField] public string Level = "blue"; /// /// Whether to play the sound when the alert level changes. /// [DataField, AutoNetworkedField] public bool PlaySound = true; /// /// Whether to say the announcement when the alert level changes. /// [DataField, AutoNetworkedField] public bool Announce = true; /// /// Force the alert change. This applies if the alert level is not selectable or not. /// [DataField, AutoNetworkedField] public bool Force = false; }