Add face bandanas (#24597)
* add face bandanas * oops * make face bandanas butcherable, also one bite * oops * Add mouth IdentityBlocker to bandanas * refactor to use foldablecomponent * remove some leftover bits * remove HamsterWearable until face sprite updated * oops * review changes * remove a few unneeded bits
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Content.Shared.Inventory;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Clothing.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class FoldableClothingComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Which slots does this fit into when folded?
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SlotFlags? FoldedSlots;
|
||||
|
||||
/// <summary>
|
||||
/// Which slots does this fit into when unfolded?
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SlotFlags? UnfoldedSlots;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Shared.Clothing.EntitySystems;
|
||||
using Content.Shared.Clothing.EntitySystems;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -19,4 +19,7 @@ public sealed partial class MaskComponent : Component
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public bool IsToggled;
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public string EquippedPrefix = "toggled";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user