Connect printed flight and poison plays to Truthtrance

This commit is contained in:
Quintine committed 2026-10-27 08:49:45 +11:00
1 parent b02839ce2a
commit 6a0fba860d
17 files changed
+963 -41

No files matched your search

+2 -1
View File
@@ -951,7 +951,7 @@ export function closeTurnActionPayments<T extends TurnActionPromise>(promises: r
});
}
/** Close transport and its native Hajr stage; later Ghola or payment can still complete the tree.
/** Close transport and its native Hajr/Ornithopter stages; later card or payment alternatives can complete the tree.
* The native joint solver, rather than this ledger, rejects own illegal closure. */
export function closeTurnActionTransport<T extends TurnActionPromise>(promises: readonly T[], player: string,
turn: number): T[] {
@@ -962,6 +962,7 @@ export function closeTurnActionTransport<T extends TurnActionPromise>(promises:
return settle(promise, { ...promise, transportClosed: true,
shipment: { ...promise.shipment, pending: false }, ...(promise.cardPlays ? { cardPlays: {
...promise.cardPlays, hajr: promise.cardPlays.hajr ? { ...promise.cardPlays.hajr, closed: true } : null,
...(promise.cardPlays.ornithopter ? { ornithopter: { ...promise.cardPlays.ornithopter, closed: true } } : {}),
} } : {}) });
});
}