mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-10 19:17:09 +01:00
Merged with main
This commit is contained in:
commit
2123ae1965
177 changed files with 2677 additions and 657 deletions
|
|
@ -134,7 +134,7 @@
|
|||
{{#each document.system.experiences as |experience id|}}
|
||||
<div class="experience-row" data-tooltip-text="{{experience.description}}">
|
||||
<span class="experience-value">
|
||||
+{{experience.value}}
|
||||
{{numberFormat experience.value sign=true}}
|
||||
</span>
|
||||
<span class="experience-name">{{experience.name}}</span>
|
||||
<div class="controls">
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -113,7 +117,7 @@ Parameters:
|
|||
data-tooltip="DAGGERHEART.UI.Tooltip.{{ifThen item.system.inVault 'sendToLoadout' 'sendToVault' }}">
|
||||
<i class="fa-solid {{ifThen item.system.inVault 'fa-arrow-up' 'fa-arrow-down'}}"></i>
|
||||
</a>
|
||||
{{else if (eq type 'effect')}}
|
||||
{{else if (and (eq type 'effect') (not (eq item.type 'beastform')))}}
|
||||
<a data-action="toggleEffect"
|
||||
data-tooltip="DAGGERHEART.UI.Tooltip.{{ifThen item.disabled 'enableEffect' 'disableEffect' }}">
|
||||
<i class="{{ifThen item.disabled 'fa-solid fa-toggle-off' 'fa-solid fa-toggle-on'}}"></i>
|
||||
|
|
|
|||
|
|
@ -2,20 +2,21 @@
|
|||
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
|
||||
title='DAGGERHEART.GENERAL.inactiveEffects'
|
||||
type='effect'
|
||||
disabledEffect=true
|
||||
isGlassy=true
|
||||
collection=effects.inactives
|
||||
canCreate=true
|
||||
hideResources=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>
|
||||
|
|
@ -7,19 +7,19 @@
|
|||
<legend>{{localize tabs.settings.label}}</legend>
|
||||
|
||||
<span>{{localize "DAGGERHEART.GENERAL.type"}}</span>
|
||||
{{formField systemFields.type value=source.system.type localize=true}}
|
||||
{{formInput systemFields.type value=source.system.type localize=true}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.Domain.single"}}</span>
|
||||
{{formField systemFields.domain value=source.system.domain choices=domainChoices valueAttr="id" labelAttr="label" localize=true}}
|
||||
{{formInput systemFields.domain value=source.system.domain choices=domainChoices valueAttr="id" labelAttr="label" localize=true}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.level"}}</span>
|
||||
{{formField systemFields.level value=source.system.level data-dtype="Number"}}
|
||||
{{formInput systemFields.level value=source.system.level data-dtype="Number"}}
|
||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}}</span>
|
||||
{{formField systemFields.recallCost value=source.system.recallCost data-dtype="Number"}}
|
||||
{{formInput systemFields.recallCost value=source.system.recallCost data-dtype="Number"}}
|
||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.vaultActive"}}</span>
|
||||
{{formField systemFields.vaultActive value=source.system.vaultActive}}
|
||||
{{formInput systemFields.vaultActive value=source.system.vaultActive}}
|
||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.loadoutIgnore"}}</span>
|
||||
{{formField systemFields.loadoutIgnore value=source.system.loadoutIgnore}}
|
||||
{{formInput systemFields.loadoutIgnore value=source.system.loadoutIgnore}}
|
||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.domainTouched"}}</span>
|
||||
{{formField systemFields.domainTouched value=source.system.domainTouched placeholder=0 }}
|
||||
{{formInput systemFields.domainTouched value=source.system.domainTouched placeholder=0 }}
|
||||
</fieldset>
|
||||
|
||||
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }}
|
||||
|
|
|
|||
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