Add solo Expeditions, the second Guilde des Veilleurs quest of Sokko TCG

- Every catalog card carries expedition tags and every collection a stat profile, validated at load; twelve destinations live server-side so hidden ones stay secret.
- Pure rules compute card power, per-slot requirements, roles, dangers, the long-trip malus, the score (one more star never raises it) and loot proportional to the chosen duration.
- A simulator script and a balance test guard the design thresholds; agent docs and a new-card skill explain how to tag new cards.
- Migration 8 adds Éclats d'étoile, expedition settings stored as one validated JSON, daily destinations, expeditions, members and slots, and rebuilds gift_packs so a pack can come from an expedition.
- Players launch a solo expedition from the Guild, see an exact preview, and claim their loot when it returns; the card sheet shows cards away on an expedition.
- Administration › Guilde tunes every value with server-side bounds, toggles destinations and cancels running expeditions; expeditions stay closed until an administrator opens them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-15 14:29:05 +01:00
parent 0ef213cf4f
commit 8bb1d53d70
46 changed files with 4752 additions and 213 deletions

View file

@ -71,10 +71,10 @@ export function PackPanel({ catalog, state, runMutation, busy, content, reserveC
<div className="nebula-pack-grid">{giftPacks.map((gift) => {
const collection = catalog.collections.find((item) => item.id === gift.collectionId);
const details = packDetails(gift.options, catalog);
return <button key={gift.id} type="button" className="nebula-pack nebula-gift-pack" disabled={busy} aria-label={`${content.giftOpen} : ${collection?.name} (${gift.campaignName})`} onClick={() => runMutation(() => openGiftPack(gift.id))}>
return <button key={gift.id} type="button" className="nebula-pack nebula-gift-pack" disabled={busy} aria-label={`${content.giftOpen} : ${collection?.name} (${gift.sourceName ?? gift.campaignName})`} onClick={() => runMutation(() => openGiftPack(gift.id))}>
<span className="nebula-pack-back" data-card-size="md"><CollectionCardBack collection={collection} /></span>
<span className="nebula-pack-note">
<span className="nebula-pack-copy">{gift.campaignName}</span>
<span className="nebula-pack-copy">{gift.source === "expedition" ? `${content.giftFromExpedition} · ${gift.sourceName}` : gift.campaignName}</span>
{details.length > 0 && <span className="nebula-gift-pack-details">{details.join(" · ")}</span>}
</span>
</button>;