using Content.Server.StationEvents.Events; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.StationEvents.Components; /// /// Spawns a single entity at a random tile on a station using TryGetRandomTile. /// [RegisterComponent, Access(typeof(RandomSpawnRule))] public sealed partial class RandomSpawnRuleComponent : Component { /// /// The entity to be spawned. /// [DataField("prototype", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] public string Prototype = string.Empty; }