using Content.Shared.Storage; namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components; /// /// When activated artifact will spawn an entity from prototype. /// It could be an angry mob or some random item. /// [RegisterComponent] public sealed partial class SpawnArtifactComponent : Component { [DataField("spawns")] public List? Spawns; /// /// The range around the artifact that it will spawn the entity /// [DataField("range")] public float Range = 0.5f; /// /// The maximum number of times the spawn will occur /// [DataField("maxSpawns")] public int MaxSpawns = 10; }