Compendiums : Armes et protections
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user