Carrieres pour gnomes
This commit is contained in:
parent
d6346b2859
commit
d7bc636714
@ -145,11 +145,13 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
|||||||
|
|
||||||
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) {
|
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 => {
|
fetch(file).then(r=>r.json()).then(records => {
|
||||||
let mycareer = records;
|
let mycareer = records;
|
||||||
|
game.wfrp4e.tables.career.columns = mycareer.columns;
|
||||||
for (let k=0; k<game.wfrp4e.tables.career.rows.length; k++) {
|
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 !!!
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -565,7 +565,7 @@
|
|||||||
"name": "Duelliste",
|
"name": "Duelliste",
|
||||||
"description": "",
|
"description": "",
|
||||||
"trappings": [
|
"trappings": [
|
||||||
"Main Gauche ou Brise-Epées",
|
"Main Gauche ou Brise-Epée",
|
||||||
"Pistolet avec poudre et munitions"
|
"Pistolet avec poudre et munitions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1469,7 +1469,7 @@
|
|||||||
"Fléau ou Arme Loude",
|
"Fléau ou Arme Loude",
|
||||||
"Arme à 1 main",
|
"Arme à 1 main",
|
||||||
"Filet ou Fouet",
|
"Filet ou Fouet",
|
||||||
"Bouclier ou Brise-Epées"
|
"Bouclier ou Brise-Epée"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "WH4-fr-translation",
|
"name": "WH4-fr-translation",
|
||||||
"title": "Traduction du module WH4 en Français.",
|
"title": "Traduction du module WH4 en Français.",
|
||||||
"description": "La traduction du module WH4.",
|
"description": "La traduction du module WH4.",
|
||||||
"version": "1.5.9",
|
"version": "1.5.10",
|
||||||
"minimumCoreVersion" : "0.7.1",
|
"minimumCoreVersion" : "0.7.1",
|
||||||
"compatibleCoreVersion": "0.7.9",
|
"compatibleCoreVersion": "0.7.9",
|
||||||
"author": "LeRatierBretonnien",
|
"author": "LeRatierBretonnien",
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user