using Content.Shared.Roles; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; using Robust.Shared.Audio; namespace Content.Shared.Silicons.Laws.Components; /// /// This is used for an entity that grants a special "obey" law when emagged. /// [RegisterComponent, NetworkedComponent, Access(typeof(SharedSiliconLawSystem))] public sealed partial class EmagSiliconLawComponent : Component { /// /// The name of the person who emagged this law provider. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public string? OwnerName; /// /// Does the panel need to be open to EMAG this law provider. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public bool RequireOpenPanel = true; /// /// How long the borg is stunned when it's emagged. Setting to 0 will disable it. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan StunTime = TimeSpan.Zero; }