fish-station/Content.Shared/Mobs/Systems
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
..
MobStateActionsSystem.cs action refactor proper ecs edition (#27422) 2025-05-28 15:52:11 -04:00
MobStateSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00
MobStateSystem.StateMachine.cs "New player" admin logging improvements (#35961) 2025-03-20 20:56:51 +01:00
MobStateSystem.Subscribers.cs Decouple standing state and drop item behavior (#41566) 2025-12-16 18:32:56 +00:00
MobThresholdSystem.cs Update DamageableSystem to modern standards (#39417) 2025-10-27 19:53:04 +00:00