Compose selected E1/E2 independent cards with Nexus rules
Retain selected decks and original optional modules through normal setup, distinguish native Ixian Betrayal from absent-faction replacement, route explicit CHOAM fuel before printed effects, and preserve native No-Field invoices and pair continuation. Connect canonical native cancellation stock and existing human/minimal AI consumers. Validation: 194 affected tests across 19 files, types/lint/build, bounded native invoice review and seven finite original-action/rendered-control programmes. Runtime ec5ad6c18996d8d958ec0d01132ef3e3ea6d23d36188902eca9a63d4db2efbf8; documentation-only proof overlay a5892004937434429916496497c07a3838a324b4a5d64d4a0eb804ab5212d5bd. Other envelopes, full combinations, comprehensive assurance and deployed acceptance remain open. No saved-room/provider changes.
This commit is contained in:
1 parent
999edb67e6
commit
8422cf1f2d
20 files changed
+1413
-97
No files matched your search
@@ -18,7 +18,7 @@ import type { RicheseAuction } from './richese-auction';
|
||||
import { quoteRicheseSettlement, type RicheseSettlementQuote } from './richese-settlement';
|
||||
import { quoteRicheseBetrayalInvoice } from './nexus-richese-betrayal';
|
||||
import { RICHESE_CARD_DEFINITIONS, richeseCardDefinition } from './richese-cards';
|
||||
import { classicNexusCoreProfile } from './faction-module-profile';
|
||||
import { nexusCoreProfile } from './faction-module-profile';
|
||||
|
||||
export type EmperorNexusBankPurchase = {
|
||||
kind: 'purchase';
|
||||
@@ -381,7 +381,7 @@ function nativeBankNexusProfile(g: Game): boolean {
|
||||
* with the Emperor absent, the concealed face and any buyer wallet or hand left
|
||||
* to the caller. */
|
||||
export function emperorNexusBankPurchaseModeSupported(g: Game): boolean {
|
||||
if (classicNexusCoreProfile(g))
|
||||
if (nexusCoreProfile(g))
|
||||
return !g.players.some(p => p.faction === 'emperor') && !g.sandtrout;
|
||||
if (!g.nexusCards || g.players.some(p => p.faction === 'emperor') ||
|
||||
g.ecazTreachery || g.sandtrout) return false;
|
||||
@@ -391,6 +391,8 @@ export function emperorNexusBankPurchaseModeSupported(g: Game): boolean {
|
||||
/** Reuse native Nexus profiles; the existing Richese Betrayal preview composes
|
||||
* only on its original bare paired CHOAM/Richese roster, not arbitrary overlays. */
|
||||
export function emperorNexusSellerPurchaseModeSupported(g: Game): boolean {
|
||||
if (nexusCoreProfile(g))
|
||||
return !g.players.some(p => p.faction === 'emperor') && g.players.some(p => p.faction === 'richese');
|
||||
if (!g.nexusCards || g.players.some(p => p.faction === 'emperor') ||
|
||||
!g.players.some(p => p.faction === 'richese') || g.ecazTreachery || g.sandtrout)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user