Files
tbd-station-14/Content.Server/Foldable/FoldableComponent.cs
2021-12-29 15:57:20 +11:00

26 lines
644 B
C#

#nullable enable
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Foldable
{
/// <summary>
/// Used to create "foldable structures" that you can pickup like an item when folded. Used for rollerbeds and wheelchairs
/// </summary>
[RegisterComponent]
public class FoldableComponent : Component
{
public override string Name => "Foldable";
[DataField("folded")]
[ViewVariables]
public bool IsFolded = false;
public bool CanBeFolded = true;
}
}