Refactor des fiches de creatures

This commit is contained in:
2026-03-30 09:27:11 +02:00
parent 1b5da3e144
commit 6fda4b9246
71 changed files with 547 additions and 231 deletions

View File

@@ -119,9 +119,6 @@ Hooks.once("init", async () => {
})
Hooks.once("ready", async () => {
if (!game.modules.get("lib-wrapper")?.active && game.user.isGM) {
ui.notifications.error("System fvtt-chroniques-de-l-etrange requires the 'libWrapper' module. Please install and activate it.")
}
await migrateIfNeeded()
})
@@ -149,7 +146,7 @@ function injectCompendiumLink(html) {
</section>
`
section.querySelector("button[data-action='open-cde-link']")?.addEventListener("click", () => {
window.open("https://antre-monde.com/les-chroniques-de-letrengae/", "_blank")
window.open("https://antre-monde.com/les-chroniques-de-letrange/", "_blank")
})
header.parentNode.insertBefore(section, header)