From 96b49682c90c46647c929e0b68e165b0410d7982 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 12 Sep 2022 21:05:44 +0200 Subject: [PATCH] v10 release --- babele-register.js | 4 +-- compendium/divine-careers.Divine-Careers.json | 2 +- compendium/wfrp4e-core.bestiary.json | 2 +- compendium/wfrp4e-core.careers.json | 8 +++--- compendium/wfrp4e-core.criticals.json | 2 +- compendium/wfrp4e-core.diseases.json | 14 +++++----- compendium/wfrp4e-core.injuries.json | 4 +-- compendium/wfrp4e-core.prayers.json | 8 +++--- compendium/wfrp4e-core.spells.json | 8 +++--- compendium/wfrp4e-core.talents.json | 2 +- compendium/wfrp4e-core.trappings.json | 6 ++--- compendium/wfrp4e-dotr.dotr-items.json | 8 +++--- compendium/wfrp4e-eis.eisitems.json | 10 +++---- compendium/wfrp4e-eis.eisspells.json | 8 +++--- compendium/wfrp4e-eis.expandedmutations.json | 4 +-- compendium/wfrp4e-rnhd.rnhd-items.json | 10 +++---- .../wfrp4e-starter-set.starter-set-items.json | 26 +++++++++---------- ...cial-grimoire.ug-careerstalentstraits.json | 8 +++--- ...rp4e-unofficial-grimoire.ug-creatures.json | 2 +- .../wfrp4e-unofficial-grimoire.ug-spells.json | 8 +++--- module.json | 10 ++++--- 21 files changed, 78 insertions(+), 76 deletions(-) diff --git a/babele-register.js b/babele-register.js index 23759a4..6cf3fda 100644 --- a/babele-register.js +++ b/babele-register.js @@ -25,8 +25,8 @@ const vo_conditions = { Hooks.once('init', () => { // Check various settings in the installation - game.modules.forEach((module, name) => { - if ( name == "wfrp4e-core" && module.active) { + game.modules.forEach((module, id) => { + if ( id == "wfrp4e-core" && module.active) { compmod = "wfrp4e-core"; } } ); diff --git a/compendium/divine-careers.Divine-Careers.json b/compendium/divine-careers.Divine-Careers.json index 4cfa46d..59d8350 100644 --- a/compendium/divine-careers.Divine-Careers.json +++ b/compendium/divine-careers.Divine-Careers.json @@ -17,7 +17,7 @@ "path": "data.careergroup.value", "converter": "career_careergroup" }, - "trappings": "data.trappings" + "trappings": "system.trappings" }, "entries": [ { diff --git a/compendium/wfrp4e-core.bestiary.json b/compendium/wfrp4e-core.bestiary.json index a3755ec..ca6d1b7 100644 --- a/compendium/wfrp4e-core.bestiary.json +++ b/compendium/wfrp4e-core.bestiary.json @@ -6,7 +6,7 @@ "converter": "bestiary_traits" }, "characteristics": { - "path": "data.characteristics", + "path": "system.characteristics", "converter": "npc_characteristics" } }, diff --git a/compendium/wfrp4e-core.careers.json b/compendium/wfrp4e-core.careers.json index 290fee4..32b9223 100644 --- a/compendium/wfrp4e-core.careers.json +++ b/compendium/wfrp4e-core.careers.json @@ -2,19 +2,19 @@ "label": "Carrières", "mapping": { "skills": { - "path": "data.skills", + "path": "system.skills", "converter": "career_skills" }, "talents": { - "path": "data.talents", + "path": "system.talents", "converter": "career_talents" }, "class": { - "path": "data.class.value", + "path": "system.class.value", "converter": "generic_localization" }, "careergroup": { - "path": "data.careergroup.value", + "path": "system.careergroup.value", "converter": "career_careergroup" }, "trappings": "system.trappings" diff --git a/compendium/wfrp4e-core.criticals.json b/compendium/wfrp4e-core.criticals.json index b358e4e..5ac7734 100644 --- a/compendium/wfrp4e-core.criticals.json +++ b/compendium/wfrp4e-core.criticals.json @@ -3,7 +3,7 @@ "mapping": { "location": { "converter": "generic_localization", - "path": "data.location.value" + "path": "system.location.value" }, "effects": "effects" }, diff --git a/compendium/wfrp4e-core.diseases.json b/compendium/wfrp4e-core.diseases.json index ecc270f..1003ce3 100644 --- a/compendium/wfrp4e-core.diseases.json +++ b/compendium/wfrp4e-core.diseases.json @@ -1,12 +1,12 @@ { "mapping": { - "durationValue": "data.duration.value", - "durationUnit": "data.duration.unit", - "contraction": "data.contraction.value", - "incubationValue": "data.incubation.value", - "incubationUnit": "data.incubation.unit", - "symptoms": "data.symptoms.value", - "permanent": "data.permanent.value", + "durationValue": "system.duration.value", + "durationUnit": "system.duration.unit", + "contraction": "system.contraction.value", + "incubationValue": "system.incubation.value", + "incubationUnit": "system.incubation.unit", + "symptoms": "system.symptoms.value", + "permanent": "system.permanent.value", "effects": "effects" }, "label": "Maladies", diff --git a/compendium/wfrp4e-core.injuries.json b/compendium/wfrp4e-core.injuries.json index 113f119..1f953eb 100644 --- a/compendium/wfrp4e-core.injuries.json +++ b/compendium/wfrp4e-core.injuries.json @@ -1,9 +1,9 @@ { "label": "Blessures", "mapping": { - "penalty": "data.penalty.value", + "penalty": "system.penalty.value", "location": { - "path": "data.location.value", + "path": "system.location.value", "converter": "generic_localization" }, "effects": "effects" diff --git a/compendium/wfrp4e-core.prayers.json b/compendium/wfrp4e-core.prayers.json index b3e3aa4..6e89717 100644 --- a/compendium/wfrp4e-core.prayers.json +++ b/compendium/wfrp4e-core.prayers.json @@ -2,19 +2,19 @@ "label": "Prières", "mapping": { "pduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "prange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "ptarget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "pdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" }, "effects": "effects" diff --git a/compendium/wfrp4e-core.spells.json b/compendium/wfrp4e-core.spells.json index 32e0359..68530c1 100644 --- a/compendium/wfrp4e-core.spells.json +++ b/compendium/wfrp4e-core.spells.json @@ -2,19 +2,19 @@ "label": "Sorts", "mapping": { "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" }, "effects": "effects" diff --git a/compendium/wfrp4e-core.talents.json b/compendium/wfrp4e-core.talents.json index 1d105fd..e2611a6 100644 --- a/compendium/wfrp4e-core.talents.json +++ b/compendium/wfrp4e-core.talents.json @@ -1,7 +1,7 @@ { "label": "Talents", "mapping": { - "tests": "data.tests.value", + "tests": "system.tests.value", "effects": "effects" }, "entries": [ diff --git a/compendium/wfrp4e-core.trappings.json b/compendium/wfrp4e-core.trappings.json index f94f22c..bd55845 100644 --- a/compendium/wfrp4e-core.trappings.json +++ b/compendium/wfrp4e-core.trappings.json @@ -1,13 +1,13 @@ { "label": "Equipement", "mapping": { - "special": "data.special.value", + "special": "system.special.value", "qualities": { - "path": "data.qualities.value", + "path": "system.qualities.value", "converter": "trapping_qualities_flaws" }, "flaws": { - "path": "data.flaws.value", + "path": "system.flaws.value", "converter": "trapping_qualities_flaws" }, "effects": "effects" diff --git a/compendium/wfrp4e-dotr.dotr-items.json b/compendium/wfrp4e-dotr.dotr-items.json index 52eda49..c23aecd 100644 --- a/compendium/wfrp4e-dotr.dotr-items.json +++ b/compendium/wfrp4e-dotr.dotr-items.json @@ -2,19 +2,19 @@ "label": "Items (Death on the Reik)", "mapping": { "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" } }, diff --git a/compendium/wfrp4e-eis.eisitems.json b/compendium/wfrp4e-eis.eisitems.json index ee7a371..97c4bfb 100644 --- a/compendium/wfrp4e-eis.eisitems.json +++ b/compendium/wfrp4e-eis.eisitems.json @@ -2,22 +2,22 @@ "label": "Items Ennemis Intérieur", "mapping": { "skills": { - "path": "data.skills", + "path": "system.skills", "converter": "career_skills" }, "talents": { - "path": "data.talents", + "path": "system.talents", "converter": "career_talents" }, "class": { - "path": "data.class.value", + "path": "system.class.value", "converter": "generic_localization" }, "careergroup": { - "path": "data.careergroup.value", + "path": "system.careergroup.value", "converter": "career_careergroup" }, - "trappings": "data.trappings" + "trappings": "system.trappings" }, "entries": [ { diff --git a/compendium/wfrp4e-eis.eisspells.json b/compendium/wfrp4e-eis.eisspells.json index 4d576e2..d6c56c5 100644 --- a/compendium/wfrp4e-eis.eisspells.json +++ b/compendium/wfrp4e-eis.eisspells.json @@ -2,19 +2,19 @@ "label": "Sorts Ennemi Intérieur", "mapping": { "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" }, "effets": "effects" diff --git a/compendium/wfrp4e-eis.expandedmutations.json b/compendium/wfrp4e-eis.expandedmutations.json index 70195bf..e2aa119 100644 --- a/compendium/wfrp4e-eis.expandedmutations.json +++ b/compendium/wfrp4e-eis.expandedmutations.json @@ -2,11 +2,11 @@ "label": "Mutations Supplémentaires", "mappings": { "modifier": { - "path": "data.modifier.value", + "path": "system.modifier.value", "converter": "mutations_modifier" }, "mutationType": { - "path": "data.mutationType.value", + "path": "system.mutationType.value", "converter": "generic_localization" } }, diff --git a/compendium/wfrp4e-rnhd.rnhd-items.json b/compendium/wfrp4e-rnhd.rnhd-items.json index 8f1d784..bb6a493 100644 --- a/compendium/wfrp4e-rnhd.rnhd-items.json +++ b/compendium/wfrp4e-rnhd.rnhd-items.json @@ -2,22 +2,22 @@ "label": "Items Rough Nights & Hard Days", "mapping": { "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" }, - "tests": "data.tests.value" + "tests": "system.tests.value" }, "entries": [ { diff --git a/compendium/wfrp4e-starter-set.starter-set-items.json b/compendium/wfrp4e-starter-set.starter-set-items.json index 34c8825..ddfb446 100644 --- a/compendium/wfrp4e-starter-set.starter-set-items.json +++ b/compendium/wfrp4e-starter-set.starter-set-items.json @@ -1,35 +1,35 @@ { "label": "Items Starter Set", "mapping": { - "gmdescription": "data.gmdescription.value", - "duration": "data.duration.value", - "contraction": "data.contraction.value", - "incubation": "data.incubation.value", - "symptoms": "data.symptoms.value", - "permanent": "data.permanent.value", - "special": "data.special.value", + "gmdescription": "system.gmdescription.value", + "duration": "system.duration.value", + "contraction": "system.contraction.value", + "incubation": "system.incubation.value", + "symptoms": "system.symptoms.value", + "permanent": "system.permanent.value", + "special": "system.special.value", "qualities": { - "path": "data.qualities.value", + "path": "system.qualities.value", "converter": "trapping_qualities_flaws" }, "flaws": { - "path": "data.flaws.value", + "path": "system.flaws.value", "converter": "trapping_qualities_flaws" }, "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" } }, diff --git a/compendium/wfrp4e-unofficial-grimoire.ug-careerstalentstraits.json b/compendium/wfrp4e-unofficial-grimoire.ug-careerstalentstraits.json index d39460a..e0b3aaf 100644 --- a/compendium/wfrp4e-unofficial-grimoire.ug-careerstalentstraits.json +++ b/compendium/wfrp4e-unofficial-grimoire.ug-careerstalentstraits.json @@ -2,18 +2,18 @@ "label": "UG - Carrières", "mapping": { "skills": { - "path": "data.skills", + "path": "system.skills", "converter": "career_skills" }, "talents": { - "path": "data.talents", + "path": "system.talents", "converter": "career_talents" }, "class": { - "path": "data.class.value", + "path": "system.class.value", "converter": "generic_localization" }, - "careergroup": "data.careergroup.value", + "careergroup": "system.careergroup.value", "trappings": "data.trappings" }, "entries": [ diff --git a/compendium/wfrp4e-unofficial-grimoire.ug-creatures.json b/compendium/wfrp4e-unofficial-grimoire.ug-creatures.json index b8c9e26..6b133a6 100644 --- a/compendium/wfrp4e-unofficial-grimoire.ug-creatures.json +++ b/compendium/wfrp4e-unofficial-grimoire.ug-creatures.json @@ -6,7 +6,7 @@ "converter": "bestiary_traits" }, "characteristics": { - "path": "data.characteristics", + "path": "system.characteristics", "converter": "npc_characteristics" } }, diff --git a/compendium/wfrp4e-unofficial-grimoire.ug-spells.json b/compendium/wfrp4e-unofficial-grimoire.ug-spells.json index 0e70f01..eac575d 100644 --- a/compendium/wfrp4e-unofficial-grimoire.ug-spells.json +++ b/compendium/wfrp4e-unofficial-grimoire.ug-spells.json @@ -2,19 +2,19 @@ "label": "UG - Sorts", "mapping": { "sduration": { - "path": "data.duration.value", + "path": "system.duration.value", "converter": "spells_duration_range_target_damage" }, "srange": { - "path": "data.range.value", + "path": "system.range.value", "converter": "spells_duration_range_target_damage" }, "starget": { - "path": "data.target.value", + "path": "system.target.value", "converter": "spells_duration_range_target_damage" }, "sdamage": { - "path": "data.damage.value", + "path": "system.damage.value", "converter": "spells_duration_range_target_damage" } }, diff --git a/module.json b/module.json index 6e20d0c..72510a9 100644 --- a/module.json +++ b/module.json @@ -8,7 +8,7 @@ } ], "url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr", - "version": "6.1.8", + "version": "6.2.0", "esmodules": [ "babele-register.js", "addon-register.js", @@ -136,8 +136,10 @@ } ], "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v4/module.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.1.8.zip", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.2.0.zip", "id": "wh4-fr-translation", - "minimumCoreVersion": "0.8.0", - "compatibleCoreVersion": "9" + "compatibility": { + "minimum": "10", + "verified": "10.285" + } } \ No newline at end of file