Various fixes and enhancements

This commit is contained in:
2025-02-03 23:00:59 +01:00
parent a72e671f75
commit 92396da997
69 changed files with 762 additions and 330 deletions

View File

@ -92,16 +92,6 @@ Hooks.once("init", async function () {
TeDeumUtility.init()
});
/* -------------------------------------------- */
function welcomeMessage() {
if (game.user.isGM) {
ChatMessage.create({
user: game.user.id,
whisper: [game.user.id],
content: `<div id="welcome-message-tedeum"><span class="rdd-roll-part">
<strong>Bienvenu dans Te Deum Pour Un Massacre !</strong>` });
}
}
/* -------------------------------------------- */
/* Foundry VTT Initialization */
@ -125,7 +115,8 @@ Hooks.once("ready", function () {
)
TeDeumUtility.ready();
welcomeMessage();
TeDeumUtility.importDefaultScene()
TeDeumUtility.welcomeMessage();
})