Feat: Add sous-type field to Creature sheets (Créature, Démon, Automata)

- Add soustype field to CreatureDataModel
- Add optionsSousTypeCreature to config with localization support
- Add sous-type select dropdown to creature-sheet.hbs header
- Add translation keys to fr.json

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-06-07 21:42:59 +02:00
parent cb4b255b35
commit 494ec3ea84
4 changed files with 16 additions and 1 deletions
+6
View File
@@ -119,6 +119,12 @@ export const MOURNBLADECYD2_CONFIG = {
{ key: "personnage", label: "Personnage" },
{ key: "traitespece", label: "Trait d'espèce" }
],
optionsSousTypeCreature: [
{ key: "", label: localizeOrFallback("MNBL.none", "Aucun") },
{ key: "creature", label: localizeOrFallback("MNBL.creature", "Créature") },
{ key: "demon", label: localizeOrFallback("MNBL.demon", "Démon") },
{ key: "automata", label: localizeOrFallback("MNBL.automata", "Automata") }
],
// Configuration des ActiveEffects
effectTypes: {