From 681fbc3177c83f73792ad5a63a367a8e47480267 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 27 Jan 2025 22:13:33 +0100 Subject: [PATCH] Use hbs extension --- module/achat-vente/chat-vente.js | 4 +- module/achat-vente/dialog-item-achat.js | 2 +- module/achat-vente/dialog-item-vente.js | 2 +- module/actor-sheet.js | 2 +- module/actor.js | 54 +++--- module/actor/base-actor-reve.js | 16 +- module/actor/base-actor.js | 4 +- module/actor/commerce-sheet.js | 2 +- module/actor/creature-sheet.js | 2 +- module/actor/entite-sheet.js | 2 +- module/actor/vehicule-sheet.js | 2 +- module/dialog-chronologie.js | 4 +- module/dialog-create-signedraconique.js | 4 +- module/dialog-fabriquer-potion.js | 2 +- module/dialog-item-consommer.js | 2 +- module/dialog-select.js | 2 +- module/dialog-split-item.js | 2 +- module/dialog-validation-encaissement.js | 2 +- module/item.js | 2 +- module/rdd-combat.js | 26 +-- module/rdd-commands.js | 2 +- module/rdd-empoignade.js | 22 +-- module/rdd-meteo.js | 2 +- module/rdd-namegen.js | 2 +- module/rdd-possession.js | 8 +- module/rdd-resolution-table.js | 2 +- module/rdd-roll-encaisser.js | 2 +- module/rdd-roll-resolution-table.js | 2 +- module/rdd-roll-result.js | 4 +- module/rdd-roll.js | 4 +- module/rdd-tmr-dialog.js | 12 +- module/rdd-token-hud.js | 4 +- module/rdd-utility.js | 168 +++++++++--------- module/settings/status-effects.js | 2 +- module/settings/system-compendiums.js | 2 +- module/sommeil/dialog-repos.js | 2 +- module/sommeil/dialog-stress.js | 2 +- module/tmr/effets-rencontres.js | 4 +- ...re-sheet.html => actor-creature-sheet.hbs} | 16 +- ...tite-sheet.html => actor-entite-sheet.hbs} | 10 +- .../{actor-sheet.html => actor-sheet.hbs} | 50 +++--- ...le-sheet.html => actor-vehicule-sheet.hbs} | 8 +- .../actor/{astrologie.html => astrologie.hbs} | 0 .../actor/{blessures.html => blessures.hbs} | 0 ...carac-creature.html => carac-creature.hbs} | 0 .../{carac-derivee.html => carac-derivee.hbs} | 0 .../{carac-entitee.html => carac-entitee.hbs} | 2 +- .../actor/{carac-main.html => carac-main.hbs} | 0 .../{carac-total.html => carac-total.hbs} | 0 templates/actor/{combat.html => combat.hbs} | 0 ...or-sheet.html => commerce-actor-sheet.hbs} | 2 +- ...ategorie.html => competence-categorie.hbs} | 0 .../{dragon-queues.html => dragon-queues.hbs} | 0 ...itor-notes-mj.html => editor-notes-mj.hbs} | 0 ...header-buttons.html => header-buttons.hbs} | 0 ...ure.html => header-compteurs-creature.hbs} | 0 ...itee.html => header-compteurs-entitee.hbs} | 0 ...er-compteurs.html => header-compteurs.hbs} | 0 ...header-effects.html => header-effects.hbs} | 0 .../{header-etat.html => header-etat.hbs} | 2 +- ...ader-hautreve.html => header-hautreve.hbs} | 0 .../actor/{inventaire.html => inventaire.hbs} | 0 templates/actor/non-haut-revant.hbs | 2 +- templates/actor/random/champ-aleatoire.hbs | 2 +- .../{vue-detaillee.html => vue-detaillee.hbs} | 0 ...xp-competences.html => xp-competences.hbs} | 0 .../actor/{xp-journal.html => xp-journal.hbs} | 0 ...at-achat-item.html => chat-achat-item.hbs} | 2 +- ...-carac-xp.html => chat-actor-carac-xp.hbs} | 0 ...e-xp.html => chat-actor-competence-xp.hbs} | 0 ...or-gain-xp.html => chat-actor-gain-xp.hbs} | 0 ...-command-nom.html => chat-command-nom.hbs} | 0 ...ml => chat-consommer-potion-generique.hbs} | 2 +- ...s.html => chat-consommer-potion-repos.hbs} | 2 +- ...in.html => chat-consommer-potion-soin.hbs} | 2 +- ...l.html => chat-demande-attaque-etotal.hbs} | 0 ... => chat-demande-attaque-particuliere.hbs} | 0 ...-defense.html => chat-demande-defense.hbs} | 0 ...-description.html => chat-description.hbs} | 0 ...html => chat-empoignade-entrainer-sol.hbs} | 0 ...ner.html => chat-empoignade-entrainer.hbs} | 0 ...se.html => chat-empoignade-immobilise.hbs} | 0 ...ml => chat-empoignade-perte-endurance.hbs} | 0 ....html => chat-empoignade-projeter-sol.hbs} | 0 ...ltat.html => chat-empoignade-resultat.hbs} | 2 +- ...lider.html => chat-empoignade-valider.hbs} | 0 ...se.html => chat-fabriquer-potion-base.hbs} | 0 ...oral.html => chat-info-appel-au-moral.hbs} | 0 ...o-distance.html => chat-info-distance.hbs} | 0 .../{chat-infojet.html => chat-infojet.hbs} | 0 ...html => chat-initiative-premier-round.hbs} | 0 ...contre-tmr.html => chat-rencontre-tmr.hbs} | 2 +- ...l => chat-resultat-accorder-cauchemar.hbs} | 2 +- ...chimie.html => chat-resultat-alchimie.hbs} | 4 +- ...nce.html => chat-resultat-appelchance.hbs} | 2 +- ...attaque.html => chat-resultat-attaque.hbs} | 4 +- ...tat-chant.html => chat-resultat-chant.hbs} | 6 +- ...ence.html => chat-resultat-competence.hbs} | 4 +- ...tat-danse.html => chat-resultat-danse.hbs} | 6 +- ...nt.html => chat-resultat-encaissement.hbs} | 0 ...esquive.html => chat-resultat-esquive.hbs} | 4 +- ...lisme.html => chat-resultat-ethylisme.hbs} | 4 +- ...general.html => chat-resultat-general.hbs} | 4 +- ...esultat-jeu.html => chat-resultat-jeu.hbs} | 6 +- ...chat-resultat-lecture-signedraconique.hbs} | 2 +- ...mr.html => chat-resultat-maitrise-tmr.hbs} | 4 +- ...tion.html => chat-resultat-meditation.hbs} | 2 +- ...tat-meteo.html => chat-resultat-meteo.hbs} | 0 ...musique.html => chat-resultat-musique.hbs} | 6 +- ...t-oeuvre.html => chat-resultat-oeuvre.hbs} | 6 +- ...t-parade.html => chat-resultat-parade.hbs} | 4 +- ...sion.html => chat-resultat-possession.hbs} | 2 +- ....html => chat-resultat-recettecuisine.hbs} | 6 +- ....html => chat-resultat-reve-de-dragon.hbs} | 2 +- ...ultat-sort.html => chat-resultat-sort.hbs} | 2 +- ...tat-tache.html => chat-resultat-tache.hbs} | 4 +- ...l => chat-resultat-transformer-stress.hbs} | 2 +- ...r.html => chat-signe-draconique-actor.hbs} | 0 ...ml => chat-signe-draconique-resonance.hbs} | 0 ...at-vente-item.html => chat-vente-item.hbs} | 0 ...logie-entry.html => chronologie-entry.hbs} | 0 ...hronologie.html => dialog-chronologie.hbs} | 0 ...html => dialog-create-signedraconique.hbs} | 0 ....html => dialog-fabriquer-potion-base.hbs} | 0 ...-item-achat.html => dialog-item-achat.hbs} | 0 ...nsommer.html => dialog-item-consommer.hbs} | 0 ...-item-split.html => dialog-item-split.hbs} | 0 ...-item-vente.html => dialog-item-vente.hbs} | 0 ...alchimie.html => dialog-roll-alchimie.hbs} | 8 +- ...-roll-carac.html => dialog-roll-carac.hbs} | 14 +- ...-roll-chant.html => dialog-roll-chant.hbs} | 10 +- ...etence.html => dialog-roll-competence.hbs} | 16 +- ...-roll-danse.html => dialog-roll-danse.hbs} | 12 +- ...tml => dialog-roll-defense-empoignade.hbs} | 6 +- ...tml => dialog-roll-defense-possession.hbs} | 6 +- ...caisser.html => dialog-roll-encaisser.hbs} | 0 ...hylisme.html => dialog-roll-ethylisme.hbs} | 0 ...alog-roll-jeu.html => dialog-roll-jeu.hbs} | 12 +- ...-tmr.html => dialog-roll-maitrise-tmr.hbs} | 6 +- ...tation.html => dialog-roll-meditation.hbs} | 4 +- ...l-musique.html => dialog-roll-musique.hbs} | 10 +- ...oll-oeuvre.html => dialog-roll-oeuvre.hbs} | 10 +- ...ne.html => dialog-roll-recettecuisine.hbs} | 10 +- ...lution.html => dialog-roll-resolution.hbs} | 6 +- ...on.html => dialog-roll-reve-de-dragon.hbs} | 6 +- ...e.html => dialog-roll-signedraconique.hbs} | 6 +- ...og-roll-sort.html => dialog-roll-sort.hbs} | 4 +- .../{dialog-roll.html => dialog-roll.hbs} | 16 +- .../{dialog-select.html => dialog-select.hbs} | 0 templates/{dialog-tmr.html => dialog-tmr.hbs} | 0 ...tml => dialog-validation-encaissement.hbs} | 0 .../enchantement/partial-enchantement.hbs | 2 +- ...spect-tarot.html => enum-aspect-tarot.hbs} | 0 ...mpetence.html => enum-base-competence.hbs} | 0 ...stiques.html => enum-caracteristiques.hbs} | 0 ... => enum-categorie-competencecreature.hbs} | 0 ...ent.html => enum-categorie-ingredient.hbs} | 0 ...-parade.html => enum-categorie-parade.hbs} | 0 ...ie-queue.html => enum-categorie-queue.hbs} | 0 ...icule.html => enum-categorie-vehicule.hbs} | 0 ...um-categories.html => enum-categories.hbs} | 0 ...um-competence.html => enum-competence.hbs} | 0 .../{enum-draconic.html => enum-draconic.hbs} | 0 ...ormuleduree.html => enum-formuleduree.hbs} | 0 .../{enum-heures.html => enum-heures.hbs} | 0 ...erround.html => enum-initpremierround.hbs} | 0 ...enum-mortalite.html => enum-mortalite.hbs} | 0 ...hylisme.html => enum-niveau-ethylisme.hbs} | 0 .../{enum-periode.html => enum-periode.hbs} | 0 .../{enum-rarete.html => enum-rarete.hbs} | 0 ...enum-tmr-effet.html => enum-tmr-effet.hbs} | 0 .../{enum-tmr-type.html => enum-tmr-type.hbs} | 0 .../{header-item.html => header-item.hbs} | 0 ...tor-attaque.html => hud-actor-attaque.hbs} | 0 ...hud-actor-init.html => hud-actor-init.hbs} | 0 templates/item/arme-sheet.hbs | 22 +-- templates/item/armure-sheet.hbs | 10 +- templates/item/blessure-sheet.hbs | 2 +- ...comestible.html => boutons-comestible.hbs} | 0 templates/item/casetmr-sheet.hbs | 6 +- templates/item/chant-sheet.hbs | 4 +- templates/item/competence-sheet.hbs | 8 +- templates/item/competencecreature-sheet.hbs | 10 +- templates/item/conteneur-sheet.hbs | 10 +- templates/item/danse-sheet.hbs | 4 +- templates/item/empoignade-sheet.hbs | 4 +- templates/item/faune-sheet.hbs | 10 +- templates/item/gemme-sheet.hbs | 8 +- templates/item/herbe-sheet.hbs | 12 +- templates/item/ingredient-sheet.hbs | 12 +- templates/item/item-sheet.hbs | 2 +- templates/item/jeu-sheet.hbs | 4 +- templates/item/livre-sheet.hbs | 10 +- templates/item/maladie-sheet.hbs | 2 +- templates/item/meditation-sheet.hbs | 10 +- templates/item/monnaie-sheet.hbs | 10 +- templates/item/munition-sheet.hbs | 10 +- templates/item/musique-sheet.hbs | 4 +- templates/item/nombreastral-sheet.hbs | 2 +- templates/item/nourritureboisson-sheet.hbs | 10 +- templates/item/objet-sheet.hbs | 10 +- templates/item/oeuvre-sheet.hbs | 6 +- ...nnement.html => partial-environnement.hbs} | 0 ...inventaire.html => partial-inventaire.hbs} | 0 ...ent.html => partial-tab-environnement.hbs} | 0 templates/item/plante-sheet.hbs | 12 +- templates/item/poison-sheet.hbs | 2 +- templates/item/possession-sheet.hbs | 4 +- templates/item/potion-sheet.hbs | 10 +- templates/item/queue-sheet.hbs | 10 +- templates/item/race-sheet.hbs | 4 +- templates/item/recettealchimique-sheet.hbs | 4 +- templates/item/recettecuisine-sheet.hbs | 4 +- templates/item/rencontre-sheet.hbs | 4 +- templates/item/service-sheet.hbs | 4 +- templates/item/signedraconique-sheet.hbs | 2 +- templates/item/sort-sheet.hbs | 8 +- templates/item/sortreserve-sheet.hbs | 6 +- templates/item/souffle-sheet.hbs | 8 +- templates/item/tache-sheet.hbs | 6 +- templates/item/tarot-sheet.hbs | 6 +- templates/item/tete-sheet.hbs | 8 +- ....html => partial-description-overflow.hbs} | 0 ...sort.html => partial-description-sort.hbs} | 2 +- ...tion.html => partial-item-description.hbs} | 0 ...quence.html => partial-item-frequence.hbs} | 0 ...evant.html => partial-item-hautrevant.hbs} | 0 ...ents.html => partial-roll-ajustements.hbs} | 0 ...nces.html => partial-roll-competences.hbs} | 2 +- ...on.html => partial-roll-diffCondition.hbs} | 0 ...iffFixe.html => partial-roll-diffFixe.hbs} | 0 ...fLibre.html => partial-roll-diffLibre.hbs} | 0 ...nctotal.html => partial-roll-enctotal.hbs} | 0 ...ll-forcer.html => partial-roll-forcer.hbs} | 0 ...roll-moral.html => partial-roll-moral.hbs} | 0 ...ll-surenc.html => partial-roll-surenc.hbs} | 0 ...ct-carac.html => partial-select-carac.hbs} | 0 templates/{post-actor.html => post-actor.hbs} | 0 templates/{post-item.html => post-item.hbs} | 0 ...lution-table.html => resolution-table.hbs} | 0 ...commands.html => dialog-aide-commands.hbs} | 0 ...status-effects.html => status-effects.hbs} | 0 ...ompendiums.html => system-compendiums.hbs} | 0 .../{dialog-repos.html => dialog-repos.hbs} | 0 .../{dialog-stress.html => dialog-stress.hbs} | 0 245 files changed, 525 insertions(+), 525 deletions(-) rename templates/{actor-creature-sheet.html => actor-creature-sheet.hbs} (94%) rename templates/{actor-entite-sheet.html => actor-entite-sheet.hbs} (94%) rename templates/{actor-sheet.html => actor-sheet.hbs} (89%) rename templates/{actor-vehicule-sheet.html => actor-vehicule-sheet.hbs} (98%) rename templates/actor/{astrologie.html => astrologie.hbs} (100%) rename templates/actor/{blessures.html => blessures.hbs} (100%) rename templates/actor/{carac-creature.html => carac-creature.hbs} (100%) rename templates/actor/{carac-derivee.html => carac-derivee.hbs} (100%) rename templates/actor/{carac-entitee.html => carac-entitee.hbs} (98%) rename templates/actor/{carac-main.html => carac-main.hbs} (100%) rename templates/actor/{carac-total.html => carac-total.hbs} (100%) rename templates/actor/{combat.html => combat.hbs} (100%) rename templates/actor/{commerce-actor-sheet.html => commerce-actor-sheet.hbs} (98%) rename templates/actor/{competence-categorie.html => competence-categorie.hbs} (100%) rename templates/actor/{dragon-queues.html => dragon-queues.hbs} (100%) rename templates/actor/{editor-notes-mj.html => editor-notes-mj.hbs} (100%) rename templates/actor/{header-buttons.html => header-buttons.hbs} (100%) rename templates/actor/{header-compteurs-creature.html => header-compteurs-creature.hbs} (100%) rename templates/actor/{header-compteurs-entitee.html => header-compteurs-entitee.hbs} (100%) rename templates/actor/{header-compteurs.html => header-compteurs.hbs} (100%) rename templates/actor/{header-effects.html => header-effects.hbs} (100%) rename templates/actor/{header-etat.html => header-etat.hbs} (94%) rename templates/actor/{header-hautreve.html => header-hautreve.hbs} (100%) rename templates/actor/{inventaire.html => inventaire.hbs} (100%) rename templates/actor/{vue-detaillee.html => vue-detaillee.hbs} (100%) rename templates/actor/{xp-competences.html => xp-competences.hbs} (100%) rename templates/actor/{xp-journal.html => xp-journal.hbs} (100%) rename templates/{chat-achat-item.html => chat-achat-item.hbs} (94%) rename templates/{chat-actor-carac-xp.html => chat-actor-carac-xp.hbs} (100%) rename templates/{chat-actor-competence-xp.html => chat-actor-competence-xp.hbs} (100%) rename templates/{chat-actor-gain-xp.html => chat-actor-gain-xp.hbs} (100%) rename templates/{chat-command-nom.html => chat-command-nom.hbs} (100%) rename templates/{chat-consommer-potion-generique.html => chat-consommer-potion-generique.hbs} (98%) rename templates/{chat-consommer-potion-repos.html => chat-consommer-potion-repos.hbs} (99%) rename templates/{chat-consommer-potion-soin.html => chat-consommer-potion-soin.hbs} (99%) rename templates/{chat-demande-attaque-etotal.html => chat-demande-attaque-etotal.hbs} (100%) rename templates/{chat-demande-attaque-particuliere.html => chat-demande-attaque-particuliere.hbs} (100%) rename templates/{chat-demande-defense.html => chat-demande-defense.hbs} (100%) rename templates/{chat-description.html => chat-description.hbs} (100%) rename templates/{chat-empoignade-entrainer-sol.html => chat-empoignade-entrainer-sol.hbs} (100%) rename templates/{chat-empoignade-entrainer.html => chat-empoignade-entrainer.hbs} (100%) rename templates/{chat-empoignade-immobilise.html => chat-empoignade-immobilise.hbs} (100%) rename templates/{chat-empoignade-perte-endurance.html => chat-empoignade-perte-endurance.hbs} (100%) rename templates/{chat-empoignade-projeter-sol.html => chat-empoignade-projeter-sol.hbs} (100%) rename templates/{chat-empoignade-resultat.html => chat-empoignade-resultat.hbs} (97%) rename templates/{chat-empoignade-valider.html => chat-empoignade-valider.hbs} (100%) rename templates/{chat-fabriquer-potion-base.html => chat-fabriquer-potion-base.hbs} (100%) rename templates/{chat-info-appel-au-moral.html => chat-info-appel-au-moral.hbs} (100%) rename templates/{chat-info-distance.html => chat-info-distance.hbs} (100%) rename templates/{chat-infojet.html => chat-infojet.hbs} (100%) rename templates/{chat-initiative-premier-round.html => chat-initiative-premier-round.hbs} (100%) rename templates/{chat-rencontre-tmr.html => chat-rencontre-tmr.hbs} (87%) rename templates/{chat-resultat-accorder-cauchemar.html => chat-resultat-accorder-cauchemar.hbs} (77%) rename templates/{chat-resultat-alchimie.html => chat-resultat-alchimie.hbs} (85%) rename templates/{chat-resultat-appelchance.html => chat-resultat-appelchance.hbs} (70%) rename templates/{chat-resultat-attaque.html => chat-resultat-attaque.hbs} (94%) rename templates/{chat-resultat-chant.html => chat-resultat-chant.hbs} (83%) rename templates/{chat-resultat-competence.html => chat-resultat-competence.hbs} (87%) rename templates/{chat-resultat-danse.html => chat-resultat-danse.hbs} (83%) rename templates/{chat-resultat-encaissement.html => chat-resultat-encaissement.hbs} (100%) rename templates/{chat-resultat-esquive.html => chat-resultat-esquive.hbs} (92%) rename templates/{chat-resultat-ethylisme.html => chat-resultat-ethylisme.hbs} (93%) rename templates/{chat-resultat-general.html => chat-resultat-general.hbs} (88%) rename templates/{chat-resultat-jeu.html => chat-resultat-jeu.hbs} (77%) rename templates/{chat-resultat-lecture-signedraconique.html => chat-resultat-lecture-signedraconique.hbs} (83%) rename templates/{chat-resultat-maitrise-tmr.html => chat-resultat-maitrise-tmr.hbs} (93%) rename templates/{chat-resultat-meditation.html => chat-resultat-meditation.hbs} (90%) rename templates/{chat-resultat-meteo.html => chat-resultat-meteo.hbs} (100%) rename templates/{chat-resultat-musique.html => chat-resultat-musique.hbs} (84%) rename templates/{chat-resultat-oeuvre.html => chat-resultat-oeuvre.hbs} (84%) rename templates/{chat-resultat-parade.html => chat-resultat-parade.hbs} (95%) rename templates/{chat-resultat-possession.html => chat-resultat-possession.hbs} (96%) rename templates/{chat-resultat-recettecuisine.html => chat-resultat-recettecuisine.hbs} (92%) rename templates/{chat-resultat-reve-de-dragon.html => chat-resultat-reve-de-dragon.hbs} (93%) rename templates/{chat-resultat-sort.html => chat-resultat-sort.hbs} (93%) rename templates/{chat-resultat-tache.html => chat-resultat-tache.hbs} (92%) rename templates/{chat-resultat-transformer-stress.html => chat-resultat-transformer-stress.hbs} (89%) rename templates/{chat-signe-draconique-actor.html => chat-signe-draconique-actor.hbs} (100%) rename templates/{chat-signe-draconique-resonance.html => chat-signe-draconique-resonance.hbs} (100%) rename templates/{chat-vente-item.html => chat-vente-item.hbs} (100%) rename templates/{chronologie-entry.html => chronologie-entry.hbs} (100%) rename templates/{dialog-chronologie.html => dialog-chronologie.hbs} (100%) rename templates/{dialog-create-signedraconique.html => dialog-create-signedraconique.hbs} (100%) rename templates/{dialog-fabriquer-potion-base.html => dialog-fabriquer-potion-base.hbs} (100%) rename templates/{dialog-item-achat.html => dialog-item-achat.hbs} (100%) rename templates/{dialog-item-consommer.html => dialog-item-consommer.hbs} (100%) rename templates/{dialog-item-split.html => dialog-item-split.hbs} (100%) rename templates/{dialog-item-vente.html => dialog-item-vente.hbs} (100%) rename templates/{dialog-roll-alchimie.html => dialog-roll-alchimie.hbs} (93%) rename templates/{dialog-roll-carac.html => dialog-roll-carac.hbs} (87%) rename templates/{dialog-roll-chant.html => dialog-roll-chant.hbs} (89%) rename templates/{dialog-roll-competence.html => dialog-roll-competence.hbs} (95%) rename templates/{dialog-roll-danse.html => dialog-roll-danse.hbs} (83%) rename templates/{dialog-roll-defense-empoignade.html => dialog-roll-defense-empoignade.hbs} (93%) rename templates/{dialog-roll-defense-possession.html => dialog-roll-defense-possession.hbs} (94%) rename templates/{dialog-roll-encaisser.html => dialog-roll-encaisser.hbs} (100%) rename templates/{dialog-roll-ethylisme.html => dialog-roll-ethylisme.hbs} (100%) rename templates/{dialog-roll-jeu.html => dialog-roll-jeu.hbs} (86%) rename templates/{dialog-roll-maitrise-tmr.html => dialog-roll-maitrise-tmr.hbs} (94%) rename templates/{dialog-roll-meditation.html => dialog-roll-meditation.hbs} (98%) rename templates/{dialog-roll-musique.html => dialog-roll-musique.hbs} (89%) rename templates/{dialog-roll-oeuvre.html => dialog-roll-oeuvre.hbs} (89%) rename templates/{dialog-roll-recettecuisine.html => dialog-roll-recettecuisine.hbs} (93%) rename templates/{dialog-roll-resolution.html => dialog-roll-resolution.hbs} (88%) rename templates/{dialog-roll-reve-de-dragon.html => dialog-roll-reve-de-dragon.hbs} (93%) rename templates/{dialog-roll-signedraconique.html => dialog-roll-signedraconique.hbs} (96%) rename templates/{dialog-roll-sort.html => dialog-roll-sort.hbs} (98%) rename templates/{dialog-roll.html => dialog-roll.hbs} (86%) rename templates/{dialog-select.html => dialog-select.hbs} (100%) rename templates/{dialog-tmr.html => dialog-tmr.hbs} (100%) rename templates/{dialog-validation-encaissement.html => dialog-validation-encaissement.hbs} (100%) rename templates/{enum-aspect-tarot.html => enum-aspect-tarot.hbs} (100%) rename templates/{enum-base-competence.html => enum-base-competence.hbs} (100%) rename templates/{enum-caracteristiques.html => enum-caracteristiques.hbs} (100%) rename templates/{enum-categorie-competencecreature.html => enum-categorie-competencecreature.hbs} (100%) rename templates/{enum-categorie-ingredient.html => enum-categorie-ingredient.hbs} (100%) rename templates/{enum-categorie-parade.html => enum-categorie-parade.hbs} (100%) rename templates/{enum-categorie-queue.html => enum-categorie-queue.hbs} (100%) rename templates/{enum-categorie-vehicule.html => enum-categorie-vehicule.hbs} (100%) rename templates/{enum-categories.html => enum-categories.hbs} (100%) rename templates/{enum-competence.html => enum-competence.hbs} (100%) rename templates/{enum-draconic.html => enum-draconic.hbs} (100%) rename templates/{enum-formuleduree.html => enum-formuleduree.hbs} (100%) rename templates/{enum-heures.html => enum-heures.hbs} (100%) rename templates/{enum-initpremierround.html => enum-initpremierround.hbs} (100%) rename templates/{enum-mortalite.html => enum-mortalite.hbs} (100%) rename templates/{enum-niveau-ethylisme.html => enum-niveau-ethylisme.hbs} (100%) rename templates/{enum-periode.html => enum-periode.hbs} (100%) rename templates/{enum-rarete.html => enum-rarete.hbs} (100%) rename templates/{enum-tmr-effet.html => enum-tmr-effet.hbs} (100%) rename templates/{enum-tmr-type.html => enum-tmr-type.hbs} (100%) rename templates/{header-item.html => header-item.hbs} (100%) rename templates/{hud-actor-attaque.html => hud-actor-attaque.hbs} (100%) rename templates/{hud-actor-init.html => hud-actor-init.hbs} (100%) rename templates/item/{boutons-comestible.html => boutons-comestible.hbs} (100%) rename templates/item/{partial-environnement.html => partial-environnement.hbs} (100%) rename templates/item/{partial-inventaire.html => partial-inventaire.hbs} (100%) rename templates/item/{partial-tab-environnement.html => partial-tab-environnement.hbs} (100%) rename templates/{partial-description-overflow.html => partial-description-overflow.hbs} (100%) rename templates/{partial-description-sort.html => partial-description-sort.hbs} (94%) rename templates/{partial-item-description.html => partial-item-description.hbs} (100%) rename templates/{partial-item-frequence.html => partial-item-frequence.hbs} (100%) rename templates/{partial-item-hautrevant.html => partial-item-hautrevant.hbs} (100%) rename templates/{partial-roll-ajustements.html => partial-roll-ajustements.hbs} (100%) rename templates/{partial-roll-competences.html => partial-roll-competences.hbs} (94%) rename templates/{partial-roll-diffCondition.html => partial-roll-diffCondition.hbs} (100%) rename templates/{partial-roll-diffFixe.html => partial-roll-diffFixe.hbs} (100%) rename templates/{partial-roll-diffLibre.html => partial-roll-diffLibre.hbs} (100%) rename templates/{partial-roll-enctotal.html => partial-roll-enctotal.hbs} (100%) rename templates/{partial-roll-forcer.html => partial-roll-forcer.hbs} (100%) rename templates/{partial-roll-moral.html => partial-roll-moral.hbs} (100%) rename templates/{partial-roll-surenc.html => partial-roll-surenc.hbs} (100%) rename templates/{partial-select-carac.html => partial-select-carac.hbs} (100%) rename templates/{post-actor.html => post-actor.hbs} (100%) rename templates/{post-item.html => post-item.hbs} (100%) rename templates/{resolution-table.html => resolution-table.hbs} (100%) rename templates/settings/{dialog-aide-commands.html => dialog-aide-commands.hbs} (100%) rename templates/settings/{status-effects.html => status-effects.hbs} (100%) rename templates/settings/{system-compendiums.html => system-compendiums.hbs} (100%) rename templates/sommeil/{dialog-repos.html => dialog-repos.hbs} (100%) rename templates/sommeil/{dialog-stress.html => dialog-stress.hbs} (100%) diff --git a/module/achat-vente/chat-vente.js b/module/achat-vente/chat-vente.js index 604500f0..a921a356 100644 --- a/module/achat-vente/chat-vente.js +++ b/module/achat-vente/chat-vente.js @@ -44,13 +44,13 @@ export class ChatVente { vente.nbLots = Math.max(0, vente.nbLots - quantite) await chatMessage.setFlag(SYSTEM_RDD, NB_LOTS, vente.nbLots) - const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-vente-item.html', vente); + const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-vente-item.hbs', vente); chatMessage.update({ content: html }); chatMessage.render(true); } static async displayAchatVente(vente) { - const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-vente-item.html', vente); + const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-vente-item.hbs', vente); const chatMessage = await ChatMessage.create(RdDUtility.chatDataSetup(html)) await chatMessage.setFlag(SYSTEM_RDD, NB_LOTS, vente.nbLots) await chatMessage.setFlag(SYSTEM_RDD, DETAIL_VENTE, { diff --git a/module/achat-vente/dialog-item-achat.js b/module/achat-vente/dialog-item-achat.js index 3e1814ea..58992d7e 100644 --- a/module/achat-vente/dialog-item-achat.js +++ b/module/achat-vente/dialog-item-achat.js @@ -29,7 +29,7 @@ export class DialogItemAchat extends Dialog { } DialogItemAchat.changeNombreLots(venteData, 1) - const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-achat.html`, venteData) + const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-achat.hbs`, venteData) new DialogItemAchat(html, venteData).render(true) } diff --git a/module/achat-vente/dialog-item-vente.js b/module/achat-vente/dialog-item-vente.js index edcda255..64a2166e 100644 --- a/module/achat-vente/dialog-item-vente.js +++ b/module/achat-vente/dialog-item-vente.js @@ -20,7 +20,7 @@ export class DialogItemVente extends Dialog { quantiteIllimite: item.isItemCommerce() ? quantiteMax == undefined : !item.parent, isOwned: item.parent, } - const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-vente.html`, venteData); + const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-vente.hbs`, venteData); return new DialogItemVente(venteData, html).render(true); } diff --git a/module/actor-sheet.js b/module/actor-sheet.js index a217f115..0359bc45 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -30,7 +30,7 @@ export class RdDActorSheet extends RdDBaseActorSangSheet { /** @override */ static get defaultOptions() { return foundry.utils.mergeObject(RdDBaseActorReveSheet.defaultOptions, { - template: "systems/foundryvtt-reve-de-dragon/templates/actor-sheet.html", + template: "systems/foundryvtt-reve-de-dragon/templates/actor-sheet.hbs", width: 550, showCompNiveauBase: false, vueArchetype: false, diff --git a/module/actor.js b/module/actor.js index ccd4c690..7b574d5b 100644 --- a/module/actor.js +++ b/module/actor.js @@ -628,7 +628,7 @@ export class RdDActor extends RdDBaseActorSang { rollData.competence.system.defaut_carac = 'reve-actuel'; const dialog = await RdDRoll.create(this, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-reve-de-dragon.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-reve-de-dragon.hbs' }, { name: 'maitrise', label: 'Maîtriser le Rêve de Dragon', @@ -1198,7 +1198,7 @@ export class RdDActor extends RdDBaseActorSang { diffConditions: 0, ajustementsForce: CONFIG.RDD.difficultesLibres } - let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-ethylisme.html', rollData); + let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-ethylisme.hbs', rollData); new RdDRollDialogEthylisme(html, rollData, this, r => this.saouler(r.forceAlcool)).render(true); } @@ -1391,7 +1391,7 @@ export class RdDActor extends RdDBaseActorSang { ethylismeData.doses = ethylisme.nb_doses; await this.update({ 'system.compteurs.ethylisme': ethylisme }); - await RdDRollResult.displayRollData(ethylismeData, this, 'chat-resultat-ethylisme.html'); + await RdDRollResult.displayRollData(ethylismeData, this, 'chat-resultat-ethylisme.hbs'); } /* -------------------------------------------- */ @@ -1432,7 +1432,7 @@ export class RdDActor extends RdDBaseActorSang { ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-transformer-stress.html`, stressRollData) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-transformer-stress.hbs`, stressRollData) }); const toStress = Math.max(fromStress - stressRollData.perte - 1, 0); @@ -1515,7 +1515,7 @@ export class RdDActor extends RdDBaseActorSang { if (display) { ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-carac-xp.html`, checkXp) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-carac-xp.hbs`, checkXp) }); } return checkXp; @@ -1547,7 +1547,7 @@ export class RdDActor extends RdDBaseActorSang { if (display) { ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-competence-xp.html`, checkXp) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-competence-xp.hbs`, checkXp) }); } return checkXp; @@ -1566,7 +1566,7 @@ export class RdDActor extends RdDBaseActorSang { hideChatMessage = hideChatMessage == 'hide' || (Misc.isRollModeHiddenToPlayer() && !game.user.isGM) let xpData = await this._appliquerExperience(rollData.rolled, rollData.selectedCarac.label, rollData.competence, rollData.jetResistance); if (xpData.length) { - const content = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-gain-xp.html`, { + const content = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-gain-xp.hbs`, { actor: this, xpData }) @@ -1648,7 +1648,7 @@ export class RdDActor extends RdDBaseActorSang { const dialog = await this.openRollDialog({ name: 'lancer-un-sort', label: 'Lancer un sort', - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.hbs', rollData: { carac: { 'reve': reve }, forceCarac: { 'reve': reve }, @@ -1765,7 +1765,7 @@ export class RdDActor extends RdDBaseActorSang { reveActuel = Math.max(reveActuel - rollData.depenseReve, 0); await this.update({ "system.reve.reve.value": reveActuel }); - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-sort.html'); + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-sort.hbs'); if (reveActuel == 0) { // 0 points de reve ChatMessage.create({ content: this.name + " est réduit à 0 Points de Rêve, et tombe endormi !" }); @@ -1862,7 +1862,7 @@ export class RdDActor extends RdDBaseActorSang { await this.openRollDialog({ name: 'jet-competence', label: 'Jet ' + Grammar.apostrophe('de', competence.name), - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs', rollData: { alias: this.getAlias(), carac: this.system.carac, @@ -1887,7 +1887,7 @@ export class RdDActor extends RdDBaseActorSang { await this.openRollDialog({ name: 'jet-competence', label: 'Jet de Tâche ' + tacheData.name, - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs', rollData: { competence: compData, tache: tacheData, @@ -1921,7 +1921,7 @@ export class RdDActor extends RdDBaseActorSang { await this.updateEmbeddedDocuments('Item', [rollData.tache]); await this.santeIncDec("fatigue", rollData.tache.system.fatigue); - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-tache.html'); + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-tache.hbs'); if (options?.onRollAutomate) { options.onRollAutomate(rollData); } @@ -1950,7 +1950,7 @@ export class RdDActor extends RdDBaseActorSang { await this.openRollDialog({ name: `jet-${artData.art}`, label: `${artData.verbe} ${oeuvre.name}`, - template: `systems/foundryvtt-reve-de-dragon/templates/dialog-roll-${oeuvre.type}.html`, + template: `systems/foundryvtt-reve-de-dragon/templates/dialog-roll-${oeuvre.type}.hbs`, rollData: artData, callbacks: [{ action: callbackAction }], }) @@ -1962,7 +1962,7 @@ export class RdDActor extends RdDBaseActorSang { const baseQualite = (artData.rolled.isSuccess ? niveau : artData.competence.system.niveau); artData.qualiteFinale = Math.min(baseQualite, niveau) + artData.rolled.ptQualite; - await RdDRollResult.displayRollData(artData, this.name, `chat-resultat-${artData.art}.html`); + await RdDRollResult.displayRollData(artData, this.name, `chat-resultat-${artData.art}.hbs`); } /* -------------------------------------------- */ @@ -2039,7 +2039,7 @@ export class RdDActor extends RdDBaseActorSang { ui.notifications.info(`${platCuisine.system.quantite} rations de ${platCuisine.name} ont été ajoutés à votre équipement`); } cuisine.platCuisine = platCuisine; - await RdDRollResult.displayRollData(cuisine, this.name, `chat-resultat-${cuisine.art}.html`); + await RdDRollResult.displayRollData(cuisine, this.name, `chat-resultat-${cuisine.art}.hbs`); } async preparerNourriture(item) { @@ -2113,7 +2113,7 @@ export class RdDActor extends RdDBaseActorSang { }; const dialog = await RdDRoll.create(this, meditationData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.hbs' }, { name: 'jet-meditation', label: "Jet de méditation", @@ -2134,7 +2134,7 @@ export class RdDActor extends RdDBaseActorSang { await this.createEmbeddedDocuments("Item", [RdDItemSigneDraconique.prepareSigneDraconiqueMeditation(meditationRoll.meditation, meditationRoll.rolled)]); } - await RdDRollResult.displayRollData(meditationRoll, this.name, 'chat-resultat-meditation.html'); + await RdDRollResult.displayRollData(meditationRoll, this.name, 'chat-resultat-meditation.hbs'); } /* -------------------------------------------- */ @@ -2186,7 +2186,7 @@ export class RdDActor extends RdDBaseActorSang { const dialog = await RdDRoll.create(this, rollData, { - html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-signedraconique.html', + html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-signedraconique.hbs', close: async html => await this._onCloseRollDialog(html) }, { @@ -2221,7 +2221,7 @@ export class RdDActor extends RdDBaseActorSang { await ExperienceLog.add(this, XP_TOPIC.XPSORT, fromXp, toXp, `${rollData.competence.name} : signe draconique`); } await this.deleteEmbeddedDocuments("Item", [rollData.signe._id]); - await RdDRollResult.displayRollData(rollData, this.name, 'chat-resultat-lecture-signedraconique.html'); + await RdDRollResult.displayRollData(rollData, this.name, 'chat-resultat-lecture-signedraconique.hbs'); this.tmrApp.close(); } @@ -2230,7 +2230,7 @@ export class RdDActor extends RdDBaseActorSang { await this.openRollDialog({ name: 'appelChance', label: 'Appel à la chance', - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.hbs', rollData: { selectedCarac: this.getCaracByName('chance-actuelle'), surprise: '' }, callbacks: [{ action: r => this.$appelChanceResult(r, onSuccess, onEchec) }] }); @@ -2238,7 +2238,7 @@ export class RdDActor extends RdDBaseActorSang { /* -------------------------------------------- */ async $appelChanceResult(rollData, onSuccess, onEchec) { - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-appelchance.html') + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-appelchance.hbs') if (rollData.rolled.isSuccess) { await this.setFlag(SYSTEM_RDD, 'utilisationChance', true); await this.chanceActuelleIncDec(-1); @@ -2691,7 +2691,7 @@ export class RdDActor extends RdDBaseActorSang { rollData.competence.system.defaut_carac = caracTache; const dialog = await RdDRoll.create(this, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-alchimie.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-alchimie.hbs' }, { name: 'tache-alchimique', label: 'Tache Alchimique', @@ -2712,7 +2712,7 @@ export class RdDActor extends RdDBaseActorSang { /* -------------------------------------------- */ async _alchimieResult(rollData) { - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-alchimie.html'); + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-alchimie.hbs'); } /* -------------------------------------------- */ @@ -2879,7 +2879,7 @@ export class RdDActor extends RdDBaseActorSang { } ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-soin.html`, potion) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-soin.hbs`, potion) }); } @@ -2916,7 +2916,7 @@ export class RdDActor extends RdDBaseActorSang { } ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-repos.html`, potion) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-repos.hbs`, potion) }); } @@ -2941,7 +2941,7 @@ export class RdDActor extends RdDBaseActorSang { ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-fabriquer-potion-base.html`, { + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-fabriquer-potion-base.hbs`, { alias: this.getAlias(), nbBrinsReste: herbeData.system.quantite - herbeData.nbBrins, potion: newPotion, @@ -2968,7 +2968,7 @@ export class RdDActor extends RdDBaseActorSang { } ChatMessage.create({ whisper: ChatUtility.getOwners(this), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-generique.html`, potion) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-consommer-potion-generique.hbs`, potion) }); } diff --git a/module/actor/base-actor-reve.js b/module/actor/base-actor-reve.js index 7881c0ae..8daa183f 100644 --- a/module/actor/base-actor-reve.js +++ b/module/actor/base-actor-reve.js @@ -293,7 +293,7 @@ export class RdDBaseActorReve extends RdDBaseActor { await this.openRollDialog({ name: 'jet-competence', label: competence ? 'Jet ' + Grammar.apostrophe('de', competence.name) : `Jet sans compétence (${compName})`, - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs', rollData: { alias: this.getAlias(), carac: this.system.carac, @@ -369,7 +369,7 @@ export class RdDBaseActorReve extends RdDBaseActor { await this.openRollDialog({ name: 'jet-' + caracName, label: title, - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.hbs', rollData: { alias: this.getAlias(), selectedCarac: selectedCarac, @@ -384,7 +384,7 @@ export class RdDBaseActorReve extends RdDBaseActor { /* -------------------------------------------- */ async $onRollCaracResult(rollData) { // Final chat message - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-general.html'); + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-general.hbs'); } /* -------------------------------------------- */ @@ -417,14 +417,14 @@ export class RdDBaseActorReve extends RdDBaseActor { await this.openRollDialog({ name: 'jet-competence', label: dialogLabel, - template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html', + template: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs', rollData: rollData, callbacks: [{ action: r => this.$onRollCompetence(r, options) }] }); } async $onRollCompetence(rollData, options) { - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-competence.html') + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-competence.hbs') if (options?.onRollAutomate) { options.onRollAutomate(rollData); } @@ -524,7 +524,7 @@ export class RdDBaseActorReve extends RdDBaseActor { await ChatUtility.createChatWithRollMode( { roll: encaissement.roll, - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-encaissement.html', encaissement) + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-encaissement.hbs', encaissement) }, this ) @@ -534,7 +534,7 @@ export class RdDBaseActorReve extends RdDBaseActor { encaissement.isGM = true ChatMessage.create({ whisper: ChatUtility.getGMs(), - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-encaissement.html', encaissement) + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-encaissement.hbs', encaissement) }); } } @@ -559,7 +559,7 @@ export class RdDBaseActorReve extends RdDBaseActor { await entite.setEntiteReveAccordee(this); } - await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-accorder-cauchemar.html'); + await RdDRollResult.displayRollData(rollData, this, 'chat-resultat-accorder-cauchemar.hbs'); await this.appliquerAjoutExperience(rollData, true); return rolled.isSuccess; } diff --git a/module/actor/base-actor.js b/module/actor/base-actor.js index 2cdd2834..bda083dd 100644 --- a/module/actor/base-actor.js +++ b/module/actor/base-actor.js @@ -414,7 +414,7 @@ export class RdDBaseActor extends Actor { user: achat.userId, speaker: { alias: (acheteur ?? vendeur).getAlias() }, whisper: ChatUtility.getOwners(this), - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-achat-item.html', chatAchatItem) + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-achat-item.hbs', chatAchatItem) }); if (!achat.vente.quantiteIllimite) { @@ -731,7 +731,7 @@ export class RdDBaseActor extends Actor { name: this.getAlias(), system: { description: this.system.description } } - renderTemplate('systems/foundryvtt-reve-de-dragon/templates/post-actor.html', chatData) + renderTemplate('systems/foundryvtt-reve-de-dragon/templates/post-actor.hbs', chatData) .then(html => ChatMessage.create(RdDUtility.chatDataSetup(html, modeOverride))); } diff --git a/module/actor/commerce-sheet.js b/module/actor/commerce-sheet.js index ca617fec..57644d2e 100644 --- a/module/actor/commerce-sheet.js +++ b/module/actor/commerce-sheet.js @@ -12,7 +12,7 @@ export class RdDCommerceSheet extends RdDBaseActorSheet { /** @override */ static get defaultOptions() { return foundry.utils.mergeObject(super.defaultOptions, { - template: "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-actor-sheet.html", + template: "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-actor-sheet.hbs", width: 600, height: 720, tabs: [] }, { inplace: false }) diff --git a/module/actor/creature-sheet.js b/module/actor/creature-sheet.js index 96ce4dec..9ce58f80 100644 --- a/module/actor/creature-sheet.js +++ b/module/actor/creature-sheet.js @@ -10,7 +10,7 @@ export class RdDCreatureSheet extends RdDBaseActorSangSheet { /** @override */ static get defaultOptions() { return foundry.utils.mergeObject(RdDBaseActorSangSheet.defaultOptions, { - template: "systems/foundryvtt-reve-de-dragon/templates/actor-creature-sheet.html", + template: "systems/foundryvtt-reve-de-dragon/templates/actor-creature-sheet.hbs", width: 640, height: 720 }, { inplace: false }) } diff --git a/module/actor/entite-sheet.js b/module/actor/entite-sheet.js index 5ba1c31e..70303215 100644 --- a/module/actor/entite-sheet.js +++ b/module/actor/entite-sheet.js @@ -8,7 +8,7 @@ export class RdDActorEntiteSheet extends RdDBaseActorReveSheet { /** @override */ static get defaultOptions() { return foundry.utils.mergeObject(RdDBaseActorReveSheet.defaultOptions, { - template: "systems/foundryvtt-reve-de-dragon/templates/actor-entite-sheet.html", + template: "systems/foundryvtt-reve-de-dragon/templates/actor-entite-sheet.hbs", width: 640, height: 720, }, { inplace: false }) } diff --git a/module/actor/vehicule-sheet.js b/module/actor/vehicule-sheet.js index 80a91956..20f2ae80 100644 --- a/module/actor/vehicule-sheet.js +++ b/module/actor/vehicule-sheet.js @@ -7,7 +7,7 @@ export class RdDActorVehiculeSheet extends RdDBaseActorSheet { /** @override */ static get defaultOptions() { return foundry.utils.mergeObject(RdDBaseActorSheet.defaultOptions, { - template: "systems/foundryvtt-reve-de-dragon/templates/actor-vehicule-sheet.html", + template: "systems/foundryvtt-reve-de-dragon/templates/actor-vehicule-sheet.hbs", width: 640, height: 720, }, { inplace: false }) } diff --git a/module/dialog-chronologie.js b/module/dialog-chronologie.js index 5168870d..f67e7793 100644 --- a/module/dialog-chronologie.js +++ b/module/dialog-chronologie.js @@ -27,7 +27,7 @@ export class DialogChronologie extends Dialog { timestamp: game.system.rdd.calendrier.timestamp, dateReel: game.system.rdd.calendrier.dateReel() }; - const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-chronologie.html", dialogData); + const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-chronologie.hbs", dialogData); const dialog = new DialogChronologie(html, dialogData); dialog.render(true); } @@ -100,7 +100,7 @@ export class DialogChronologie extends Dialog { } async prepareChronologieEntry(journalParameters) { - return await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/chronologie-entry.html", journalParameters); + return await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/chronologie-entry.hbs", journalParameters); } extractJournalParameters() { diff --git a/module/dialog-create-signedraconique.js b/module/dialog-create-signedraconique.js index 40f90988..60b67b01 100644 --- a/module/dialog-create-signedraconique.js +++ b/module/dialog-create-signedraconique.js @@ -18,7 +18,7 @@ export class DialogCreateSigneDraconique extends Dialog { })) }; - const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-create-signedraconique.html", dialogData); + const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-create-signedraconique.hbs", dialogData); new DialogCreateSigneDraconique(dialogData, html) .render(true); } @@ -49,7 +49,7 @@ export class DialogCreateSigneDraconique extends Dialog { actor.createEmbeddedDocuments("Item", [signe]); ChatMessage.create({ whisper: ChatUtility.getOwners(actor), - content: await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-actor.html", { + content: await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-actor.hbs", { signe: signe, alias: actor.getAlias() }) diff --git a/module/dialog-fabriquer-potion.js b/module/dialog-fabriquer-potion.js index 43b39fac..24a157d9 100644 --- a/module/dialog-fabriquer-potion.js +++ b/module/dialog-fabriquer-potion.js @@ -12,7 +12,7 @@ export class DialogFabriquerPotion extends Dialog { } const potionData = DialogFabriquerPotion.prepareData(item, brinsMinimum) const options = { classes: ["dialogfabriquerpotion"], width: 600, height: 160, 'z-index': 99999 } - const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-fabriquer-potion-base.html', potionData) + const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-fabriquer-potion-base.hbs', potionData) new DialogFabriquerPotion(actor, potionData, html, options).render(true) } diff --git a/module/dialog-item-consommer.js b/module/dialog-item-consommer.js index 06d025b3..a71ffaeb 100644 --- a/module/dialog-item-consommer.js +++ b/module/dialog-item-consommer.js @@ -4,7 +4,7 @@ export class DialogConsommer extends Dialog { static async create(actor, item) { const consommerData = DialogConsommer.prepareData(actor, item); - const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-item-consommer.html', consommerData); + const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-item-consommer.hbs', consommerData); return new DialogConsommer(actor, item, consommerData, html) } diff --git a/module/dialog-select.js b/module/dialog-select.js index 0623ca55..4107d5c0 100644 --- a/module/dialog-select.js +++ b/module/dialog-select.js @@ -3,7 +3,7 @@ export class DialogSelect extends Dialog { static extractIdNameImg(it) { return { id: it.id, name: it.name, img: it.img } } static async select(selectionData, onSelectChoice) { - const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-select.html", selectionData) + const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-select.hbs", selectionData) const dialogData = { title: selectionData.title ?? selectionData.label, diff --git a/module/dialog-split-item.js b/module/dialog-split-item.js index 20247353..79c5404c 100644 --- a/module/dialog-split-item.js +++ b/module/dialog-split-item.js @@ -7,7 +7,7 @@ export class DialogSplitItem extends Dialog { item: item, choix: { quantite: 1, max: item.system.quantite - 1 } }; - const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-split.html`, splitData); + const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/dialog-item-split.hbs`, splitData); return new DialogSplitItem(item, splitData, html, callback) } diff --git a/module/dialog-validation-encaissement.js b/module/dialog-validation-encaissement.js index c0a74d85..55daa7a3 100644 --- a/module/dialog-validation-encaissement.js +++ b/module/dialog-validation-encaissement.js @@ -9,7 +9,7 @@ export class DialogValidationEncaissement extends Dialog { static async validerEncaissement(actor, rollData, armure, onEncaisser) { const encaissement = await RdDUtility.jetEncaissement(actor, rollData, armure, { showDice: HIDE_DICE }); - const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-validation-encaissement.html', { + const html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-validation-encaissement.hbs', { actor: actor, rollData: rollData, encaissement: encaissement diff --git a/module/item.js b/module/item.js index 3c1859ee..0d8ab863 100644 --- a/module/item.js +++ b/module/item.js @@ -591,7 +591,7 @@ export class RdDItem extends Item { } getChatItemTemplate() { - return 'systems/foundryvtt-reve-de-dragon/templates/post-item.html'; + return 'systems/foundryvtt-reve-de-dragon/templates/post-item.hbs'; } static propertyIfDefined(name, val, condition = true) { diff --git a/module/rdd-combat.js b/module/rdd-combat.js index 9b3e5a7c..231bf7a8 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -668,7 +668,7 @@ export class RdDCombat { const activite = this._ajustementMouvement(this.defender) const total = [portee, taille, activite].map(it => it.diff).filter(d => !Number.isNaN(d)).reduce(Misc.sum(), 0) ChatMessage.create({ - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-info-distance.html', { + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-info-distance.hbs', { rollData: rollData, attacker: _token, isVisible: isVisible, @@ -735,7 +735,7 @@ export class RdDCombat { await this.proposerAjustementTirLancer(rollData) const dialog = await RdDRoll.create(this.attacker, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs' }, { name: 'jet-attaque', label: 'Attaque: ' + (arme?.name ?? competence.name), @@ -816,7 +816,7 @@ export class RdDCombat { const choixParticuliere = await ChatMessage.create({ alias: this.attacker.getAlias(), whisper: ChatUtility.getOwners(this.attacker), - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-attaque-particuliere.html', { + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-attaque-particuliere.hbs', { alias: this.attacker.getAlias(), attackerId: this.attackerId, attackerToken: this.attackerToken, @@ -843,7 +843,7 @@ export class RdDCombat { cible: this.defender?.getAlias() ?? 'la cible', isRecul: (attackerRoll.particuliere == 'force' || attackerRoll.tactique == 'charge') } - await RdDRollResult.displayRollData(attackerRoll, this.attacker, 'chat-resultat-attaque.html'); + await RdDRollResult.displayRollData(attackerRoll, this.attacker, 'chat-resultat-attaque.hbs'); if (!await this.attacker.accorder(this.defender, 'avant-defense')) { return; @@ -908,7 +908,7 @@ export class RdDCombat { speaker: ChatMessage.getSpeaker(this.defender, canvas.tokens.get(this.defenderTokenId)), alias: this.attacker?.getAlias(), whisper: ChatUtility.getOwners(this.defender), - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-defense.html', paramDemandeDefense), + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-defense.hbs', paramDemandeDefense), }); // flag pour garder les jets d'attaque/defense ChatUtility.setMessageData(choixDefense, 'defender-roll', defenderRoll); @@ -956,7 +956,7 @@ export class RdDCombat { } const choixEchecTotal = await ChatMessage.create({ whisper: ChatUtility.getOwners(this.attacker), - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-attaque-etotal.html', { + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-demande-attaque-etotal.hbs', { attackerId: this.attackerId, attacker: this.attacker, attackerToken: this.attackerToken, @@ -985,7 +985,7 @@ export class RdDCombat { return } console.log("RdDCombat.onAttaqueEchec >>>", rollData); - await RdDRollResult.displayRollData(rollData, this.attacker, 'chat-resultat-attaque.html'); + await RdDRollResult.displayRollData(rollData, this.attacker, 'chat-resultat-attaque.hbs'); } @@ -1015,7 +1015,7 @@ export class RdDCombat { let rollData = this._prepareParade(attackerRoll, arme, competence); const dialog = await RdDRoll.create(this.defender, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs' }, { name: 'jet-parade', label: 'Parade: ' + (arme ? arme.name : rollData.competence.name), @@ -1074,7 +1074,7 @@ export class RdDCombat { await this.computeRecul(defenderRoll); await this.computeDeteriorationArme(defenderRoll); - await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-parade.html'); + await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-parade.hbs'); this.removeChatMessageActionsPasseArme(defenderRoll.passeArme); } @@ -1082,7 +1082,7 @@ export class RdDCombat { async _onParadeEchec(defenderRoll) { console.log("RdDCombat._onParadeEchec >>>", defenderRoll); - await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-parade.html'); + await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-parade.hbs'); this.removeChatMessageActionsPasseArme(defenderRoll.passeArme); this._sendMessageDefense(defenderRoll.attackerRoll, defenderRoll, { defense: true }); @@ -1099,7 +1099,7 @@ export class RdDCombat { let rollData = this._prepareEsquive(attackerRoll, esquive); const dialog = await RdDRoll.create(this.defender, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs' }, { name: 'jet-esquive', label: 'Esquiver', @@ -1149,7 +1149,7 @@ export class RdDCombat { /* -------------------------------------------- */ async _onEsquiveNormale(defenderRoll) { console.log("RdDCombat._onEsquiveNormal >>>", defenderRoll); - await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-esquive.html'); + await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-esquive.hbs'); this.removeChatMessageActionsPasseArme(defenderRoll.passeArme); } @@ -1157,7 +1157,7 @@ export class RdDCombat { async _onEsquiveEchec(defenderRoll) { console.log("RdDCombat._onEsquiveEchec >>>", defenderRoll); - await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-esquive.html'); + await RdDRollResult.displayRollData(defenderRoll, this.defender, 'chat-resultat-esquive.hbs'); this.removeChatMessageActionsPasseArme(defenderRoll.passeArme); this._sendMessageDefense(defenderRoll.attackerRoll, defenderRoll, { defense: true }) diff --git a/module/rdd-commands.js b/module/rdd-commands.js index 57e85600..5345f9f0 100644 --- a/module/rdd-commands.js +++ b/module/rdd-commands.js @@ -257,7 +257,7 @@ export class RdDCommands { let commands = [] this._buildSubTableHelp(commands, table ?? this.commandsTable); - let html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/settings/dialog-aide-commands.html", { commands: commands }); + let html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/settings/dialog-aide-commands.hbs", { commands: commands }); let d = new Dialog( { title: "Commandes disponibles dans le tchat", diff --git a/module/rdd-empoignade.js b/module/rdd-empoignade.js index 08a92ba6..42e8fdd9 100644 --- a/module/rdd-empoignade.js +++ b/module/rdd-empoignade.js @@ -157,7 +157,7 @@ export class RdDEmpoignade { if ((isNouvelle || empoignade.system.pointsemp == 0) && defender.hasArmeeMeleeEquipee()) { ChatUtility.createChatWithRollMode( { - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-empoignade-valider.html`, { attacker: attacker, defender: defender }) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-empoignade-valider.hbs`, { attacker: attacker, defender: defender }) }, attacker ) @@ -190,7 +190,7 @@ export class RdDEmpoignade { } if (empoignade.system.pointsemp >= 2) { if (!empoignade.system.ausol) { - let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-entrainer.html'); + let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-entrainer.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } } else { @@ -214,7 +214,7 @@ export class RdDEmpoignade { } const msg = await ChatMessage.create({ whisper: ChatUtility.getOwners(attacker), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-empoignade-immobilise.html`, rollData) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-empoignade-immobilise.hbs`, rollData) }) RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } @@ -222,7 +222,7 @@ export class RdDEmpoignade { /* -------------------------------------------- */ static async $rollAttaqueEmpoignade(attacker, rollData, isNouvelle = false) { const dialog = await RdDRoll.create(attacker, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs' }, { name: 'jet-empoignade', label: 'Empoigner', @@ -248,7 +248,7 @@ export class RdDEmpoignade { if (rollData.rolled.isPart) { rollData.particuliere = "finesse"; } - let msg = await RdDRollResult.displayRollData(rollData, defender, 'chat-empoignade-resultat.html'); + let msg = await RdDRollResult.displayRollData(rollData, defender, 'chat-empoignade-resultat.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } @@ -285,7 +285,7 @@ export class RdDEmpoignade { /* -------------------------------------------- */ static async $rollDefenseEmpoignade(defender, defenderRoll) { const dialog = await RdDRoll.create(defender, defenderRoll, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-defense-empoignade.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-defense-empoignade.hbs' }, { name: 'empoignade', label: 'Contrer', @@ -310,9 +310,9 @@ export class RdDEmpoignade { RdDEmpoignade.$updateEtatEmpoignade(empoignade) } - await RdDRollResult.displayRollData(rollData, rollData.defender, 'chat-empoignade-resultat.html') + await RdDRollResult.displayRollData(rollData, rollData.defender, 'chat-empoignade-resultat.hbs') if (empoignade.system.pointsemp >= 2) { - let msg = await RdDRollResult.displayRollData(rollData, rollData.attacker, 'chat-empoignade-entrainer.html'); + let msg = await RdDRollResult.displayRollData(rollData, rollData.attacker, 'chat-empoignade-entrainer.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } } @@ -356,7 +356,7 @@ export class RdDEmpoignade { await attacker.setEffect(STATUSES.StatusProne, true); await defender.setEffect(STATUSES.StatusProne, true); - let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-entrainer-sol.html'); + let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-entrainer-sol.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } @@ -372,7 +372,7 @@ export class RdDEmpoignade { await defender.setEffect(STATUSES.StatusProne, true); await this.$deleteEmpoignade(empoignade) - let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-projeter-sol.html'); + let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-projeter-sol.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } @@ -399,7 +399,7 @@ export class RdDEmpoignade { if (perteMode == "endquart") { await defender.santeIncDec("endurance", -(3 * Math.floor(endValue / 4))); } - let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-perte-endurance.html'); + let msg = await RdDRollResult.displayRollData(rollData, attacker, 'chat-empoignade-perte-endurance.hbs'); RdDEmpoignade.$storeRollEmpoignade(msg, rollData); } diff --git a/module/rdd-meteo.js b/module/rdd-meteo.js index 6b4266b3..e3512f22 100644 --- a/module/rdd-meteo.js +++ b/module/rdd-meteo.js @@ -117,7 +117,7 @@ export class RdDMeteo { meteo.pluie.description = RdDMeteo.pluie(meteo.pluie.force); ChatMessage.create({ - content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-meteo.html', meteo), + content: await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/chat-resultat-meteo.hbs', meteo), whisper: ChatUtility.getGMs() }); } diff --git a/module/rdd-namegen.js b/module/rdd-namegen.js index a5f27067..f0768cf7 100644 --- a/module/rdd-namegen.js +++ b/module/rdd-namegen.js @@ -13,7 +13,7 @@ const words = ['pore', 'pre', 'flor', 'lane', 'turlu', 'pin', 'a', 'alph', 'i', export class RdDNameGen { static async proposeName(msg, params) { - const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-command-nom.html`, { + const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-command-nom.hbs`, { nom: await RdDNameGen.generate() }); ChatMessage.create({ content: html, whisper: ChatUtility.getGMs() }); diff --git a/module/rdd-possession.js b/module/rdd-possession.js index 4cc0f9c9..6b7d1f89 100644 --- a/module/rdd-possession.js +++ b/module/rdd-possession.js @@ -113,7 +113,7 @@ export class RdDPossession { /* -------------------------------------------- */ static async $rollAttaquePossession(attacker, rollData, isNouvelle = false) { const dialog = await RdDRoll.create(attacker, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs' }, { name: 'jet-possession', label: rollData.isECNIDefender ? 'Conjurer la possession' : 'Possession', @@ -134,13 +134,13 @@ export class RdDPossession { } const possession = (rollData.isECNIDefender ? rollData.attacker : rollData.defender).getPossession(rollData.possession.system.possessionid) RdDPossession.storePossessionAttaque(possession, rollData) - await RdDRollResult.displayRollData(rollData, rollData.defender, 'chat-resultat-possession.html'); + await RdDRollResult.displayRollData(rollData, rollData.defender, 'chat-resultat-possession.hbs'); } /* -------------------------------------------- */ static async $rollDefensePossession(defender, rollData) { const dialog = await RdDRoll.create(defender, rollData, - { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-defense-possession.html' }, + { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-defense-possession.hbs' }, { name: 'possession', label: 'Conjurer une Possession', @@ -174,7 +174,7 @@ export class RdDPossession { rollData.possession = possession RdDPossession.$updateEtatPossession(rollData.possession) - await RdDRollResult.displayRollData(rollData, rollData.attacker, 'chat-resultat-possession.html') + await RdDRollResult.displayRollData(rollData, rollData.attacker, 'chat-resultat-possession.hbs') if (rollData.possession.isPosseder || rollData.possession.isConjurer) { // conjuration await victime.deleteEmbeddedDocuments("Item", [rollData.possession._id]) diff --git a/module/rdd-resolution-table.js b/module/rdd-resolution-table.js index 6e0e5219..c78b42ef 100644 --- a/module/rdd-resolution-table.js +++ b/module/rdd-resolution-table.js @@ -269,7 +269,7 @@ export class RdDResolutionTable { maxCarac = Math.min(maxCarac, minCarac + 20); minLevel = Math.max(minLevel, -10); maxLevel = Math.max(Math.min(maxLevel, 30), minLevel + colonnes); - return await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/resolution-table.html', { + return await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/resolution-table.hbs', { carac: carac, difficulte: level, min: minLevel, diff --git a/module/rdd-roll-encaisser.js b/module/rdd-roll-encaisser.js index 14748a6e..9b5728bc 100644 --- a/module/rdd-roll-encaisser.js +++ b/module/rdd-roll-encaisser.js @@ -8,7 +8,7 @@ import { RdDUtility } from "./rdd-utility.js"; export class RdDEncaisser extends Dialog { static async encaisser(actor) { - let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-encaisser.html', + let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-encaisser.hbs', { ajustementsEncaissement: RdDUtility.getAjustementsEncaissement() } ); new RdDEncaisser(html, actor).render(true); diff --git a/module/rdd-roll-resolution-table.js b/module/rdd-roll-resolution-table.js index 74c8655b..f82cb9df 100644 --- a/module/rdd-roll-resolution-table.js +++ b/module/rdd-roll-resolution-table.js @@ -15,7 +15,7 @@ export class RdDRollResolutionTable extends Dialog { if (RdDRollResolutionTable.resolutionTable == undefined) { const rollData = {} RdDRollResolutionTable._setDefaultOptions(rollData); - let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-resolution.html', rollData); + let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-resolution.hbs', rollData); RdDRollResolutionTable.resolutionTable = new RdDRollResolutionTable(rollData, html); RdDRollResolutionTable.resolutionTable.render(true); } diff --git a/module/rdd-roll-result.js b/module/rdd-roll-result.js index 38049b8e..eabc5f92 100644 --- a/module/rdd-roll-result.js +++ b/module/rdd-roll-result.js @@ -2,7 +2,7 @@ import { ChatUtility } from "./chat-utility.js"; export class RdDRollResult { - static async displayRollData(rollData, actor = undefined, template = 'chat-resultat-general.html') { + static async displayRollData(rollData, actor = undefined, template = 'chat-resultat-general.hbs') { const chatMessage = await ChatUtility.createChatWithRollMode( { content: await RdDRollResult.buildRollDataHtml(rollData, template) }, actor @@ -10,7 +10,7 @@ export class RdDRollResult { return chatMessage } - static async buildRollDataHtml(rollData, template = 'chat-resultat-general.html') { + static async buildRollDataHtml(rollData, template = 'chat-resultat-general.hbs') { rollData.show = rollData.show || {}; return await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/${template}`, rollData); } diff --git a/module/rdd-roll.js b/module/rdd-roll.js index 0598a585..128a7a8e 100644 --- a/module/rdd-roll.js +++ b/module/rdd-roll.js @@ -283,7 +283,7 @@ export class RdDRoll extends Dialog { this.rollData.bonus = RdDItemSort.getCaseBonus(sort, this.rollData.tmr.coord); this.rollData.diffLibre = RdDItemSort.getDifficulte(sort, -7); RdDItemSort.setCoutReveReel(sort); - const htmlSortDescription = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.html", { sort: sort }); + const htmlSortDescription = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.hbs", { sort: sort }); this.html.find(".sort-ou-rituel").text(sort.system.isrituel ? "rituel" : "sort"); this.html.find(".bonus-case").text(`${this.rollData.bonus}%`); this.html.find(".placeholder-description-sort").children().remove(); @@ -344,7 +344,7 @@ export class RdDRoll extends Dialog { /* -------------------------------------------- */ async buildAjustements(rollData) { - return await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/partial-roll-ajustements.html`, rollData); + return await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/partial-roll-ajustements.hbs`, rollData); } /* -------------------------------------------- */ diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index 221fc278..7fa15384 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -48,7 +48,7 @@ export class RdDTMRDialog extends Dialog { static async create(actor, tmrData) { await PixiTMR.init() - let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrData); + let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.hbs', tmrData); if (tmrData.mode != 'visu' && !game.user.isGM) { ChatMessage.create({ content: actor.name + " est monté dans les TMR en mode : " + tmrData.mode, whisper: ChatUtility.getGMs() }); } @@ -497,7 +497,7 @@ export class RdDTMRDialog extends Dialog { ChatMessage.create({ whisper: ChatUtility.getOwners(this.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-rencontre-tmr.html`, rencData) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-rencontre-tmr.hbs`, rencData) }); this.updateValuesDisplay(); @@ -724,7 +724,7 @@ export class RdDTMRDialog extends Dialog { rollData.poesie = await Poetique.getExtrait(); ChatMessage.create({ whisper: ChatUtility.getOwners(this.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-maitrise-tmr.html`, rollData) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-maitrise-tmr.hbs`, rollData) }); if (rollData.rolled.isEchec) { await this.close(); @@ -841,7 +841,7 @@ export class RdDTMRDialog extends Dialog { rollData.poesie = await Poetique.getExtrait(); ChatMessage.create({ whisper: ChatUtility.getOwners(this.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-maitrise-tmr.html`, rollData) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-maitrise-tmr.hbs`, rollData) }); if (rollData.rolled.isEchec) { options.onConqueteEchec(rollData, options.effetDraconique); @@ -857,7 +857,7 @@ export class RdDTMRDialog extends Dialog { rollData.isTMRCache = rollData.actor.isTMRCache(); const dialog = await RdDRoll.create(this.actor, rollData, { - html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-maitrise-tmr.html', + html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-maitrise-tmr.hbs', }, { name: rollData.maitrise.verbe, label: rollData.maitrise.action, @@ -1098,7 +1098,7 @@ export class RdDTMRDialog extends Dialog { if (!this.viewOnly && this.actor.isResonanceSigneDraconique(coord)) { ChatMessage.create({ whisper: ChatUtility.getOwners(this.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-resonance.html`, { + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-resonance.hbs`, { alias: this.actor.getAlias(), typeTMR: TMRUtility.getTMRType(coord) }) diff --git a/module/rdd-token-hud.js b/module/rdd-token-hud.js index e7639743..ee8369a4 100644 --- a/module/rdd-token-hud.js +++ b/module/rdd-token-hud.js @@ -52,7 +52,7 @@ export class RdDTokenHud { }; const controlIconCombat = html.find('.control-icon[data-action=combat]'); await RdDTokenHud._configureSubMenu(controlIconCombat, - 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.html', + 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.hbs', hudData, (event) => { let initCommand = event.currentTarget.attributes['data-command']?.value; @@ -70,7 +70,7 @@ export class RdDTokenHud { static async addExtensionHudCombat(html, combatant, token, actions) { const hudData = { combatant, token, actions, commandes: [] }; const controlIconTarget = html.find('.control-icon[data-action=target]'); - await RdDTokenHud._configureSubMenu(controlIconTarget, 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.html', hudData, + await RdDTokenHud._configureSubMenu(controlIconTarget, 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.hbs', hudData, (event) => { const actionIndex = event.currentTarget.attributes['data-action-index']?.value; const action = hudData.actions[actionIndex]; diff --git a/module/rdd-utility.js b/module/rdd-utility.js index d7678a99..a15daf61 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -112,34 +112,34 @@ export class RdDUtility { static preloadHandlebarsTemplates() { const templatePaths = [ //Character Sheets - 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor-creature-sheet.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor-entite-sheet.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor-vehicule-sheet.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor-creature-sheet.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor-entite-sheet.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor-vehicule-sheet.hbs', // sous-parties de feuilles de personnages 'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-buttons.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-etat.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-creature.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-entitee.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-effects.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-buttons.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-etat.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-creature.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-entitee.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-effects.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/archetype.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/armures.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-derivee.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-creature.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-entitee.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-derivee.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-creature.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-entitee.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/comp-creature.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/comp-possession.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-total.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-total.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/competence.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/xp-competences.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/combat.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/blessures.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/xp-competences.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/combat.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/blessures.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/blessure.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/maladies-poisons.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/possessions.hbs', @@ -149,11 +149,11 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/jeus.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/alchimie.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/astrologie.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/astrologie.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/chirurgie.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/non-haut-revant.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/haut-revant.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queues.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queues.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queue.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/dragon-souffles.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/dragon-tetes.hbs', @@ -163,9 +163,9 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/actor/hr-sorts-reserve.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/hr-meditations.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/hr-casetmrs.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/actor/xp-journal.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/xp-journal.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.hbs', 'systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-item.hbs', "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs", 'systems/foundryvtt-reve-de-dragon/templates/actor/liens-animaux.hbs', @@ -176,36 +176,36 @@ export class RdDUtility { //Items 'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete-script.hbs', 'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html', + 'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.hbs', 'systems/foundryvtt-reve-de-dragon/templates/item/icon-arme-broken.hbs', 'systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html', - 'systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html', - 'systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.html', - 'systems/foundryvtt-reve-de-dragon/templates/header-item.html', + 'systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/header-item.hbs', 'systems/foundryvtt-reve-de-dragon/templates/item/queue-sheet.hbs', // partial enums - 'systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-base-competence.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-categories.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html', + 'systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-base-competence.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-categories.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.hbs', 'systems/foundryvtt-reve-de-dragon/templates/item/enum-categorie-alchimie.hbs', 'systems/foundryvtt-reve-de-dragon/templates/item/enum-etat-alchimie.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-queue.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-vehicule.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-competence.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-heures.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-mortalite.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-niveau-ethylisme.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-periode.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html', - 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html', + 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-queue.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-vehicule.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-competence.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-draconic.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-heures.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-mortalite.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-niveau-ethylisme.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-periode.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-rarete.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.hbs', // Partials 'systems/foundryvtt-reve-de-dragon/templates/enchantement/partial-enchantement.hbs', 'systems/foundryvtt-reve-de-dragon/templates/coeur/chat-effet-tendre-moment.hbs', @@ -219,53 +219,53 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/common/periodicite.hbs', 'systems/foundryvtt-reve-de-dragon/templates/common/enum-duree.hbs', 'systems/foundryvtt-reve-de-dragon/templates/common/compendium-link.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-ajustements.html', + 'systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-ajustements.hbs', 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-astrologique.hbs', 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-coeur.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-competences.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-item-hautrevant.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-item-frequence.html', - 'systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-competences.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-item-hautrevant.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-item-frequence.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs', 'systems/foundryvtt-reve-de-dragon/templates/roll/explain.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/resolution-table.html', + 'systems/foundryvtt-reve-de-dragon/templates/resolution-table.hbs', // Dialogs - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-resolution.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-encaisser.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-validation-encaissement.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', - 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-alchimie.html', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-resolution.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-competence.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-encaisser.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-validation-encaissement.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-alchimie.hbs', 'systems/foundryvtt-reve-de-dragon/templates/sommeil/sommeil-actor-moral.hbs', 'systems/foundryvtt-reve-de-dragon/templates/sommeil/astrologie-gardien.hbs', 'systems/foundryvtt-reve-de-dragon/templates/sommeil/astrologie-joueur.hbs', 'systems/foundryvtt-reve-de-dragon/templates/sommeil/astrologie-theme.hbs', // HUD - 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.html', - 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.html', + 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.hbs', // messages tchat - 'systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-description.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-info-distance.html', + 'systems/foundryvtt-reve-de-dragon/templates/chat-infojet.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-description.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-info-distance.hbs', 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-turn-acteur.hbs', 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-turn-sante.hbs', - 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-competence-xp.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-carac-xp.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-fabriquer-potion-base.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-actor.html' + 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-competence-xp.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-actor-carac-xp.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-fabriquer-potion-base.hbs', + 'systems/foundryvtt-reve-de-dragon/templates/chat-signe-draconique-actor.hbs' ]; // foundry et options diff --git a/module/settings/status-effects.js b/module/settings/status-effects.js index 7caeda8a..3a22d2b3 100644 --- a/module/settings/status-effects.js +++ b/module/settings/status-effects.js @@ -112,7 +112,7 @@ export class StatusEffects extends FormApplication { const options = super.defaultOptions; foundry.utils.mergeObject(options, { id: "status-effects", - template: "systems/foundryvtt-reve-de-dragon/templates/settings/status-effects.html", + template: "systems/foundryvtt-reve-de-dragon/templates/settings/status-effects.hbs", height: 800, width: 350, minimizable: false, diff --git a/module/settings/system-compendiums.js b/module/settings/system-compendiums.js index 82dd64ec..c1524a20 100644 --- a/module/settings/system-compendiums.js +++ b/module/settings/system-compendiums.js @@ -157,7 +157,7 @@ export class SystemCompendiums extends FormApplication { const options = super.defaultOptions; foundry.utils.mergeObject(options, { id: "system-compendiums", - template: "systems/foundryvtt-reve-de-dragon/templates/settings/system-compendiums.html", + template: "systems/foundryvtt-reve-de-dragon/templates/settings/system-compendiums.hbs", height: 'fit-content', width: 600, minimizable: false, diff --git a/module/sommeil/dialog-repos.js b/module/sommeil/dialog-repos.js index 406914c8..7374a520 100644 --- a/module/sommeil/dialog-repos.js +++ b/module/sommeil/dialog-repos.js @@ -15,7 +15,7 @@ export class DialogRepos extends Dialog { "heures": 4 } } - const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-repos.html", actor); + const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-repos.hbs", actor); const dialog = new DialogRepos(html, actor); dialog.render(true); } diff --git a/module/sommeil/dialog-stress.js b/module/sommeil/dialog-stress.js index 1a6502f2..0b30c323 100644 --- a/module/sommeil/dialog-stress.js +++ b/module/sommeil/dialog-stress.js @@ -15,7 +15,7 @@ export class DialogStress extends Dialog { ) }; - const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-stress.html", dialogData); + const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-stress.hbs", dialogData); new DialogStress(dialogData, html) .render(true); } diff --git a/module/tmr/effets-rencontres.js b/module/tmr/effets-rencontres.js index 898877c7..183c876c 100644 --- a/module/tmr/effets-rencontres.js +++ b/module/tmr/effets-rencontres.js @@ -113,7 +113,7 @@ export class EffetsRencontre { }) ChatMessage.create({ whisper: ChatUtility.getOwners(context.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.html`, context) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.hbs`, context) }); } @@ -128,7 +128,7 @@ export class EffetsRencontre { ChatMessage.create({ whisper: ChatUtility.getOwners(context.actor), - content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.html`, context) + content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.hbs`, context) }); } diff --git a/templates/actor-creature-sheet.html b/templates/actor-creature-sheet.hbs similarity index 94% rename from templates/actor-creature-sheet.html rename to templates/actor-creature-sheet.hbs index 83d39de4..80ca5a26 100644 --- a/templates/actor-creature-sheet.html +++ b/templates/actor-creature-sheet.hbs @@ -16,12 +16,12 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-creature.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-creature.hbs"}}
{{system.compteurs.etat.label}}: {{system.compteurs.etat.value}} {{calc.resumeBlessures}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-effects.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-effects.hbs"}}
@@ -43,13 +43,13 @@ {{!-- Carac & compétences --}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs"}}
    - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-creature.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-creature.hbs"}}
@@ -57,13 +57,13 @@
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/blessures.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/blessures.hbs"}}
{{!-- Equipment Tab --}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.hbs"}}
{{!-- Description Tab --}} @@ -72,7 +72,7 @@ {{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs"}} diff --git a/templates/actor-entite-sheet.html b/templates/actor-entite-sheet.hbs similarity index 94% rename from templates/actor-entite-sheet.html rename to templates/actor-entite-sheet.hbs index 68ea2b48..64953118 100644 --- a/templates/actor-entite-sheet.html +++ b/templates/actor-entite-sheet.hbs @@ -16,7 +16,7 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-entitee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-entitee.hbs"}}
@@ -29,13 +29,13 @@ {{!-- Carac Tab --}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs"}}
    - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-entitee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-entitee.hbs"}}
@@ -51,7 +51,7 @@
{{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs"}}
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.hbs similarity index 89% rename from templates/actor-sheet.html rename to templates/actor-sheet.hbs index ee639d95..b9ea2fe0 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.hbs @@ -7,13 +7,13 @@

- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-buttons.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-buttons.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-etat.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-etat.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.hbs"}}
@@ -37,17 +37,17 @@ {{#if options.isObserver}}{{!-- Carac Tab --}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs"}}
    - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-total.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-total.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-derivee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/carac-derivee.hbs"}}
@@ -56,7 +56,7 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs"}} {{#if options.showCompNiveauBase}} @@ -85,18 +85,18 @@
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.generale) categorie="Compétences générales"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.particuliere) categorie="Compétences Particulières"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.specialisee) categorie="Compétences Spécialisées"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.generale) categorie="Compétences générales"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.particuliere) categorie="Compétences Particulières"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.specialisee) categorie="Compétences Spécialisées"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/xp-competences.html"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.melee) categorie="Compétences de Mêlée"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.tir) categorie="Compétences de Tir"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.lancer) categorie="Compétences de Lancer"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.connaissance) categorie="Connaissances"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/xp-competences.hbs"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.melee) categorie="Compétences de Mêlée"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.tir) categorie="Compétences de Tir"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.lancer) categorie="Compétences de Lancer"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.connaissance) categorie="Connaissances"}} {{#if (or system.attributs.hautrevant.value options.vueDetaillee)}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html" competences=(filtreTriCompetences byCateg.draconic) categorie="Draconic"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence-categorie.hbs" competences=(filtreTriCompetences byCateg.draconic) categorie="Draconic"}} {{/if}}
{{#if (and options.vueDetaillee options.vueArchetype)}} @@ -109,8 +109,8 @@ {{/if}} {{#if options.isObserver}}{{!-- Combat Tab --}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/combat.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/blessures.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/combat.hbs"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/blessures.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/maladies-poisons.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/possessions.hbs"}}
@@ -118,7 +118,7 @@ {{#if options.isObserver}}{{!-- Connaissances Tab --}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/astrologie.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/astrologie.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/taches.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/chirurgie.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvres.hbs"}} @@ -144,7 +144,7 @@ {{!-- Equipment Tab --}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/liens-animaux.hbs"}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/liens-vehicules.hbs"}}
@@ -195,7 +195,7 @@ @@ -228,8 +228,8 @@
{{editor notes target="system.notes" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/xp-journal.html"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/xp-journal.hbs"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs"}}
diff --git a/templates/actor-vehicule-sheet.html b/templates/actor-vehicule-sheet.hbs similarity index 98% rename from templates/actor-vehicule-sheet.html rename to templates/actor-vehicule-sheet.hbs index 8c8b4a2f..08cc52cb 100644 --- a/templates/actor-vehicule-sheet.html +++ b/templates/actor-vehicule-sheet.hbs @@ -46,7 +46,7 @@ {{!-- Carac Tab --}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.hbs"}}
@@ -55,7 +55,7 @@ Catégorie @@ -86,13 +86,13 @@
{{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs"}}
{{!-- Equipment Tab --}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}} - {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}} + {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.hbs"}}
diff --git a/templates/actor/astrologie.html b/templates/actor/astrologie.hbs similarity index 100% rename from templates/actor/astrologie.html rename to templates/actor/astrologie.hbs diff --git a/templates/actor/blessures.html b/templates/actor/blessures.hbs similarity index 100% rename from templates/actor/blessures.html rename to templates/actor/blessures.hbs diff --git a/templates/actor/carac-creature.html b/templates/actor/carac-creature.hbs similarity index 100% rename from templates/actor/carac-creature.html rename to templates/actor/carac-creature.hbs diff --git a/templates/actor/carac-derivee.html b/templates/actor/carac-derivee.hbs similarity index 100% rename from templates/actor/carac-derivee.html rename to templates/actor/carac-derivee.hbs diff --git a/templates/actor/carac-entitee.html b/templates/actor/carac-entitee.hbs similarity index 98% rename from templates/actor/carac-entitee.html rename to templates/actor/carac-entitee.hbs index 28b8f9d8..38114340 100644 --- a/templates/actor/carac-entitee.html +++ b/templates/actor/carac-entitee.hbs @@ -4,7 +4,7 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll-encaisser.html b/templates/dialog-roll-encaisser.hbs similarity index 100% rename from templates/dialog-roll-encaisser.html rename to templates/dialog-roll-encaisser.hbs diff --git a/templates/dialog-roll-ethylisme.html b/templates/dialog-roll-ethylisme.hbs similarity index 100% rename from templates/dialog-roll-ethylisme.html rename to templates/dialog-roll-ethylisme.hbs diff --git a/templates/dialog-roll-jeu.html b/templates/dialog-roll-jeu.hbs similarity index 86% rename from templates/dialog-roll-jeu.html rename to templates/dialog-roll-jeu.hbs index 2d1f1ca6..aa2e25ec 100644 --- a/templates/dialog-roll-jeu.html +++ b/templates/dialog-roll-jeu.hbs @@ -6,20 +6,20 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html" oeuvre.system}} + {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.hbs" oeuvre.system}}
diff --git a/templates/dialog-roll-maitrise-tmr.html b/templates/dialog-roll-maitrise-tmr.hbs similarity index 94% rename from templates/dialog-roll-maitrise-tmr.html rename to templates/dialog-roll-maitrise-tmr.hbs index ab82b528..789ee16c 100644 --- a/templates/dialog-roll-maitrise-tmr.html +++ b/templates/dialog-roll-maitrise-tmr.hbs @@ -14,9 +14,9 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll-meditation.html b/templates/dialog-roll-meditation.hbs similarity index 98% rename from templates/dialog-roll-meditation.html rename to templates/dialog-roll-meditation.hbs index 0b4a77a0..813b07f5 100644 --- a/templates/dialog-roll-meditation.html +++ b/templates/dialog-roll-meditation.hbs @@ -35,8 +35,8 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll-musique.html b/templates/dialog-roll-musique.hbs similarity index 89% rename from templates/dialog-roll-musique.html rename to templates/dialog-roll-musique.hbs index 04bc6ede..f5f35aea 100644 --- a/templates/dialog-roll-musique.html +++ b/templates/dialog-roll-musique.hbs @@ -8,13 +8,13 @@ - {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html" oeuvre.system}} + {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.hbs" oeuvre.system}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs"}}
diff --git a/templates/dialog-roll-oeuvre.html b/templates/dialog-roll-oeuvre.hbs similarity index 89% rename from templates/dialog-roll-oeuvre.html rename to templates/dialog-roll-oeuvre.hbs index 846579f0..d12d89f8 100644 --- a/templates/dialog-roll-oeuvre.html +++ b/templates/dialog-roll-oeuvre.hbs @@ -9,13 +9,13 @@ - {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html" oeuvre.system}} + {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.hbs" oeuvre.system}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs"}}
diff --git a/templates/dialog-roll-recettecuisine.html b/templates/dialog-roll-recettecuisine.hbs similarity index 93% rename from templates/dialog-roll-recettecuisine.html rename to templates/dialog-roll-recettecuisine.hbs index 13b2e470..22f4dd57 100644 --- a/templates/dialog-roll-recettecuisine.html +++ b/templates/dialog-roll-recettecuisine.hbs @@ -25,13 +25,13 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html" oeuvre.system}} + {{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.hbs" oeuvre.system}}
diff --git a/templates/dialog-roll-resolution.html b/templates/dialog-roll-resolution.hbs similarity index 88% rename from templates/dialog-roll-resolution.html rename to templates/dialog-roll-resolution.hbs index 7615ed2c..b36789d6 100644 --- a/templates/dialog-roll-resolution.html +++ b/templates/dialog-roll-resolution.hbs @@ -2,10 +2,10 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}}
diff --git a/templates/dialog-roll-reve-de-dragon.html b/templates/dialog-roll-reve-de-dragon.hbs similarity index 93% rename from templates/dialog-roll-reve-de-dragon.html rename to templates/dialog-roll-reve-de-dragon.hbs index 020337fd..2457a79a 100644 --- a/templates/dialog-roll-reve-de-dragon.html +++ b/templates/dialog-roll-reve-de-dragon.hbs @@ -9,9 +9,9 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll-signedraconique.html b/templates/dialog-roll-signedraconique.hbs similarity index 96% rename from templates/dialog-roll-signedraconique.html rename to templates/dialog-roll-signedraconique.hbs index 63ede600..98ffe6e7 100644 --- a/templates/dialog-roll-signedraconique.html +++ b/templates/dialog-roll-signedraconique.hbs @@ -30,9 +30,9 @@ {{/select}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll-sort.html b/templates/dialog-roll-sort.hbs similarity index 98% rename from templates/dialog-roll-sort.html rename to templates/dialog-roll-sort.hbs index f89fa0f4..63441437 100644 --- a/templates/dialog-roll-sort.html +++ b/templates/dialog-roll-sort.hbs @@ -60,8 +60,8 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}}
diff --git a/templates/dialog-roll.html b/templates/dialog-roll.hbs similarity index 86% rename from templates/dialog-roll.html rename to templates/dialog-roll.hbs index 42456fa8..539e2991 100644 --- a/templates/dialog-roll.html +++ b/templates/dialog-roll.hbs @@ -4,19 +4,19 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-competences.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-competences.hbs"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-astrologique.hbs"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-coeur.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.hbs"}}
diff --git a/templates/dialog-select.html b/templates/dialog-select.hbs similarity index 100% rename from templates/dialog-select.html rename to templates/dialog-select.hbs diff --git a/templates/dialog-tmr.html b/templates/dialog-tmr.hbs similarity index 100% rename from templates/dialog-tmr.html rename to templates/dialog-tmr.hbs diff --git a/templates/dialog-validation-encaissement.html b/templates/dialog-validation-encaissement.hbs similarity index 100% rename from templates/dialog-validation-encaissement.html rename to templates/dialog-validation-encaissement.hbs diff --git a/templates/enchantement/partial-enchantement.hbs b/templates/enchantement/partial-enchantement.hbs index 03852463..4dd44299 100644 --- a/templates/enchantement/partial-enchantement.hbs +++ b/templates/enchantement/partial-enchantement.hbs @@ -26,7 +26,7 @@ diff --git a/templates/enum-aspect-tarot.html b/templates/enum-aspect-tarot.hbs similarity index 100% rename from templates/enum-aspect-tarot.html rename to templates/enum-aspect-tarot.hbs diff --git a/templates/enum-base-competence.html b/templates/enum-base-competence.hbs similarity index 100% rename from templates/enum-base-competence.html rename to templates/enum-base-competence.hbs diff --git a/templates/enum-caracteristiques.html b/templates/enum-caracteristiques.hbs similarity index 100% rename from templates/enum-caracteristiques.html rename to templates/enum-caracteristiques.hbs diff --git a/templates/enum-categorie-competencecreature.html b/templates/enum-categorie-competencecreature.hbs similarity index 100% rename from templates/enum-categorie-competencecreature.html rename to templates/enum-categorie-competencecreature.hbs diff --git a/templates/enum-categorie-ingredient.html b/templates/enum-categorie-ingredient.hbs similarity index 100% rename from templates/enum-categorie-ingredient.html rename to templates/enum-categorie-ingredient.hbs diff --git a/templates/enum-categorie-parade.html b/templates/enum-categorie-parade.hbs similarity index 100% rename from templates/enum-categorie-parade.html rename to templates/enum-categorie-parade.hbs diff --git a/templates/enum-categorie-queue.html b/templates/enum-categorie-queue.hbs similarity index 100% rename from templates/enum-categorie-queue.html rename to templates/enum-categorie-queue.hbs diff --git a/templates/enum-categorie-vehicule.html b/templates/enum-categorie-vehicule.hbs similarity index 100% rename from templates/enum-categorie-vehicule.html rename to templates/enum-categorie-vehicule.hbs diff --git a/templates/enum-categories.html b/templates/enum-categories.hbs similarity index 100% rename from templates/enum-categories.html rename to templates/enum-categories.hbs diff --git a/templates/enum-competence.html b/templates/enum-competence.hbs similarity index 100% rename from templates/enum-competence.html rename to templates/enum-competence.hbs diff --git a/templates/enum-draconic.html b/templates/enum-draconic.hbs similarity index 100% rename from templates/enum-draconic.html rename to templates/enum-draconic.hbs diff --git a/templates/enum-formuleduree.html b/templates/enum-formuleduree.hbs similarity index 100% rename from templates/enum-formuleduree.html rename to templates/enum-formuleduree.hbs diff --git a/templates/enum-heures.html b/templates/enum-heures.hbs similarity index 100% rename from templates/enum-heures.html rename to templates/enum-heures.hbs diff --git a/templates/enum-initpremierround.html b/templates/enum-initpremierround.hbs similarity index 100% rename from templates/enum-initpremierround.html rename to templates/enum-initpremierround.hbs diff --git a/templates/enum-mortalite.html b/templates/enum-mortalite.hbs similarity index 100% rename from templates/enum-mortalite.html rename to templates/enum-mortalite.hbs diff --git a/templates/enum-niveau-ethylisme.html b/templates/enum-niveau-ethylisme.hbs similarity index 100% rename from templates/enum-niveau-ethylisme.html rename to templates/enum-niveau-ethylisme.hbs diff --git a/templates/enum-periode.html b/templates/enum-periode.hbs similarity index 100% rename from templates/enum-periode.html rename to templates/enum-periode.hbs diff --git a/templates/enum-rarete.html b/templates/enum-rarete.hbs similarity index 100% rename from templates/enum-rarete.html rename to templates/enum-rarete.hbs diff --git a/templates/enum-tmr-effet.html b/templates/enum-tmr-effet.hbs similarity index 100% rename from templates/enum-tmr-effet.html rename to templates/enum-tmr-effet.hbs diff --git a/templates/enum-tmr-type.html b/templates/enum-tmr-type.hbs similarity index 100% rename from templates/enum-tmr-type.html rename to templates/enum-tmr-type.hbs diff --git a/templates/header-item.html b/templates/header-item.hbs similarity index 100% rename from templates/header-item.html rename to templates/header-item.hbs diff --git a/templates/hud-actor-attaque.html b/templates/hud-actor-attaque.hbs similarity index 100% rename from templates/hud-actor-attaque.html rename to templates/hud-actor-attaque.hbs diff --git a/templates/hud-actor-init.html b/templates/hud-actor-init.hbs similarity index 100% rename from templates/hud-actor-init.html rename to templates/hud-actor-init.hbs diff --git a/templates/item/arme-sheet.hbs b/templates/item/arme-sheet.hbs index 5842ae3d..c0c5870f 100644 --- a/templates/item/arme-sheet.hbs +++ b/templates/item/arme-sheet.hbs @@ -1,8 +1,8 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
@@ -11,7 +11,7 @@
@@ -20,7 +20,7 @@ @@ -29,7 +29,7 @@ @@ -41,7 +41,7 @@ @@ -54,7 +54,7 @@ @@ -106,13 +106,13 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/armure-sheet.hbs b/templates/item/armure-sheet.hbs index 17891173..b8c3a6a8 100644 --- a/templates/item/armure-sheet.hbs +++ b/templates/item/armure-sheet.hbs @@ -1,8 +1,8 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
@@ -19,9 +19,9 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/blessure-sheet.hbs b/templates/item/blessure-sheet.hbs index 9f949ff5..69c03966 100644 --- a/templates/item/blessure-sheet.hbs +++ b/templates/item/blessure-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
diff --git a/templates/item/boutons-comestible.html b/templates/item/boutons-comestible.hbs similarity index 100% rename from templates/item/boutons-comestible.html rename to templates/item/boutons-comestible.hbs diff --git a/templates/item/casetmr-sheet.hbs b/templates/item/casetmr-sheet.hbs index b198701b..9ceae1e1 100644 --- a/templates/item/casetmr-sheet.hbs +++ b/templates/item/casetmr-sheet.hbs @@ -1,5 +1,5 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -10,11 +10,11 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/chant-sheet.hbs b/templates/item/chant-sheet.hbs index dfb9dc77..fedadc82 100644 --- a/templates/item/chant-sheet.hbs +++ b/templates/item/chant-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -11,6 +11,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/competence-sheet.hbs b/templates/item/competence-sheet.hbs index 7bea7194..a539889f 100644 --- a/templates/item/competence-sheet.hbs +++ b/templates/item/competence-sheet.hbs @@ -18,7 +18,7 @@
@@ -35,7 +35,7 @@ {{#if options.isGM}} {{else}} @@ -46,7 +46,7 @@ @@ -65,7 +65,7 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/competencecreature-sheet.hbs b/templates/item/competencecreature-sheet.hbs index 0af9b008..75fc4c8b 100644 --- a/templates/item/competencecreature-sheet.hbs +++ b/templates/item/competencecreature-sheet.hbs @@ -1,12 +1,12 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -31,7 +31,7 @@ @@ -41,12 +41,12 @@ {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/conteneur-sheet.hbs b/templates/item/conteneur-sheet.hbs index 0d337d6b..9805448c 100644 --- a/templates/item/conteneur-sheet.hbs +++ b/templates/item/conteneur-sheet.hbs @@ -1,10 +1,10 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -12,7 +12,7 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} {{#if options.isOwned}}
    @@ -26,8 +26,8 @@
{{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/danse-sheet.hbs b/templates/item/danse-sheet.hbs index 5232a7fb..83e876f8 100644 --- a/templates/item/danse-sheet.hbs +++ b/templates/item/danse-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -28,6 +28,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/empoignade-sheet.hbs b/templates/item/empoignade-sheet.hbs index 220931c4..2f5fcd44 100644 --- a/templates/item/empoignade-sheet.hbs +++ b/templates/item/empoignade-sheet.hbs @@ -1,11 +1,11 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/faune-sheet.hbs b/templates/item/faune-sheet.hbs index 04972453..16abb38d 100644 --- a/templates/item/faune-sheet.hbs +++ b/templates/item/faune-sheet.hbs @@ -3,13 +3,13 @@

- {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html'}} + {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.hbs'}}
@@ -43,10 +43,10 @@ {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/gemme-sheet.hbs b/templates/item/gemme-sheet.hbs index d4730941..51ae707d 100644 --- a/templates/item/gemme-sheet.hbs +++ b/templates/item/gemme-sheet.hbs @@ -14,7 +14,7 @@
@@ -43,9 +43,9 @@
{{>'systems/foundryvtt-reve-de-dragon/templates/enchantement/partial-enchantement.hbs'}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/herbe-sheet.hbs b/templates/item/herbe-sheet.hbs index 07b81dd2..1ac4ad18 100644 --- a/templates/item/herbe-sheet.hbs +++ b/templates/item/herbe-sheet.hbs @@ -8,13 +8,13 @@ Fabriquer une potion depuis cette plante {{/if}} - {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html'}} + {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.hbs'}}
@@ -24,7 +24,7 @@ @@ -44,10 +44,10 @@ {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/ingredient-sheet.hbs b/templates/item/ingredient-sheet.hbs index 687e3f88..c2fae5f5 100644 --- a/templates/item/ingredient-sheet.hbs +++ b/templates/item/ingredient-sheet.hbs @@ -1,9 +1,9 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
@@ -16,13 +16,13 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/item-sheet.hbs b/templates/item/item-sheet.hbs index e85c98f1..b51f0e77 100644 --- a/templates/item/item-sheet.hbs +++ b/templates/item/item-sheet.hbs @@ -24,7 +24,7 @@
{{!-- Description Tab --}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} {{!-- Attributes Tab --}}
diff --git a/templates/item/jeu-sheet.hbs b/templates/item/jeu-sheet.hbs index efad7fed..c70e99f9 100644 --- a/templates/item/jeu-sheet.hbs +++ b/templates/item/jeu-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -27,6 +27,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/livre-sheet.hbs b/templates/item/livre-sheet.hbs index 12015e12..c2ce9cd2 100644 --- a/templates/item/livre-sheet.hbs +++ b/templates/item/livre-sheet.hbs @@ -12,7 +12,7 @@
@@ -25,7 +25,7 @@
@@ -50,9 +50,9 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/maladie-sheet.hbs b/templates/item/maladie-sheet.hbs index 252e0043..63a1bf02 100644 --- a/templates/item/maladie-sheet.hbs +++ b/templates/item/maladie-sheet.hbs @@ -47,7 +47,7 @@ {{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" this labeldebut="Contractée" labelfin="Prochain jet"}} {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} diff --git a/templates/item/meditation-sheet.hbs b/templates/item/meditation-sheet.hbs index 3825253d..bf939747 100644 --- a/templates/item/meditation-sheet.hbs +++ b/templates/item/meditation-sheet.hbs @@ -1,12 +1,12 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -22,7 +22,7 @@ @@ -42,7 +42,7 @@ @@ -69,6 +69,6 @@ {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/monnaie-sheet.hbs b/templates/item/monnaie-sheet.hbs index 21e9922e..c370c592 100644 --- a/templates/item/monnaie-sheet.hbs +++ b/templates/item/monnaie-sheet.hbs @@ -1,14 +1,14 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/munition-sheet.hbs b/templates/item/munition-sheet.hbs index ef48cb9f..f83fd7f3 100644 --- a/templates/item/munition-sheet.hbs +++ b/templates/item/munition-sheet.hbs @@ -1,14 +1,14 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/musique-sheet.hbs b/templates/item/musique-sheet.hbs index 4f23821b..0559c9b7 100644 --- a/templates/item/musique-sheet.hbs +++ b/templates/item/musique-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -10,6 +10,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/nombreastral-sheet.hbs b/templates/item/nombreastral-sheet.hbs index a6124813..8a062d50 100644 --- a/templates/item/nombreastral-sheet.hbs +++ b/templates/item/nombreastral-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
diff --git a/templates/item/nourritureboisson-sheet.hbs b/templates/item/nourritureboisson-sheet.hbs index 60ed852b..f7bd8181 100644 --- a/templates/item/nourritureboisson-sheet.hbs +++ b/templates/item/nourritureboisson-sheet.hbs @@ -1,8 +1,8 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
@@ -34,9 +34,9 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/objet-sheet.hbs b/templates/item/objet-sheet.hbs index 21e9922e..c370c592 100644 --- a/templates/item/objet-sheet.hbs +++ b/templates/item/objet-sheet.hbs @@ -1,14 +1,14 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
diff --git a/templates/item/oeuvre-sheet.hbs b/templates/item/oeuvre-sheet.hbs index 89d8d676..e8b0fe07 100644 --- a/templates/item/oeuvre-sheet.hbs +++ b/templates/item/oeuvre-sheet.hbs @@ -12,7 +12,7 @@ @@ -20,7 +20,7 @@ @@ -33,7 +33,7 @@ - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} diff --git a/templates/item/partial-environnement.html b/templates/item/partial-environnement.hbs similarity index 100% rename from templates/item/partial-environnement.html rename to templates/item/partial-environnement.hbs diff --git a/templates/item/partial-inventaire.html b/templates/item/partial-inventaire.hbs similarity index 100% rename from templates/item/partial-inventaire.html rename to templates/item/partial-inventaire.hbs diff --git a/templates/item/partial-tab-environnement.html b/templates/item/partial-tab-environnement.hbs similarity index 100% rename from templates/item/partial-tab-environnement.html rename to templates/item/partial-tab-environnement.hbs diff --git a/templates/item/plante-sheet.hbs b/templates/item/plante-sheet.hbs index 07b81dd2..1ac4ad18 100644 --- a/templates/item/plante-sheet.hbs +++ b/templates/item/plante-sheet.hbs @@ -8,13 +8,13 @@ Fabriquer une potion depuis cette plante {{/if}} - {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html'}} + {{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.hbs'}}
@@ -24,7 +24,7 @@ @@ -44,10 +44,10 @@ {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/poison-sheet.hbs b/templates/item/poison-sheet.hbs index 24bcb916..a3aecd92 100644 --- a/templates/item/poison-sheet.hbs +++ b/templates/item/poison-sheet.hbs @@ -51,7 +51,7 @@ {{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" this labeldebut="Contracté" labelfin="Prochain jet"}} {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} diff --git a/templates/item/possession-sheet.hbs b/templates/item/possession-sheet.hbs index 545acc2d..ffdea2e8 100644 --- a/templates/item/possession-sheet.hbs +++ b/templates/item/possession-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -14,6 +14,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/potion-sheet.hbs b/templates/item/potion-sheet.hbs index acf9e37f..c5598cdc 100644 --- a/templates/item/potion-sheet.hbs +++ b/templates/item/potion-sheet.hbs @@ -16,7 +16,7 @@
@@ -25,7 +25,7 @@
@@ -85,10 +85,10 @@ {{/if}} {{>'systems/foundryvtt-reve-de-dragon/templates/enchantement/partial-enchantement.hbs'}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
\ No newline at end of file diff --git a/templates/item/queue-sheet.hbs b/templates/item/queue-sheet.hbs index 2758d3a1..b3955c25 100644 --- a/templates/item/queue-sheet.hbs +++ b/templates/item/queue-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -14,7 +14,7 @@
@@ -37,8 +37,8 @@ {{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" this labeldebut="Depuis le" labelfin="Jusqu'au"}} {{/if}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-hautrevant.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-frequence.html"}} - {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-hautrevant.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-frequence.hbs"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/race-sheet.hbs b/templates/item/race-sheet.hbs index 18f6de88..571bf8e0 100644 --- a/templates/item/race-sheet.hbs +++ b/templates/item/race-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}}
@@ -59,6 +59,6 @@
{{/each}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/recettealchimique-sheet.hbs b/templates/item/recettealchimique-sheet.hbs index af88c741..1520d11e 100644 --- a/templates/item/recettealchimique-sheet.hbs +++ b/templates/item/recettealchimique-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -31,6 +31,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/recettecuisine-sheet.hbs b/templates/item/recettecuisine-sheet.hbs index 9292f430..8d823388 100644 --- a/templates/item/recettecuisine-sheet.hbs +++ b/templates/item/recettecuisine-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}
@@ -29,6 +29,6 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
diff --git a/templates/item/rencontre-sheet.hbs b/templates/item/rencontre-sheet.hbs index 0330ca0f..33872498 100644 --- a/templates/item/rencontre-sheet.hbs +++ b/templates/item/rencontre-sheet.hbs @@ -1,5 +1,5 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} + {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.hbs"}} {{!-- Sheet Body --}}