tormenta20 - v0.0.0
    Preparing search index...

    Class Distincao

    A Distinção (distinction) in Tormenta20.

    Ties a character to an organization, philosophy, or people of Arton. Has three parts: admissão (narrative requirement), marca (an ability granted automatically on admission), and a set of exclusive powers. The powers themselves live in Poder (type: "poder_distincao", distincaoId pointing back here) — not duplicated on this model.

    const d = Distincao.find("cavaleiro_do_corvo")
    Poder.byDistincao(d.id).all()

    Hierarchy

    • BaseModel
      • Distincao
    Index

    Constructors

    • Parameters

      • _row: Record<string, unknown>

      Returns Distincao

    Accessors

    • get admissao(): string | null

      Narrative admission requirements.

      Returns string | null

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get id(): string

      Unique string identifier (e.g. "espada_longa", "guerreiro").

      Returns string

    • get livroId(): string

      Slug of the sourcebook this record was published in (e.g. "t20_eja").

      Returns string

    • get marcaDescricao(): string | null

      Effect of the marca.

      Returns string | null

    • get marcaNome(): string | null

      Name of the "Marca da Distinção" — the ability granted automatically on admission.

      Returns string | null

    • get name(): string

      Display name.

      Returns string

    • get nivelMinimo(): number

      Minimum character level to acquire powers from this distinction (veterano = 5).

      Returns number

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns a plain-object representation of this record.

      Returns {
          admissao: string | null;
          description: string | null;
          id: string;
          marca_descricao: string | null;
          marca_nome: string | null;
          name: string;
          nivel_minimo: number;
      }