* Flipped caps real * oops * whoops * flip not fold * fix formatting * cargosoft formatting
27 lines
733 B
C#
27 lines
733 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;
|
|
|
|
[DataField]
|
|
public LocId UnfoldVerbText = "unfold-verb";
|
|
|
|
[DataField]
|
|
public LocId FoldVerbText = "fold-verb";
|
|
}
|