using Content.Server.StationEvents.Events; using Content.Shared.EntityTable.EntitySelectors; using Content.Shared.Storage; using Robust.Shared.Map; // DeltaV namespace Content.Server.StationEvents.Components; [RegisterComponent, Access(typeof(VentCrittersRule))] public sealed partial class VentCrittersRuleComponent : Component { // DeltaV: Replaced by Table //[DataField("entries")] //public List Entries = new(); /// /// DeltaV: Table of possible entities to spawn. /// [DataField(required: true)] public EntityTableSelector Table = default!; /// /// At least one special entry is guaranteed to spawn /// [DataField("specialEntries")] public List SpecialEntries = new(); /// /// DeltaV: The location of the vent that got picked. /// [ViewVariables] public EntityCoordinates? Location; /// /// DeltaV: Base minimum number of critters to spawn. /// [DataField] public int Min = 2; /// /// DeltaV: Base maximum number of critters to spawn. /// [DataField] public int Max = 3; /// /// DeltaV: Min and max get multiplied by the player count then divided by this. /// [DataField] public int PlayerRatio = 25; }