Appv2 + DataModel migration completed

This commit is contained in:
2026-01-08 08:28:13 +01:00
parent 5894cf043f
commit 60978a67b2
88 changed files with 656 additions and 257 deletions

View File

@@ -205,13 +205,13 @@ export class HawkmoonUtility {
static async preloadHandlebarsTemplates() {
const templatePaths = [
'systems/fvtt-hawkmoon-cyd/templates/editor-notes-gm.html',
'systems/fvtt-hawkmoon-cyd/templates/editor-notes-gm.hbs',
'systems/fvtt-hawkmoon-cyd/templates/partial-item-header.hbs',
'systems/fvtt-hawkmoon-cyd/templates/partial-item-description.hbs',
'systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.hbs',
'systems/fvtt-hawkmoon-cyd/templates/partial-item-prix.hbs',
'systems/fvtt-hawkmoon-cyd/templates/partial-automation.hbs',
'systems/fvtt-hawkmoon-cyd/templates/hud-adversites.html',
'systems/fvtt-hawkmoon-cyd/templates/hud-adversites.hbs',
]
return foundry.applications.handlebars.loadTemplates(templatePaths);
}
@@ -528,7 +528,7 @@ export class HawkmoonUtility {
}
this.createChatWithRollMode(rollData.alias, {
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-hawkmoon-cyd/templates/chat-generic-result.html`, rollData)
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-hawkmoon-cyd/templates/chat-generic-result.hbs`, rollData)
}, rollData)
if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) {
@@ -570,7 +570,7 @@ export class HawkmoonUtility {
this.computeResultQuality(rollData)
this.createChatWithRollMode(rollData.alias, {
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-hawkmoon-cyd/templates/chat-generic-result.html`, rollData)
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-hawkmoon-cyd/templates/chat-generic-result.hbs`, rollData)
}, rollData)
}