Compendiums : Armes et protections

This commit is contained in:
2023-11-28 21:42:31 +01:00
parent d4733f0c20
commit ca4b7f2803
58 changed files with 211 additions and 193 deletions

View File

@@ -15,6 +15,7 @@ import { WastelandActorSheet } from "./wasteland-actor-sheet.js";
import { WastelandUtility } from "./wasteland-utility.js";
import { WastelandCombat } from "./wasteland-combat.js";
import { WastelandItem } from "./wasteland-item.js";
import { WASTELAND_CONFIG } from "./wasteland-config.js";
/* -------------------------------------------- */
/* Foundry VTT Initialization */
@@ -27,7 +28,7 @@ Hooks.once("init", async function () {
/* -------------------------------------------- */
// preload handlebars templates
WastelandUtility.preloadHandlebarsTemplates();
/* -------------------------------------------- */
// Set an initiative formula for the system
CONFIG.Combat.initiative = {
@@ -45,7 +46,9 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = WastelandCombat
CONFIG.Actor.documentClass = WastelandActor
CONFIG.Item.documentClass = WastelandItem
game.system.wasteland = { }
game.system.wasteland = {
config: WASTELAND_CONFIG
}
/* -------------------------------------------- */
// Register sheet application classes