9352bb08d9
Build and Publish Docker Image / build-and-push-image (push) Successful in 1m2s
- ScoringCategory.requiresOption : une catégorie n'apparaît/compte que si l'option booléenne correspondante est activée (mode/extension déclaratif) - toGameConfig génère getScoringCategories filtrant selon les options - Gabarit harmonies-esprits.json : mode "Esprits de la nature" activable ajoutant la catégorie "Animaux spirituels" au décompte - Doc à jour Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "harmonies-esprits",
|
|
"name": "Harmonies — Esprits",
|
|
"minPlayers": 1,
|
|
"maxPlayers": 4,
|
|
"scoreType": "positive",
|
|
"scoreFormula": { "strategy": "sum_rounds" },
|
|
"fixedRounds": 1,
|
|
"description": "Harmonies avec le mode alternatif « Esprits de la nature » (activable avant la partie).",
|
|
"icon": "TreePine",
|
|
"colors": { "primary": "#065f46" },
|
|
"options": [
|
|
{
|
|
"id": "esprits_nature",
|
|
"label": "Mode : Esprits de la nature",
|
|
"type": "boolean",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"scoringCategories": [
|
|
{ "id": "arbres", "label": "Arbres", "icon": "TreePine", "color": "#16a34a" },
|
|
{ "id": "montagnes", "label": "Montagnes", "icon": "Mountain", "color": "#64748b" },
|
|
{ "id": "champs", "label": "Champs", "icon": "Wheat", "color": "#d97706" },
|
|
{ "id": "batiments", "label": "Bâtiments", "icon": "Building2", "color": "#dc2626" },
|
|
{ "id": "eau", "label": "Rivière", "icon": "Waves", "color": "#0ea5e9" },
|
|
{ "id": "animaux", "label": "Animaux", "icon": "Rabbit", "color": "#a16207" },
|
|
{
|
|
"id": "animaux_spirituels",
|
|
"label": "Animaux spirituels",
|
|
"icon": "Sparkles",
|
|
"color": "#8b5cf6",
|
|
"requiresOption": "esprits_nature"
|
|
}
|
|
]
|
|
}
|