using Robust.Shared.Prototypes; namespace Content.Shared.Ghost.Roles.Components { /// /// Allows a ghost to take this role, spawning a new entity. /// [RegisterComponent, EntityCategory("Spawner")] public sealed partial class GhostRoleMobSpawnerComponent : Component { [DataField] public bool DeleteOnSpawn = true; [DataField] public int AvailableTakeovers = 1; [ViewVariables] public int CurrentTakeovers = 0; [DataField] public EntProtoId? Prototype; /// /// If this ghostrole spawner has multiple selectable ghostrole prototypes. /// [DataField] public List> SelectablePrototypes = []; } }