tormenta20 - v0.0.0
    Preparing search index...

    Class MaterialEspecial

    A Material Especial (special material) that equipment can be crafted from.

    MaterialEspecial.all()
    MaterialEspecial.find("adamante")

    Hierarchy

    • BaseModel
      • MaterialEspecial
    Index

    Constructors

    Accessors

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

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

      JSON object with mechanical effects granted by the material.

      Returns Record<string, unknown>

    • get id(): string

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

      Returns string

    • get name(): string

      Display name.

      Returns string

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

      JSON object with price modifier data (multiplier or flat bonus).

      Returns Record<string, unknown>

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns a plain-object representation of this record.

      Returns {
          applicable_to: unknown[];
          description: string | null;
          effects: Record<string, unknown>;
          id: string;
          name: string;
          price_modifier: Record<string, unknown>;
      }