Show what each destination looks for and what it yields in two small panels, and keep specialties off collection destinations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d331d1a3f
commit
d85d6d8ffa
9 changed files with 76 additions and 36 deletions
|
|
@ -39,7 +39,6 @@
|
|||
"description": "Loin du Soleil, les îles se couvrent de glace. Seuls les plus endurants traversent les lacs gelés jusqu'au bout.",
|
||||
"coverCardId": "starlit-ice-penguin",
|
||||
"image": "/static/img/expeditions/destinations/long-night-ice.webp",
|
||||
"specialty": "eclats",
|
||||
"rewardCollectionId": "long-night",
|
||||
"themeTags": ["theme:hiver", "lieu:glaces"],
|
||||
"logbookCards": ["drifting-isle-turtle"],
|
||||
|
|
@ -57,7 +56,6 @@
|
|||
"description": "Les rêves de jeu du Panda forment des îles pleines de blocs, de pièces et de coffres. Chaque niveau cache un trésor.",
|
||||
"coverCardId": "island-arcade-cabinet",
|
||||
"image": "/static/img/expeditions/destinations/level-isles.webp",
|
||||
"specialty": "stardust",
|
||||
"rewardCollectionId": "dream-arcade",
|
||||
"themeTags": ["lieu:iles-jeux"],
|
||||
"logbookCards": ["lookout-meerkat"],
|
||||
|
|
@ -75,7 +73,6 @@
|
|||
"description": "Là où dort le Panda, la poussière d'étoiles s'assemble en rêves. On y trouve parfois une île qui vient de naître.",
|
||||
"coverCardId": "milky-way-panda",
|
||||
"image": "/static/img/expeditions/destinations/milky-way-band.webp",
|
||||
"specialty": "stardust",
|
||||
"rewardCollectionId": "primordial-nebula",
|
||||
"themeTags": ["theme:reves", "theme:poussiere"],
|
||||
"logbookCards": ["apprentice-watcher-owl"],
|
||||
|
|
@ -93,7 +90,7 @@
|
|||
"description": "Sur les îles tournées vers le Soleil, le jour se lève avant partout ailleurs. Le vent brûlant y souffle fort.",
|
||||
"coverCardId": "solar-dawn-capybara",
|
||||
"image": "/static/img/expeditions/destinations/dawn-shore.webp",
|
||||
"specialty": "eclats",
|
||||
"specialty": "stardust",
|
||||
"themeTags": ["lieu:soleil"],
|
||||
"logbookCards": ["cartographer-gecko"],
|
||||
"stats": ["endurance", "fortune", "bravoure", "orientation"],
|
||||
|
|
@ -144,7 +141,7 @@
|
|||
"description": "Les premiers observatoires des Veilleurs sont pleins de cartes, de carnets et d'instruments oubliés.",
|
||||
"coverCardId": "watchers-spyglass",
|
||||
"image": "/static/img/expeditions/destinations/old-observatories.webp",
|
||||
"specialty": "cards",
|
||||
"specialty": "items",
|
||||
"themeTags": ["theme:veilleurs", "personnage:hibou"],
|
||||
"logbookCards": ["map-keeper-owl", "lookout-meerkat", "apprentice-watcher-owl"],
|
||||
"stats": ["orientation", "fortune", "endurance", "bravoure"],
|
||||
|
|
@ -161,7 +158,6 @@
|
|||
"description": "Pendant la Longue Nuit, les îles se rapprochent pour la grande fête. Il y a des cadeaux à livrer dans tout l'archipel.",
|
||||
"coverCardId": "celestial-fox-mask",
|
||||
"image": "/static/img/expeditions/destinations/reunited-isles-feast.webp",
|
||||
"specialty": "items",
|
||||
"rewardCollectionId": "long-night",
|
||||
"themeTags": ["theme:fete", "theme:hiver"],
|
||||
"logbookCards": ["apprentice-watcher-owl"],
|
||||
|
|
@ -179,7 +175,6 @@
|
|||
"description": "Des temples rêvés se cachent sous la végétation des îles-jeux. Leurs pièges gardent toujours un trésor.",
|
||||
"coverCardId": "lost-ruins-meerkat",
|
||||
"image": "/static/img/expeditions/destinations/forgotten-ruins.webp",
|
||||
"specialty": "items",
|
||||
"rewardCollectionId": "dream-arcade",
|
||||
"themeTags": ["theme:tresor", "theme:aventure"],
|
||||
"logbookCards": ["cartographer-gecko"],
|
||||
|
|
@ -214,7 +209,6 @@
|
|||
"description": "Au cœur du Nuage de Poussière Cosmique, des morceaux d'îles tournent autour d'une lumière qui grandit. Un nouveau soleil va peut-être naître.",
|
||||
"coverCardId": "cosmic-dust-cloud",
|
||||
"image": "/static/img/expeditions/destinations/cosmic-cloud-heart.webp",
|
||||
"specialty": "stardust",
|
||||
"rewardCollectionId": "primordial-nebula",
|
||||
"themeTags": ["lieu:nebuleuse", "theme:poussiere"],
|
||||
"logbookCards": [],
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@ export function validateExpeditionDestinations(destinations, catalog) {
|
|||
if (destination.specialty != null && !DESTINATION_SPECIALTIES.includes(destination.specialty)) fail(destination, `specialty must be one of ${DESTINATION_SPECIALTIES.join(", ")}.`);
|
||||
if (destination.rewardCollectionId != null && !collectionIds.has(destination.rewardCollectionId)) fail(destination, `unknown reward collection ${destination.rewardCollectionId}.`);
|
||||
// Une destination rattachée à une collection favorise déjà ses cartes manquantes : elle ne peut pas être « Riche en cartes ».
|
||||
if (destination.rewardCollectionId != null && destination.specialty === "cards") fail(destination, "a destination with a reward collection cannot have the cards specialty.");
|
||||
// Une destination liée à une collection a déjà sa raison d'y aller (les cartes de sa collection) : pas de spécialité en plus.
|
||||
if (destination.rewardCollectionId != null && destination.specialty != null) fail(destination, "a destination with a reward collection cannot have a specialty.");
|
||||
if (typeof destination.hidden !== "boolean") fail(destination, "hidden must be a boolean.");
|
||||
if (!Array.isArray(destination.stats) || destination.stats.length !== STAT_IDS.length || new Set(destination.stats).size !== STAT_IDS.length
|
||||
|| destination.stats.some((stat) => !STAT_IDS.includes(stat))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue