mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* rework adversary templates, add setting dialog to adversary and fix erratas * fix errata in adversary data model * developing experience setting page * Experience settings update * finish actions setting tab * Fixed Notes enriched path and adversary-settings form id * Fixed UseItem and ToChat * Fixed Firefox progress bar (HP/Stress) (#230) * insert prose-mirror style and inicial implement to damage settings * fix character import relative paths and remove effects from standard adversary attack --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> Co-authored-by: GyroFalc <43814421+GyroFalc@users.noreply.github.com>
68 lines
No EOL
3.7 KiB
Handlebars
68 lines
No EOL
3.7 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}}
|
|
{{/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> |