Support bribe promises with Kull and Richese
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
52d932002b
commit
2eaaab876e
15 files changed
+422
-10
No files matched your search
@@ -38,7 +38,7 @@ export function parseBribeClaim(value: unknown): BribeClaim {
|
||||
|
||||
/** The ordinary, grouped and mixed bribe families share this admission. The
|
||||
* printed Kull extension is deliberately limited to the existing fresh Basic
|
||||
* CHOAM, Ixian, Tleilaxu, Ecaz, Moritani and classic roster; other previews keep their own composition boundaries.
|
||||
* CHOAM, Richese, Ixian, Tleilaxu, Ecaz, Moritani and classic roster; other previews keep their own composition boundaries.
|
||||
* This quote grants no start permission or future unowned funds. */
|
||||
export function bribePromiseModeSupported(game: NativePromiseScope & {
|
||||
semutaPreview?: unknown; kullPreview?: unknown; nexusKullPreview?: unknown;
|
||||
@@ -49,8 +49,11 @@ export function bribePromiseModeSupported(game: NativePromiseScope & {
|
||||
}, options: {allowKullRichese?: boolean} = {}): boolean {
|
||||
if (!nativePromiseScopeSupported(game) || game.nexusKullPreview ||
|
||||
game.richeseBetrayalPreview) return false;
|
||||
if (game.semutaPreview && game.kullPreview) return game.semutaPreview === true &&
|
||||
game.kullPreview === true && game.players.some(player => player.faction === 'richese') &&
|
||||
bribePromiseModeSupported({...game, semutaPreview: undefined}, {allowKullRichese:true});
|
||||
if (game.semutaPreview) return game.semutaPreview === true && !game.advanced &&
|
||||
!game.kullPreview && game.expansions.includes('choam') &&
|
||||
game.expansions.includes('choam') &&
|
||||
game.players.some(player => player.faction === 'richese') &&
|
||||
!game.guildBetrayalPreview && !game.nexusIxianReplacementPreview &&
|
||||
!game.nexusIxianBetrayalPreview && !game.nexusHarkonnenBetrayalPreview &&
|
||||
|
||||
Reference in new issue
Block a user