26 lines
618 B
C#
26 lines
618 B
C#
|
|
using Robust.Shared.Prototypes;
|
||
|
|
|
||
|
|
namespace Content.Shared.Mind;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The core properties of Role Types
|
||
|
|
/// </summary>
|
||
|
|
[Prototype, Serializable]
|
||
|
|
public sealed class RoleTypePrototype : IPrototype
|
||
|
|
{
|
||
|
|
[IdDataField]
|
||
|
|
public string ID { get; private set; } = default!;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The role's name as displayed on the UI.
|
||
|
|
/// </summary>
|
||
|
|
[DataField]
|
||
|
|
public LocId Name = "role-type-crew-aligned-name";
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The role's displayed color.
|
||
|
|
/// </summary>
|
||
|
|
[DataField]
|
||
|
|
public Color Color { get; private set; } = Color.FromHex("#eeeeee");
|
||
|
|
}
|