Potential Adversaries can be dragged out of the sheet onto canvas

This commit is contained in:
WBHarry 2025-07-02 13:44:19 +02:00
parent 4a53adf857
commit 1506f46efb
11 changed files with 54 additions and 66 deletions

View file

@ -9,11 +9,13 @@
{{localize (concat 'DAGGERHEART.Tiers.' source.system.tier)}}
</span>
</div>
<div class="tag">
<span>
{{localize (concat 'DAGGERHEART.Environment.Type.' source.system.type '.label')}}
</span>
</div>
{{#if source.system.type}}
<div class="tag">
<span>
{{localize (concat 'DAGGERHEART.Environment.Type.' source.system.type '.label')}}
</span>
</div>
{{/if}}
</div>
</div>
<div class="status-number">

View file

@ -5,7 +5,7 @@
>
<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}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=this.label type='adversary' isGlassy=true adversaries=this.adversaries}}
{{/each}}
</div>
</section>