Support Kull phase bids with Richese
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 00:22:11 +11:00
1 parent f667383565
commit bf73c41ae0
12 files changed
+222 -14

No files matched your search

+2 -1
View File
@@ -46,7 +46,7 @@ export function bribePromiseModeSupported(game: NativePromiseScope & {
nexusIxianReplacementPreview?: unknown; nexusIxianBetrayalPreview?: unknown;
nexusHarkonnenBetrayalPreview?: unknown; moritaniAssassinatePreview?: unknown;
mobileStronghold?: unknown;
}): boolean {
}, options: {allowKullRichese?: boolean} = {}): boolean {
if (!nativePromiseScopeSupported(game) || game.nexusKullPreview ||
game.richeseBetrayalPreview) return false;
if (game.semutaPreview) return game.semutaPreview === true && !game.advanced &&
@@ -62,6 +62,7 @@ export function bribePromiseModeSupported(game: NativePromiseScope & {
game.players.some(player => player.faction === 'choam') &&
new Set(game.players.map(player => player.faction)).size === game.players.length &&
game.players.every(player => player.faction === 'choam' || player.faction === 'ixians' ||
options.allowKullRichese && player.faction === 'richese' ||
player.faction === 'tleilaxu' || game.expansions.includes('ecaz') &&
(player.faction === 'ecaz' || player.faction === 'moritani') ||
FACTIONS.some(faction => faction.id === player.faction && faction.expansion === 'base')) &&