Make magic mirror do-after longer, add popups to notify the target (#30366)

* Make magic mirror do-after longer, add popups to notify the target

* Turns out I do have access to the user

* More detailed popups

* Helmets protecc

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-07-29 19:17:27 -07:00
committed by GitHub
parent 3104215ced
commit 031eb9606c
3 changed files with 164 additions and 13 deletions

View File

@@ -20,28 +20,28 @@ public sealed partial class MagicMirrorComponent : Component
public EntityUid? Target;
/// <summary>
/// doafter time required to add a new slot
/// Do after time to add a new slot, adding hair to a person
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public TimeSpan AddSlotTime = TimeSpan.FromSeconds(5);
public TimeSpan AddSlotTime = TimeSpan.FromSeconds(7);
/// <summary>
/// doafter time required to remove a existing slot
/// Do after time to remove a slot, removing hair from a person
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public TimeSpan RemoveSlotTime = TimeSpan.FromSeconds(2);
public TimeSpan RemoveSlotTime = TimeSpan.FromSeconds(7);
/// <summary>
/// doafter time required to change slot
/// Do after time to change a person's hairstyle
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public TimeSpan SelectSlotTime = TimeSpan.FromSeconds(3);
public TimeSpan SelectSlotTime = TimeSpan.FromSeconds(7);
/// <summary>
/// doafter time required to recolor slot
/// Do after time to change a person's hair color
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public TimeSpan ChangeSlotTime = TimeSpan.FromSeconds(1);
public TimeSpan ChangeSlotTime = TimeSpan.FromSeconds(7);
/// <summary>
/// Sound emitted when slots are changed