Add a datasheet for untyped items and foils

This commit is contained in:
Oliver-Akins 2024-03-30 12:59:16 -06:00
parent 3d8d041915
commit 0f28e23b5c
7 changed files with 201 additions and 0 deletions

17
module/hooks/devInit.mjs Normal file
View file

@ -0,0 +1,17 @@
/*
Initialization of dev-specific features for the init hook, this is primarily
used to register all of the data sheets of various entity types.
*/
import { UntypedDataSheet } from "../sheets/Datasheets/UntypedDataSheet.mjs";
export function devInit() {
Items.registerSheet(
`dotdungeon`,
UntypedDataSheet,
{
types: [`untyped`, `foil`],
label: `dotdungeon.sheet-names.UntypedDataSheet`,
}
);
};