using Content.Shared.Body.Components; using Content.Shared.Body.Organ; using Content.Shared.Body.Systems; using Robust.Shared.GameStates; namespace Content.Shared.Body.Part; [RegisterComponent, NetworkedComponent] [Access(typeof(SharedBodySystem))] public sealed class BodyPartComponent : Component { [ViewVariables] [DataField("body")] public EntityUid? Body; [ViewVariables] [DataField("parent")] public BodyPartSlot? ParentSlot; [ViewVariables] [DataField("children")] public Dictionary Children = new(); [ViewVariables] [DataField("organs")] public Dictionary Organs = new(); [ViewVariables] [DataField("partType")] public BodyPartType PartType = BodyPartType.Other; // TODO BODY Replace with a simulation of organs /// /// Whether or not the owning will die if all /// s of this type are removed from it. /// [ViewVariables] [DataField("vital")] public bool IsVital; [ViewVariables] [DataField("symmetry")] public BodyPartSymmetry Symmetry = BodyPartSymmetry.None; }