Add datasheet for sync sheets

This commit is contained in:
Oliver-Akins 2024-04-06 11:58:24 -06:00
parent d8b676535f
commit a1e9c565af
4 changed files with 79 additions and 2 deletions

View file

@ -3,6 +3,7 @@ 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 { GroupDataSheet } from "../sheets/Datasheets/GroupDataSheet.mjs";
import { UntypedDataSheet } from "../sheets/Datasheets/UntypedDataSheet.mjs";
export function devInit() {
@ -11,7 +12,16 @@ export function devInit() {
UntypedDataSheet,
{
types: [`untyped`, `foil`],
label: `dotdungeon.sheet-names.UntypedDataSheet`,
label: `dotdungeon.sheet-names.*DataSheet`,
}
);
Actors.registerSheet(
`dotdungeon`,
GroupDataSheet,
{
types: [`sync`],
label: `dotdungeon.sheet-names.*DataSheet`,
}
);
};