ActiveEffects & Roll Refactor

This commit is contained in:
Byroks committed 2026-11-03 16:50:14 +01:00
1 parent 59f887fa5e
commit b940e8f251
16 files changed
+480 -715

No files matched your search

+18 -18
View File
@@ -11,8 +11,8 @@ export class M6HintergrundSheet extends M6ItemSheet {
return {
...super.DEFAULT_OPTIONS, // Kopiert alle bestehenden Actions aus M6ItemSheet
actions: {
...super.DEFAULT_OPTIONS.actions
}
...super.DEFAULT_OPTIONS.actions,
},
};
}
@@ -21,34 +21,34 @@ export class M6HintergrundSheet extends M6ItemSheet {
tabs: [
{
id: "beschreibung",
icon: "fa-feather-pointed"
}
// {
// id: "effects",
// icon: "fa-bolt"
// }
icon: "fa-feather-pointed",
},
{
id: "effects",
icon: "fa-bolt",
},
],
initial: "beschreibung",
labelPrefix: "Midgard6.Sheets.Tabs"
}
labelPrefix: "Midgard6.Sheets.Tabs",
},
};
/** @inheritdoc */
static PARTS = {
header: {
template: systemPath("templates/hintergrund/header.hbs")
template: systemPath("templates/hintergrund/header.hbs"),
},
tabs: {
template: systemPath("templates/shared/tabs.hbs")
template: systemPath("templates/shared/tabs.hbs"),
},
beschreibung: {
template: systemPath("templates/hintergrund/description.hbs"),
scrollable: [""]
}
// effects: {
// template: systemPath("templates/shared/effects.hbs"),
// scrollable: [""]
// }
scrollable: [""],
},
effects: {
template: systemPath("templates/shared/effects.hbs"),
scrollable: [""],
},
};
_addSpecifics(context) {