enhance armor and weapon sheet

This commit is contained in:
moliloo 2025-05-27 21:49:28 -03:00
parent c4a03b2d54
commit ef4652ab1a
20 changed files with 367 additions and 378 deletions

View file

@ -0,0 +1,21 @@
<header class='item-sheet-header'>
<img class='profile' src='{{source.img}}' data-action='editImage' data-edit='img' />
<div class='item-info'>
<line-div></line-div>
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
<div class='item-description'>
<h3>
{{localize 'TYPES.Item.armor'}}
</h3>
<h3>
{{localize "DAGGERHEART.Sheets.Armor.baseScore"}}:
{{source.system.baseScore}}
<span>-</span>
{{localize "DAGGERHEART.Sheets.Armor.baseThresholds.base"}}:
{{source.system.baseThresholds.major}}
<span>/</span>
{{source.system.baseThresholds.severe}}
</h3>
</div>
</div>
</header>

View file

@ -0,0 +1,21 @@
<section
class='tab {{tabs.settings.cssClass}} {{tabs.settings.id}}'
data-tab='{{tabs.settings.id}}'
data-group='{{tabs.settings.group}}'
>
<fieldset class="two-columns">
<legend>{{localize tabs.settings.label}}</legend>
<span>{{localize "DAGGERHEART.Sheets.Armor.baseScore"}}</span>
{{formField systemFields.baseScore value=source.system.baseScore}}
<span>{{localize "DAGGERHEART.Sheets.Armor.feature"}}</span>
{{formField systemFields.feature value=source.system.feature localize=true blank=""}}
<span>{{localize "DAGGERHEART.Sheets.Armor.baseThresholds.base"}}</span>
<div class="nest-inputs">
{{ formField systemFields.baseThresholds.fields.major value=source.system.baseThresholds.major label=(localize "DAGGERHEART.Sheets.Armor.baseThresholds.major") }}
{{ formField systemFields.baseThresholds.fields.severe value=source.system.baseThresholds.severe label=(localize "DAGGERHEART.Sheets.Armor.baseThresholds.severe") }}
</div>
</fieldset>
</section>