uberwald 4c33607b2b Refactor: Eliminate code duplication for currency conversion and item pricing
- Add static calculateItemValueSC() and getItemValueSC() helpers to MournbladeCYD2Utility
  to centralize currency conversion logic (1 PO = 100 SC, 1 PA = 10 SC)
- Refactor computeRichesse() and computeValeurEquipement() in Actor to use shared helpers
- Add localizeAllegiance Handlebars helper to display allegiance values localized
  (tous->Tous, chaos->Chaos, loi->Loi, betes->Bêtes, elementaires->Élémentaires)
- Add joinPredilections helper to fix comma display after single Predilection
- Create BaseItemWithPriceDataModel base class for items with pricing fields
  (prixpo, prixca, prixsc, rarete, quantite, equipped)
- Update arme, equipement, protection, monnaie models to extend base class
- Update actor-sheet and creature-sheet templates to use new helpers
- Update partial-item-prix.hbs to display total item value in SC
- Add item-base-sheet.hbs template for future item sheet inheritance

Fixes:
- Allegiance values now display properly localized in Dons & Pactes tabs
- Predilections no longer show trailing comma with single entry
- Equipment value totals now update correctly when items are added/modified
- Currency conversion logic centralized and consistent across the system

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-07 20:52:46 +02:00
2026-04-04 19:08:22 +02:00
2026-05-24 16:49:25 +02:00
2026-05-24 16:49:25 +02:00
2026-06-07 09:43:37 +02:00
2026-04-02 21:39:33 +02:00
2026-04-02 21:33:56 +02:00
2025-10-26 00:31:32 +02:00
2026-04-03 00:39:39 +02:00
2025-10-26 00:31:32 +02:00
2026-06-06 22:08:53 +02:00
2026-04-02 22:22:26 +02:00

Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets)

EN

Unofficial system for Mournblade CYD 2.0 (French version from Titam France).

This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks !

Books are mandatory to play and are available at : http://www.titam-france.fr

FR

Système non-officiel pour le JDR Mournblade (Titam France/Sombres Projets).

Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux !

Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr

Credits

Mournblade, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets.

Developpement

LeRatierBretonnien

Tests, icones et saisie des données

Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer

S
Description
No description provided
Readme 12 MiB
14.0.3 Latest
2026-06-07 23:53:27 +02:00
Languages
JavaScript 60.7%
Handlebars 14.8%
CSS 14.1%
Less 10.4%