using Robust.Shared.Audio;
namespace Content.Server.NukeOps;
///
/// Used with NukeOps game rule to send war declaration announcement
///
[RegisterComponent]
public sealed partial class WarDeclaratorComponent : Component
{
///
/// Custom war declaration message. If empty, use default.
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField]
public string Message;
///
/// Permission to customize message text
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField]
public bool AllowEditingMessage = true;
///
/// War declarement text color
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField]
public Color Color = Color.Red;
///
/// War declarement sound file path
///
[DataField]
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Announcements/war.ogg");
///
/// Fluent ID for the declarement title
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField]
public LocId Title = "comms-console-announcement-title-nukie";
}