mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description The recently introduced bio-synthetic torso didn't actually do anything since the biofab just spawned the torso body part rather than a usable body. This fixes that. The bio-synthetic torso lathe recipe now spawns a limbless bio-synthetic human which can then have limbs attached like any other torso. The torso's name, sex, and pronouns can be set once, ideally to reflect the identity of the person being put into the body. Hopefully this will help biofabrication function as a potential alternative to cloning. --- <details><summary><h1>Media</h1></summary> <p>     The verbs disappear after you select a name/gender/sex.   </p> </details> --- # Changelog 🆑 - tweak: Made bio-synthetic torso work as a body (cherry picked from commit 2911f82360aeab153968cc444a90c0b5321f43e0)
22 lines
619 B
C#
22 lines
619 B
C#
using Content.Shared._Shitmed.Body.Events;
|
|
|
|
namespace Content.Server._EE.DeleteOnMapInit
|
|
{
|
|
public sealed partial class DeleteOnMapInitSystem : EntitySystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
SubscribeLocalEvent<DeleteOnMapInitComponent, MapInitEvent>(OnMapInit);
|
|
}
|
|
|
|
private void OnMapInit(EntityUid uid, DeleteOnMapInitComponent comp, MapInitEvent args)
|
|
{
|
|
///var ev = new AmputateAttemptEvent(uid);
|
|
///RaiseLocalEvent(uid, ref ev);
|
|
EntityManager.QueueDeleteEntity(uid);
|
|
}
|
|
}
|
|
}
|