mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
25 lines
No EOL
614 B
JavaScript
25 lines
No EOL
614 B
JavaScript
export default class DhSceneConfigSettings extends foundry.applications.sheets.SceneConfig {
|
|
constructor(options, ...args) {
|
|
super(options, ...args);
|
|
}
|
|
|
|
static buildParts() {
|
|
const { footer, ...parts } = super.PARTS;
|
|
const tmpParts = {
|
|
...parts,
|
|
dh: { template: "systems/daggerheart/templates/scene/dh-config.hbs" },
|
|
footer
|
|
}
|
|
return tmpParts;
|
|
}
|
|
|
|
static PARTS = DhSceneConfigSettings.buildParts();
|
|
|
|
static buildTabs() {
|
|
super.TABS.sheet.tabs.push({ id: "dh", icon: "fa-solid" });
|
|
return super.TABS;
|
|
}
|
|
|
|
static TABS = DhSceneConfigSettings.buildTabs();
|
|
|
|
} |