tormenta20 - v0.0.0
    Preparing search index...

    Class Divindade

    A Divindade (deity) in Tormenta20.

    Divindade.all()
    Divindade.energiaPositiva().all()
    Divindade.find("khalmyr")

    const khalmyr = Divindade.find("khalmyr")!
    khalmyr.grantedPowers // ["poder_id", ...]
    khalmyr.races() // races that worship Khalmyr
    khalmyr.classes() // classes that worship Khalmyr

    Hierarchy

    • BaseModel
      • Divindade
    Index

    Constructors

    • Parameters

      • _row: Record<string, unknown>

      Returns Divindade

    Accessors

    • get beliefsObjectives(): unknown[]

      Beliefs and objectives of the deity's faith.

      Returns unknown[]

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get devotees(): Record<string, unknown>

      Raw devotees object with races and classes arrays.

      Returns Record<string, unknown>

    • get grantedPowers(): string[]

      IDs of powers granted to devoted characters.

      Returns string[]

    • get id(): string

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

      Returns string

    • get name(): string

      Display name.

      Returns string

    • get preferredWeapon(): string | null

      ID of the deity's preferred weapon, or null.

      Returns string | null

    • get title(): string | null

      Deity title or epithet (e.g. "O Senhor da Justiça"), or null.

      Returns string | null

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns class IDs whose members commonly worship this deity.

      Returns string[]

    • Returns race IDs whose members commonly worship this deity.

      Returns string[]

    • Returns a plain-object representation of this record.

      Returns {
          beliefs_objectives: unknown[];
          description: string | null;
          devotees: Record<string, unknown>;
          energy: DivindadeEnergy;
          granted_powers: string[];
          holy_symbol: string | null;
          id: string;
          name: string;
          obligations_restrictions: string | null;
          preferred_weapon: string | null;
          title: string | null;
      }