using Content.Shared.DoAfter; using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.MagicMirror; /// /// Allows humanoids to change their appearance mid-round. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class MagicMirrorComponent : Component { [DataField] public DoAfterId? DoAfter; /// /// Magic mirror target, used for validating UI messages. /// [DataField, AutoNetworkedField] public EntityUid? Target; /// /// Do after time to add a new slot, adding hair to a person /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan AddSlotTime = TimeSpan.FromSeconds(7); /// /// Do after time to remove a slot, removing hair from a person /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan RemoveSlotTime = TimeSpan.FromSeconds(7); /// /// Do after time to change a person's hairstyle /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan SelectSlotTime = TimeSpan.FromSeconds(7); /// /// Do after time to change a person's hair color /// [DataField, ViewVariables(VVAccess.ReadWrite)] public TimeSpan ChangeSlotTime = TimeSpan.FromSeconds(7); /// /// Sound emitted when slots are changed /// [DataField, ViewVariables(VVAccess.ReadWrite)] public SoundSpecifier? ChangeHairSound = new SoundPathSpecifier("/Audio/Items/scissors.ogg"); }