Support Advanced Semuta at Truthtrance auction answers
Verify and publish checkpoint container / container (push) Successful in 11m23s

This commit is contained in:
Quintine committed 2026-11-16 19:00:42 +11:00
1 parent dd4222ee92
commit 12060f3112
7 files changed
+383 -12

No files matched your search

+30 -4
View File
@@ -2000,6 +2000,8 @@ export type Game = {
remaining: TruthWindow | null;
/** Absent on older saved Truth discard receipts. */
richeseLotEvent?: string;
/** Fresh Advanced auction answer with its exact native bid ledgers. */
advancedAuctionTruth?: true;
resume: NonNullable<Game['pendingNullentropy']>['resume'];
promise:
| { kind: 'shipment'; index: number; value: ShipmentPromise }
@@ -8038,6 +8040,13 @@ function truthtranceDiscardSignature(g: Game, next: TruthDiscardContinuation) {
...(next.record.question.kind === 'mixedBid' ? {
mixedBidQuestions: g.mixedBidQuestions, bidPromises: g.bidPromises,
} : {}),
...(next.advancedAuctionTruth ? {advancedAuctionTruth:true, aid:g.aid,
bidPromises:g.bidPromises, phaseBidPromises:g.phaseBidPromises,
richeseBidPromises:g.richeseBidPromises, mixedBidQuestions:g.mixedBidQuestions,
mixedRicheseBidQuestions:g.mixedRicheseBidQuestions,
richeseBidding:g.richeseBidding, richeseFunding:g.richeseFunding,
...(g.richeseAuction?.source === 'blackMarket' ? {offered:g.richeseOfferedCard,
reservedCard:richeseLotCard(g)} : {})} : {}),
...(next.record.question.kind === 'mixedRicheseBid' ? {
mixedRicheseBidQuestions: g.mixedRicheseBidQuestions, richeseBidPromises: g.richeseBidPromises,
} : {}),
@@ -8123,7 +8132,9 @@ function finishTruthtranceAnswer(g: Game) {
historyIndex,
record,
remaining,
...(supportedRicheseTruthLot(g) ? {richeseLotEvent:g.richeseAuction!.event} : {}),
...(advancedTruthAuctionSupported(g,record.question.kind) ? {advancedAuctionTruth:true as const} : {}),
...(supportedRicheseTruthLot(g) || advancedTruthAuctionSupported(g,record.question.kind) &&
supportedSaphoRicheseTruthLot(g) ? {richeseLotEvent:g.richeseAuction!.event} : {}),
resume,
promise,
parentSignature: '',
@@ -9151,8 +9162,12 @@ function treacheryDiscardIntegrity(g: Game) {
'The consumed Truthtrance does not match its completed answer history.',
);
const remaining = c.remaining;
requireRule(!c.richeseLotEvent || supportedRicheseTruthLot(g) && g.richeseAuction?.event === c.richeseLotEvent,
'The completed Truthtrance no longer matches its original Richese cache lot.');
requireRule(!c.advancedAuctionTruth || c.advancedAuctionTruth === true &&
advancedTruthAuctionSupported(g,record.question.kind),
'The completed Truthtrance no longer matches its original Advanced auction.');
requireRule(!c.richeseLotEvent || (supportedRicheseTruthLot(g) ||
c.advancedAuctionTruth && supportedSaphoRicheseTruthLot(g)) && g.richeseAuction?.event === c.richeseLotEvent,
'The completed Truthtrance no longer matches its original Richese lot.');
requireRule(
remaining === null ||
(remaining &&
@@ -9938,6 +9953,10 @@ function advancedSaphoAuctionSemuta(g: Game): boolean {
(supportedSaphoRicheseTruthLot(g) || !!g.auction && !g.richeseAuction &&
!!g.auction.cards[g.auction.index] && !!g.auction.active);
}
function advancedTruthAuctionSupported(g: Game, kind: TruthQuestion['kind']): boolean {
return advancedSaphoAuctionSemuta(g) &&
['fact','freeform','bid','mixedBid','phaseBid','richeseBid','mixedRicheseBid'].includes(kind);
}
/** Bind a parked native ride to its original remaining Spice Blow sequence. */
function wormDiscardCursor(g: Game): string {
return JSON.stringify([g.turn, g.phase, g.wormRides, g.spiceSequence,
@@ -10010,6 +10029,11 @@ function semutaOfferSupported(
const advancedRicheseSaphoDiscard = continuation.kind === 'saphoTruthOrderDiscard' &&
advancedSaphoAuctionSemuta(g) && supportedSaphoRicheseTruthLot(g) &&
!!continuation.richeseLotEvent && continuation.richeseLotEvent === g.richeseAuction?.event;
const advancedTruthAuctionDiscard = continuation.kind === 'truthtranceDiscard' &&
continuation.advancedAuctionTruth === true && continuation.promise === null &&
advancedTruthAuctionSupported(g,continuation.record.question.kind) &&
(!g.richeseAuction || supportedSaphoRicheseTruthLot(g) &&
continuation.richeseLotEvent === g.richeseAuction.event);
const richeseBoxDiscard = supportedRicheseTruthLot(g) && continuation.kind === 'nullentropyDiscard' &&
continuation.auctionBinding?.kind === 'richese';
const richeseDistransDiscard = continuation.kind === 'distransDiscard' &&
@@ -10280,6 +10304,7 @@ function semutaOfferSupported(
continuation.kind === 'nullentropyDiscard' || continuation.kind === 'distransDiscard' ||
continuation.kind === 'residualPoisonDiscard' || continuation.kind === 'choamSaleDiscard' ||
continuation.kind === 'saphoTruthOrderDiscard' && advancedSaphoAuctionSemuta(g) ||
advancedTruthAuctionDiscard ||
continuation.kind === 'karamaEmperorShareDiscard' &&
emperorAuctionGiftResumeMatches(g, continuation.use.response, continuation.resume.decision) ||
((continuation.kind === 'choamKulonDiscard' || continuation.kind === 'choamLaLaLaDiscard' ||
@@ -10464,7 +10489,8 @@ function semutaOfferSupported(
continuation.use.response.kind === 'emperorIncome') ||
continuation.kind === 'karamaEmperorShareDiscard' &&
emperorAuctionGiftResumeMatches(g, continuation.use.response, continuation.resume.decision) ||
richeseTruthDiscard || advancedRicheseSaphoDiscard || richeseBoxDiscard || richeseDistransDiscard || !g.richeseAuction) &&
richeseTruthDiscard || advancedRicheseSaphoDiscard || advancedTruthAuctionDiscard ||
richeseBoxDiscard || richeseDistransDiscard || !g.richeseAuction) &&
(richeseGiftDiscard || combatDiscard || alliedTraitorDiscard || occupyDiscard || continuation.kind === 'saphoAggressorDiscard' ||
(continuation.kind === 'saphoTruthOrderDiscard' && !!continuation.battleEvent &&
g.phase === 6 && g.battle?.event === continuation.battleEvent && !g.battle.revealed && !g.battle.preparation &&
+1 -1
View File
@@ -514,7 +514,7 @@ export const RULE_TOPICS: RuleTopic[] = [
'If you recover the physical Sapho after choosing Last, you may use it again to choose First, including after suspending your own started turn. This provisionally replaces your own Last protection without restoring spent actions. Completed turns stay complete and a different started current actor finishes first. Another holder cannot replace your protected Last.',
'Between completed battles, choose first or last among remaining battle choosers. The priority lasts for the rest of the Battle phase. You still need a real unresolved battle. Others may choose battles against you before your own turn; last is not immunity. This scope changes the chooser, not each battle’s aggressor or tie advantage.',
'In a fresh Richese battle, use unreserved Sapho at a clean boundary before both combatants finish final battle actions, including after sealed plans and revealed declarations. Habbanya still precedes ordinary aggressor tie priority. Participants, plans, promises, weapon choices and votes do not swap or replay. Older battles retain their pre-plan opportunity.',
'When two or more players declared Truthtrance in a supported clean parent, each queued holder may continue or use their held Sapho to move their entire pending question group first or last. Physical storm order and each holder’s card order stay unchanged. Supported Semuta claim/pass restores the same question queue, including the selected Homeworld, Leader Skills and Discovery profiles. Clean ordinary auction lots also preserve their standing bid and remaining clock. Richese cache Once Around and Silent lots and Advanced Black Market lots preserve their original bidding and funding. Fresh Advanced CHOAM-only Richese games offer Semuta on this Sapho discard in those auctions; the later Truthtrance discard and other combinations remain unfinished.',
'When two or more players declared Truthtrance in a supported clean parent, each queued holder may continue or use their held Sapho to move their entire pending question group first or last. Physical storm order and each holder’s card order stay unchanged. Supported Semuta claim/pass restores the same question queue, including the selected Homeworld, Leader Skills and Discovery profiles. Clean ordinary auction lots also preserve their standing bid and remaining clock. Richese cache Once Around and Silent lots and Advanced Black Market lots preserve their original bidding and funding. Fresh Advanced CHOAM-only Richese games offer Semuta on this Sapho discard and supported definite factual or bid-question Truthtrance discards in those auctions. Other question families and combinations remain unfinished.',
'During a clean native Extortion payer decision, use Sapho to take your optional choice first/last among unanswered non-Moritani players. Earlier declines, collected bank5 and the one-payment3 limit remain. The next payer event changes even when that player stays next. You may decline instead of paying.',
'Before either of two Ecological Testing Station occupants chooses, use Sapho to take your adjustment first or last if that changes the order. Fresh choices with Richese seated give both occupants a shared opportunity to use an available order change or continue; an automated occupant cannot advance the station choice while another player is deciding. Each occupant still adjusts the cumulative storm distance once. Physical storm order and its original source stay unchanged. In supported Semuta games, claim or pass resumes the same next choice. Replay of a recovered Sapho remains unfinished; this online priority is provisional.',
'During ordered Advanced Charity, take your remaining turn first or last, then discard Sapho. An accepted current claim provisionally protects that actor while another holder reorders only later unstarted turns. At a clean boundary, the holder may pause its own claimed turn and resume last without repeating the claim or payment. Completed turns stay closed and physical First Player order is unchanged. Basic and older concurrent phases have no ordered scope.',