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>
42 lines
1.4 KiB
Handlebars
42 lines
1.4 KiB
Handlebars
{{!-- This template is a fallback for when items don't have more specific templates. --}}
|
|
{{!-- Generally, you'll want to make more specific templates when possible. --}}
|
|
<form class="{{cssClass}} form" autocomplete="off">
|
|
{{> "systems/vermine2047/templates/item/partials/header.hbs"}}
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
<aside style="flex:20%;">
|
|
<div class="resource">
|
|
|
|
<label class="resource-label">{{ localize "VERMINE.ability"}}</label>
|
|
<select name="system.ability" data-dtype="String">
|
|
<option value="">-- Aucune --</option>
|
|
{{#each config.abilities as |ability akey| }}
|
|
<option value="{{ akey }}" {{#if (eq akey @root.system.ability)}} selected="selected" {{/if}}>{{ localize ability}}</option>
|
|
{{/each}}
|
|
</select>
|
|
</div>
|
|
</aside>
|
|
<main style="flex:10">
|
|
<div class="editor-wrapper">
|
|
{{editor system.description target="system.description" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</main>
|
|
<div class="grid">
|
|
<div>
|
|
<h4>{{ localize 'ITEMS.rituel'}}</h4>
|
|
<textarea name="system.rituel">{{ system.rituel }}</textarea>
|
|
</div>
|
|
<div>
|
|
<h4>{{ localize 'ITEMS.transe'}}</h4>
|
|
<textarea name="system.transe">{{ system.transe }}</textarea>
|
|
</div>
|
|
</div>
|
|
<h4>{{ localize 'ITEMS.effects'}}</h4>
|
|
<div class="editor-wrapper">
|
|
{{editor system.effects target="system.effects" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</div>
|
|
</form>
|