fix: Correct critical bugs and complete Creature/Group DataModel implementation
- 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>
This commit is contained in:
@@ -7,36 +7,47 @@
|
||||
<nav class="sheet-tabs tabs sheet-navigation" data-group="primary">
|
||||
{{!-- Default tab is specified in actor-sheet.mjs --}}
|
||||
<a class="item" data-tab="description">
|
||||
<i data-tooltip="{{localize 'VERMINE.information' }}"
|
||||
<i data-tooltip="{{localize 'VERMINE.information'}}"
|
||||
class="fas fa-star"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="gear">
|
||||
<i data-tooltip="{{localize 'VERMINE.gear' }}" class="fas fa-gear"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="totem">
|
||||
<i data-tooltip="{{localize 'VERMINE.road' }}" class="fas fa-map"></i>
|
||||
<i data-tooltip="{{localize 'VERMINE.road' }}" class="fas fa-route"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="reserve">
|
||||
<i data-tooltip="{{localize 'VERMINE.reserve' }}" class="fas fa-users"></i>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
{{!-- Information Tab --}}
|
||||
<div class="tab biography" data-group="primary" data-tab="description">
|
||||
<h3>{{ localize 'VERMINE.information'}}</h3>
|
||||
{{> "systems/vermine2047/templates/actor/group/group-info.hbs"}}
|
||||
</div>
|
||||
|
||||
{{!-- Owned Items Tab --}}
|
||||
{{!-- Equipment Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="gear">
|
||||
<h3>{{ localize 'VERMINE.gear'}}</h3>
|
||||
{{> "systems/vermine2047/templates/actor/group/group-items.hbs"}}
|
||||
</div>
|
||||
|
||||
{{!-- Road Tab --}}
|
||||
<div class="tab effects" data-group="primary" data-tab="totem">
|
||||
{{!-- Totem/Group Tab --}}
|
||||
<div class="tab totem" data-group="primary" data-tab="totem">
|
||||
<h3>{{ localize 'VERMINE.road'}}</h3>
|
||||
{{> "systems/vermine2047/templates/actor/group/group-vehicles.hbs"}}
|
||||
</div>
|
||||
|
||||
{{!-- Reserve/Morale Tab --}}
|
||||
<div class="tab effects" data-group="primary" data-tab="reserve">
|
||||
<h3>{{ localize 'VERMINE.reserve' }}</h3>
|
||||
{{> "systems/vermine2047/templates/actor/group/group-experience.hbs"}}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user