I hate this software and documentation
This commit is contained in:
0
modules/sheets/_system.mjs
Normal file
0
modules/sheets/_system.mjs
Normal file
24
modules/sheets/actor-sheet.mjs
Normal file
24
modules/sheets/actor-sheet.mjs
Normal 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`;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user