tormenta20 - v0.0.0
    Preparing search index...

    Class Mobilia

    A Mobília (headquarters furniture) in Tormenta20.

    A catalog of furniture items that can be installed in a Comodo to grant an additional bonus. Some are restricted to a specific cômodo (comodoAlvo). Only catalog data lives here — see BaseTipo.

    Mobilia.find("bar")
    

    Hierarchy

    • BaseModel
      • Mobilia
    Index

    Constructors

    • Parameters

      • _row: Record<string, unknown>

      Returns Mobilia

    Accessors

    • get comodoAlvo(): string | null

      Id of the cômodo this mobília must be installed in, or null if unrestricted.

      Returns string | null

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get effects(): unknown[]

      JSON array of typed mechanical effect objects.

      Returns unknown[]

    • 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 name(): string

      Display name.

      Returns string

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns a plain-object representation of this record.

      Returns {
          comodo_alvo: string | null;
          description: string | null;
          effects: unknown[];
          id: string;
          name: string;
          preco: number | null;
      }