mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* rework new environment template sheet, add environment-settings sheet, improve adversary-settings sheet and delete legacy actor sheet templates * Potential Adversaries can be dragged out of the sheet onto canvas * Added ToChat and UseItem --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
71 lines
No EOL
4 KiB
Handlebars
71 lines
No EOL
4 KiB
Handlebars
<fieldset class="{{#if isGlassy}}glassy{{/if}}">
|
|
<legend>{{title}}</legend>
|
|
<ul class="items-list">
|
|
{{#unless (eq cardView 'card') }}
|
|
{{#each document.items as |item|}}
|
|
{{#if (eq item.type ../type)}}
|
|
{{#unless (or (eq ../type 'ancestry') (eq item.type 'class') (eq item.type 'subclass') (and (eq ../type 'domainCard') (or (and item.system.inVault (not ../isVault)) (and (not item.system.inVault) ../isVault))))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=item type=../type}}
|
|
{{/unless}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.ancestry.system.actions as |action|}}
|
|
{{#if (or (eq ../type 'ancestry'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=action type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.ancestry.system.actions as |action|}}
|
|
{{#if (or (eq ../type 'ancestry'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=action type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.class.value.system.classFeatures as |classFeature|}}
|
|
{{#if (or (eq ../type 'class'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=classFeature type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.class.value.system.classFeatures as |classFeature|}}
|
|
{{#if (or (eq ../type 'class'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=classFeature type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.appliedEffects as |effect|}}
|
|
{{#if (or (eq ../type 'effect'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=effect type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.actions as |action|}}
|
|
{{#if (or (eq ../type 'action'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=action type=../type}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.features as |feature|}}
|
|
{{#if (or (eq ../type 'features'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=feature}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each document.system.companionFeatures as |feature|}}
|
|
{{#if (or (eq ../type 'companionFeatures'))}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=feature companion=true}}
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each adversaries as |adversary|}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=adversary type='adversary' hideControls=true isActor=true categoryAdversary=@../key}}
|
|
{{/each}}
|
|
{{/unless}}
|
|
|
|
</ul>
|
|
{{#if (and (eq cardView 'card') (eq type 'domainCard'))}}
|
|
<ul class="card-list">
|
|
{{#if isVault}}
|
|
{{#each document.system.domainCards.vault as |card|}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/domain-card-item.hbs' item=card type=../type}}
|
|
{{/each}}
|
|
{{else}}
|
|
{{#each document.system.domainCards.loadout as |card|}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/domain-card-item.hbs' item=card type=../type}}
|
|
{{/each}}
|
|
{{/if}}
|
|
</ul>
|
|
{{/if}}
|
|
</fieldset> |