register sheets
parent
32e44a5cf9
commit
e91fe82e95
11
src/main.mjs
11
src/main.mjs
|
|
@ -1,8 +1,10 @@
|
|||
import { PlayerCharacterDataModel } from "./module/character/character.mjs";
|
||||
import { DsaActor } from "./module/Actors/dsa-actor.mjs";
|
||||
import { Skill } from "./module/Items/Skill.mjs"
|
||||
import { SkillSheet } from "./module/Items/SkillSheet.mjs";
|
||||
|
||||
Hooks.once("init", () => {
|
||||
|
||||
// Configure custom Document implementations.
|
||||
CONFIG.Actor.documentClass = DsaActor;
|
||||
|
||||
|
|
@ -16,4 +18,13 @@ Hooks.once("init", () => {
|
|||
}
|
||||
|
||||
console.log("DSA 4.1 is ready for development!")
|
||||
|
||||
// Register sheet application classes
|
||||
Items.registerSheet('dsa41.skill', SkillSheet, {
|
||||
makeDefault: true,
|
||||
label: 'DSA41.SheetLabels.Item',
|
||||
});
|
||||
|
||||
return preloadHandlebarsTemplates();
|
||||
|
||||
})
|
||||
Loading…
Reference in New Issue