]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Gibbing refactor (Per-part gibbing and giblet throwing!) (#24989)
authorJezithyr <jezithyr@gmail.com>
Sat, 10 Feb 2024 23:37:06 +0000 (15:37 -0800)
committerGitHub <noreply@github.com>
Sat, 10 Feb 2024 23:37:06 +0000 (15:37 -0800)
commit541d8f8715e4e74a77501863c2573aaa1eb33add
tree8cc9b8eb364839f850e3061eca6def428463c915
parent2a9fa67a7fef8c6f8f54d507c88fc4e399d1fd4f
Gibbing refactor (Per-part gibbing and giblet throwing!) (#24989)

* Moving Gibbing rework out from medrefactor into it's own PR

* Re-enabled warning for missing gibbable on TryGibEntity

* Implemented better logic for gibbing failover and better logging

* Allowing audio params and drop scattering customization per component. Created UnGibbable organ base types and made brains ungibbable.
Removed delete brain from gibBody function. Artifact crusher does not destroy brains anymore. It only destroyed brains before not other organs which was wierd.

* Update Content.Shared/Body/Systems/SharedBodySystem.Body.cs

Fixing space for multiplication

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Added event raised when attempting to gib contained entities to allow modification of allowed and excluded container ids

* removing audioParams var from component (sound specifier includes it)

* Fixing signature

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
12 files changed:
Content.Server/Body/Systems/BodySystem.cs
Content.Server/Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs
Content.Shared/Body/Systems/SharedBodySystem.Body.cs
Content.Shared/Gibbing/Components/GibbableComponent.cs [new file with mode: 0644]
Content.Shared/Gibbing/Events/GibbingEvents.cs [new file with mode: 0644]
Content.Shared/Gibbing/Systems/GibbingSystem.cs [new file with mode: 0644]
Resources/Prototypes/Body/Organs/Animal/animal.yml
Resources/Prototypes/Body/Organs/human.yml
Resources/Prototypes/Body/Parts/animal.yml
Resources/Prototypes/Body/Parts/base.yml
Resources/Prototypes/Body/Parts/skeleton.yml
Resources/Prototypes/Body/Parts/terminator.yml