Ajout des possessions de classe dans la création de personnage #91

Merged
uberwald merged 1 commits from :class-trappings into v10 2023-09-12 18:25:05 +02:00
2 changed files with 17 additions and 6 deletions

15
fr.json
View File

@ -1523,14 +1523,19 @@
"Academics": "Lettrés", "Academics": "Lettrés",
"Academic": "Lettré", "Academic": "Lettré",
"Burgher": "Citadins", "Burghers": "Citadins",
"Burgher": "Citadin",
"Rogues": "Roublards", "Rogues": "Roublards",
"Rogue": "Roublard",
"Riverfolk": "Riverains", "Riverfolk": "Riverains",
"Peasants": "Ruraux", "Peasants": "Ruraux",
"Peasant": "Ruraux", "Peasant": "Rural",
"Warrior": "Guerriers", "Warriors": "Guerriers",
"Ranger": "Itinérants", "Warrior": "Guerrier",
"Courtier": "Courtisans", "Rangers": "Itinérants",
"Ranger": "Itinérant",
"Courtiers": "Courtisans",
"Courtier": "Courtisan",
"Calvalry": "Cavalerie", "Calvalry": "Cavalerie",
"Flail": "Fléau", "Flail": "Fléau",

View File

@ -176,6 +176,12 @@ export class WH4FRPatchConfig {
game.wfrp4e.config.species["welf"] = "Elfe Sylvain"; game.wfrp4e.config.species["welf"] = "Elfe Sylvain";
} }
if (game.wfrp4e.config.classTrappings) {
for(const c of Object.keys(game.wfrp4e.config.classTrappings)) {
game.wfrp4e.config.classTrappings[game.i18n.localize(c)] = game.wfrp4e.config.classTrappings[c];
}
}
this.patch_species_skills(); this.patch_species_skills();
this.patch_species_talents(); this.patch_species_talents();
this.patch_subspecies(); this.patch_subspecies();