mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Merged with v14-Dev
This commit is contained in:
commit
76c21302d2
81 changed files with 504 additions and 141 deletions
|
|
@ -56,6 +56,7 @@ Parameters:
|
|||
{{> 'daggerheart.inventory-item'
|
||||
item=item
|
||||
type=../type
|
||||
disabledEffect=../disabledEffect
|
||||
actorType=../actorType
|
||||
hideControls=../hideControls
|
||||
hideContextMenu=../hideContextMenu
|
||||
|
|
|
|||
|
|
@ -17,8 +17,12 @@ Parameters:
|
|||
- showActions {boolean} : If true show feature's actions.
|
||||
--}}
|
||||
|
||||
<li class="inventory-item" data-item-id="{{item.id}}" {{#if (or (eq type 'action' ) (eq type 'attack' ))}}
|
||||
data-action-id="{{item.id}}" {{/if}} data-item-uuid="{{item.uuid}}" data-type="{{type}}" data-no-compendium-edit="{{noCompendiumEdit}}">
|
||||
<li class="inventory-item" data-item-id="{{item.id}}"
|
||||
{{#if (or (eq type 'action' ) (eq type 'attack' ))}}data-action-id="{{item.id}}" {{/if}}
|
||||
{{#if disabledEffect}}data-disabled="true"{{/if}}
|
||||
data-type="{{type}}" data-item-type="{{item.type}}"
|
||||
data-item-uuid="{{item.uuid}}" data-no-compendium-edit="{{noCompendiumEdit}}"
|
||||
>
|
||||
<div class="inventory-item-header {{#if hideContextMenu}}padded{{/if}}" {{#unless noExtensible}}data-action="toggleExtended" {{/unless}}>
|
||||
{{!-- Image --}}
|
||||
<div class="img-portait" data-action='{{ifThen (or (hasProperty item "use") (eq type "attack")) "useItem" (ifThen
|
||||
|
|
|
|||
|
|
@ -2,21 +2,22 @@
|
|||
data-group='{{tabs.effects.group}}'>
|
||||
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='DAGGERHEART.GENERAL.activeEffects'
|
||||
type='effect'
|
||||
isGlassy=true
|
||||
collection=effects.actives
|
||||
canCreate=true
|
||||
hideResources=true
|
||||
title='DAGGERHEART.GENERAL.activeEffects'
|
||||
type='effect'
|
||||
isGlassy=true
|
||||
collection=effects.actives
|
||||
canCreate=true
|
||||
hideResources=true
|
||||
}}
|
||||
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='DAGGERHEART.GENERAL.inactiveEffects'
|
||||
type='effect'
|
||||
isGlassy=true
|
||||
collection=effects.inactives
|
||||
canCreate=true
|
||||
hideResources=true
|
||||
disabled=true
|
||||
title='DAGGERHEART.GENERAL.inactiveEffects'
|
||||
type='effect'
|
||||
disabledEffect=true
|
||||
isGlassy=true
|
||||
collection=effects.inactives
|
||||
canCreate=true
|
||||
hideResources=true
|
||||
disabled=true
|
||||
}}
|
||||
</section>
|
||||
|
|
@ -1,5 +1,22 @@
|
|||
<div>
|
||||
{{#each features as | feature |}}
|
||||
<div><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
<div class="item-description-outer-container">
|
||||
<div class="two-columns">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.base"}}</h4>
|
||||
<span>{{item.system.baseThresholds.major}}/{{item.system.baseThresholds.severe}}</span>
|
||||
</div>
|
||||
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}</h4>
|
||||
<span>{{item.system.baseScore}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if features.length}}
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.features"}}</h4>
|
||||
{{#each features as | feature |}}
|
||||
<div><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
34
templates/sheets/items/class/description.hbs
Normal file
34
templates/sheets/items/class/description.hbs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<div class="item-description-outer-container">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.Domain.plural"}}</h4>
|
||||
<span>{{domains}}</span>
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Class.startingEvasionScore"}}</h4>
|
||||
<span>{{class.system.evasion}}</span>
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Class.startingHitPoints"}}</h4>
|
||||
<span>{{class.system.hitPoints}}</span>
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Class.classItems"}}</h4>
|
||||
<div class="item-links">
|
||||
{{#each classItems}}
|
||||
{{{this}}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Class.hopeFeatureLabel" class=class.name}}</h4>
|
||||
{{#each hopeFeatures as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Class.classFeature"}}</h4>
|
||||
{{#each classFeatures as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
8
templates/sheets/items/description.hbs
Normal file
8
templates/sheets/items/description.hbs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div class="item-description-outer-container">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize label}}</h4>
|
||||
{{#each features as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
24
templates/sheets/items/subclass/description.hbs
Normal file
24
templates/sheets/items/subclass/description.hbs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<div class="item-description-outer-container">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Subclass.spellcastTrait"}}</h4>
|
||||
<span>{{spellcastTrait}}</span>
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Subclass.foundationFeatures"}}</h4>
|
||||
{{#each foundationFeatures as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Subclass.specializationFeature"}}</h4>
|
||||
{{#each specializationFeatures as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.ITEMS.Subclass.masteryFeature"}}</h4>
|
||||
{{#each masteryFeatures as | feature |}}
|
||||
<div class="item-description-inner-container"><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,5 +1,39 @@
|
|||
<div>
|
||||
{{#each features as | feature |}}
|
||||
<div><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
<div class="item-description-outer-container">
|
||||
<div class="three-columns">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.Tiers.singular"}}</h4>
|
||||
<span>{{tier}}</span>
|
||||
</div>
|
||||
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.Trait.single"}}</h4>
|
||||
<span>{{trait}}</span>
|
||||
</div>
|
||||
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.range"}}</h4>
|
||||
<span>{{range}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="three-columns">
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.damage"}}</h4>
|
||||
<span>{{damage}}</span>
|
||||
</div>
|
||||
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.burden"}}</h4>
|
||||
<span>{{burden}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if features.length}}
|
||||
<div class="item-description-container">
|
||||
<h4>{{localize "DAGGERHEART.GENERAL.features"}}</h4>
|
||||
{{#each features as | feature |}}
|
||||
<div><strong>{{localize feature.label}}</strong>: {{{localize feature.description}}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue