using Robust.Shared.Prototypes;
using static Robust.Shared.Prototypes.EntityPrototype; // don't worry about it
namespace Content.Shared.Traits
{
///
/// Describes a trait.
///
[Prototype("trait")]
public sealed class TraitPrototype : IPrototype
{
[ViewVariables]
[IdDataField]
public string ID { get; } = default!;
///
/// The name of this trait.
///
[DataField("name")]
public string Name { get; } = string.Empty;
///
/// The components that get added to the player, when they pick this trait.
///
[DataField("components")]
public ComponentRegistry Components { get; } = default!;
}
}