Item structure

This commit is contained in:
2021-04-01 22:35:03 +02:00
parent cc46ce867e
commit e205ca186a
6 changed files with 74 additions and 60 deletions

View File

@@ -8,9 +8,9 @@
/* -------------------------------------------- */
// Import Modules
import { VadentisActor } from "./actor.js";
import { VadentisItemSheet } from "./item-sheet.js";
import { VadentisActorSheet } from "./actor-sheet.js";
import { VadentisActor } from "./vadentis-actor.js";
import { VadentisItemSheet } from "./vadentis-item-sheet.js";
import { VadentisActorSheet } from "./vadentis-actor-sheet.js";
import { VadentisUtility } from "./vadentis-utility.js";
import { VadentisCombat } from "./vadentis-combat.js";
@@ -48,7 +48,7 @@ Hooks.once("init", async function () {
/* -------------------------------------------- */
// Register sheet application classes
Actors.unregisterSheet("core", ActorSheet);
Actors.registerSheet("foundryvtt-vadentis", VadentisActorSheet, { types: ["character"], makeDefault: true });
Actors.registerSheet("foundryvtt-vadentis", VadentisActorSheet, { types: ["personnage"], makeDefault: true });
Items.unregisterSheet("core", ItemSheet);
Items.registerSheet("foundryvtt-vadentis", VadentisItemSheet, { makeDefault: true });