using Content.Server.StationEvents.Events; using Content.Shared.Antag.Components; using Robust.Shared.Map; namespace Content.Server.StationEvents.Components; /// /// Component for spawning antags in space around a station. /// /// /// Requires . /// [RegisterComponent, Access(typeof(SpaceSpawnRule))] public sealed partial class SpaceSpawnRuleComponent : Component { /// /// Final distance that the entity should spawn from the station's grid. /// [DataField] public float SpawnDistance = 20f; /// /// The distance we should check around each spawn point for grids. /// /// /// Should be less than /// [DataField] public float ClearDistance = 5f; /// /// Number of attempts to check around the station, evenly spaced around a circle. /// [DataField] public int MaxAttempts = 5; /// /// Location that was picked. /// [DataField] public MapCoordinates? Coords; }