• Merges provided currencies into specified type.

    Parameters

    • currency: object = {}

      Currency object with keys according to pf1.config.currencies

    • Optionaltype:
          | "pp"
          | "gp"
          | "sp"
          | "cp"

      Return coinage, defaults to baseline currency.

    Returns number

    • Merged currency