From b968f99f61d6d8ed38fa88f8ec041542c2046b05 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 29 Jun 2025 22:14:36 +0200 Subject: [PATCH] Add files --- lang/fr.json | 14 +++++++++++++- module/applications/sheets/creature-sheet.mjs | 4 ++-- packs-system/rituals/000161.log | 0 packs-system/rituals/MANIFEST-000159 | Bin 0 -> 173 bytes packs-system/skills/000330.log | 0 packs-system/skills/MANIFEST-000328 | Bin 0 -> 178 bytes 6 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 packs-system/rituals/000161.log create mode 100644 packs-system/rituals/MANIFEST-000159 create mode 100644 packs-system/skills/000330.log create mode 100644 packs-system/skills/MANIFEST-000328 diff --git a/lang/fr.json b/lang/fr.json index 2ae3c4b..bf23b2a 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -43,7 +43,7 @@ "damageBonus": { "label": "Bonus D." }, - "hp": { + "hp": { "label": "HP", "stunned": { "label": "Etourdi" @@ -126,6 +126,18 @@ "damageBonus": { "label": "Bonus D." }, + "hp": { + "label": "HP", + "value": { + "label": "Actuel" + }, + "max": { + "label": "Max" + }, + "stunned": { + "label": "Etourdi" + } + }, "resources": { "permanentRating": { "label": "Valeur permanente" diff --git a/module/applications/sheets/creature-sheet.mjs b/module/applications/sheets/creature-sheet.mjs index aac80ac..a2cd980 100644 --- a/module/applications/sheets/creature-sheet.mjs +++ b/module/applications/sheets/creature-sheet.mjs @@ -61,8 +61,8 @@ export default class CthulhuEternalCreatureSheet extends CthulhuEternalActorShee const context = await super._prepareContext() context.tabs = this.#getTabs() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) - context.enrichedNotes = await TextEditor.enrichHTML(this.document.system.notes, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) + context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.notes, { async: true }) context.tooltipsCharacteristic = { str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"), diff --git a/packs-system/rituals/000161.log b/packs-system/rituals/000161.log new file mode 100644 index 0000000..e69de29 diff --git a/packs-system/rituals/MANIFEST-000159 b/packs-system/rituals/MANIFEST-000159 new file mode 100644 index 0000000000000000000000000000000000000000..e4f10dbac421e2091db4dbd86dc57e24dd6e10cc GIT binary patch literal 173 zcmaEn7Z};Xz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&P8Fub5eqnp><`73P*! zV4QE@ZV;7j?3rl7Xu<#n?2I-`?l8ktndDan1UZEVIE6bpXB2q_FiJyI!Q^q7QuyxR eYc2*xrUi_g49p7|SxlH33|v713qb;lfdT+c$Sq$0 literal 0 HcmV?d00001 diff --git a/packs-system/skills/000330.log b/packs-system/skills/000330.log new file mode 100644 index 0000000..e69de29 diff --git a/packs-system/skills/MANIFEST-000328 b/packs-system/skills/MANIFEST-000328 new file mode 100644 index 0000000000000000000000000000000000000000..cb156622f3ce14622cab4466df3f511f1eabc779 GIT binary patch literal 178 zcmcb(oB41%10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAei18!ykcfaYHqP&RfbEp zLB3;nM5Lp0aA`yZ<0e)H5MXDV%5?I$u%cpGeojhiQL&@~ literal 0 HcmV?d00001