30d6f71fc7
- Fix TypeError: controls.find is not a function in hooks.mjs - Fix undefined 'npc' variable in applications.mjs - Fix CONFIG.VERMINE.model undefined by checking game.system.template existence - Fix TypeError: html.find(...).forEach is not a function in roll.mjs - Fix Cannot set properties of undefined (setting 'initial') in actor.mjs - Fix Cannot read properties of undefined (reading 'difficulty') in actor.mjs - Fix ActiveEffect application phase 'initial' already completed by adding combatStatus to base template - Fix Missing helper: 'select' in roll-dialog.hbs (removed invalid Handlebars select block) - Add SIZE_LEVELS labels to creatureSizeLevels config - Add SIZE_LEVELS translations to fr.json - Add combatStatus to base actor template - Convert all .html templates to .hbs for Foundry v14 compatibility - Update item-sheet.mjs to use .hbs extension - Update handlebars-manager.mjs to use .hbs for all partials Complete Vermine2047 Creature and Group sheet implementation: - Creature: Pattern, Size, Role, Pack with computed values - Group: Totem, Reserve, Morale, Objectives, Members management - All templates functional with proper styling Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
45 lines
1.8 KiB
Handlebars
45 lines
1.8 KiB
Handlebars
<h4 class="physicalItem flexrow align-center">
|
|
|
|
<div class="resource align-center flexcol">
|
|
<label class="resource-label">{{ localize "VERMINE.rarity"}}</label>
|
|
<div class="hexa">
|
|
<input type="number" name="system.rarity.value"
|
|
value="{{system.rarity.value}}" data-dtype="Number" />
|
|
</div>
|
|
<select name="system.rarity.handicap">
|
|
<option value="0">handicap 0</option>
|
|
{{#repeat 5 1 index}}
|
|
<option value="{{@index }}" {{#ife @index system.rarity.handicap}}
|
|
selected {{/ife}}>{{romanNumber @index}}</option>
|
|
{{/repeat}}
|
|
</select>
|
|
</div>
|
|
|
|
<div class="resource align-center flexcol">
|
|
|
|
<label class="resource-label">{{ localize
|
|
"VERMINE.reliability"}}</label>
|
|
<div class="hexa"><input type="number" name="system.reliability"
|
|
value="{{system.reliability}}" data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="resource align-center flexcol">
|
|
|
|
<label class="resource-label">{{ localize
|
|
"VERMINE.quantity"}}</label>
|
|
<div class="hexa"><input type="number" name="system.quantity"
|
|
value="{{system.quantity}}" data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="resource align-center flexcol">
|
|
|
|
<label class="resource-label">{{ localize
|
|
"VERMINE.weight"}}</label>
|
|
<div class="hexa"><input type="number" name="system.weight"
|
|
value="{{system.weight}}" data-dtype="Number" /></div>
|
|
</div>
|
|
|
|
</h4>
|
|
<h2>description</h2>
|
|
{{editor system.description target="system.description" rollData=rollData
|
|
button=true owner=owner editable=editable}}
|
|
{{> "systems/vermine2047/templates/item/partials/damages.hbs"}}
|