diff --git a/src/module/config.ts b/src/module/config.ts index b6a75295..171b26f8 100644 --- a/src/module/config.ts +++ b/src/module/config.ts @@ -190,9 +190,8 @@ export const DS4 = { }, /** - * Define currency elemenrs for handlebars of a character + * Define currency elements for handlebars of a character */ - currency: { gold: "DS4.CurrencyGold", silver: "DS4.CurrencySilver", diff --git a/src/templates/actor/partials/items-overview.hbs b/src/templates/actor/partials/items-overview.hbs index 4fa28d97..b35c256a 100644 --- a/src/templates/actor/partials/items-overview.hbs +++ b/src/templates/actor/partials/items-overview.hbs @@ -102,23 +102,18 @@

{{localize 'DS4.Currency'}}

  1. -
    {{config.currency.gold}}
    -
    {{config.currency.silver}}
    -
    {{config.currency.copper}}
    + {{#each config.currency as |currency-name|}} +
    {{currency-name}}
    + {{/each}}
  2. - - - -
  3. -
- + {{#each data.currency as |currency-data-value currency-data-key|}} + + {{/each}} - + {{!-- WEAPONS --}}

{{localize 'DS4.ItemTypeWeaponPlural'}}

{{!-- {{#if (and (ne itemsByType.weapon undefined) (gt itemsByType.weapon.length 0)) }} --}}