diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..49ecd0d --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,125 @@ +# Agents pour le système JDR Ecryme (FoundryVTT) + +Ce fichier documente les commandes et workflows pour les agents (automatisations, scripts, outils externes) utilisés dans le développement et la maintenance du système Ecryme pour FoundryVTT. + +## Commandes de développement + +### Linting et validation +```bash +# Vérification du code TypeScript +npm run lint + +# Vérification des types +npm run typecheck + +# Construction du projet +npm run build +``` + +### Tests +```bash +# Exécution des tests unitaires +npm test + +# Exécution des tests avec couverture +npm run test:coverage +``` + +### Déploiement +```bash +# Construction pour la production +npm run build:prod + +# Génération du package pour FoundryVTT +npm run package +``` + +## Workflows recommandés + +### Avant de soumettre une PR +1. Exécuter les tests unitaires +2. Vérifier le linting (`npm run lint`) +3. Vérifier les types (`npm run typecheck`) +4. Construire le projet (`npm run build`) +5. Tester manuellement dans FoundryVTT avec les scénarios de test fournis dans `/test-scenarios/` + +### Pour ajouter une nouvelle fonctionnalité +1. Créer une branche `feature/` +2. Ajouter les tests dans `/tests/` +3. Implémenter la fonctionnalité +4. Mettre à jour la documentation dans `/docs/` si nécessaire +5. Soumettre une PR avec une description claire des changements + +## Structure du projet +``` +/ +├── src/ # Code source principal +│ ├── module/ # Définition du module FoundryVTT +│ ├── systems/ # Systèmes de règles spécifiques à Ecryme +│ ├── actors/ # Logique des acteurs (PJs, PNJs, créatures) +│ ├── items/ # Logique des objets (armes, sorts, équipements) +│ └── utils/ # Utilitaires partagés +├── tests/ # Tests unitaires et d'intégration +├── docs/ # Documentation technique et utilisateur +├── templates/ # Templates Handlebar pour les feuilles de personnage +└── test-scenarios/ # Scénarios de test pour FoundryVTT +``` + +## Conventions de codage +- **TypeScript strict** : Toujours utiliser les types les plus précis possibles +- **Noms de fichiers** : + - PascalCase pour les classes (`CharacterSheet.ts`) + - kebab-case pour les templates (`character-sheet.hbs`) + - camelCase pour les utilitaires (`diceRoller.ts`) +- **Tests** : + - Un fichier de test par fichier source (`characterSheet.test.ts`) + - Couverture minimale de 80% requise pour les PR + +## Outils spécifiques à FoundryVTT + +### Génération des templates +```bash +# Recompiler les templates Handlebar après modification +npm run build:templates +``` + +### Validation des données +```bash +# Valider la structure des données contre le schéma +npm run validate:schema +``` + +### Déploiement pour test local +```bash +# Lier le module en développement à FoundryVTT (nécessite le module "Module Developer") +npx foundryvtt-link +``` + +## Dépannage + +### Problèmes courants +1. **Les changements ne s'affichent pas dans Foundry** : + - Vérifier que le module est bien lié (`npm run link`) + - Redémarrer FoundryVTT + - Vider le cache du navigateur (Ctrl+F5) + +2. **Erreurs de type dans les templates** : + - Exécuter `npm run validate:templates` + - Vérifier les annotations JSDoc dans les fichiers `.ts` + +3. **Problèmes de performance** : + - Utiliser le profiler de Foundry (F12 > Performance) + - Vérifier les boucles dans les templates Handlebar + +## Ressources utiles +- [Documentation FoundryVTT](https://foundryvtt.com/article/api/) +- [Guide des systèmes personnalisés](https://foundryvtt.com/article/system-development/) +- [Référence Handlebar](https://handlebarsjs.com/guide/) +- [TypeScript pour Foundry](https://github.com/League-of-Foundry-Developers/foundry-vtt-types) + +## Contribution +Les contributions sont les bienvenues ! Veuillez : +1. Ouvrir une issue pour discuter des changements majeurs +2. Suivre les conventions de codage ci-dessus +3. Inclure des tests pour les nouvelles fonctionnalités +4. Mettre à jour la documentation si nécessaire \ No newline at end of file diff --git a/modules/ecryme-main.js b/modules/ecryme-main.js index 25da339..b5015b1 100644 --- a/modules/ecryme-main.js +++ b/modules/ecryme-main.js @@ -28,6 +28,7 @@ import { EcrymeItem } from "./items/ecryme-item.js"; import { EcrymeHotbar } from "./app/ecryme-hotbar.js" import { EcrymeCharacterSummary } from "./app/ecryme-summary-app.js" import { ECRYME_CONFIG } from "./common/ecryme-config.js" +import * as models from "./models/_module.js" /* -------------------------------------------- */ /* Foundry VTT Initialization */ @@ -36,10 +37,7 @@ import { ECRYME_CONFIG } from "./common/ecryme-config.js" /************************************************************************************/ Hooks.once("init", async function () { - console.log(`Initializing Ecryme RPG`); - - // Import DataModels dynamically to avoid timing issues - const models = await import("./models/_module.js"); + console.log(`Initializing Ecryme RPG System`); /* -------------------------------------------- */ // preload handlebars templates @@ -85,7 +83,7 @@ Hooks.once("init", async function () { /* -------------------------------------------- */ // Register sheet application classes foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-ecryme", EcrymeActorSheet, { types: ["pc"], makeDefault: true }); + foundry.documents.collections.Actors.registerSheet("fvtt-ecryme", EcrymeActorSheet, { types: ["pc"], makeDefault: true }); foundry.documents.collections.Actors.registerSheet("fvtt-ecryme", EcrymeActorSheet, { types: ["npc"], makeDefault: true }); foundry.documents.collections.Actors.registerSheet("fvtt-ecryme", EcrymeAnnencySheet, { types: ["annency"], makeDefault: true }); @@ -137,7 +135,7 @@ async function importDefaultScene() { } -/* -------------------------------------------- */lechauchix.lahiette.com +/* -------------------------------------------- */ /* Foundry VTT Initialization */ /* -------------------------------------------- */ Hooks.once("ready", function () { @@ -166,11 +164,11 @@ Hooks.once("ready", function () { }) /* -------------------------------------------- */ -Hooks.once('babele.init', (babele) => { +Hooks.once("babele.init", (babele) => { + console.log("Initializing Babele translations") babele.setSystemTranslationsDir("translated"); }); - /* -------------------------------------------- */ /* Foundry VTT Initialization */ /* -------------------------------------------- */ diff --git a/packs/equipment/000341.log b/packs/equipment/000381.log similarity index 100% rename from packs/equipment/000341.log rename to packs/equipment/000381.log diff --git a/packs/equipment/CURRENT b/packs/equipment/CURRENT index 7adea65..2ab0fa6 100644 --- a/packs/equipment/CURRENT +++ b/packs/equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000339 +MANIFEST-000379 diff --git a/packs/equipment/LOG b/packs/equipment/LOG index a085fd3..f03f340 100644 --- a/packs/equipment/LOG +++ b/packs/equipment/LOG @@ -1,7 +1,7 @@ -2026/05/10-17:54:16.478200 7ff663fff6c0 Recovering log #337 -2026/05/10-17:54:16.487990 7ff663fff6c0 Delete type=3 #335 -2026/05/10-17:54:16.488043 7ff663fff6c0 Delete type=0 #337 -2026/05/10-18:29:00.965875 7ff6637fe6c0 Level-0 table #342: started -2026/05/10-18:29:00.965905 7ff6637fe6c0 Level-0 table #342: 0 bytes OK -2026/05/10-18:29:00.973136 7ff6637fe6c0 Delete type=0 #340 -2026/05/10-18:29:00.987266 7ff6637fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.585664 7fe4cbfff6c0 Recovering log #377 +2026/05/25-23:08:24.596183 7fe4cbfff6c0 Delete type=3 #375 +2026/05/25-23:08:24.596270 7fe4cbfff6c0 Delete type=0 #377 +2026/05/25-23:08:42.305844 7fe4c9ffb6c0 Level-0 table #382: started +2026/05/25-23:08:42.305858 7fe4c9ffb6c0 Level-0 table #382: 0 bytes OK +2026/05/25-23:08:42.311644 7fe4c9ffb6c0 Delete type=0 #380 +2026/05/25-23:08:42.324476 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/LOG.old b/packs/equipment/LOG.old index e88a7d5..d3deb41 100644 --- a/packs/equipment/LOG.old +++ b/packs/equipment/LOG.old @@ -1,7 +1,7 @@ -2026/05/10-15:49:01.664395 7ff9177fe6c0 Recovering log #333 -2026/05/10-15:49:01.675148 7ff9177fe6c0 Delete type=3 #331 -2026/05/10-15:49:01.675216 7ff9177fe6c0 Delete type=0 #333 -2026/05/10-17:12:50.408904 7ff696fef6c0 Level-0 table #338: started -2026/05/10-17:12:50.408925 7ff696fef6c0 Level-0 table #338: 0 bytes OK -2026/05/10-17:12:50.414784 7ff696fef6c0 Delete type=0 #336 -2026/05/10-17:12:50.427199 7ff696fef6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.876581 7fe4cbfff6c0 Recovering log #373 +2026/05/25-23:06:37.885990 7fe4cbfff6c0 Delete type=3 #371 +2026/05/25-23:06:37.886037 7fe4cbfff6c0 Delete type=0 #373 +2026/05/25-23:07:52.694183 7fe4c9ffb6c0 Level-0 table #378: started +2026/05/25-23:07:52.694213 7fe4c9ffb6c0 Level-0 table #378: 0 bytes OK +2026/05/25-23:07:52.700676 7fe4c9ffb6c0 Delete type=0 #376 +2026/05/25-23:07:52.700785 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/MANIFEST-000339 b/packs/equipment/MANIFEST-000379 similarity index 71% rename from packs/equipment/MANIFEST-000339 rename to packs/equipment/MANIFEST-000379 index 9ded513..6ee4258 100644 Binary files a/packs/equipment/MANIFEST-000339 and b/packs/equipment/MANIFEST-000379 differ diff --git a/packs/help/000274.log b/packs/help/000314.log similarity index 100% rename from packs/help/000274.log rename to packs/help/000314.log diff --git a/packs/help/CURRENT b/packs/help/CURRENT index d9f5a7d..16e7795 100644 --- a/packs/help/CURRENT +++ b/packs/help/CURRENT @@ -1 +1 @@ -MANIFEST-000272 +MANIFEST-000312 diff --git a/packs/help/LOG b/packs/help/LOG index 650443a..1207ccc 100644 --- a/packs/help/LOG +++ b/packs/help/LOG @@ -1,8 +1,8 @@ -2026/05/10-17:54:16.529971 7ff6717ee6c0 Recovering log #270 -2026/05/10-17:54:16.540509 7ff6717ee6c0 Delete type=3 #268 -2026/05/10-17:54:16.540573 7ff6717ee6c0 Delete type=0 #270 -2026/05/10-18:29:00.993529 7ff6637fe6c0 Level-0 table #275: started -2026/05/10-18:29:00.993570 7ff6637fe6c0 Level-0 table #275: 0 bytes OK -2026/05/10-18:29:00.999481 7ff6637fe6c0 Delete type=0 #273 -2026/05/10-18:29:01.016255 7ff6637fe6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) -2026/05/10-18:29:01.025710 7ff6637fe6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.638383 7fe4cb7fe6c0 Recovering log #310 +2026/05/25-23:08:24.648627 7fe4cb7fe6c0 Delete type=3 #308 +2026/05/25-23:08:24.648688 7fe4cb7fe6c0 Delete type=0 #310 +2026/05/25-23:08:42.324943 7fe4c9ffb6c0 Level-0 table #315: started +2026/05/25-23:08:42.324976 7fe4c9ffb6c0 Level-0 table #315: 0 bytes OK +2026/05/25-23:08:42.331359 7fe4c9ffb6c0 Delete type=0 #313 +2026/05/25-23:08:42.359806 7fe4c9ffb6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/05/25-23:08:42.380057 7fe4c9ffb6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) diff --git a/packs/help/LOG.old b/packs/help/LOG.old index 1ecc3d7..c28a183 100644 --- a/packs/help/LOG.old +++ b/packs/help/LOG.old @@ -1,8 +1,8 @@ -2026/05/10-15:49:01.717555 7ff917fff6c0 Recovering log #266 -2026/05/10-15:49:01.727166 7ff917fff6c0 Delete type=3 #264 -2026/05/10-15:49:01.727214 7ff917fff6c0 Delete type=0 #266 -2026/05/10-17:12:50.440713 7ff696fef6c0 Level-0 table #271: started -2026/05/10-17:12:50.440744 7ff696fef6c0 Level-0 table #271: 0 bytes OK -2026/05/10-17:12:50.446620 7ff696fef6c0 Delete type=0 #269 -2026/05/10-17:12:50.453362 7ff696fef6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) -2026/05/10-17:12:50.453396 7ff696fef6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.927773 7fe4cb7fe6c0 Recovering log #306 +2026/05/25-23:06:37.937509 7fe4cb7fe6c0 Delete type=3 #304 +2026/05/25-23:06:37.937560 7fe4cb7fe6c0 Delete type=0 #306 +2026/05/25-23:07:52.707381 7fe4c9ffb6c0 Level-0 table #311: started +2026/05/25-23:07:52.707409 7fe4c9ffb6c0 Level-0 table #311: 0 bytes OK +2026/05/25-23:07:52.713201 7fe4c9ffb6c0 Delete type=0 #309 +2026/05/25-23:07:52.733614 7fe4c9ffb6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/05/25-23:07:52.733638 7fe4c9ffb6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) diff --git a/packs/help/MANIFEST-000272 b/packs/help/MANIFEST-000312 similarity index 56% rename from packs/help/MANIFEST-000272 rename to packs/help/MANIFEST-000312 index e87a57a..ecac826 100644 Binary files a/packs/help/MANIFEST-000272 and b/packs/help/MANIFEST-000312 differ diff --git a/packs/maneuvers/000339.log b/packs/maneuvers/000379.log similarity index 100% rename from packs/maneuvers/000339.log rename to packs/maneuvers/000379.log diff --git a/packs/maneuvers/CURRENT b/packs/maneuvers/CURRENT index 8a4a963..f5f405c 100644 --- a/packs/maneuvers/CURRENT +++ b/packs/maneuvers/CURRENT @@ -1 +1 @@ -MANIFEST-000337 +MANIFEST-000377 diff --git a/packs/maneuvers/LOG b/packs/maneuvers/LOG index 2f5f90e..c231e0b 100644 --- a/packs/maneuvers/LOG +++ b/packs/maneuvers/LOG @@ -1,7 +1,7 @@ -2026/05/10-17:54:16.517260 7ff6717ee6c0 Recovering log #335 -2026/05/10-17:54:16.527744 7ff6717ee6c0 Delete type=3 #333 -2026/05/10-17:54:16.527814 7ff6717ee6c0 Delete type=0 #335 -2026/05/10-18:29:00.987395 7ff6637fe6c0 Level-0 table #340: started -2026/05/10-18:29:00.987433 7ff6637fe6c0 Level-0 table #340: 0 bytes OK -2026/05/10-18:29:00.993378 7ff6637fe6c0 Delete type=0 #338 -2026/05/10-18:29:01.016234 7ff6637fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.625469 7fe4cbfff6c0 Recovering log #375 +2026/05/25-23:08:24.635881 7fe4cbfff6c0 Delete type=3 #373 +2026/05/25-23:08:24.635933 7fe4cbfff6c0 Delete type=0 #375 +2026/05/25-23:08:42.317961 7fe4c9ffb6c0 Level-0 table #380: started +2026/05/25-23:08:42.317972 7fe4c9ffb6c0 Level-0 table #380: 0 bytes OK +2026/05/25-23:08:42.324427 7fe4c9ffb6c0 Delete type=0 #378 +2026/05/25-23:08:42.324891 7fe4c9ffb6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/LOG.old b/packs/maneuvers/LOG.old index 2d20364..727ac08 100644 --- a/packs/maneuvers/LOG.old +++ b/packs/maneuvers/LOG.old @@ -1,7 +1,7 @@ -2026/05/10-15:49:01.703891 7ff94d7ff6c0 Recovering log #331 -2026/05/10-15:49:01.714559 7ff94d7ff6c0 Delete type=3 #329 -2026/05/10-15:49:01.714609 7ff94d7ff6c0 Delete type=0 #331 -2026/05/10-17:12:50.427356 7ff696fef6c0 Level-0 table #336: started -2026/05/10-17:12:50.427391 7ff696fef6c0 Level-0 table #336: 0 bytes OK -2026/05/10-17:12:50.434663 7ff696fef6c0 Delete type=0 #334 -2026/05/10-17:12:50.453346 7ff696fef6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.915238 7fe4ca7fc6c0 Recovering log #371 +2026/05/25-23:06:37.925308 7fe4ca7fc6c0 Delete type=3 #369 +2026/05/25-23:06:37.925365 7fe4ca7fc6c0 Delete type=0 #371 +2026/05/25-23:07:52.700870 7fe4c9ffb6c0 Level-0 table #376: started +2026/05/25-23:07:52.701331 7fe4c9ffb6c0 Level-0 table #376: 0 bytes OK +2026/05/25-23:07:52.707294 7fe4c9ffb6c0 Delete type=0 #374 +2026/05/25-23:07:52.733595 7fe4c9ffb6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/MANIFEST-000337 b/packs/maneuvers/MANIFEST-000377 similarity index 73% rename from packs/maneuvers/MANIFEST-000337 rename to packs/maneuvers/MANIFEST-000377 index 719a261..ece5fd1 100644 Binary files a/packs/maneuvers/MANIFEST-000337 and b/packs/maneuvers/MANIFEST-000377 differ diff --git a/packs/scenes/000194.ldb b/packs/scenes/000194.ldb deleted file mode 100644 index e04969b..0000000 Binary files a/packs/scenes/000194.ldb and /dev/null differ diff --git a/packs/scenes/000247.ldb b/packs/scenes/000247.ldb new file mode 100644 index 0000000..8b06932 Binary files /dev/null and b/packs/scenes/000247.ldb differ diff --git a/packs/scenes/000225.log b/packs/scenes/000266.log similarity index 100% rename from packs/scenes/000225.log rename to packs/scenes/000266.log diff --git a/packs/scenes/CURRENT b/packs/scenes/CURRENT index 449897e..a744b45 100644 --- a/packs/scenes/CURRENT +++ b/packs/scenes/CURRENT @@ -1 +1 @@ -MANIFEST-000223 +MANIFEST-000264 diff --git a/packs/scenes/LOG b/packs/scenes/LOG index f61805b..00ecac3 100644 --- a/packs/scenes/LOG +++ b/packs/scenes/LOG @@ -1,8 +1,8 @@ -2026/05/10-17:54:16.504178 7ff663fff6c0 Recovering log #221 -2026/05/10-17:54:16.514562 7ff663fff6c0 Delete type=3 #219 -2026/05/10-17:54:16.514624 7ff663fff6c0 Delete type=0 #221 -2026/05/10-18:29:00.973328 7ff6637fe6c0 Level-0 table #226: started -2026/05/10-18:29:00.973352 7ff6637fe6c0 Level-0 table #226: 0 bytes OK -2026/05/10-18:29:00.979868 7ff6637fe6c0 Delete type=0 #224 -2026/05/10-18:29:00.987280 7ff6637fe6c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) -2026/05/10-18:29:00.987302 7ff6637fe6c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.610750 7fe4ca7fc6c0 Recovering log #262 +2026/05/25-23:08:24.621300 7fe4ca7fc6c0 Delete type=3 #260 +2026/05/25-23:08:24.621336 7fe4ca7fc6c0 Delete type=0 #262 +2026/05/25-23:08:42.311679 7fe4c9ffb6c0 Level-0 table #267: started +2026/05/25-23:08:42.311691 7fe4c9ffb6c0 Level-0 table #267: 0 bytes OK +2026/05/25-23:08:42.317830 7fe4c9ffb6c0 Delete type=0 #265 +2026/05/25-23:08:42.324483 7fe4c9ffb6c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) +2026/05/25-23:08:42.324930 7fe4c9ffb6c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/LOG.old b/packs/scenes/LOG.old index 6e7012c..71ae341 100644 --- a/packs/scenes/LOG.old +++ b/packs/scenes/LOG.old @@ -1,8 +1,8 @@ -2026/05/10-15:49:01.690631 7ff917fff6c0 Recovering log #217 -2026/05/10-15:49:01.700458 7ff917fff6c0 Delete type=3 #215 -2026/05/10-15:49:01.700526 7ff917fff6c0 Delete type=0 #217 -2026/05/10-17:12:50.420888 7ff696fef6c0 Level-0 table #222: started -2026/05/10-17:12:50.420909 7ff696fef6c0 Level-0 table #222: 0 bytes OK -2026/05/10-17:12:50.427078 7ff696fef6c0 Delete type=0 #220 -2026/05/10-17:12:50.427217 7ff696fef6c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) -2026/05/10-17:12:50.427260 7ff696fef6c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.900889 7fe4caffd6c0 Recovering log #258 +2026/05/25-23:06:37.911257 7fe4caffd6c0 Delete type=3 #256 +2026/05/25-23:06:37.911321 7fe4caffd6c0 Delete type=0 #258 +2026/05/25-23:07:52.688262 7fe4c9ffb6c0 Level-0 table #263: started +2026/05/25-23:07:52.688293 7fe4c9ffb6c0 Level-0 table #263: 0 bytes OK +2026/05/25-23:07:52.694093 7fe4c9ffb6c0 Delete type=0 #261 +2026/05/25-23:07:52.700777 7fe4c9ffb6c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) +2026/05/25-23:07:52.700805 7fe4c9ffb6c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes.levels!zvY1RwBhTfwdZIBa.defaultLevel0000' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/MANIFEST-000223 b/packs/scenes/MANIFEST-000223 deleted file mode 100644 index 65483a5..0000000 Binary files a/packs/scenes/MANIFEST-000223 and /dev/null differ diff --git a/packs/scenes/MANIFEST-000264 b/packs/scenes/MANIFEST-000264 new file mode 100644 index 0000000..2e8b66f Binary files /dev/null and b/packs/scenes/MANIFEST-000264 differ diff --git a/packs/specialisation/000337.log b/packs/specialisation/000377.log similarity index 100% rename from packs/specialisation/000337.log rename to packs/specialisation/000377.log diff --git a/packs/specialisation/CURRENT b/packs/specialisation/CURRENT index adf199b..741abc7 100644 --- a/packs/specialisation/CURRENT +++ b/packs/specialisation/CURRENT @@ -1 +1 @@ -MANIFEST-000335 +MANIFEST-000375 diff --git a/packs/specialisation/LOG b/packs/specialisation/LOG index 11b8e16..6352977 100644 --- a/packs/specialisation/LOG +++ b/packs/specialisation/LOG @@ -1,7 +1,7 @@ -2026/05/10-17:54:16.466909 7ff663fff6c0 Recovering log #333 -2026/05/10-17:54:16.476454 7ff663fff6c0 Delete type=3 #331 -2026/05/10-17:54:16.476503 7ff663fff6c0 Delete type=0 #333 -2026/05/10-18:29:00.959676 7ff6637fe6c0 Level-0 table #338: started -2026/05/10-18:29:00.959730 7ff6637fe6c0 Level-0 table #338: 0 bytes OK -2026/05/10-18:29:00.965749 7ff6637fe6c0 Delete type=0 #336 -2026/05/10-18:29:00.987248 7ff6637fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.571661 7fe4cb7fe6c0 Recovering log #373 +2026/05/25-23:08:24.583242 7fe4cb7fe6c0 Delete type=3 #371 +2026/05/25-23:08:24.583309 7fe4cb7fe6c0 Delete type=0 #373 +2026/05/25-23:08:42.299898 7fe4c9ffb6c0 Level-0 table #378: started +2026/05/25-23:08:42.299954 7fe4c9ffb6c0 Level-0 table #378: 0 bytes OK +2026/05/25-23:08:42.305788 7fe4c9ffb6c0 Delete type=0 #376 +2026/05/25-23:08:42.324469 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) diff --git a/packs/specialisation/LOG.old b/packs/specialisation/LOG.old index 62dbea4..7071771 100644 --- a/packs/specialisation/LOG.old +++ b/packs/specialisation/LOG.old @@ -1,7 +1,7 @@ -2026/05/10-15:49:01.650582 7ff94d7ff6c0 Recovering log #329 -2026/05/10-15:49:01.660807 7ff94d7ff6c0 Delete type=3 #327 -2026/05/10-15:49:01.660855 7ff94d7ff6c0 Delete type=0 #329 -2026/05/10-17:12:50.414895 7ff696fef6c0 Level-0 table #334: started -2026/05/10-17:12:50.414915 7ff696fef6c0 Level-0 table #334: 0 bytes OK -2026/05/10-17:12:50.420799 7ff696fef6c0 Delete type=0 #332 -2026/05/10-17:12:50.427208 7ff696fef6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.865486 7fe4cbfff6c0 Recovering log #369 +2026/05/25-23:06:37.874724 7fe4cbfff6c0 Delete type=3 #367 +2026/05/25-23:06:37.874744 7fe4cbfff6c0 Delete type=0 #369 +2026/05/25-23:07:52.682178 7fe4c9ffb6c0 Level-0 table #374: started +2026/05/25-23:07:52.682203 7fe4c9ffb6c0 Level-0 table #374: 0 bytes OK +2026/05/25-23:07:52.688174 7fe4c9ffb6c0 Delete type=0 #372 +2026/05/25-23:07:52.700766 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) diff --git a/packs/specialisation/MANIFEST-000335 b/packs/specialisation/MANIFEST-000375 similarity index 71% rename from packs/specialisation/MANIFEST-000335 rename to packs/specialisation/MANIFEST-000375 index 9be20e1..8324ed5 100644 Binary files a/packs/specialisation/MANIFEST-000335 and b/packs/specialisation/MANIFEST-000375 differ diff --git a/packs/traits/000341.log b/packs/traits/000381.log similarity index 100% rename from packs/traits/000341.log rename to packs/traits/000381.log diff --git a/packs/traits/CURRENT b/packs/traits/CURRENT index 7adea65..2ab0fa6 100644 --- a/packs/traits/CURRENT +++ b/packs/traits/CURRENT @@ -1 +1 @@ -MANIFEST-000339 +MANIFEST-000379 diff --git a/packs/traits/LOG b/packs/traits/LOG index e4f687e..bcbe118 100644 --- a/packs/traits/LOG +++ b/packs/traits/LOG @@ -1,7 +1,7 @@ -2026/05/10-17:54:16.490944 7ff663fff6c0 Recovering log #337 -2026/05/10-17:54:16.501594 7ff663fff6c0 Delete type=3 #335 -2026/05/10-17:54:16.501656 7ff663fff6c0 Delete type=0 #337 -2026/05/10-18:29:00.980122 7ff6637fe6c0 Level-0 table #342: started -2026/05/10-18:29:00.980167 7ff6637fe6c0 Level-0 table #342: 0 bytes OK -2026/05/10-18:29:00.987139 7ff6637fe6c0 Delete type=0 #340 -2026/05/10-18:29:00.987289 7ff6637fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) +2026/05/25-23:08:24.598700 7fe4caffd6c0 Recovering log #377 +2026/05/25-23:08:24.608566 7fe4caffd6c0 Delete type=3 #375 +2026/05/25-23:08:24.608604 7fe4caffd6c0 Delete type=0 #377 +2026/05/25-23:08:42.331497 7fe4c9ffb6c0 Level-0 table #382: started +2026/05/25-23:08:42.331525 7fe4c9ffb6c0 Level-0 table #382: 0 bytes OK +2026/05/25-23:08:42.338312 7fe4c9ffb6c0 Delete type=0 #380 +2026/05/25-23:08:42.359828 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) diff --git a/packs/traits/LOG.old b/packs/traits/LOG.old index 4142c53..2936b30 100644 --- a/packs/traits/LOG.old +++ b/packs/traits/LOG.old @@ -1,7 +1,7 @@ -2026/05/10-15:49:01.678303 7ff94cffe6c0 Recovering log #333 -2026/05/10-15:49:01.687911 7ff94cffe6c0 Delete type=3 #331 -2026/05/10-15:49:01.687963 7ff94cffe6c0 Delete type=0 #333 -2026/05/10-17:12:50.401548 7ff696fef6c0 Level-0 table #338: started -2026/05/10-17:12:50.401619 7ff696fef6c0 Level-0 table #338: 0 bytes OK -2026/05/10-17:12:50.408788 7ff696fef6c0 Delete type=0 #336 -2026/05/10-17:12:50.427187 7ff696fef6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) +2026/05/25-23:06:37.888245 7fe4cb7fe6c0 Recovering log #373 +2026/05/25-23:06:37.898117 7fe4cb7fe6c0 Delete type=3 #371 +2026/05/25-23:06:37.898159 7fe4cb7fe6c0 Delete type=0 #373 +2026/05/25-23:07:52.675131 7fe4c9ffb6c0 Level-0 table #378: started +2026/05/25-23:07:52.675198 7fe4c9ffb6c0 Level-0 table #378: 0 bytes OK +2026/05/25-23:07:52.682088 7fe4c9ffb6c0 Delete type=0 #376 +2026/05/25-23:07:52.700749 7fe4c9ffb6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) diff --git a/packs/traits/MANIFEST-000339 b/packs/traits/MANIFEST-000379 similarity index 72% rename from packs/traits/MANIFEST-000339 rename to packs/traits/MANIFEST-000379 index 5b11b0a..60c7cf2 100644 Binary files a/packs/traits/MANIFEST-000339 and b/packs/traits/MANIFEST-000379 differ diff --git a/system.json b/system.json index 2a676ec..072e585 100644 --- a/system.json +++ b/system.json @@ -103,6 +103,20 @@ "minimum": "13", "verified": "14" }, + "documentTypes": { + "Actor": { + "pc": {"htmlFields": ["description", "gmnotes"]}, + "npc": {"htmlFields": ["description", "gmnotes"]}, + "annency": {"htmlFields": ["description", "enhancements"]} + }, + "Item": { + "equipment": {"htmlFields": ["description"]}, + "trait": {"htmlFields": ["description"]}, + "weapon": {"htmlFields": ["description"]}, + "specialization": {"htmlFields": ["description"]}, + "maneuver": {"htmlFields": ["description"]} + } + }, "id": "fvtt-ecryme", "primaryTokenAttribute": "secondary.health", "secondaryTokenAttribute": "secondary.delirium", @@ -116,7 +130,13 @@ "id": "babele", "type": "module", "compatibility": {} + }, + { + "id": "lib-wrapper", + "type": "module", + "compatibility": {} } + ] }, "title": "Ecryme, le Jeu de Rôles",