Files
tbd-station-14/Content.Shared/Species/Components/NymphComponent.cs
LankLTE 407d4aed58 Diona Nymphs & Splitting (#24630)
* Porting & implementation

* Fix two stupid errors

* Human not humans

* fix audio path

* Fix test fails & update cooldown

* Work on reviews & test fail

* Rework nymph organ system.

* Make the nymph organs nospawn.

* IsDeadIC
2024-02-16 18:54:44 -08:00

25 lines
729 B
C#

using Robust.Shared.Prototypes;
using Robust.Shared.GameStates;
namespace Content.Shared.Species.Components;
/// <summary>
/// This will replace one entity with another entity when it is removed from a body part.
/// Obviously hyper-specific. If you somehow find another use for this, good on you.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class NymphComponent : Component
{
/// <summary>
/// The entity to replace the organ with.
/// </summary>
[DataField(required: true)]
public EntProtoId EntityPrototype = default!;
/// <summary>
/// Whether to transfer the mind to this new entity.
/// </summary>
[DataField]
public bool TransferMind = false;
}