fish-station/Content.Shared/Mobs
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 Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
Events Added Pain Numbness Trait (#34538) 2025-01-27 11:34:20 +01:00
Systems Decouple standing state and drop item behavior (#41566) 2025-12-16 18:32:56 +00:00
CritMobActions.cs Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
MobState.cs