mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Irk/83 homebrew currency (#193)
* add homebrew options to rename currency names * add title. remove localization from settings file since it didn't work. * use enabled toggle to use localized initial label values. * cleanup
This commit is contained in:
parent
778e569037
commit
b25e1cec78
8 changed files with 121 additions and 23 deletions
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
<a><i class="fa-solid fa-filter"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="items-section">
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.weapon') type='weapon' isGlassy=true}}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.armor') type='armor' isGlassy=true}}
|
||||
|
|
@ -20,23 +20,23 @@
|
|||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.miscellaneous') type='miscellaneous' isGlassy=true}}
|
||||
</div>
|
||||
|
||||
<div class="currency-section">
|
||||
<div class="currency-section">
|
||||
<div class="input">
|
||||
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Coins"}}</span>
|
||||
<span>{{localize this.inventory.currency.coins}}</span>
|
||||
{{formInput systemFields.gold.fields.coins value=source.system.gold.coins enriched=source.system.gold.coins localize=true toggled=true}}
|
||||
</div>
|
||||
<div class="input">
|
||||
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Handfulls"}}</span>
|
||||
<span>{{localize this.inventory.currency.handfulls}}</span>
|
||||
{{formInput systemFields.gold.fields.handfulls value=source.system.gold.handfulls enriched=source.system.gold.handfulls localize=true toggled=true}}
|
||||
</div>
|
||||
<div class="input">
|
||||
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Bags"}}</span>
|
||||
<span>{{localize this.inventory.currency.bags}}</span>
|
||||
{{formInput systemFields.gold.fields.bags value=source.system.gold.bags enriched=source.system.gold.bags localize=true toggled=true}}
|
||||
</div>
|
||||
<div class="input">
|
||||
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Chests"}}</span>
|
||||
<span>{{localize this.inventory.currency.chests}}</span>
|
||||
{{formInput systemFields.gold.fields.chests value=source.system.gold.chests enriched=source.system.gold.chests localize=true toggled=true}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue