CatStation/Content.Shared/Body
alexalexmax 2a596d283c
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>
2025-12-16 18:32:56 +00:00
..
Components multi reagent bloodstream (#41489) 2025-12-01 05:35:21 +00:00
Events Added Hemophilia Trait (#38224) 2025-08-21 03:02:54 +02:00
Organ Body code cleanup (#24946) 2024-03-27 17:48:37 -07:00
Part Body code cleanup (#24946) 2024-03-27 17:48:37 -07:00
Prototypes Make MappingDataNode use string keys (#36111) 2025-04-18 19:28:22 +10:00
Systems Decouple standing state and drop item behavior (#41566) 2025-12-16 18:32:56 +00:00