Add a loot legend, a foldable Watcher's bag and a mythic halo, and move card sheet and power texts to site.json

- The destinations step opens with a legend of the four loots and what the
  green and red arrows mean.
- The Watcher's bag folds into a strip of item art and counts; the choice is
  kept by the browser.
- Mythic cards wear a slowly turning prismatic ring across the expedition
  screens; it is visual only.
- The card sheet and the stats distribution read their texts from
  cards.cardSheet, and power descriptions and their figures from
  cards.expeditions.powerText and powerDetails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-18 15:44:44 +01:00
parent 84b0d69b1f
commit 98ffe6562c
20 changed files with 361 additions and 129 deletions

View file

@ -27,7 +27,7 @@ function GuildBanner({ state, content, guildContent }) {
</section>;
}
export function CardsHomePanel({ catalog, state, runMutation, busy, content, guildContent, onOpenPacks }) {
export function CardsHomePanel({ catalog, state, runMutation, busy, content, guildContent, cardSheetContent, onOpenPacks }) {
const [detailOpen, setDetailOpen] = useState(false);
const collectibleCards = catalog.cards.filter((card) => catalog.editions.some((edition) => edition.cardId === card.id && !edition.promotional));
const collectibleEditions = catalog.editions.filter((edition) => !edition.promotional);
@ -68,6 +68,6 @@ export function CardsHomePanel({ catalog, state, runMutation, busy, content, gui
<DashboardStat label={content.stardust} value={<StardustBalance value={state.wallet.stardust} />} />
<DashboardStat label={content.recyclable} value={state.recycling.count} />
</section>
{detailOpen && rarest && <CardDetailModal catalog={catalog} state={state} entry={rarest} runMutation={runMutation} busy={busy} onClose={() => setDetailOpen(false)} />}
{detailOpen && rarest && <CardDetailModal catalog={catalog} state={state} entry={rarest} content={cardSheetContent} runMutation={runMutation} busy={busy} onClose={() => setDetailOpen(false)} />}
</section>;
}