Part progress on adding config tab to scene config

This commit is contained in:
Chris Ryan 2025-08-19 20:58:48 +10:00
parent fcf35ac17e
commit 55edd6b3ac
7 changed files with 49 additions and 1 deletions

View file

@ -147,6 +147,15 @@ Hooks.once('init', () => {
// Make Compendium Dialog resizable
foundry.applications.sidebar.apps.Compendium.DEFAULT_OPTIONS.window.resizable = true;
applications.scene.DhSceneConfig.PARTS.dh = {template: "systems/daggerheart/templates/scene/dh-config.hbs"};
applications.scene.DhSceneConfig.TABS.sheet.tabs.push({id: "dh", icon: "fa-solid"});
DocumentSheetConfig.registerSheet(foundry.documents.Scene, SYSTEM.id, applications.scene.DhSceneConfig , {
makeDefault: true,
label: "Daggerheart"
});
settingsRegistration.registerDHSettings();
RegisterHandlebarsHelpers.registerHelpers();