Enable Advanced classic group preview
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
89386af95b
commit
d8d3cfd26c
8 files changed
+138
-20
No files matched your search
+3
-3
@@ -1448,7 +1448,7 @@ type RicheseAllyOffer = {
|
||||
payer: string;
|
||||
};
|
||||
export type Game = {
|
||||
/** Explicit incomplete Basic group preview; absent in legacy games. */
|
||||
/** Explicit incomplete classic group preview; absent in legacy games. */
|
||||
coalitionPreview?: 'three' | 'three-short' | 'unlimited';
|
||||
/** Group-alliance integration state; absent in ordinary existing games. */
|
||||
coalitionState?: CoalitionState;
|
||||
@@ -10886,11 +10886,11 @@ function startModules(state: Game): Game {
|
||||
/** Public consistency only; each module's genuine initializer validates its own envelope. */
|
||||
function baseStartProfileBlock(g: Game): string | null {
|
||||
if (g.coalitionPreview && g.status === 'lobby' &&
|
||||
(g.advanced || g.expansions.length > 0 || g.players.length < 3 ||
|
||||
(g.expansions.length > 0 || g.players.length < 3 ||
|
||||
!g.players.every(p => CLASSIC_FACTIONS[p.faction] === true) || g.twoPlayerControllers ||
|
||||
g.shortAllianceVictory || g.techTokens || g.strongholdCards || g.homeworlds ||
|
||||
g.nexusCards || g.discoveryEnabled || g.leaderSkills || g.ecazTreachery || lobbyModulesSelected(g)))
|
||||
return 'The group-alliance preview needs at least three classic factions, Basic rules, and no expansion decks, other optional modules, two-person setup or separate short-alliance setting.';
|
||||
return 'The group-alliance preview needs at least three classic factions and no expansion decks, other optional modules, two-person setup or separate short-alliance setting.';
|
||||
if (g.status === 'lobby' && (g.moritaniAssassinatePreview || g.moritaniAssassinate))
|
||||
return 'Separate development profiles cannot be enabled by a normal start.';
|
||||
if (g.status === 'lobby' && (g.leaderSkills || g.ecazTreachery))
|
||||
|
||||
Reference in new issue
Block a user