mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
[Feature] Item Description Enrichment (#1666)
* Added enrichment for Ancestries and Communities * Fixed remainder * Bit of padding * Increased left padding
This commit is contained in:
parent
267de9a8cf
commit
56cc16b39a
53 changed files with 350 additions and 54 deletions
|
|
@ -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