using Content.Server.Spawners.EntitySystems; using Content.Shared.EntityTable.EntitySelectors; using Robust.Shared.Prototypes; namespace Content.Server.Spawners.Components; [RegisterComponent, EntityCategory("Spawner"), Access(typeof(ConditionalSpawnerSystem))] public sealed partial class EntityTableSpawnerComponent : Component { /// /// Table that determines what gets spawned. /// [DataField(required: true)] public EntityTableSelector Table = default!; /// /// Scatter of entity spawn coordinates /// [DataField] public float Offset = 0.2f; /// /// A variable meaning whether the spawn will /// be able to be used again or whether /// it will be destroyed after the first use /// [DataField] public bool DeleteSpawnerAfterSpawn = true; }