From a64ff7dd55bb3d49c411a39cbe8885429af8384a Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 2 Oct 2022 08:58:44 +0200 Subject: [PATCH] Fix v10 datapath --- addon-register.js | 6 +++--- compendium/divine-careers.Divine-Careers.json | 8 ++++---- compendium/divine-careers.Trappings.json | 6 +++--- compendium/wfrp4e-core.mutations.json | 4 ++-- module.json | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/addon-register.js b/addon-register.js index 08ca4d2..31256c8 100644 --- a/addon-register.js +++ b/addon-register.js @@ -279,17 +279,17 @@ const __add_actors_translation = () => { "label": metadata.name, "mapping": { "name": "name", - "description": "details.biography.value", + "description": "system.biography.value", "items": { "path": "items", "converter": "bestiary_traits" }, "characteristics": { - "path": "data.characteristics", + "path": "system.characteristics", "converter": "npc_characteristics" }, "details": { - "path": "data.details", + "path": "system.details", "converter": "npc_details" } }, diff --git a/compendium/divine-careers.Divine-Careers.json b/compendium/divine-careers.Divine-Careers.json index 59d8350..87b87bc 100644 --- a/compendium/divine-careers.Divine-Careers.json +++ b/compendium/divine-careers.Divine-Careers.json @@ -2,19 +2,19 @@ "label": "Carrières Religieuses", "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": "dasystemta.class.value", "converter": "generic_localization" }, "careergroup": { - "path": "data.careergroup.value", + "path": "system.careergroup.value", "converter": "career_careergroup" }, "trappings": "system.trappings" diff --git a/compendium/divine-careers.Trappings.json b/compendium/divine-careers.Trappings.json index ab1fd49..5b3a71d 100644 --- a/compendium/divine-careers.Trappings.json +++ b/compendium/divine-careers.Trappings.json @@ -1,13 +1,13 @@ { "label": "Objets Religieux", "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" } }, diff --git a/compendium/wfrp4e-core.mutations.json b/compendium/wfrp4e-core.mutations.json index bb3665e..7f8c400 100644 --- a/compendium/wfrp4e-core.mutations.json +++ b/compendium/wfrp4e-core.mutations.json @@ -2,11 +2,11 @@ "label": "Mutations", "mapping": { "modifier": { - "path": "data.modifier.value", + "path": "system.modifier.value", "converter": "mutations_modifier" }, "mutationType": { - "path": "data.mutationType.value", + "path": "system.mutationType.value", "converter": "generic_localization" }, "effects": { diff --git a/module.json b/module.json index aa59054..245f186 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.2.4", + "version": "6.2.5", "esmodules": [ "babele-register.js", "addon-register.js", @@ -136,7 +136,7 @@ } ], "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v10/module.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.2.4.zip", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.2.5.zip", "id": "wh4-fr-translation", "compatibility": { "minimum": "10",