using Content.Server.Explosion.EntitySystems; using Robust.Shared.Prototypes; namespace Content.Server.Explosion.Components; /// /// Spawns a protoype when triggered. /// [RegisterComponent, Access(typeof(TriggerSystem))] public sealed partial class SpawnOnTriggerComponent : Component { /// /// The prototype to spawn. /// [DataField(required: true)] public EntProtoId Proto = string.Empty; /// /// Use MapCoordinates for spawning? /// Set to true if you don't want the new entity parented to the spawner. /// [DataField] public bool mapCoords; }