Setup new compendiums

This commit is contained in:
sladecraven 2020-11-05 23:14:01 +01:00
parent 44a2a9161f
commit 8cb8b2257e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
/************************************************************************************/
import WFRP_Tables from "/systems/wfrp4e/system/tables-wfrp4e.js";
import WFRP4E from "./modules/system/config-wfrp4e.js";
/************************************************************************************/
const _patch_eis = () => {
@ -269,7 +272,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json"));
if ( __wfrp4e_tables[filename] == 1 ) { // Matching table name -> patch !
fetch(file).then(r=>r.json()).then(records => {
game.wfrp4e.tables[filename] = records;
WFRP_Tables[filename] = records;
});
}
}

View File

@ -3,7 +3,7 @@
"name": "WH4-fr-translation",
"title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.",
"version": "1.3.2",
"version": "1.3.3",
"minimumCoreVersion" : "0.6.6",
"compatibleCoreVersion": "1.0.0",
"author": "LeRatierBretonnien",