Prepare for official content

This commit is contained in:
2020-11-05 21:53:12 +01:00
parent 9fa2e404f4
commit d29f9ba1f5
3 changed files with 173 additions and 9 deletions

View File

@ -174,7 +174,7 @@ const _manage_inn_roll = async (content, msg) => {
let command = content.split(" ").map(function(item) {
return item.trim();
})
console.log(WFRP_Tables["talents"]);
console.log(game.wfrp4e.tables["talents"]);
if (command[0] == "/auberge" && command[1] )
{
@ -307,7 +307,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
}
}
});
WFRP4E.speciesSkills["gnome"] = [
game.wfrp4e.config.speciesSkills["gnome"] = [
"Focalisation (Ulgu)",
"Charme",
"Résistance à l'alcool",
@ -321,7 +321,7 @@ const __check_fix_wrong_modules = ( chatFlag, patchFinished ) => {
"Survie en extérieur",
"Discrétion (Au choix)"
];
WFRP4E.speciesTalents["gnome"] = [
game.wfrp4e.config.speciesTalents["gnome"] = [
"Insignifiant, Imprégné avec Uglu",
"Chance, Imitation",
"Vision Nocturne",
@ -421,6 +421,9 @@ Hooks.once('ready', () => {
if ( name == "wfrp4e-content" && module.active) {
compmod = "wfrp4e-content";
}
if ( name == "wfrp4e-core" && module.active) {
compmod = "wfrp4e-core";
}
} );
__auto_patch_translation_journal_compendium( compmod )
/* Uncomment this to auto-create the translation tables