Ajout de notes chronologiques

This commit is contained in:
Vincent Vandemeulebrouck
2022-11-04 20:41:16 +01:00
parent 42e4f5b391
commit ecd1652403
11 changed files with 281 additions and 28 deletions

View File

@ -36,6 +36,7 @@ import { RdDPossession } from "./rdd-possession.js";
import { RdDSigneDraconiqueItemSheet } from "./item-signedraconique-sheet.js";
import { Misc } from "./misc.js";
import { Migrations } from './migrations.js';
import { DialogChronologie } from "./dialog-chronologie.js";
/* -------------------------------------------- */
/* Foundry VTT Initialization */
@ -77,7 +78,7 @@ Hooks.once("init", async function () {
name: "calendrier",
scope: "world",
config: false,
default: RdDCalendrier.getCalendrier(0),
default: RdDCalendrier.createCalendrierInitial(),
type: Object
});
@ -107,6 +108,8 @@ Hooks.once("init", async function () {
default: RdDCalendrier.createCalendrierPos(),
type: Object
});
/* -------------------------------------------- */
game.settings.register(SYSTEM_RDD, "supprimer-dialogues-combat-chat", {
name: "Supprimer les dialogues de combat",
@ -140,6 +143,8 @@ Hooks.once("init", async function () {
default: "aucun"
});
DialogChronologie.onInit();
/* -------------------------------------------- */
// Set an initiative formula for the system
CONFIG.Combat.initiative = {