mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
24 lines
677 B
JavaScript
24 lines
677 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();
|
|
}
|