using Content.Shared.Antag;
using Robust.Shared.GameStates;
using Content.Shared.StatusIcon;
using Robust.Shared.Prototypes;
namespace Content.Shared.Revolutionary.Components;
///
/// Component used for marking a Head Rev for conversion and winning/losing.
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedRevolutionarySystem))]
public sealed partial class HeadRevolutionaryComponent : Component
{
///
/// The status icon corresponding to the head revolutionary.
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public ProtoId StatusIcon { get; set; } = "HeadRevolutionaryFaction";
///
/// How long the stun will last after the user is converted.
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public TimeSpan StunTime = TimeSpan.FromSeconds(3);
public override bool SessionSpecific => true;
}