using Content.Shared.EntityTable.EntitySelectors; using Robust.Shared.Prototypes; namespace Content.Server.Power.Components; /// /// Spawns a entity when the battery reaches max charge. /// It also consumes all power when spawning the entity. /// [RegisterComponent] public sealed partial class SpawnOnBatteryFullComponent : Component { /// /// A entity proto to spawn. /// /// Takes priority over [DataField] public EntProtoId? Proto; /// /// A entity table to spawn stuff from. /// [DataField] public EntityTableSelector? Table; }