Add a datasheet for untyped items and foils
This commit is contained in:
parent
3d8d041915
commit
0f28e23b5c
7 changed files with 201 additions and 0 deletions
17
module/hooks/devInit.mjs
Normal file
17
module/hooks/devInit.mjs
Normal 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`,
|
||||
}
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue