mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Merge branch 'main' into 157-feature-simplify-and-refactor-item-sheets
This commit is contained in:
commit
7d6cb84db5
16 changed files with 246 additions and 70 deletions
|
|
@ -12,8 +12,16 @@
|
|||
|
||||
<div class='level-div'>
|
||||
<h3 class='label'>
|
||||
{{#if (or document.system.needsCharacterSetup document.system.levelData.canLevelUp)}}
|
||||
<button
|
||||
class="level-button glow" data-tooltip="{{#if document.system.needsCharacterSetup}}{{localize "DAGGERHEART.Sheets.PC.CharacterSetup"}}{{else}}{{localize "DAGGERHEART.Sheets.PC.LevelUp"}}{{/if}}"
|
||||
data-action="levelManagement"
|
||||
>
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
</button>
|
||||
{{/if}}
|
||||
{{localize 'DAGGERHEART.Sheets.PC.Level'}}
|
||||
{{document.system.levelData.level.current}}
|
||||
<input type="text" data-dtype="Number" class="level-value" value={{#if document.system.needsCharacterSetup}}0{{else}}{{document.system.levelData.level.changed}}{{/if}} {{#if document.system.needsCharacterSetup}}disabled{{/if}} />
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@
|
|||
<div class='status-value'>
|
||||
<p><input class="bar-input" name="system.resources.hitPoints.value" value="{{document.system.resources.hitPoints.value}}" type="number"></p>
|
||||
<p>/</p>
|
||||
<p class="bar-label">{{document.system.resources.hitPoints.max}}</p>
|
||||
<p class="bar-label">{{document.system.resources.hitPoints.maxTotal}}</p>
|
||||
</div>
|
||||
<progress
|
||||
class='progress-bar'
|
||||
value='{{document.system.resources.hitPoints.value}}'
|
||||
max='{{document.system.resources.hitPoints.max}}'
|
||||
max='{{document.system.resources.hitPoints.maxTotal}}'
|
||||
></progress>
|
||||
<div class="status-label">
|
||||
<h4>Health</h4>
|
||||
|
|
@ -22,12 +22,12 @@
|
|||
<div class='status-value'>
|
||||
<p><input class="bar-input" name="system.resources.stress.value" value="{{document.system.resources.stress.value}}" type="number"></p>
|
||||
<p>/</p>
|
||||
<p class="bar-label">{{document.system.resources.stress.max}}</p>
|
||||
<p class="bar-label">{{document.system.resources.stress.maxTotal}}</p>
|
||||
</div>
|
||||
<progress
|
||||
class='progress-bar stress-color'
|
||||
value='{{document.system.resources.stress.value}}'
|
||||
max='{{document.system.resources.stress.max}}'
|
||||
max='{{document.system.resources.stress.maxTotal}}'
|
||||
></progress>
|
||||
<div class="status-label">
|
||||
<h4>Stress</h4>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
<legend>{{localize tabs.settings.label}}</legend>
|
||||
|
||||
<span>{{localize "DAGGERHEART.Sheets.DomainCard.Type"}}</span>
|
||||
{{formField systemFields.type value=source.system.type localize=true blank=""}}
|
||||
{{formField systemFields.type value=source.system.type localize=true}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.DomainCard.Foundation"}}</span>
|
||||
{{formField systemFields.foundation value=source.system.foundation }}
|
||||
<span>{{localize "DAGGERHEART.Sheets.DomainCard.Domain"}}</span>
|
||||
{{formField systemFields.domain value=source.system.domain localize=true blank=""}}
|
||||
{{formField systemFields.domain value=source.system.domain localize=true}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.DomainCard.Level"}}</span>
|
||||
{{formField systemFields.level value=source.system.level data-dtype="Number"}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.DomainCard.RecallCost"}}</span>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>{{localize 'TYPES.Item.subclass'}}</h3>
|
||||
<h3>{{localize (concat 'DAGGERHEART.Abilities.' source.system.spellcastingTrait '.name')}}</h3>
|
||||
{{#if source.system.spellcastingTrait}}<h3>{{localize (concat 'DAGGERHEART.Abilities.' source.system.spellcastingTrait '.name')}}</h3>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue