Rebuild the duration and departure step with outcome tiles, two clear departure choices and a steady preview while it updates

The preview of a solo departure now uses the same tiles as a pending expedition, from a shared component: projected outcome (tier, large score and a sentence on how the tier changes the loot), expected loot with one line per reward, powers and score bonuses, with warnings below only when they apply. Requirements, condition and dangers stay on the destination card. The long help paragraph becomes two side-by-side choices, leave alone or open to a group, each saying what it implies. While a new preview is computed, the previous one stays in place, dimmed, and the real travel time line only shows when a power changes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-17 20:49:10 +01:00
parent 9b9d64fd01
commit ebd8580738
10 changed files with 133 additions and 85 deletions

View file

@ -426,7 +426,16 @@ export function validateSiteContent(site) {
"cards.expeditions.synergyBonus",
"cards.expeditions.equipmentElsewhere",
"cards.expeditions.equipmentNone",
"cards.expeditions.departHelp",
"cards.expeditions.departSoloTitle",
"cards.expeditions.departSoloHelp",
"cards.expeditions.openGroupTitle",
"cards.expeditions.openGroupHelp",
"cards.expeditions.expectedTitle",
"cards.expeditions.expectedEclats",
"cards.expeditions.expectedStardust",
"cards.expeditions.expectedCard",
"cards.expeditions.limitedByStarsHelp",
"cards.expeditions.previewTitle",
"cards.expeditions.departSolo",
"cards.expeditions.openGroup",
"cards.expeditions.departedSolo",
@ -494,13 +503,7 @@ export function validateSiteContent(site) {
"cards.expeditions.previewEmpty",
"cards.expeditions.score",
"cards.expeditions.teamVersus",
"cards.expeditions.limitedByStars",
"cards.expeditions.conditionMet",
"cards.expeditions.conditionUnmet",
"cards.expeditions.dangerCountered",
"cards.expeditions.dangerActive",
"cards.expeditions.durationMalus",
"cards.expeditions.expected",
"cards.expeditions.tiers.struggle",
"cards.expeditions.tiers.success",
"cards.expeditions.tiers.triumph",