Fix apv2, WIP

This commit is contained in:
2026-06-06 22:37:29 +02:00
parent c571e6a209
commit c23de0ea66
37 changed files with 199 additions and 118 deletions
+2 -2
View File
@@ -70,8 +70,8 @@
{{#each item.system.traits as |trait key|}}
{{#if trait}}
<li>
<strong>{{localize (lookup ../config.traits key).name}}</strong>:
{{localize (lookup ../config.traits key).description}}
<strong>{{localize (lookup (lookup ../config.traits key) "name")}}</strong>:
{{localize (lookup (lookup ../config.traits key) "description")}}
</li>
{{/if}}
{{/each}}
+2 -2
View File
@@ -17,8 +17,8 @@
{{#each item.system.traits as |trait key|}}
{{#if trait}}
<li>
<strong>{{localize (lookup ../config.traits key).name}}</strong>:
{{localize (lookup ../config.traits key).description}}
<strong>{{localize (lookup (lookup ../config.traits key) "name")}}</strong>:
{{localize (lookup (lookup ../config.traits key) "description")}}
</li>
{{/if}}
{{/each}}
+2 -2
View File
@@ -64,8 +64,8 @@
{{#each item.system.traits as |trait key|}}
{{#if trait}}
<li>
<strong>{{localize (lookup ../config.traits key).name}}</strong>:
{{localize (lookup ../config.traits key).description}}
<strong>{{localize (lookup (lookup ../config.traits key) "name")}}</strong>:
{{localize (lookup (lookup ../config.traits key) "description")}}
</li>
{{/if}}
{{/each}}
+2 -2
View File
@@ -72,8 +72,8 @@
{{#each item.system.traits as |trait key|}}
{{#if trait}}
<li>
<strong>{{localize (lookup ../config.traits key).name}}</strong>:
{{localize (lookup ../config.traits key).description}}
<strong>{{localize (lookup (lookup ../config.traits key) "name")}}</strong>:
{{localize (lookup (lookup ../config.traits key) "description")}}
</li>
{{/if}}
{{/each}}
+4 -1
View File
@@ -38,6 +38,9 @@
</span>
</h4>
<h4>description</h4>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>
</div>
+4 -1
View File
@@ -31,7 +31,10 @@
</span>
</h4>
<h4>description</h4>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>
</div>
+4 -1
View File
@@ -15,6 +15,9 @@
</h4>
<h2>description</h2>
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>
</div>
+4 -1
View File
@@ -20,7 +20,10 @@
</aside>
<main style="flex:10">
<div class="editor-wrapper">
{{editor system.description target="system.description" button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
</main>
<div class="grid">
+4 -1
View File
@@ -5,7 +5,10 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>
</div>
+4 -1
View File
@@ -19,7 +19,10 @@
{{!-- Description Tab --}}
<div class="tab" data-group="primary" data-tab="description">
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
{{!-- Attributes Tab --}}
+4 -1
View File
@@ -5,7 +5,10 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>
</div>
+4 -2
View File
@@ -15,8 +15,10 @@
</select>
</h4>
<h2>description</h2>
{{editor system.description target="system.description" rollData=rollData
button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
</section>
+4 -2
View File
@@ -39,6 +39,8 @@
</h4>
<h2>description</h2>
{{editor system.description target="system.description" rollData=rollData
button=true owner=owner editable=editable}}
<fieldset>
<legend>{{localize "VERMINE.sheet.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
{{> "systems/vermine2047/templates/item/partials/damages.hbs"}}