Hard coded template; no value applied/saved

This commit is contained in:
Chris Ryan 2025-08-20 20:49:25 +10:00
parent c445b2cbe0
commit 743eeff593
7 changed files with 85 additions and 24 deletions

View file

@ -145,10 +145,10 @@ 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"});
// applications.scene.DhSceneConfigSettings.PARTS.dh = {template: "systems/daggerheart/templates/scene/dh-config.hbs"};
// applications.scene.DhSceneConfigSettings.TABS.sheet.tabs.push({id: "dh", icon: "fa-solid"});
DocumentSheetConfig.registerSheet(foundry.documents.Scene, SYSTEM.id, applications.scene.DhSceneConfig , {
DocumentSheetConfig.registerSheet(foundry.documents.Scene, SYSTEM.id, applications.scene.DhSceneConfigSettings , {
makeDefault: true,
label: "Daggerheart"
});