Added difficulty display and fixed spacing

This commit is contained in:
WBHarry 2026-05-30 22:32:28 +02:00
parent 2f0badf53a
commit 25f27c8891
6 changed files with 64 additions and 11 deletions

View file

@ -3,7 +3,15 @@
data-tab='{{tabs.details.id}}'
data-group='{{tabs.details.group}}'
>
{{formField systemFields.description value=document._source.system.description}}
{{formField systemFields.motive value=document._source.system.motive}}
{{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
<fieldset>
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.description.label"}}</legend>
{{formInput systemFields.description value=document._source.system.description}}
</fieldset>
<fieldset>
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.motives.label"}}</legend>
{{formInput systemFields.motives value=document._source.system.motives}}
</fieldset>
{{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
</section>

View file

@ -16,15 +16,25 @@
>{{source.name}}</h1>
</div>
{{#if source.system.difficulty}}
<div class="tags">
<div class="tag">
<span>{{localize "DAGGERHEART.GENERAL.difficulty"}}</span>
<span>{{source.system.difficulty}}</span>
</div>
</div>
{{/if}}
<line-div></line-div>
<div class="npc-info">
<span class="description">
<i>{{{description}}}</i>
</span>
<span class="motives-and-tatics">
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motive.label'}}: </b>{{{source.system.motive}}}
</span>
<div class="motives-and-tactics">
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motives.label'}}</b>
{{{source.system.motives}}}
</div>
</div>
</div>
</header>