]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Dragdrop fold rollerbed (#30002)
authorShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Wed, 7 Aug 2024 09:19:10 +0000 (02:19 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 09:19:10 +0000 (19:19 +1000)
commit6a5cc883cebd20f87144e3f8f37086d7efb042de
treee703792b698b0b48a46d9727d70ed555e1d89cce
parentd86438c22ba753756d1f41c5ad3455e28852b84a
Dragdrop fold rollerbed (#30002)

* 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

* Add dragdrop to fold rollerbed to hand
Content.Client/Interaction/DragDropSystem.cs
Content.Shared/Foldable/DeployFoldableSystem.cs
Content.Shared/Strip/SharedStrippableSystem.cs