feat: fiche de Communauté (socle)

- acteur community (identité, géographie, histoire, objectifs, taille/effectif)
- 4 Domaines x 2 jauges avec états (Crise/Bas/Stable/Opulent), moral, réserves
- onglets Identité / Domaines / Ressources, édition ProseMirror (formInput)
- header avec fond, totem, niveau, effectif ; icône par défaut
- libellé du type via typeLabels (sans écraser TYPES.* du core)
This commit is contained in:
2026-08-04 17:20:29 +02:00
parent 8d8428cad3
commit 6247f65590
17 changed files with 1080 additions and 7 deletions
+51
View File
@@ -469,3 +469,54 @@ VERMINE.totemEffects = {
}
}
/**
* Communauté — Domaines et sections (jauges).
*/
VERMINE.communityDomains = {
resources: {
label: "COMMUNITY.domains.resources",
sections: { vivre: "COMMUNITY.sections.vivre", supplies: "COMMUNITY.sections.supplies" }
},
security: {
label: "COMMUNITY.domains.security",
sections: { defense: "COMMUNITY.sections.defense", care: "COMMUNITY.sections.care" }
},
dynamism: {
label: "COMMUNITY.domains.dynamism",
sections: { cohesion: "COMMUNITY.sections.cohesion", productivity: "COMMUNITY.sections.productivity" }
},
relations: {
label: "COMMUNITY.domains.relations",
sections: { human: "COMMUNITY.sections.human", ecology: "COMMUNITY.sections.ecology" }
}
}
/**
* Communauté — Tailles (effectif, Figures, Compagnies recommandés).
*/
VERMINE.communitySizeLevels = {
1: { label: "COMMUNITY.sizeLevels.1", population: "7-50", figures: 3, companies: 5 },
2: { label: "COMMUNITY.sizeLevels.2", population: "51-75", figures: 5, companies: 7 },
3: { label: "COMMUNITY.sizeLevels.3", population: "100+", figures: 7, companies: 9 }
}
/**
* Communauté — États d'une jauge de Domaine.
* Crise 0D / Bas 1-2D / Stable 3-5D / Opulent 6D+.
*/
VERMINE.communityGaugeStates = {
crisis: { label: "COMMUNITY.states.crisis" },
low: { label: "COMMUNITY.states.low" },
stable: { label: "COMMUNITY.states.stable" },
opulent: { label: "COMMUNITY.states.opulent" }
}
/**
* Communauté — Âge (notion de temps).
*/
VERMINE.communityAges = {
recent: "COMMUNITY.age.recent",
established: "COMMUNITY.age.established",
old: "COMMUNITY.age.old"
}