Fix BodySystem and Gibbing (#20460)

* Fix gibbing & body system

Makes it so that bodies no longer have two sets of torso organs and that gibbed bodies get spread around on the floor again.

* Actually fix the double torso problem

* rootSlot in cameFrom

* Remove SetCoordinates inside GibBody()

* Don't use entity.RandomOffset() in GibBody()

* Gibbing now uses _random.NextVector2()
This commit is contained in:
Psychpsyo
2023-09-25 08:53:04 +02:00
committed by GitHub
parent 91a157d7ed
commit 34aea7d9ed
4 changed files with 15 additions and 27 deletions

View File

@@ -1,5 +1,4 @@
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Prototypes;
namespace Content.Shared.Body.Prototypes;