Add babele JSON files
This commit is contained in:
@ -36,7 +36,6 @@ Hooks.once('init', async function () {
|
||||
BoLUtility.onSocketMessage(sockmsg);
|
||||
})
|
||||
|
||||
|
||||
/**
|
||||
* Set an initiative formula for the system
|
||||
* @type {String}
|
||||
@ -45,7 +44,7 @@ Hooks.once('init', async function () {
|
||||
formula: "2d6+@attributes.mind.value+@aptitudes.init.value",
|
||||
decimals: 2
|
||||
};
|
||||
|
||||
|
||||
// Define custom Entity classes
|
||||
CONFIG.Actor.documentClass = BoLActor;
|
||||
CONFIG.Item.documentClass = BoLItem;
|
||||
@ -65,7 +64,7 @@ Hooks.once('init', async function () {
|
||||
BoLTokenHud.init()
|
||||
BoLHotbar.init()
|
||||
BoLCommands.init()
|
||||
|
||||
|
||||
// Preload Handlebars Templates
|
||||
await preloadHandlebarsTemplates();
|
||||
|
||||
@ -75,6 +74,10 @@ Hooks.once('init', async function () {
|
||||
// Register hooks
|
||||
registerHooks()
|
||||
|
||||
if (typeof Babele !== 'undefined') {
|
||||
Babele.get().setSystemTranslationsDir("compendiums");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
@ -98,10 +101,10 @@ Hooks.once('ready', async function () {
|
||||
|
||||
BoLUtility.ready()
|
||||
|
||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => {
|
||||
console.log("ClassCounter loaded", moduleCounter)
|
||||
moduleCounter.ClassCounter.registerUsageCount()
|
||||
}).catch(err=>
|
||||
}).catch(err =>
|
||||
console.log("No stats available, giving up.")
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user