Files
TheriapolisV3/Theriapolis.Core/Data/TraitDef.cs
T

22 lines
659 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
namespace Theriapolis.Core.Data;
/// <summary>
/// Trait or detriment entry shared by clades, species, and class features.
/// Phase 5 mostly stores these as descriptive text — only a handful have
/// real runtime mechanics (level-1 combat-touching features). The rest
/// surface as flavor in tooltips and the character sheet UI.
/// </summary>
public sealed record TraitDef
{
[JsonPropertyName("id")]
public string Id { get; init; } = "";
[JsonPropertyName("name")]
public string Name { get; init; } = "";
[JsonPropertyName("description")]
public string Description { get; init; } = "";
}