Bring back objects from Sokko TCG Expeditions and open bonus and hidden destinations

- Expeditions bring back objects by weight, proportional to the loot; treasure-map fragments, burins and workshop plans need enough average Orientation.
- A guide star adds a fifth destination to the player's day, a sky chart a sixth with richer loot, and enough fragments open one of two hidden destinations: Le Passage Écarlate and L'Observatoire perdu.
- An anchor recalls a running solo expedition and keeps the Éclats and stardust already earned; a burin engraves a tag on a common to create the synergy a player wants.
- The Veilleur's bag lists objects with their use, reports show brought-back objects, and Administration › Guilde tunes object chances, weights, the Orientation threshold and hidden-destination loot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-15 17:28:05 +01:00
parent 320498d878
commit ae23adfdd9
28 changed files with 532 additions and 73 deletions

View file

@ -1838,7 +1838,7 @@ test("an administrator opens expeditions and a player sends a team, then claims
await general.getByRole("button", { name: "Appliquer", exact: true }).click();
await page.getByRole("dialog").getByRole("button", { name: "Appliquer", exact: true }).click();
await expect(general.getByRole("button", { name: "Expéditions ouvertes aux joueurs", exact: true })).toHaveAttribute("aria-pressed", "true");
await expect(page.getByRole("region", { name: "Destinations", exact: true }).getByRole("listitem")).toHaveCount(12);
await expect(page.getByRole("region", { name: "Destinations", exact: true }).getByRole("listitem")).toHaveCount(14);
// Le partenaire possède deux légendaires distinctes : de quoi partir en solo.
const { token } = JSON.parse(await readFile(join(tmpdir(), "sokkog-cards-e2e-partner.json"), "utf8"));
@ -1903,6 +1903,7 @@ test("an administrator opens expeditions and a player sends a team, then claims
// Pont des Veilleurs : 3 poussières pour 1 Éclat ; la fiche de carte montre le niveau, la Puissance et l'expérience gagnée au retour.
await expect(partner.getByRole("region", { name: /^Grimoire/ })).toContainText("Les paires de lore");
await expect(partner.getByRole("region", { name: "Sac du Veilleur", exact: true })).toBeVisible();
const bridge = partner.getByRole("form", { name: "Pont des Veilleurs" });
await bridge.getByRole("spinbutton", { name: "Éclats à obtenir" }).fill("2");
await expect(bridge).toContainText("Coût : 6");