* Deploy foldable * Add NetworkedComponent and access to the component * Add handled to afterinteract * Use drop target location instead of setcoordinates * Put back in hand after failed deploy This prevents dropping the bed when clicking while inside a locker. * Created BaseDeployFoldable for folding chairs, body bags, and rollerbeds
8 lines
216 B
C#
8 lines
216 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Foldable;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
[Access(typeof(DeployFoldableSystem))]
|
|
public sealed partial class DeployFoldableComponent : Component;
|