using Content.Server.StationEvents.Events; namespace Content.Server.StationEvents.Components; /// /// DeltaV - Prohibits meteor swarms from targeting their impact near this component. /// Standardized avoidance rate; cannot be changed in View Variables. /// [RegisterComponent] public sealed partial class AntiMeteorZoneStandardRateComponent : Component { /// /// The size of the area around this entity to avoid. /// [DataField] public float ZoneRadius = 5f; /// /// Percentage (roughly) of meteors that are BLOCKED from hitting near this component. /// Standardized avoidance rate; cannot be changed in View Variables. /// [DataField, ViewVariables(VVAccess.ReadOnly)] // I tried to inherit AntiMeteorZoneComponent, but this VVAccess wouldn't take effect public float AvoidanceRate = 0.75f; }