using Content.Shared.Storage; using Content.Shared.Whitelist; using Robust.Shared.Prototypes; namespace Content.Server.GameTicking.Rules.VariationPass.Components; /// /// This is used for replacing a certain amount of entities with other entities in a variation pass. /// /// /// /// POTENTIALLY REPLACEABLE ENTITIES MUST BE MARKED WITH A REPLACEMENT MARKER /// AND HAVE A SYSTEM INHERITING FROM /// SEE /// [RegisterComponent] public sealed partial class EntityReplaceVariationPassComponent : Component { /// /// Number of matching entities before one will be replaced on average. /// [DataField(required: true)] public float EntitiesPerReplacementAverage; [DataField(required: true)] public float EntitiesPerReplacementStdDev; /// /// Prototype(s) to replace matched entities with. /// [DataField(required: true)] public List Replacements = default!; }