Throw some initial version of code at the wall for the tabbed character sheet

This commit is contained in:
Oliver-Akins 2025-02-11 23:40:35 -07:00
parent eb6d7fee94
commit b72f22380f
10 changed files with 213 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs";
import { DelveTourApp } from "../Apps/DelveTourApp.mjs";
import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs";
import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs";
import { TabbedHeroSheet } from "../Apps/ActorSheets/TabbedHeroSheet.mjs";
// Data Models
import { AmmoData } from "../data/Item/Ammo.mjs";
@ -69,6 +70,12 @@ Hooks.once(`init`, () => {
label: `RipCrypt.sheet-names.CombinedHeroSheet`,
themes: CombinedHeroSheet.themes,
});
Actors.registerSheet(game.system.id, TabbedHeroSheet, {
makeDefault: false,
types: [`hero`],
label: `RipCrypt.sheet-names.TabbedHeroSheet`,
themes: TabbedHeroSheet.themes,
});
Actors.registerSheet(game.system.id, HeroSummaryCardV1, {
types: [`hero`],
label: `RipCrypt.sheet-names.HeroSummaryCardV1`,