Files
fvtt-ecryme/templates/actors/actor-biodata.hbs
T
uberwald 31e2561797
Release Creation / build (release) Successful in 58s
feat: separate skill value/max (transcendence pool vs level)
- skill.value = spendable transcendence pool (editable select)
- skill.max = max level (locked by default, unlock btn)
- computeRollFormula/computeResults/confront use skill.max
- clamp transcendence spend to skill.value
- resetTranscendence button in Bio&Notes
- v14 compat: duplicate→deepClone, mergeObject→spread, socket fixes
- Dialog v1 removed, DragDrop dedup, await fixes
2026-07-24 09:00:26 +02:00

63 lines
2.6 KiB
Handlebars

<section class="tab sheet-body {{tab.cssClass}}" data-tab="biodata" data-group="primary">
<div class="grid grid-2col">
<div>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.bornplace"}}</label>
<input type="text" name="system.biodata.lieunaissance" value="{{system.biodata.lieunaissance}}" />
</li>
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.age"}}</label>
<input type="text" name="system.biodata.age" value="{{system.biodata.age}}" />
</li>
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.profession"}}</label>
<input type="text" name="system.biodata.profession" value="{{system.biodata.profession}}" />
</li>
</ul>
</div>
<div>
<ul>
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.residence"}}</label>
<input type="text" name="system.biodata.residence" value="{{system.biodata.residence}}" />
</li>
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.origin"}}</label>
<input type="text" name="system.biodata.nationalite" value="{{system.biodata.nationalite}}" />
</li>
<li class="item flexrow">
<label class="item-name-label-medium">{{localize "ECRY.ui.childhood"}}</label>
<input type="text" name="system.biodata.enfance" value="{{system.biodata.enfance}}" />
</li>
</ul>
</div>
</div>
<hr>
<span class="item-name-label-header items-title-bg">
<h3><label class="items-title-text">{{localize "ECRY.ui.background"}}</label></h3>
</span>
<div class="form-group editor">
{{formInput systemFields.biodata.fields.description enriched=enrichedDescription
value=system.biodata.description name="system.biodata.description" toggled=true}}
</div>
<hr>
<span class="item-name-label-header items-title-bg">
<h3><label class="items-title-text">{{localize "ECRY.ui.gmnotes"}}</label></h3>
</span>
<div class="form-group editor">
{{formInput systemFields.biodata.fields.gmnotes enriched=enrichedGmnotes
value=system.biodata.gmnotes name="system.biodata.gmnotes" toggled=true}}
</div>
<hr>
<div class="form-group">
<button type="button" data-action="resetTranscendence" title="{{localize "ECRY.ui.resetTranscendence"}}">
<i class="fas fa-undo-alt"></i> {{localize "ECRY.ui.resetTranscendence"}}
</button>
</div>
</section>