using Content.Shared.DoAfter; using Content.Shared.Humanoid; using Robust.Shared.Audio; namespace Content.Server.MagicMirror; /// /// Allows humanoids to change their appearance mid-round. /// [RegisterComponent] public sealed partial class MagicMirrorComponent : Component { [DataField] public DoAfterId? DoAfter; /// /// Magic mirror target, used for validating UI messages. /// [DataField] public EntityUid? Target; /// /// doafter time required to add a new slot /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan AddSlotTime = TimeSpan.FromSeconds(5); /// /// doafter time required to remove a existing slot /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan RemoveSlotTime = TimeSpan.FromSeconds(2); /// /// doafter time required to change slot /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan SelectSlotTime = TimeSpan.FromSeconds(3); /// /// doafter time required to recolor slot /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan ChangeSlotTime = TimeSpan.FromSeconds(1); /// /// Sound emitted when slots are changed /// [DataField, ViewVariables(VVAccess.ReadWrite)] public SoundSpecifier ChangeHairSound = new SoundPathSpecifier("/Audio/Items/scissors.ogg"); }