Connect Advanced Black Market gifts and BG arrivals
Verify and publish checkpoint container / container (push) Successful in 11m32s

This commit is contained in:
Quintine committed 2026-11-16 18:33:50 +11:00
1 parent 28700389dc
commit 1f3bc349ba
9 files changed
+274 -25

No files matched your search

+4 -2
View File
@@ -19241,7 +19241,8 @@ function emperorAuctionGiftSignature(g: Game): string {
return JSON.stringify([g.turn, g.phase, g.active, g.decision ?? emperorAuctionGiftParked(g)?.decision, g.order, g.auction, g.aid]);
}
function beginEmperorRicheseAuctionGift(g: Game, quote: Extract<RicheseSettlementQuote,{kind:'sold'}>, bank = false): boolean {
if (g.status !== 'playing' || g.phase !== 3 || g.richeseAuction?.source !== 'cache' ||
if (g.status !== 'playing' || g.phase !== 3 ||
!(g.richeseAuction?.source === 'cache' || g.advanced && g.richeseAuction?.source === 'blackMarket') ||
g.techTokens || g.strongholdCards || g.leaderSkills || g.homeworlds ||
(g.advanced && g.nexusCards) || g.discoveryEnabled || g.coalitionState || g.ecazTreachery ||
g.pendingEmperorAuctionGift || g.response || g.decision || g.phaseOpening || g.truthtrance ||
@@ -19291,7 +19292,8 @@ function emperorAuctionGiftIntegrity(g: Game) {
typeof pending.event === 'string' && !!pending.event && owner?.faction === 'emperor' && recipient &&
owner.ally === recipient.id && recipient.ally === owner.id &&
(pending.source === 'richese'
? (pending.bank === undefined || pending.bank === true) && !decision && !g.auction && g.richeseAuction?.source === 'cache' && !!pending.quote &&
? (pending.bank === undefined || pending.bank === true) && !decision && !g.auction &&
(g.richeseAuction?.source === 'cache' || g.advanced && g.richeseAuction?.source === 'blackMarket') && !!pending.quote &&
pending.quote.winner === recipient.id && JSON.stringify(pending.quote) === JSON.stringify(richeseSettlementQuote(g)) &&
(!pending.bank || !!g.richeseBetrayalPreview && !!g.richeseBetrayal?.completed.some(receipt =>
receipt.stage === 'used' && receipt.invoice.kind === 'sale' && receipt.lot === g.richeseAuction!.event &&