Connect Nexus Skills and Advanced Ambassador markers
Verify and publish checkpoint container / container (push) Successful in 10m45s

This commit is contained in:
Quintine committed 2026-11-16 16:23:53 +11:00
1 parent 2660b10af0
commit 4270b36be7
14 files changed
+578 -41

No files matched your search

+29 -1
View File
@@ -117,6 +117,34 @@ function basicNativeNexusCore(game: NexusCoreConfiguration): boolean {
return true;
}
/** Basic Nexus/Kull with original Leader Skills. Recognize the fresh setup
* before its Kull stamps and live games after both stamps alike. */
export function nexusKullLeaderSkillsProfile(game: NexusCoreConfiguration): boolean {
const players = game.players;
if (game.advanced !== false || !game.nexusCards || !game.leaderSkills || !players ||
players.length < 2 || players.length > 6 ||
(game.expansions.length !== 2 && game.expansions.length !== 3) ||
!game.expansions.includes('ix') || !game.expansions.includes('choam') ||
game.expansions.some(id => id !== 'ix' && id !== 'choam' && id !== 'ecaz') ||
new Set(game.expansions).size !== game.expansions.length ||
!players.some(player => player.faction === 'choam') ||
game.homeworlds || game.techTokens || game.strongholdCards ||
game.discoveryEnabled || game.discoveries || game.discoveryStash || game.greatMaker ||
game.advancedPreview || game.richeseBetrayalPreview || game.moritaniAssassinatePreview ||
(game.semutaPreview && (game.semutaPreview !== true ||
!players.some(player => player.faction === 'richese'))) ||
((game.kullPreview || game.nexusKullPreview) &&
(game.kullPreview !== true || game.nexusKullPreview !== true))) return false;
const factions = new Set<string>();
for (const player of players) {
if (factions.has(player.faction)) return false;
factions.add(player.faction);
const faction = FACTIONS.find(candidate => candidate.id === player.faction);
if (!faction || (faction.expansion !== 'base' && !game.expansions.includes(faction.expansion))) return false;
}
return true;
}
/** Original selected decks do not require their native factions or the
* independent three-card variant. Hidden E3/Harkonnen compositions retain
* their existing separately scoped paths. */
@@ -132,7 +160,7 @@ export function selectedNexusWithoutCardsProfile(game: NexusCoreConfiguration):
/** Common consumers of supported classic and selected-deck Nexus games. */
export function nexusCoreProfile(game: NexusCoreConfiguration): boolean {
return classicNexusCoreProfile(game) || selectedIndependentNexusProfile(game) ||
return nexusKullLeaderSkillsProfile(game) || classicNexusCoreProfile(game) || selectedIndependentNexusProfile(game) ||
independentDiscoveryNexusProfile(game) || selectedNexusWithoutCardsProfile(game);
}