Add the combined sheet to make sure that it works in practice and make the changes to make it work

This commit is contained in:
Oliver-Akins 2025-01-17 20:25:44 -07:00
parent 5b903f7e74
commit 7271323a75
6 changed files with 90 additions and 2 deletions

View file

@ -1,5 +1,6 @@
// Applications
import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs";
import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs";
import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs";
import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs";
@ -46,8 +47,13 @@ Hooks.once(`init`, () => {
/* eslint-enabled no-undef */
// #region Actors
Actors.registerSheet(game.system.id, HeroSummaryCardV1, {
Actors.registerSheet(game.system.id, CombinedHeroSheet, {
makeDefault: true,
types: [`hero`],
label: `RipCrypt.sheet-names.CombinedHeroSheet`,
themes: CombinedHeroSheet.themes,
});
Actors.registerSheet(game.system.id, HeroSummaryCardV1, {
types: [`hero`],
label: `RipCrypt.sheet-names.HeroSummaryCardV1`,
themes: HeroSummaryCardV1.themes,