]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add a component that inserts the held item when no interaction happens on the stored...
authorShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Sun, 11 Aug 2024 02:29:44 +0000 (19:29 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Aug 2024 02:29:44 +0000 (12:29 +1000)
commit2f77d0d4f380ab50c4b66dd2349949c0da184809
treeee115ea734ac5dec960a5ee899fda09c77f7630f
parentd7c3ba84094c2814617481c4bd7813e0defc13f9
Add a component that inserts the held item when no interaction happens on the stored item (#29823)

* Insert when held item has no interaction with stored item

* Decouple inserting on failure

* Add component that stores the used entity when no interaction happened

* Add prediction
Content.Shared/Interaction/SharedInteractionSystem.cs
Content.Shared/Storage/Components/StoreAfterFailedInteractComponent.cs [new file with mode: 0644]
Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs
Content.Shared/Storage/EntitySystems/StoreAfterFailedInteractSystem.cs [new file with mode: 0644]
Content.Shared/Storage/Events/StorageInsertFailedEvent.cs [new file with mode: 0644]