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

@ -11,6 +11,7 @@ export function CardDetailModal({ catalog, state, entry, runMutation, busy, onCl
const spare = owned?.spare || 0;
const value = state.shop.stardustValues[entry.edition.rarity] ?? 0;
const favorites = new Set(state.favorites);
const expedition = state.expeditions?.busyEditions?.find((item) => item.editionId === entry.edition.id);
return <Modal dialogClassName="confirm-modal nds-modal nebula-card-detail" labelledBy="nebula-card-detail-title" onRequestClose={onClose}>
<div className="nebula-card-detail-layout"><NebulaCard catalog={catalog} entry={entry} size="lg" />
@ -23,6 +24,7 @@ export function CardDetailModal({ catalog, state, entry, runMutation, busy, onCl
<button className="nds-button" data-variant="secondary" type="button" onClick={() => onStartTransfer("trade", entry.edition.id)}>Échanger</button>
</>}
<button className="nds-button" data-variant="secondary" type="button" onClick={onClose}>Fermer</button>
{expedition && <p className="nebula-form-help">En expédition jusqu’à {new Date(expedition.returnsAt).toLocaleString("fr-FR", { weekday: "long", hour: "2-digit", minute: "2-digit" })}.</p>}
{quantity > 1 && !spare && <p className="nebula-form-help">Les doublons de cette carte sont réservés par une proposition d’échange en cours.</p>}
</div>
</div>