Add the race screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
08c3c8f6a2
commit
7ed63fff49
17 changed files with 553 additions and 9 deletions
|
|
@ -18,6 +18,8 @@ export function guildQuests(state, now = Date.now()) {
|
|||
// L'Équipe du jour n'apparaît que si elle est ouverte, ou tant qu'un recrutement n'est pas terminé.
|
||||
const team = state.team;
|
||||
if (team && (team.enabled || team.status === "recruiting")) quests.push({ id: "team", pending: team.status !== "ready", summary: team });
|
||||
// La Course attend une équipe ; une course commencée se termine même si l'Équipe du jour ferme.
|
||||
if (team && ((team.enabled && team.status === "ready") || team.race === "running")) quests.push({ id: "race", pending: team.race !== "finished", summary: team });
|
||||
const expeditions = state.expeditions;
|
||||
if (expeditions && (expeditions.enabled || expeditions.running || expeditions.returned || expeditions.forming)) quests.push({ id: "expeditions", pending: expeditionsPending(expeditions, now), summary: expeditions });
|
||||
return quests;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue