Support multiple named Ghola commitments
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 17:50:08 +11:00
1 parent 6c1530382d
commit bdd5aaf18c
8 files changed
+286 -26

No files matched your search

+3
View File
@@ -1305,6 +1305,9 @@ function policyActions(g: GameView): Action[] {
if (g.decision.player !== me.id) return [];
const search = g.nullentropy?.search;
if (!search) return [];
const promised = g.gholaLeaderPromiseGuide?.action;
if (promised?.type === 'decision' && promised.event === search.event &&
search.cards.some(card => card.id === promised.card && card.effect === 'ghola')) return [promised];
const ordered = [...search.cards].sort((a, b) => {
const score = (card: typeof a) => {
const richese = richeseCardDefinition(card);