From a5b784ac038b11d47deef9767adba70f22c4aa94 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 12 Sep 2022 20:42:19 +0200 Subject: [PATCH] Fix pur v9 --- babele-register.js | 2 +- compendium/wfrp4e-core.careers.json | 2 +- module.json | 99 ++++++++++++----------------- 3 files changed, 43 insertions(+), 60 deletions(-) diff --git a/babele-register.js b/babele-register.js index 53e1e77..23759a4 100644 --- a/babele-register.js +++ b/babele-register.js @@ -2,7 +2,7 @@ import statParserFR from "./modules/import-stat-2.js"; /************************************************************************************/ -var compmod = "wfrp4e"; +var compmod = "wfrp4e-core"; const vo_conditions = { "ablaze": "Ablaze", "bleeding": "Bleeding", diff --git a/compendium/wfrp4e-core.careers.json b/compendium/wfrp4e-core.careers.json index 0603e74..290fee4 100644 --- a/compendium/wfrp4e-core.careers.json +++ b/compendium/wfrp4e-core.careers.json @@ -17,7 +17,7 @@ "path": "data.careergroup.value", "converter": "career_careergroup" }, - "trappings": "data.trappings" + "trappings": "system.trappings" }, "entries": [ { diff --git a/module.json b/module.json index 8dc2532..6e20d0c 100644 --- a/module.json +++ b/module.json @@ -1,31 +1,28 @@ { - "id": "wh4-fr-translation", - "name": "wh4-fr-translation", "title": "WFRP4e - Core Module en français.", "description": "Traduction Française pour Warhammer v4.", - "authors": [ {"name":"LeRatierBretonnien" }], + "authors": [ + { + "name": "LeRatierBretonnien", + "flags": {} + } + ], "url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr", - "flags": {}, - "version": "6.1.7", - "compatibility": { - "minimum": "9.280", - "verified": "10.285", - "maximum": "10" - }, - "minimumCoreVersion": "9", - "compatibleCoreVersion": "9", - "scripts": [], + "version": "6.1.8", "esmodules": [ "babele-register.js", "addon-register.js", "modules/import-stat-2.js" ], - "styles": ["patch-styles.css"], + "styles": [ + "patch-styles.css" + ], "languages": [ { "lang": "fr", "name": "Français", - "path": "fr.json" + "path": "fr.json", + "flags": {} } ], "packs": [ @@ -35,8 +32,8 @@ "name": "plats-dauberges", "path": "packs/plats-dauberges.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Dons de Rhya", @@ -44,8 +41,8 @@ "name": "dons-de-rhya", "path": "packs/dons-de-rhya.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Carrières FR", @@ -53,8 +50,8 @@ "name": "carriere-fr", "path": "packs/carriere-fr.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Sorts FR", @@ -62,8 +59,8 @@ "name": "sort-fr", "path": "packs/sort-fr.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Aides de Jeu FR", @@ -71,8 +68,8 @@ "name": "aides-de-jeu-fr", "path": "packs/aides-de-jeu-fr.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Potions : Drogues et Sédatifs", @@ -80,8 +77,8 @@ "name": "drogues-and-sedatifs", "path": "packs/drogues-and-sedatifs.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Potions : Pansements et Cataplasmes", @@ -89,8 +86,8 @@ "name": "pansements-and-cataplasmes", "path": "packs/pansements-and-cataplasmes.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Potions : Poisons et Toxiques", @@ -98,8 +95,8 @@ "name": "poisons-and-toxiques", "path": "packs/poisons-and-toxiques.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Potions : Potions et Décoctions", @@ -107,8 +104,8 @@ "name": "potions-and-decoctions", "path": "packs/potions-and-decoctions.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Potions : Antidotes et Remèdes", @@ -116,8 +113,8 @@ "name": "antidotes-and-remedes", "path": "packs/antidotes-and-remedes.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Tables des Traductions", @@ -125,8 +122,8 @@ "name": "tables-des-traductions", "path": "packs/tables-des-traductions.db", "system": "wfrp4e", - "module": "Wwh4H4-fr-translation", - "private": false + "private": false, + "flags": {} }, { "label": "Apothicarium", @@ -134,27 +131,13 @@ "name": "apothicarium", "path": "packs/apothicarium.db", "system": "wfrp4e", - "module": "wh4-fr-translation", - "private": false + "private": false, + "flags": {} } ], - "relationships": { - "systems": [{ - "id": "wfrp4e", - "type": "system", - "compatibility": { - "verified": "6.1.1" - } - }], - "requires": [{ - "id": "babele", - "type": "module" - }] - }, - "socket": false, "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.7.zip", - "protected": false, - "coreTranslation": false, - "library": false -} + "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.1.8.zip", + "id": "wh4-fr-translation", + "minimumCoreVersion": "0.8.0", + "compatibleCoreVersion": "9" +} \ No newline at end of file