CatStation/Content.Shared/Body/DetachableOrganComponent.cs
pathetic meowmeow 63c90e4d4e
Organ relations (#44812)
* Organ relations

* address reviews
2026-07-26 09:20:50 +00:00

18 lines
496 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Body;
/// <summary>
/// An organ that can be detached with all of its children into a new body
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(DetachableOrganSystem))]
public sealed partial class DetachableOrganComponent : Component
{
/// <summary>
/// The body to spawn upon detaching
/// </summary>
[DataField(required: true)]
public EntProtoId DetachedBody;
}