Ajout du modèle de données pour les rencontres.

This commit is contained in:
ZigmundKreud
2022-01-05 22:46:26 +01:00
parent e9eb9e2cff
commit 2f19ba1948
16 changed files with 414 additions and 138 deletions

View File

@ -1,8 +1,21 @@
import {BoLUtility} from "./bol-utility.js";
export default function registerHooks() {
/**
* Ready hook loads tables, and override's foundry's entity link functions to provide extension to pseudo entities
*/
Hooks.once("ready", async () => {
console.info("BOL | System Initialized.");
});
Hooks.on("renderPause", ((_app, html) => {
html.find("img").attr("src", "systems/bol/ui/pause2.webp")
}))
Hooks.on('renderChatLog', (log, html, data) => BoLUtility.chatListeners(html));
/**
* Create a macro when dropping an entity on the hotbar
* Item - open roll dialog for item