Commit Graph

91 Commits

Author SHA1 Message Date
f1ab04bf32 Migration vers datamodels 2026-02-25 15:49:55 +01:00
64eb40abfb Migration vers datamodels 2026-02-24 18:31:28 +01:00
b5b1d2ca24 Remove invalid DataModels - keep only template.json types
Removed DataModels that are NOT in template.json types array:
- scar, annency-item, boheme, contact, confrontation

Only valid Item types are: equipment, weapon, trait, specialization, maneuver
Only valid Actor types are: pc, npc, annency

Updated:
- modules/models/_module.js
- modules/ecryme-main.js (CONFIG.Item.dataModels)
- system.json (documentTypes)
- modules/models/README.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 18:40:58 +01:00
5ce0059f1b Add documentTypes section to system.json for DataModels
Declare all Actor and Item types with their HTML fields.
Required for Foundry VTT v13 with DataModels.

Actor types: pc, npc, annency
Item types: equipment, weapon, trait, specialization, maneuver, scar, annency, boheme, contact, confrontation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 11:44:00 +01:00
76a5afc79e Fix buildSkillConfig to work with DataModels
Replace game.data.template.Actor reference with hardcoded skill structure.
With DataModels, template.json is no longer used at runtime.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 11:35:46 +01:00
f130f24a23 Migration complète vers DataModels Foundry VTT
- Ajout de 14 DataModels (10 Items + 3 Acteurs)
  * Items: equipment, weapon, trait, specialization, maneuver, scar, annency, boheme, contact, confrontation
  * Acteurs: pc, npc, annency

- Corrections d'initialisation
  * Ordre d'initialisation corrigé (CONFIG.dataModels avant game.system)
  * Import dynamique des DataModels pour éviter timing issues
  * Helper functions pour éviter réutilisation de champs

- Documentation complète
  * AUDIT_DATAMODELS.md: Rapport d'audit complet (85+ champs vérifiés)
  * MIGRATION_DATAMODELS.md: Guide de migration
  * FIX_INIT_ERROR.md: Résolution des erreurs
  * BABELE_ERROR_ANALYSIS.md: Analyse erreur Babele
  * RESUME_MIGRATION.md: Résumé complet
  * modules/models/README.md: Documentation des DataModels

- template.json marqué comme DEPRECATED
- changelog.md mis à jour

Note: Erreur Babele/LibWrapper non résolue (problème de module externe)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 11:32:29 +01:00
e47ad95a38 Fix FR translatrion with babele fvtt-ecryme-v13.0.4 2026-02-18 00:08:07 +01:00
fc386487e8 Fix FR translatrion with babele 2026-02-17 23:38:06 +01:00
bda88c067e Release with specific message fvtt-ecryme-v13.0.3 2025-10-17 22:50:39 +02:00
4003e0e42b Release with specific message 2025-10-17 22:50:04 +02:00
a6d811bcda Sync message 2025-10-17 15:32:44 +02:00
94eb637637 Sync message 2025-10-17 15:32:22 +02:00
8c58367cdc Sync message 2025-10-17 15:31:53 +02:00
c439ca978c Update internal system with dynamic message 2025-10-17 15:17:04 +02:00
ffe1144f2a Update internal system with dynamic message 2025-10-17 15:16:00 +02:00
38ef07d17b Update internal system with dynamic message 2025-10-17 15:15:03 +02:00
a8cc2dce4b Update internal system with dynamic message 2025-10-17 15:14:29 +02:00
0fadd0783c Update internal system with dynamic message 2025-10-17 15:12:19 +02:00
a55a038d32 Update internal system with dynamic message 2025-10-17 15:01:42 +02:00
d012f78881 Update internal system with dynamic message 2025-10-17 14:59:37 +02:00
01e13da234 Correction sur application tokens acteurs fvtt-ecryme-v13.0.2 2025-10-17 00:33:24 +02:00
bc09b5050d Correction sur application tokens acteurs 2025-10-17 00:32:42 +02:00
d68001b376 Fix token/actor fvtt-ecryme-v13.0.1 2025-10-02 22:53:09 +02:00
6b22dade9c Foundry v13 migration fvtt-ecryme-v13.0.0 2025-05-01 23:27:51 +02:00
965fc02eb3 Foundry v13 migration 2025-05-01 23:23:29 +02:00
0ef689bf1b Fix specialization again fvtt-ecryme-v12.0.3 2025-03-11 23:47:08 +01:00
c6dcc187d8 Fix babele fvtt-ecryme-v12.0.2 2025-03-11 22:29:24 +01:00
e2f24405af Fix waring about grid 2025-02-14 13:36:52 +01:00
0487893f47 Fix v12 issue + remove warnings fvtt-ecryme-v12.0.1 2024-04-27 09:33:22 +02:00
d7b7bccbdf Update v11/v12 et correction sur le niveau de jeu 2024-04-26 19:31:30 +02:00
dbf4b17afb Update v11/v12 et correction sur le niveau de jeu fvtt-ecryme-v12.0.0 2024-04-26 19:28:57 +02:00
51e5a409c4 Update v11/v12 et correction sur le niveau de jeu 2024-04-26 19:28:28 +02:00
1e4692e850 Ajout des traits dans le header + gestion plus simple des PNJs fvtt-ecryme-v11.1.0 2024-03-19 09:16:08 +01:00
40e12c1bba Ajout des traits dans le header + gestion plus simple des PNJs 2024-03-19 09:15:30 +01:00
2450dce46c Fix traits bonus/malus and pictures in journals fvtt-ecryme-v11.0.39 2024-03-18 21:57:15 +01:00
67c1066194 Fix traits bonus/malus and pictures in journals 2024-03-18 21:56:10 +01:00
65fe498572 Fix background+landing pages 2024-03-15 12:12:02 +01:00
e1990f88b4 Fix background+landing pages fvtt-ecryme-v11.0.38 2024-03-15 12:10:44 +01:00
f99abb0966 Enhance stats 2024-02-08 13:02:57 +01:00
ec6e6be231 Fix confrontation with players fvtt-ecryme-v11.0.37 2023-10-12 08:28:30 +02:00
9d26d7bfad Amélirations des specialisations 2023-10-10 20:04:02 +02:00
81848155e5 Amélirations des specialisations fvtt-ecryme-v11.0.36 2023-10-10 20:02:13 +02:00
6778a9aa0b Release fix fvtt-ecryme-v11.0.35 2023-08-26 21:49:32 +02:00
63aa49c77f Fix CI/CD 2023-08-26 19:18:07 +02:00
0a3265419a Move repo to public area fvtt-ecryme-v11.0.33 fvtt-ecryme-v11.0.34 2023-08-26 09:57:43 +02:00
f5093980b0 Move repo to public area fvtt-ecryme-v11.0.32 2023-08-26 09:53:14 +02:00
062a597b70 Various fixes in equipment, biodata 2023-08-25 09:18:45 +02:00
1d0d123947 Various fixes in equipment, biodata fvtt-ecryme-v11.0.31 2023-08-25 09:09:21 +02:00
bf94dc30b8 Picture link fvtt-ecryme-v11.0.30 2023-08-22 08:35:02 +02:00
fc3b83cfc2 Picture link 2023-08-22 08:34:12 +02:00