* 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
21 lines
605 B
C#
21 lines
605 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Foldable;
|
|
|
|
/// <summary>
|
|
/// Used to create "foldable structures" that you can pickup like an item when folded.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Will prevent any insertions into containers while this item is unfolded.
|
|
/// </remarks>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
|
|
[Access(typeof(FoldableSystem))]
|
|
public sealed partial class FoldableComponent : Component
|
|
{
|
|
[DataField("folded"), AutoNetworkedField]
|
|
public bool IsFolded = false;
|
|
|
|
[DataField]
|
|
public bool CanFoldInsideContainer = false;
|
|
}
|