Add files via upload

This commit is contained in:
2025-08-17 15:03:39 +02:00
committed by GitHub
commit 7d6e5fab53
6 changed files with 418 additions and 0 deletions

14
scripts/easy-battlemap.js Normal file
View File

@@ -0,0 +1,14 @@
import { EasyBattlemapDropHandler } from './lib/drop-handler.js';
Hooks.once('init', async function() {
console.log('Easy Battlemap | Initializing Easy Battlemap');
});
Hooks.once('ready', async function() {
console.log('Easy Battlemap | Ready');
// Register the drop handler when Foundry is ready
new EasyBattlemapDropHandler().registerDropHandler();
ui.notifications.info(game.i18n.localize("EASYBATTLEMAP.Ready"));
});