Commit Graph

53 Commits

Author SHA1 Message Date
uberwald 1b66c24258 fix(sheets): use foundry.utils.duplicate instead of global duplicate
Foundry V11+ no longer exposes 'duplicate' as a global function.
It must be accessed via foundry.utils.duplicate.

Fixed in:
- actor-sheet.mjs:140
- creature-sheet.mjs:148

This resolves the ReferenceError: duplicate is not defined error
when creating items on actor sheets.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-04 23:25:11 +02:00
uberwald 30d6f71fc7 fix: Correct critical bugs and complete Creature/Group DataModel implementation
- Fix TypeError: controls.find is not a function in hooks.mjs
- Fix undefined 'npc' variable in applications.mjs
- Fix CONFIG.VERMINE.model undefined by checking game.system.template existence
- Fix TypeError: html.find(...).forEach is not a function in roll.mjs
- Fix Cannot set properties of undefined (setting 'initial') in actor.mjs
- Fix Cannot read properties of undefined (reading 'difficulty') in actor.mjs
- Fix ActiveEffect application phase 'initial' already completed by adding combatStatus to base template
- Fix Missing helper: 'select' in roll-dialog.hbs (removed invalid Handlebars select block)
- Add SIZE_LEVELS labels to creatureSizeLevels config
- Add SIZE_LEVELS translations to fr.json
- Add combatStatus to base actor template
- Convert all .html templates to .hbs for Foundry v14 compatibility
- Update item-sheet.mjs to use .hbs extension
- Update handlebars-manager.mjs to use .hbs for all partials

Complete Vermine2047 Creature and Group sheet implementation:
- Creature: Pattern, Size, Role, Pack with computed values
- Group: Totem, Reserve, Morale, Objectives, Members management
- All templates functional with proper styling

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-04 22:22:52 +02:00
Erwan Lemaire d380efeed5 reprise du projet 2025-04-17 14:55:41 +02:00
rwanoux dc621f2223 début des messages d'items 2024-11-26 12:48:27 +01:00
rwanoux c5c41a2920 modif template items 2024-11-22 10:55:07 +01:00
rwanoux 80277f822f ajout du handicap de rareté 2024-11-20 12:08:03 +01:00
rwanoux c0432d1efb traits+debut combat 2024-11-18 16:17:30 +01:00
rwanoux e721c706eb popopopo 2024-11-15 22:05:29 +01:00
rwanoux a163528acb indent 2024-06-24 08:56:59 +02:00
rwanoux f4a56aa6b0 fixes v12 2024-06-24 08:41:59 +02:00
rwanoux cf4b6a2b01 debut group sheet 2024-05-15 10:37:06 +02:00
rwanoux 5c3301b88e fixe hexa radios 2024-05-15 10:36:45 +02:00
rwanoux a970e9335c weapon sheet 2024-05-14 12:39:58 +02:00
rwanoux a62b067f3d creation des spec depuis skill 2024-05-14 09:58:08 +02:00
rwanoux ff03badcdd fixe des hexa 2024-05-14 09:24:49 +02:00
rwanoux 682c4a963a test sur l'update des hexa 2024-05-14 09:19:07 +02:00
rwanoux 83c3f1df0b tellement de trucs 2024-05-13 18:27:54 +02:00
rwanoux 0fada335f4 reroll OK 2024-04-28 16:35:48 +02:00
rwanoux 74e11d439c plein de truc 2024-04-21 16:51:13 +02:00
rwanoux 0fe0d530b1 first commit after clone 2024-04-17 11:51:59 +02:00
François-Xavier Guillois 55c3d09490 v0.1.9 2023-09-06 17:18:58 +02:00
François-Xavier Guillois 980ab943c4 actor class cleaning 2023-09-06 09:17:11 +02:00
François-Xavier Guillois 25b4179cd3 actor default images + template sort 2023-09-06 08:55:46 +02:00
François-Xavier Guillois 615148e4f7 kristov condensed versions 2023-09-06 07:45:56 +02:00
François-Xavier Guillois 11b8b01fda v0.1.8 2023-09-05 19:47:02 +02:00
François-Xavier Guillois c376055bf3 refactoring 1 2023-09-05 18:47:36 +02:00
François-Xavier Guillois 848366e05c basis of wound system 2023-09-05 15:04:06 +02:00
François-Xavier Guillois 983f856187 v0.1.6 2023-09-05 12:06:22 +02:00
François-Xavier Guillois 3edc669e44 v0.1.2 2023-09-01 21:50:07 +02:00
François-Xavier Guillois ac445bfe40 picker members 2023-09-01 21:43:22 +02:00
François-Xavier Guillois e11525564a actor picker 1 2023-09-01 19:59:44 +02:00
François-Xavier Guillois 918b7c0b0c totem abilities 2023-09-01 12:07:59 +02:00
François-Xavier Guillois 4809606dea group items prepared 2023-09-01 10:34:16 +02:00
François-Xavier Guillois 39c984156b group header 2023-09-01 09:49:46 +02:00
François-Xavier Guillois ff6be3989e totem picker done 2023-08-31 19:18:37 +02:00
François-Xavier Guillois 987bb9fd6e application choose totem 2023-08-30 22:48:31 +02:00
François-Xavier Guillois f605cd14d6 gestion de l'age 2023-08-30 10:33:26 +02:00
François-Xavier Guillois ef111392c2 roll dialog box 2023-08-29 17:19:11 +02:00
François-Xavier Guillois 641d2a892a v.0.0.16 2023-08-25 10:36:25 +02:00
François-Xavier Guillois 7aeef29e34 skill levels 2023-08-24 18:21:33 +02:00
François-Xavier Guillois 165caba564 690*800 - v0.0.15 2023-06-07 12:24:33 +02:00
François-Xavier Guillois e5396b6991 vehicules pour la feuille de groupe - v0.0.14 2023-06-06 16:02:39 +02:00
François-Xavier Guillois 2b5e639e9e from totem to vermine - v0.0.12 2023-06-06 11:06:04 +02:00
François-Xavier Guillois d388c3ba4b page histoire - v0.0.11 2023-06-05 21:27:34 +02:00
François-Xavier Guillois 7d7ec478e5 protections 2023-06-05 15:27:58 +02:00
François-Xavier Guillois 0acf6ef35b dialog background 2023-05-30 15:49:51 +02:00
François-Xavier Guillois 2dacf17369 roll dice 2023-05-18 23:19:05 +02:00
François-Xavier Guillois 03d71ecd3c underscore 2023-05-18 19:54:32 +02:00
François-Xavier Guillois 8e2e3d1ebf rolling 2023-05-17 17:39:50 +02:00
François-Xavier Guillois 96ef5c5d7f fixed errors 2023-05-17 15:36:18 +02:00