Carrieres pour gnomes
This commit is contained in:
@ -145,11 +145,13 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
||||
|
||||
FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
|
||||
for (var file of resp.files) {
|
||||
if ( file.match("career.json") ) {
|
||||
if ( file.match("career_gnome.json") ) {
|
||||
fetch(file).then(r=>r.json()).then(records => {
|
||||
let mycareer = records;
|
||||
game.wfrp4e.tables.career.columns = mycareer.columns;
|
||||
for (let k=0; k<game.wfrp4e.tables.career.rows.length; k++) {
|
||||
game.wfrp4e.tables.career.rows[k].name = mycareer.rows[k].name; // Patch !!!
|
||||
game.wfrp4e.tables.career.rows[k].range = mycareer.rows[k].range;
|
||||
game.wfrp4e.tables.career.rows[k].name = mycareer.rows[k].name; // Patch !!!
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user