Delta-v/Content.Shared/Mobs/Systems
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
..
MobStateActionsSystem.cs action refactor proper ecs edition (#27422) 2025-08-06 20:08:30 +02:00
MobStateSystem.StateMachine.cs "New player" admin logging improvements (#35961) 2025-03-23 16:17:16 +00:00
MobStateSystem.Subscribers.cs Decouple standing state and drop item behavior (#41566) 2026-04-04 16:57:18 +02:00
MobStateSystem.cs Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00
MobThresholdSystem.cs Update DamageableSystem to modern standards (#39417) 2025-12-29 11:39:33 -06:00