From 65e75741061f10d7a2b9ed5c33fd1e9bb54a6e4f Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 1 Nov 2022 01:03:35 +0100 Subject: [PATCH] Renommage des templates d'enums MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (suppression de templates inutilisés) --- module/rdd-utility.js | 28 +++++++++---------- templates/actor-sheet.html | 2 +- templates/calendar-editor-template.html | 4 +-- ...ce-base.html => enum-base-competence.html} | 0 ...defaut.html => enum-caracteristiques.html} | 0 ...es-select-option.html => enum-heures.html} | 0 templates/herbe-categorie.html | 5 ---- templates/herbe-frequence.html | 5 ---- templates/item-competence-sheet.html | 4 +-- templates/item-meditation-sheet.html | 2 +- templates/item-oeuvre-sheet.html | 2 +- templates/item-potion-sheet.html | 2 +- templates/item-sortreserve-sheet.html | 2 +- templates/logger.html | 1 - 14 files changed, 23 insertions(+), 34 deletions(-) rename templates/{competence-base.html => enum-base-competence.html} (100%) rename templates/{competence-carac-defaut.html => enum-caracteristiques.html} (100%) rename templates/{heures-select-option.html => enum-heures.html} (100%) delete mode 100644 templates/herbe-categorie.html delete mode 100644 templates/herbe-frequence.html delete mode 100644 templates/logger.html diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 2c01adb5..dd0d3be9 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -192,9 +192,9 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/item-nourritureboisson-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-signedraconique-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/item-possession-sheet.html', - 'systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html', - 'systems/foundryvtt-reve-de-dragon/templates/competence-base.html', // partial enums + 'systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html', + 'systems/foundryvtt-reve-de-dragon/templates/enum-base-competence.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-competence.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html', @@ -203,23 +203,13 @@ export class RdDUtility { '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-herbesoin-ingredient.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-niveau-ethylisme.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html', 'systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html', - // 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-astrologie-joueur.html', // Partials 'systems/foundryvtt-reve-de-dragon/templates/partial-description-overflow.html', 'systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.html', @@ -233,10 +223,20 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html', 'systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html', 'systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html', + // 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-astrologie-joueur.html', // Calendrier 'systems/foundryvtt-reve-de-dragon/templates/calendar-template.html', 'systems/foundryvtt-reve-de-dragon/templates/calendar-editor-template.html', - 'systems/foundryvtt-reve-de-dragon/templates/heures-select-option.html', // HUD 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.html', 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.html', diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 6b729301..04359277 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -163,7 +163,7 @@ diff --git a/templates/calendar-editor-template.html b/templates/calendar-editor-template.html index 5187c8b9..3636a705 100644 --- a/templates/calendar-editor-template.html +++ b/templates/calendar-editor-template.html @@ -11,7 +11,7 @@ @@ -29,7 +29,7 @@ diff --git a/templates/competence-base.html b/templates/enum-base-competence.html similarity index 100% rename from templates/competence-base.html rename to templates/enum-base-competence.html diff --git a/templates/competence-carac-defaut.html b/templates/enum-caracteristiques.html similarity index 100% rename from templates/competence-carac-defaut.html rename to templates/enum-caracteristiques.html diff --git a/templates/heures-select-option.html b/templates/enum-heures.html similarity index 100% rename from templates/heures-select-option.html rename to templates/enum-heures.html diff --git a/templates/herbe-categorie.html b/templates/herbe-categorie.html deleted file mode 100644 index 9faf1346..00000000 --- a/templates/herbe-categorie.html +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/templates/herbe-frequence.html b/templates/herbe-frequence.html deleted file mode 100644 index 667b2c76..00000000 --- a/templates/herbe-frequence.html +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/templates/item-competence-sheet.html b/templates/item-competence-sheet.html index 085a4386..c53a9274 100644 --- a/templates/item-competence-sheet.html +++ b/templates/item-competence-sheet.html @@ -35,7 +35,7 @@ {{#if isGM}} {{else}} @@ -46,7 +46,7 @@ diff --git a/templates/item-meditation-sheet.html b/templates/item-meditation-sheet.html index b8458404..1b7df6bf 100644 --- a/templates/item-meditation-sheet.html +++ b/templates/item-meditation-sheet.html @@ -22,7 +22,7 @@ diff --git a/templates/item-oeuvre-sheet.html b/templates/item-oeuvre-sheet.html index 0505dd6a..29b273da 100644 --- a/templates/item-oeuvre-sheet.html +++ b/templates/item-oeuvre-sheet.html @@ -12,7 +12,7 @@ diff --git a/templates/item-potion-sheet.html b/templates/item-potion-sheet.html index ba7515b6..177243c1 100644 --- a/templates/item-potion-sheet.html +++ b/templates/item-potion-sheet.html @@ -105,7 +105,7 @@ diff --git a/templates/item-sortreserve-sheet.html b/templates/item-sortreserve-sheet.html index 79c904f8..67b254f6 100644 --- a/templates/item-sortreserve-sheet.html +++ b/templates/item-sortreserve-sheet.html @@ -34,7 +34,7 @@ diff --git a/templates/logger.html b/templates/logger.html deleted file mode 100644 index 902e0c04..00000000 --- a/templates/logger.html +++ /dev/null @@ -1 +0,0 @@ -{{log 'HandleBars' this}} \ No newline at end of file