Various items fixes and enhancements

This commit is contained in:
2024-12-09 16:02:40 +01:00
parent 9775ec9fa1
commit 1de2927d93
51 changed files with 2102 additions and 574 deletions

29
templates/miracle.hbs Normal file
View File

@@ -0,0 +1,29 @@
<section>
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
{{formField systemFields.level value=system.level}}
<label>Components</label>
<div class="shift-right">
{{formField systemFields.components.fields.verbal value=system.components.verbal}}
{{formField systemFields.components.fields.somatic value=system.components.somatic}}
{{formField systemFields.components.fields.material value=system.components.material}}
{{formField systemFields.components.fields.catalyst value=system.components.catalyst}}
{{formField systemFields.components.fields.religious value=system.components.religious}}
</div>
{{formField systemFields.prayerTime value=system.castingTime}}
{{formField systemFields.miracleRange value=system.spellRange}}
{{formField systemFields.areaAffected value=system.areaAffected}}
{{formField systemFields.duration value=system.duration}}
{{formField systemFields.savingThrow value=system.savingThrow}}
<fieldset>
<legend>{{localize "LETHALFANTASY.Label.description"}}</legend>
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
</fieldset>
</section>