modifications
This commit is contained in:
parent
46ec9b0ac8
commit
c10ab44ea9
2 changed files with 9 additions and 15 deletions
|
@ -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",
|
||||
|
|
|
@ -102,23 +102,18 @@
|
|||
<h4 class="items-list-title">{{localize 'DS4.Currency'}}</h4>
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="flex3 item-num-val" title="gold">{{config.currency.gold}}</div>
|
||||
<div class="flex3 item-num-val" title="silver">{{config.currency.silver}}</div>
|
||||
<div class="flex3 item-num-val" title="copper">{{config.currency.copper}}</div>
|
||||
{{#each config.currency as |currency-name|}}
|
||||
<div class="flex3 item-num-val">{{currency-name}}</div>
|
||||
{{/each}}
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
||||
value="{{data.currency.gold}}" title="Gold" />
|
||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
||||
value="{{data.currency.silver}}" title="Silber" />
|
||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
||||
value="{{data.currency.copper}}" title="Kupfer" />
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
{{#each data.currency as |currency-data-value currency-data-key|}}
|
||||
<input class="flex3 item-num-val item-change" name="data.currency.{{currency-data-key}}" value="{{currency-data-value}}"
|
||||
data-dtype="Number" />
|
||||
{{/each}}
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
{{!-- WEAPONS --}}
|
||||
<h4 class="items-list-title">{{localize 'DS4.ItemTypeWeaponPlural'}}</h4>
|
||||
{{!-- {{#if (and (ne itemsByType.weapon undefined) (gt itemsByType.weapon.length 0)) }} --}}
|
||||
|
|
Loading…
Reference in a new issue