using Content.Server.AlertLevel.Systems;
namespace Content.Server.AlertLevel;
///
/// This component is for changing the alert level of the station when triggered.
///
[RegisterComponent, Access(typeof(AlertLevelChangeOnTriggerSystem))]
public sealed partial class AlertLevelChangeOnTriggerComponent : Component
{
///
///The alert level to change to when triggered.
///
[DataField]
public string Level = "blue";
///
///Whether to play the sound when the alert level changes.
///
[DataField]
public bool PlaySound = true;
///
///Whether to say the announcement when the alert level changes.
///
[DataField]
public bool Announce = true;
///
///Force the alert change. This applies if the alert level is not selectable or not.
///
[DataField]
public bool Force = false;
}