Added an app to work on campaign frame things in

This commit is contained in:
WBHarry 2026-05-22 17:17:21 +02:00
parent bae9006f64
commit 044ecd9d55
12 changed files with 187 additions and 1 deletions

View file

@ -32,7 +32,8 @@ export default class DaggerheartMenu extends HandlebarsApplicationMixin(Abstract
actions: {
selectRefreshable: DaggerheartMenu.#selectRefreshable,
refreshActors: DaggerheartMenu.#refreshActors,
createFallCollisionDamage: DaggerheartMenu.#createFallCollisionDamage
createFallCollisionDamage: DaggerheartMenu.#createFallCollisionDamage,
openCampaignFrames: DaggerheartMenu.#openCampaignFrames
}
};
@ -91,4 +92,8 @@ export default class DaggerheartMenu extends HandlebarsApplicationMixin(Abstract
sound: CONFIG.sounds.dice
});
}
static async #openCampaignFrames() {
new game.system.api.applications.campaignFrame.CampaignFrames().render({ force: true });
}
}