Support Richese Kull current-lot bid answers
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 00:25:37 +11:00
1 parent bf73c41ae0
commit 8b577f2487
11 files changed
+225 -13

No files matched your search

+9
View File
@@ -42,6 +42,15 @@ export function bidPromiseModeSupported(game: NativePromiseScope & {
(!game.kullPreview || bribePromiseModeSupported(game, options));
}
/** Simple current-lot questions have their own Richese/Kull continuation.
* Do not use this admission for mixed questions or Richese cache auctions. */
export function currentBidPromiseModeSupported(game: Parameters<typeof bidPromiseModeSupported>[0]): boolean {
if (game.advanced === false && game.kullPreview === true && game.semutaPreview === true &&
game.players.some(player => player.faction === 'richese'))
return bidPromiseModeSupported({...game, semutaPreview: undefined}, {allowKullRichese:true});
return bidPromiseModeSupported(game);
}
export function bidClaimText(claim: BidClaim): string {
return `place a bid of at least ${claim.minimum} spice from now until ordinary lot ${claim.lot} closes`;
}