Add the Carnets des Veilleurs, the expedition-only Sokko TCG collection with power commons

- A new watchers-logbooks collection of category expedition never comes from packs, the shop or codes, and administrators cannot open it as a pack.
- Its six commons carry powers instead of stats (Longue-vue, Provisions, Carte au trésor, Talisman, Boussole folle, Filet à étoiles filantes); a card holds one power and each counts once per team.
- Powers change travel time, loot, score or tier, hide requirements, or catch a logbook card; each destination lists the logbook cards it can bring back.
- A workshop turns a plan and three duplicate commons into a power common.
- The fifteen cards ship without images with ready ChatGPT prompts; a card only drops or gets crafted once illustrated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-15 17:40:51 +01:00
parent ae23adfdd9
commit 21827a252b
38 changed files with 939 additions and 76 deletions

View file

@ -6,11 +6,12 @@ import { formatStardust } from "./stardustFormat.js";
const TIER_VARIANTS = { struggle: "neutral", success: "success", triumph: "gold" };
function RewardBadges({ reward, content }) {
function RewardBadges({ catalog, reward, content }) {
return <div className="nebula-expedition-rewards">
<span className="nds-badge" data-variant="gold">{fillTemplate(content.rewardEclats, { value: formatEclats(reward.eclats) })}</span>
{reward.stardust > 0 && <span className="nds-badge" data-variant="neutral">{fillTemplate(content.rewardStardust, { value: formatStardust(reward.stardust) })}</span>}
{reward.packs.length > 0 && <span className="nds-badge" data-variant="success">{fillTemplate(content.rewardPacks, { count: reward.packs.length, s: reward.packs.length > 1 ? "s" : "" })}</span>}
{(reward.cards || []).map((editionId, index) => <span key={`${editionId}-${index}`} className="nds-badge" data-variant="gold">{fillTemplate(content.rewardCard, { card: editionEntry(catalog, editionId)?.card.name || editionId })}</span>)}
{(reward.items || []).map((item, index) => <span key={`${item}-${index}`} className="nds-badge" data-variant="success">{content.items[item]}</span>)}
{reward.recalledPct != null && <span className="nds-badge" data-variant="warning">{fillTemplate(content.recalledShare, { pct: reward.recalledPct })}</span>}
</div>;
@ -36,7 +37,7 @@ export function ExpeditionReport({ catalog, expedition, content, now, busy, onCl
<span className="nds-badge" data-variant="neutral">{fillTemplate(content.score, { score: formatEclats(expedition.result.scorePct) })}</span>
{synergyLabels(expedition.result, catalog, content).map((label) => <span key={label} className="nds-badge" data-variant="success">{label}</span>)}
</div>}
{expedition.reward && <RewardBadges reward={expedition.reward} content={content} />}
{expedition.reward && <RewardBadges catalog={catalog} reward={expedition.reward} content={content} />}
{expedition.result?.players > 1 && <p className="nebula-form-help">{fillTemplate(content.reportPlayers, { count: expedition.result.players, loot: formatEclats(expedition.result.lootPct / 100) })}</p>}
<ul className="nebula-expedition-report-team" aria-label={content.teamTitle}>{expedition.slots.map((slot) => {
const entry = slot.editionId && editionEntry(catalog, slot.editionId);