Begin playing around with the weapon sheet

This commit is contained in:
Oliver-Akins 2024-04-30 21:31:49 -06:00
parent d1cb412e5a
commit 91c95da639
8 changed files with 256 additions and 4 deletions

View file

@ -15,6 +15,7 @@ import { ItemProxy } from "./documents/Item/_proxy.mjs";
// Item Sheets
import { UntypedItemSheet } from "./sheets/Items/UntypedItemSheet.mjs";
import { WeaponSheet } from "./sheets/Items/WeaponSheet.mjs";
import { AspectSheet } from "./sheets/Items/AspectSheet.mjs";
import { SpellSheet } from "./sheets/Items/SpellSheet.mjs";
import { PetSheet } from "./sheets/Items/PetSheet.mjs";
@ -95,6 +96,11 @@ Hooks.once(`init`, async () => {
types: ["aspect"],
label: "dotdungeon.sheet-names.AspectSheet"
});
Items.registerSheet("dotdungeon", WeaponSheet, {
makeDefault: true,
types: ["weapon"],
label: "dotdungeon.sheet-names.WeaponSheet"
});
Items.registerSheet("dotdungeon", SpellSheet, {
makeDefault: true,
types: ["spell"],