| 123456789101112131415161718192021222324 |
- 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;
- }
|