Add monsetr sheet

This commit is contained in:
2025-01-15 14:20:21 +01:00
parent 4e70cbfaf8
commit cc8c1f9864
47 changed files with 1949 additions and 461 deletions

View File

@ -40,7 +40,7 @@ Hooks.once("init", function () {
CONFIG.Actor.documentClass = documents.LethalFantasyActor
CONFIG.Actor.dataModels = {
character: models.LethalFantasyCharacter,
opponent: models.LethalFantasyOpponent,
monster: models.LethalFantasyMonster,
}
CONFIG.Item.documentClass = documents.LethalFantasyItem
@ -59,7 +59,7 @@ Hooks.once("init", function () {
// Register sheet application classes
Actors.unregisterSheet("core", ActorSheet)
Actors.registerSheet("lethalFantasy", applications.LethalFantasyCharacterSheet, { types: ["character"], makeDefault: true })
Actors.registerSheet("lethalFantasy", applications.LethalFantasyOpponentSheet, { types: ["opponent"], makeDefault: true })
Actors.registerSheet("lethalFantasy", applications.LethalFantasyMonsterSheet, { types: ["monster"], makeDefault: true })
Items.unregisterSheet("core", ItemSheet)
Items.registerSheet("lethalFantasy", applications.LethalFantasySkillSheet, { types: ["skill"], makeDefault: true })