Rework the expedition screens: in-place return, illustrated bag and workshop, card sheet tabs and an engraving workshop

Expeditions
- The journey keeps the destination landscape still while a sky scenery
  (clouds, floating isles, shards, sparkles) drifts behind the cards.
- A returned expedition shows only what the player receives, in place and
  without a window; claiming it removes the card and confirms with a notice,
  and the page reloads by itself when an expedition comes back.
- The Guild Keeper slots are gone: group requirements scale with the players.
- Local development adds a 20-second test duration, a test player for groups
  and keeps the dev account stocked with every item.
- The Wind Rose has no daily limit and is used from the destinations step.
- The Guide Star opens a destination one level below the player's highest daily
  level, the Sky Chart one at that level; bonus destinations are badged with
  the item that opened them.

Bag and workshop
- The Watcher's bag is a grid of illustrated item cards, ordered from the
  destination items, with a short "Utiliser" button; the six missing item
  illustrations are added.
- The workshop opens in a window with illustrated commons, spare counts on the
  cards, cancel without spending anything, and shows the crafted card with its
  description and power.
- The engraving workshop picks a common first, then a tag from a chosen
  character card (in its tag colours) or from every tag, filtered by name and
  family; card lists filter by name, collection and stat.

Card sheet
- Two tabs: the card and its lore (default from the collection), and its
  improvement (default from the expeditions) with a summary of power, level,
  experience and stats.
- "Répartition des statistiques" offers Par défaut, Personnalisé and profiles,
  previews the change in the summary, and a Parchemin d'oubli resets it to
  Personnalisé so the next choice is free again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-18 13:36:01 +01:00
parent 7a0d19da75
commit 30413de036
48 changed files with 1506 additions and 433 deletions

View file

@ -114,7 +114,7 @@ function ArticlesForm({ catalog, setting, articles, busy, save, saveExpeditionPr
{!articles.open && <span className="nds-badge" data-variant="neutral">Fermé aux joueurs</span>}
<label><span>Prix</span><input className="nds-input" aria-label="Prix d’un Parchemin d’oubli" type="number" inputMode="numeric" min={oblivion.min} max={oblivion.max} step="1" {...field("oblivionPrice")} /></label>
{oblivionValid
? <p className="nebula-form-help">Change le plan de progression d’une carte. Le premier choix de plan est gratuit.</p>
? <p className="nebula-form-help">Réinitialise la répartition des stats d’une carte personnage. Le premier choix de plan est gratuit.</p>
: <p className="nebula-form-help" role="alert">Prix d’un Parchemin : entier de {oblivion.min} à {oblivion.max.toLocaleString("fr-FR")}.</p>}
</div>
</article>}
@ -125,7 +125,7 @@ function ArticlesForm({ catalog, setting, articles, busy, save, saveExpeditionPr
{!articles.open && <span className="nds-badge" data-variant="neutral">Fermé aux joueurs</span>}
<label><span>Prix</span><input className="nds-input" aria-label="Prix d’une Rose des vents" type="number" inputMode="numeric" min={windRose.min} max={windRose.max} step="1" {...field("windRosePrice")} /></label>
{windRoseValid
? <p className="nebula-form-help">Tire de nouvelles destinations pour la journée, une fois par jour. Elle sort aussi rarement du butin (poids réglé dans Guilde › Expéditions).</p>
? <p className="nebula-form-help">Tire de nouvelles destinations pour la journée, autant de fois qu’on a de Roses. Elle sort aussi rarement du butin (poids réglé dans Guilde › Expéditions).</p>
: <p className="nebula-form-help" role="alert">Prix d’une Rose des vents : entier de {windRose.min} à {windRose.max.toLocaleString("fr-FR")}.</p>}
</div>
</article>}

View file

@ -58,7 +58,6 @@ export const EXPEDITION_SETTING_GROUPS = [
{ path: "group.slots", label: "Places par groupe" },
{ path: "group.recruitHours", label: "Période d’inscription maximale", unit: "h" },
{ path: "group.lootPct", label: "Multiplicateur de butin selon les joueurs", unit: "%", items: ["2 joueurs", "3 joueurs", "4 joueurs"] },
{ path: "group.npcStat", label: "Stats du Veilleur de la Guilde (chacune)" },
{ path: "group.cohesionPct", label: "Bonus de cohésion, collections toutes différentes", unit: "%" }
]
},
@ -83,7 +82,7 @@ export const EXPEDITION_SETTING_GROUPS = [
{ path: "progression.costFactor", label: "Éclats par point de Puissance au-dessus du décalage" },
{ path: "progression.costOffset", label: "Décalage du coût (Puissance)" },
{ path: "progression.duplicateLevels", label: "Niveaux donnés par un doublon" },
{ path: "progression.fieldXpPct", label: "Expérience de terrain par retour, en part d’un niveau", unit: "%" },
{ path: "progression.fieldXpPct", label: "Expérience par retour, en part d’un niveau", unit: "%" },
{ path: "plans.maxStatPct", label: "Part maximale des points de niveau dans une stat", unit: "%" }
]
},
@ -139,8 +138,8 @@ export const EXPEDITION_SETTING_GROUPS = [
{ path: "items.weights.engraving", label: "Poids : burin de graveur" },
{ path: "items.weights.plan", label: "Poids : plan d’atelier" },
{ path: "items.weights.anchor", label: "Poids : ancre des Veilleurs" },
{ path: "items.weights.guideStar", label: "Poids : étoile guide (5e destination)" },
{ path: "items.weights.skyChart", label: "Poids : carte céleste (6e destination)" },
{ path: "items.weights.guideStar", label: "Poids : étoile guide (destination bonus)" },
{ path: "items.weights.skyChart", label: "Poids : carte céleste (destination bonus au butin plus riche)" },
{ path: "items.weights.windRose", label: "Poids : rose des vents (nouvelles destinations du jour)" },
{ path: "items.weights.oblivion", label: "Poids : parchemin d’oubli (changer le plan d’une carte)" }
]
@ -187,7 +186,7 @@ export const EXPEDITION_SETTING_GROUPS = [
{ path: "loot.tierPct", label: "Multiplicateur du palier", unit: "%", items: ["Retour difficile", "Réussite", "Triomphe"] },
{ path: "loot.fortunePerPointPct", label: "Bonus de carte par point de Fortune par place", unit: "%" },
{ path: "loot.fortuneCapPct", label: "Bonus de Fortune maximal", unit: "%" },
{ path: "loot.bonusSlotPct", label: "Multiplicateur des destinations bonus", unit: "%", items: ["5e destination", "6e destination"] },
{ path: "loot.bonusSlotPct", label: "Multiplicateur des destinations bonus", unit: "%", items: ["Étoile guide", "Carte céleste"] },
{ path: "specialty.boostPct", label: "Spécialité simple : la récompense favorisée", unit: "%" },
{ path: "specialty.otherPct", label: "Spécialité simple : les trois autres récompenses", unit: "%" },
{ path: "specialty.pairBoostPct", label: "Spécialité double : les deux récompenses favorisées", unit: "%" },