I hate this software and documentation

This commit is contained in:
Joscha Maier
2024-10-07 14:12:05 +02:00
parent 8da6565aae
commit 54798bd300
9 changed files with 54 additions and 19 deletions

View File

View File

@@ -0,0 +1,24 @@
const {api, sheet} = foundry.applications;
export default class BaseActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorSheetV2) {
/** @override */
static get defaultOptions()
{
return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["kidsonbrooms", "sheet", "actor"],
width: 800,
height: 800,
tabs: [{}]
});
}
/** @override */
get template()
{
console.log("template", this.actor)
return `systems/kidsonbrooms/templates/actor/actor-sheet-{$this.actor.type}.html`;
}
}