using Robust.Shared.Prototypes; namespace Content.Shared.Ghost.Roles; /// /// For selectable ghostrole prototypes in ghostrole spawners. /// [Prototype] public sealed partial class GhostRolePrototype : IPrototype { [ViewVariables] [IdDataField] public string ID { get; private set; } = default!; /// /// The name of the ghostrole. /// [DataField(required: true)] public string Name { get; set; } = default!; /// /// The description of the ghostrole. /// [DataField(required: true)] public string Description { get; set; } = default!; /// /// The entity prototype of the ghostrole /// [DataField(required: true)] public EntProtoId EntityPrototype; /// /// The entity prototype's sprite to use to represent the ghost role /// Use this if you don't want to use the entity itself /// [DataField] public EntProtoId? IconPrototype = null; /// /// Rules of the ghostrole /// [DataField(required: true)] public string Rules = default!; }