Integrate Harkonnen Nexus traitor retirement and Mentat replacement
This commit is contained in:
1 parent
0c25aad62f
commit
1cf8ff72c7
25 files changed
+3049
-8
No files matched your search
@@ -14,6 +14,7 @@ import {
|
||||
initializeGuildBetrayalGameForAudit,
|
||||
initializeIxianNexusReplacementGameForAudit,
|
||||
initializeIxianNexusBetrayalGameForAudit,
|
||||
initializeHarkonnenNexusBetrayalGameForAudit,
|
||||
viewGame,
|
||||
type Game,
|
||||
} from '../game/engine';
|
||||
@@ -33,6 +34,7 @@ export const PROTOTYPE_PROFILES = [
|
||||
'guild-betrayal',
|
||||
'ixian-replacement',
|
||||
'ixian-betrayal',
|
||||
'harkonnen-betrayal',
|
||||
] as const;
|
||||
export type PrototypeProfile = (typeof PROTOTYPE_PROFILES)[number];
|
||||
export function isPrototypeProfile(value: string): value is PrototypeProfile {
|
||||
@@ -108,6 +110,11 @@ export function startPrototypeRoom(
|
||||
...initial,
|
||||
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
|
||||
})
|
||||
: profile === 'harkonnen-betrayal'
|
||||
? initializeHarkonnenNexusBetrayalGameForAudit({
|
||||
...initial,
|
||||
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
|
||||
})
|
||||
: profile === 'factions'
|
||||
? initializeFactionExpansionsGameForAudit(initial)
|
||||
: profile === 'nexus'
|
||||
|
||||
Reference in new issue
Block a user