* 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
25 lines
729 B
C#
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;
|
|
}
|