Sync with latest changees
This commit is contained in:
@ -154,6 +154,8 @@ class ActorWfrp4e_fr extends ActorWfrp4e {
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
var compmod = "wfrp4e";
|
||||
|
||||
/************************************************************************************/
|
||||
Hooks.once('init', () => {
|
||||
@ -294,12 +296,13 @@ Hooks.once('init', () => {
|
||||
}
|
||||
|
||||
// Check various settings in the installation
|
||||
let compmod = "wfrp4e"
|
||||
|
||||
game.modules.forEach((module, name) => {
|
||||
if ( name == "wfrp4e-content" && module.active) {
|
||||
compmod = "wfrp4e-content";
|
||||
}
|
||||
} );
|
||||
console.log("!!!!!!!!!! COMPMOD TRANSLATETD - ", compmod );
|
||||
|
||||
// Babele stuff
|
||||
if(typeof Babele !== 'undefined') {
|
||||
@ -397,6 +400,7 @@ Hooks.once('init', () => {
|
||||
var fullprayers = game.packs.get(compmod+'.prayers');
|
||||
var eisitems = game.packs.get('eis.eisitems');
|
||||
var eisspells = game.packs.get('eis.eisspells');
|
||||
console.log("Comp :", compmod, fulltraits);
|
||||
|
||||
for (let trait_en of beast_traits)
|
||||
{
|
||||
|
Reference in New Issue
Block a user