| 123456789101112131415161718192021222324252627 |
- using Content.Shared.Random;
- using Content.Shared.Storage;
- using Robust.Shared.Prototypes;
- namespace Content.Server.GameTicking.Rules.VariationPass.Components;
- /// <summary>
- /// This is used for spawning entities randomly dotted around the station in a variation pass.
- /// </summary>
- [RegisterComponent]
- public sealed partial class EntitySpawnVariationPassComponent : Component
- {
- /// <summary>
- /// Number of tiles before we spawn one entity on average.
- /// </summary>
- [DataField]
- public float TilesPerEntityAverage = 50f;
- [DataField]
- public float TilesPerEntityStdDev = 7f;
- /// <summary>
- /// Spawn entries for each chosen location.
- /// </summary>
- [DataField(required: true)]
- public List<EntitySpawnEntry> Entities = default!;
- }
|