mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
FEAT: add inventory-fieldset-items-V2 and inventory-item-V2 partials for Actors
This commit is contained in:
parent
9ccbfe1b01
commit
634bb3d644
28 changed files with 733 additions and 514 deletions
|
|
@ -4,6 +4,11 @@
|
|||
data-group='{{tabs.features.group}}'
|
||||
>
|
||||
<div class="feature-section">
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature' values=document.system.features hideControls=true }}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title=tabs.features.label
|
||||
type='feature'
|
||||
collection=document.system.features
|
||||
hideControls=true
|
||||
}}
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -4,8 +4,16 @@
|
|||
data-group='{{tabs.potentialAdversaries.group}}'
|
||||
>
|
||||
<div class="action-section">
|
||||
{{#each document.system.potentialAdversaries}}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=this.label type='adversary' isGlassy=true adversaries=this.adversaries}}
|
||||
{{#each document.system.potentialAdversaries as |category categoryId|}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title=category.label
|
||||
type='adversary'
|
||||
isGlassy=true
|
||||
isActor=true
|
||||
categoryAdversary=categoryId
|
||||
hideControls=true
|
||||
collection=category.adversaries
|
||||
}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue