Delta-v/Content.Shared/Mobs
alexalexmax 9991a5aefc Decouple standing state and drop item behavior (#41566)
* removed DropHandsItemEvent from standing state system, added DropHandsItemEvent calls in slippery system and shared stun system

* added DropHandItemsEvent calls in mobstate system subscribers

* Added DropHandItemsEvent call in SharedBodySystem.Parts

* Add a standingState check in RemoveLeg so removing the legs of a downed person won't cause them to drop items

* new method for downing + dropping held items in mobstatesystem

* mild cleanup

* Bugfix

* update BuckleTest to reflect new item dropping behavior when removing legs

* light cleanup

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-04-04 16:57:18 +02:00
..
Components Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00
Events Added Pain Numbness Trait (#34538) 2025-01-28 04:53:45 +00:00
Systems Decouple standing state and drop item behavior (#41566) 2026-04-04 16:57:18 +02:00
CritMobActions.cs Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
MobState.cs Mobstate Refactor (#13389) 2023-01-13 16:57:10 -08:00