Compose classic Nexus with earned phase modules

This commit is contained in:
Quintine committed 2026-10-18 06:21:11 +11:00
1 parent a7cc25ae29
commit ce716f3438
21 files changed
+875 -31

No files matched your search

+3 -3
View File
@@ -30,13 +30,13 @@ type ClassicNexusProfile = Partial<FactionModuleProfile> & Pick<FactionModulePro
sandtrout?: unknown; moritaniAssassinatePreview?: unknown;
};
/** Classic Nexus12 with selected base33/independent36 and optional all14 Skills.
/** Classic Nexus12 with selected base33/independent36, optional all14 and original phase modules.
* Native Guild/Harkonnen/Ixian effect stamps are not additional selected modules. */
export function classicNexusCoreProfile(game: ClassicNexusProfile): boolean {
const players = game.players;
if (typeof game.advanced !== 'boolean' || !game.nexusCards ||
game.expansions.length !== 0 || !players || players.length < 2 || players.length > 6 ||
game.homeworlds || game.techTokens || game.strongholdCards || game.sandtrout ||
game.expansions.length !== 0 || !players || players.length < (game.techTokens ? 3 : 2) || players.length > 6 ||
game.homeworlds || (game.strongholdCards && !game.advanced) || game.sandtrout ||
game.discoveryEnabled || game.discoveries || game.discoveryStash || game.greatMaker ||
game.semutaPreview || game.moritaniAssassinatePreview || game.advancedPreview || game.kullPreview || game.nexusKullPreview ||
game.richeseBetrayalPreview ||