Toggleable clothing changes (#19680)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Tony
2023-09-01 14:12:59 +03:00
committed by GitHub
parent 6dcccf8d0c
commit c764a40a69
6 changed files with 9 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ public sealed partial class ToggleableClothingComponent : Component
/// Action used to toggle the clothing on or off.
/// </summary>
[DataField("actionId", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
public string ActionId = "ToggleSuitHelmet";
public string ActionId = "ToggleSuitPiece";
public InstantAction? ToggleAction = null;
/// <summary>
@@ -33,6 +33,7 @@ public sealed partial class ToggleableClothingComponent : Component
/// <summary>
/// The inventory slot that the clothing is equipped to.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("slot")]
public string Slot = "head";