Deploy foldable (#30000)

* 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
This commit is contained in:
ShadowCommander
2024-08-02 00:05:12 -07:00
committed by GitHub
parent ccdbdee929
commit 1579c8a424
6 changed files with 57 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Foldable;
[RegisterComponent, NetworkedComponent]
[Access(typeof(DeployFoldableSystem))]
public sealed partial class DeployFoldableComponent : Component;