Setup new compendiums
This commit is contained in:
parent
f82352f4f0
commit
e25371eec7
@ -279,18 +279,18 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
||||
if ( name == "wfrp4e-rnhd" && module.active ) {
|
||||
game.wfrp4e.tables.career.name = "Carrières aléatoires";
|
||||
|
||||
FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
/*FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
for (var file of resp.files) {
|
||||
if ( file.match("career.json") ) {
|
||||
fetch(file).then(r=>r.json()).then(records => {
|
||||
let mycareer = records;
|
||||
for (let k=0; k<WFRP_Tables.career.rows.length; k++) {
|
||||
for (let k=0; k<game.wfrp4e.config.career.rows.length; k++) {
|
||||
WFRP_Tables.career.rows[k].name = mycareer.rows[k].name; // Patch !!!
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
game.wfrp4e.config.speciesSkills["gnome"] = [
|
||||
"Focalisation (Ulgu)",
|
||||
"Charme",
|
||||
|
Loading…
Reference in New Issue
Block a user