mwg API
    Preparing search index...

    Interface TraitDef

    One entry in a shared pool a creature or unit can draw from at creation - "born strong", "nocturnal", "unlucky". Distinct from actors.Affix (item-side, one per item, weight-picked at generation) and StatusEffect (temporary, expires): a trait is permanent once assigned, never chosen by the player, and belongs to the creature rather than anything it carries.

    interface TraitDef {
        description?: string;
        modifiers: readonly Omit<Modifier, "source">[];
        name: string;
    }
    Index
    description?: string

    shown in a character sheet; mwg never reads this itself

    modifiers: readonly Omit<Modifier, "source">[]
    name: string