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:
7
Content.Shared/Foldable/DeployFoldableComponent.cs
Normal file
7
Content.Shared/Foldable/DeployFoldableComponent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Foldable;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(DeployFoldableSystem))]
|
||||
public sealed partial class DeployFoldableComponent : Component;
|
||||
Reference in New Issue
Block a user