Support whole-turn answers with Basic Kull
Verify and publish checkpoint container / container (push) Successful in 10m21s

This commit is contained in:
Quintine committed 2026-10-29 01:37:33 +11:00
1 parent d6ddb7cb5c
commit 07f1f1f2ae
16 files changed
+870 -14

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
import { TERRITORIES, validLocation } from './board';
import { BribePromiseError, parseBribeClaim } from './bribe-promises';
import { BribePromiseError, bribePromiseModeSupported, parseBribeClaim } from './bribe-promises';
import { BidPromiseError, parseBidClaim } from './bid-promises';
import { AlliancePromiseError, parseAllianceClaim } from './alliance-promises';
import { parseRevivalActionClaim, type RevivalActionClaim } from './mixed-revival-question';
@@ -34,10 +34,10 @@ export const TURN_ACTION_MAX_DEPTH = 4;
/** Native whole answers retain Semuta's own discard continuation. Other
* unsupported interruption/module envelopes stay separately gated. */
export function turnActionPromiseModeSupported(game: NativePromiseScope & {
kullPreview?: unknown; nexusKullPreview?: unknown; richeseBetrayalPreview?: unknown;
kullPreview?: unknown; semutaPreview?: unknown; nexusKullPreview?: unknown; richeseBetrayalPreview?: unknown;
}): boolean {
return nativePromiseScopeSupported(game) && !game.kullPreview &&
!game.nexusKullPreview && !game.richeseBetrayalPreview;
return nativePromiseScopeSupported(game) && !game.nexusKullPreview && !game.richeseBetrayalPreview &&
(!game.kullPreview || game.kullPreview === true && !game.advanced && bribePromiseModeSupported(game));
}
export type TurnActionLeaf = TravelActionClaim | StormDialClaim | { kind: 'payment'; recipient: string; minimum: number } |