using Content.Server.StationEvents.Events;
using Content.Shared.EntityTable.EntitySelectors;
namespace Content.Server.StationEvents.Components;
///
/// Component used for the vent horde gamerule.
/// Picks a random entity with
/// and spawns entities picked from the on it after a delay.
///
[RegisterComponent, Access(typeof(VentHordeRule))]
public sealed partial class VentHordeRuleComponent : Component
{
///
/// The table of possible mobs to spawn from the vent.
///
[DataField(required: true)]
public EntityTableSelector Table = default!;
///
/// The vent that has been chosen to spawn the entities.
/// Spawning logic is handled by
///
[DataField]
public EntityUid? ChosenVent;
}