Pathfinder 1e for Foundry VTT
    Preparing search index...

    Variable currencyConst

    currency: {
        base: "cp";
        rate: { gp: 100; pp: 1000; sp: 10 };
        standard: "gp";
        get standardRate(): number;
    } = ...

    Currency

    Type declaration

    • Readonlybase: "cp"

      Baseline currency.

      This should always be the lowest valued and most compatible currency, as otherwise rounding errors are likely to occur.

    • Readonlyrate: { gp: 100; pp: 1000; sp: 10 }

      Conversion rates in relation to base currency.

    • Readonlystandard: "gp"

      Standard currency.

      Most things are valued in this unit.

    • get standardRate(): number

      Standard rate.

      • Equivalent of rate[standard] || 1