mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
* FIX: Add enritch to HTMLField FIX: Remove no-HTMLField from Manifest FIX: Convert Scar's HTMLField to StringField FIX: Remove unused HTMLField * REMOVE unused hanldebars helpers * FEAT: add inventory-fieldset-items-V2 and inventory-item-V2 partials for Actors * FIX showLabels to hideTags * FEAT: add template to items sheet * FEAT: add effects tabs on ItemSheet * FEAT: add context menus for all inventory-items * FEAT: add resources to inventory-item template * FEAT: add enritch on inventory-item description FEAT: add extensible behavior on inventory-item-content FEAT: add fade effect on item-img to roll-itmg * FEAT: add eritch to NPC description FIX: missing htmlFieldss on manfiest FIX: add misisng localizations * FIX_ minor fixes * Little resource fix. Noone will notice ._. * FIX: remove default list styles FIX: .extended css reduce max-height, shorten animation duration to 0.5s, and set overflow to auto. FIX: set enriched=notes.enriche on notes.hbs FIX: set experience.value on sidebar.hbs FIX: move tooltip from item-img to img-portrait on inventory-item-V2.hbs REMOVE: unused files --------- Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> Co-authored-by: WBHarry <williambjrklund@gmail.com>
71 lines
No EOL
2.6 KiB
Handlebars
71 lines
No EOL
2.6 KiB
Handlebars
<section class='tab {{tabs.inventory.cssClass}} {{tabs.inventory.id}}' data-tab='{{tabs.inventory.id}}'
|
|
data-group='{{tabs.inventory.group}}'>
|
|
<div class="search-section">
|
|
<div class="search-bar">
|
|
<div class="icon">
|
|
<i class="fa-solid fa-magnifying-glass"></i>
|
|
</div>
|
|
<input type="search" name="search" class="search-inventory" placeholder="Search...">
|
|
</div>
|
|
<a class="filter-button">
|
|
<i class="fa-solid fa-filter"></i>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="items-section">
|
|
{{> 'daggerheart.inventory-items'
|
|
title='TYPES.Item.weapon'
|
|
type='weapon'
|
|
collection=document.itemTypes.weapon
|
|
isGlassy=true
|
|
canCreate=true
|
|
hideResources=true
|
|
}}
|
|
{{> 'daggerheart.inventory-items'
|
|
title='TYPES.Item.armor'
|
|
type='armor'
|
|
collection=document.itemTypes.armor
|
|
isGlassy=true
|
|
canCreate=true
|
|
hideResources=true
|
|
}}
|
|
{{> 'daggerheart.inventory-items'
|
|
title='TYPES.Item.consumable'
|
|
type='consumable'
|
|
collection=document.itemTypes.consumable
|
|
isGlassy=true
|
|
canCreate=true
|
|
}}
|
|
{{> 'daggerheart.inventory-items'
|
|
title='TYPES.Item.miscellaneous'
|
|
type='miscellaneous'
|
|
collection=document.itemTypes.miscellaneous
|
|
isGlassy=true
|
|
canCreate=true
|
|
}}
|
|
</div>
|
|
|
|
<div class="currency-section">
|
|
<div class="input">
|
|
<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 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 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 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> |