Added CountdownEdit view

This commit is contained in:
WBHarry 2025-09-14 13:55:53 +02:00
parent 58f039ce96
commit 2c51f06f86
15 changed files with 469 additions and 69 deletions

View file

@ -97,6 +97,7 @@ export async function runMigrations() {
}
if (foundry.utils.isNewerVersion('1.2.0', lastMigrationVersion)) {
/* Migrate old action costs */
const lockedPacks = [];
const compendiumItems = [];
for (let pack of game.packs) {
@ -148,6 +149,14 @@ export async function runMigrations() {
await pack.configure({ locked: true });
}
/* Migrate old countdown structure */
const { narrative, encounter } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Countdowns);
if (narrative) {
narrative.countdowns;
}
if (encounter) {
}
lastMigrationVersion = '1.2.0';
}