add the ability to override the equipped state sprite clothing system uses for custom prototypes. (#15294)
This commit is contained in:
@@ -40,6 +40,15 @@ public sealed class ClothingComponent : Component
|
||||
[DataField("equippedPrefix")]
|
||||
public string? EquippedPrefix;
|
||||
|
||||
/// <summary>
|
||||
/// Allows the equipped state to be directly overwritten.
|
||||
/// useful when prototyping INNERCLOTHING items into OUTERCLOTHING items without duplicating/modifying RSIs etc.
|
||||
/// </summary>
|
||||
[Access(typeof(ClothingSystem))]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("equippedState")]
|
||||
public string? EquippedState;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("sprite")]
|
||||
public string? RsiPath;
|
||||
|
||||
Reference in New Issue
Block a user