Sync et support royaumes ogres
This commit is contained in:
parent
3a8535bc7e
commit
d8095a10c0
@ -162,6 +162,13 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
|
||||
if (game.user.isGM && chatFlag)
|
||||
ChatMessage.create( { title: "Module RNHD patché", content: "<strong>Le module RHND a été detecté et automatiquement patché.</strong>", whisper: ChatMessage.getWhisperRecipients("GM") } );
|
||||
}
|
||||
|
||||
if ( name == 'ogre-kingdom-wfrp4e' && module.active) {
|
||||
WH4FRPatchConfig.perform_ogrekingdom_patch();
|
||||
if (game.user.isGM && chatFlag)
|
||||
ChatMessage.create( { title: "Module Ogre-Kingdom patché", content: "<strong>Le module Ogre-Kingdom a été detecté et automatiquement patché.</strong>", whisper: ChatMessage.getWhisperRecipients("GM") } );
|
||||
}
|
||||
|
||||
if ( name == "wfrp4e-ew" && module.active && game.user.isGM && chatFlag) {
|
||||
ChatMessage.create( { title: "Module non compatible detecté !", content: "<strong>Vous avez le module EW (wfrp4e-ew ?) installé. Malheureusement, ce module n'est pas compatible avec" +
|
||||
" les traductions et vient casser le fonctionnement de la traduction. Veuillez recopier les compendiums dans votre monde, désactiver le module et re-démarrer le monde</strong>",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "WH4-fr-translation",
|
||||
"title": "Traduction du module WH4 en Français.",
|
||||
"description": "La traduction du module WH4.",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"minimumCoreVersion" : "0.7.1",
|
||||
"compatibleCoreVersion": "0.7.9",
|
||||
"author": "LeRatierBretonnien",
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
export class WH4FRPatchConfig {
|
||||
|
||||
/************************************************************************************/
|
||||
static perform_patch( ) {
|
||||
|
||||
// Detect and patch as necessary
|
||||
@ -20,8 +21,7 @@ export class WH4FRPatchConfig {
|
||||
"doigts de fée": "dex",
|
||||
"guerrier né": "ws"
|
||||
}
|
||||
game.wfrp4e.config.speciesSkills = {
|
||||
"human": [
|
||||
game.wfrp4e.config.speciesSkills["human"] = [
|
||||
"Soins aux animaux",
|
||||
"Charme",
|
||||
"Calme",
|
||||
@ -34,8 +34,8 @@ export class WH4FRPatchConfig {
|
||||
"Savoir (Reikland)",
|
||||
"Corps à corps (Base)",
|
||||
"Projectiles (Arc)"
|
||||
],
|
||||
"dwarf": [
|
||||
];
|
||||
game.wfrp4e.config.speciesSkills["dwarf"] = [
|
||||
"Résistance à l'alcool",
|
||||
"Calme",
|
||||
"Résistance",
|
||||
@ -48,8 +48,8 @@ export class WH4FRPatchConfig {
|
||||
"Savoir (Metallurgie)",
|
||||
"Corps à corps (Base)",
|
||||
"Métier (Au choix)"
|
||||
],
|
||||
"halfling": [
|
||||
];
|
||||
game.wfrp4e.config.speciesSkills["halfling"] = [
|
||||
"Charme",
|
||||
"Résistance à l'alcool",
|
||||
"Esquive",
|
||||
@ -62,8 +62,8 @@ export class WH4FRPatchConfig {
|
||||
"Escamotage",
|
||||
"Discrétion (Au choix)",
|
||||
"Métier (Cuisinier)"
|
||||
],
|
||||
"helf": [
|
||||
];
|
||||
game.wfrp4e.config.speciesSkills["helf"] = [
|
||||
"Calme",
|
||||
"Divertissement (Chant)",
|
||||
"Evaluation",
|
||||
@ -76,8 +76,9 @@ export class WH4FRPatchConfig {
|
||||
"Projectiles (Arc)",
|
||||
"Voile",
|
||||
"Natation"
|
||||
],
|
||||
"welf": [
|
||||
];
|
||||
|
||||
game.wfrp4e.config.speciesSkills["welf"] = [
|
||||
"Athlétisme",
|
||||
"Escalade",
|
||||
"Résistance",
|
||||
@ -90,53 +91,48 @@ export class WH4FRPatchConfig {
|
||||
"Projectiles (Arc)",
|
||||
"Discrétion (Rural)",
|
||||
"Pistage"
|
||||
],
|
||||
}
|
||||
game.wfrp4e.config.speciesTalents = {
|
||||
"human": [
|
||||
"Destinée",
|
||||
"Affable, Perspicace",
|
||||
3
|
||||
],
|
||||
"dwarf": [
|
||||
];
|
||||
game.wfrp4e.config.speciesTalents["human"] = [
|
||||
"Destinée",
|
||||
"Affable, Perspicace",
|
||||
3
|
||||
]
|
||||
game.wfrp4e.config.speciesTalents["dwarf"] = [
|
||||
"Résistance à la Magie",
|
||||
"Vision Nocturne",
|
||||
"Lire/Ecrire, Impitoyable",
|
||||
"Déterminé, Obstiné",
|
||||
"Costaud",
|
||||
0
|
||||
],
|
||||
"halfling": [
|
||||
]
|
||||
game.wfrp4e.config.speciesTalents["halfling"] = [
|
||||
"Sens Aiguisé (Gout)",
|
||||
"Vision Nocturne",
|
||||
"Résistant (Chaos)",
|
||||
"Petit",
|
||||
2
|
||||
],
|
||||
"helf": [
|
||||
];
|
||||
game.wfrp4e.config.speciesTalents["helf"] = [
|
||||
"Sens Aiguisé (Vue)",
|
||||
"Imperturbable, Perspicace",
|
||||
"Vision Nocturne",
|
||||
"Seconde Vue, Sixième Sens",
|
||||
"Lire/Ecrire",
|
||||
0
|
||||
],
|
||||
"welf": [
|
||||
]
|
||||
game.wfrp4e.config.speciesTalents["welf"] = [
|
||||
"Sens Aiguisé (Vue)",
|
||||
"Dur à cuire, Seconde Vue",
|
||||
"Vision Nocturne",
|
||||
"Nomade",
|
||||
"Lire/Ecrire, Très Résistant",
|
||||
0
|
||||
],
|
||||
}
|
||||
game.wfrp4e.config.species = {
|
||||
"human": "Humain",
|
||||
"dwarf": "Nain",
|
||||
"halfling": "Halfling",
|
||||
"helf": "Haut Elfe",
|
||||
"welf": "Elfe Sylvain"
|
||||
}
|
||||
]
|
||||
game.wfrp4e.config.species["human"] = "Humain";
|
||||
game.wfrp4e.config.species["dwarf"] = "Nain";
|
||||
game.wfrp4e.config.species["halfling"] = "Halfling";
|
||||
game.wfrp4e.config.species["helf"] = "Haut Elfe";
|
||||
game.wfrp4e.config.species["welf"] = "Elfe Sylvain";
|
||||
|
||||
game.wfrp4e.config.statusEffects = [
|
||||
{
|
||||
@ -1058,6 +1054,41 @@ export class WH4FRPatchConfig {
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
static perform_ogrekingdom_patch () {
|
||||
|
||||
WFRP4E.speciesSkills["ogre"] = [
|
||||
"Résistance à l'alcool",
|
||||
"Calme",
|
||||
"Résistance",
|
||||
"Parier",
|
||||
"Intimidation",
|
||||
"Langue (Au choix)",
|
||||
"Langue (Grumbarth)",
|
||||
"Langue (Mootland)",
|
||||
"Savoir (Ogres)",
|
||||
"Corps à corps (Base)",
|
||||
"Corps à corps (Bagarre)",
|
||||
"Métier (Cuisiner)",
|
||||
]
|
||||
|
||||
WFRP4E.speciesTalents["ogre"] = [
|
||||
"Sens aiguisé (Odorat), Sens aiguisé (Goût)",
|
||||
"Résistance (Mutation), Obstiné",
|
||||
"Vision nocturne",
|
||||
"Très résistant, Très fort",
|
||||
"Seconde vue, Sixième sens",
|
||||
"Trait - Morsure",
|
||||
"Trait - Taille (Grand)",
|
||||
"Psychologie - Faim d'Ogre",
|
||||
"Psychologie - Met favori (Cible)",
|
||||
"Trait de tribu d'ogre (Au choix)",
|
||||
0
|
||||
]
|
||||
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
static perform_rnhd_patch() {
|
||||
game.wfrp4e.config.species['gnome'] = 'Gnome';
|
||||
game.wfrp4e.config.speciesSkills["gnome"] = [
|
||||
|
Loading…
Reference in New Issue
Block a user