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:
themias
2024-02-03 19:52:44 -05:00
committed by GitHub
parent 494af9ac68
commit b503fe5864
31 changed files with 309 additions and 126 deletions

View File

@@ -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;
}

View File

@@ -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";
}