Make normal Banker income mandatory in fresh Skills setups
This commit is contained in:
1 parent
628f59b73a
commit
3ed9856578
43 files changed
+1244
-263
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import {
|
||||
applyAction, createGame, initializeSpiceBankerIncomeGameForAudit,
|
||||
applyAction, createGame, initializeLeaderSkillsGameForAudit,
|
||||
joinGame, newPlayer, viewGame, type Game,
|
||||
} from '../game/engine';
|
||||
import type { FactionId } from '../game/catalog';
|
||||
@@ -78,7 +78,7 @@ export function initializeNativeBankerIncomeSetup(options: NativeBankerIncomeOpt
|
||||
assert.equal(game.status, 'lobby');
|
||||
} else for (const faction of factions.slice(1)) joinGame(game, newPlayer(faction, faction, faction));
|
||||
for (const player of game.players) if (!player.ready) game = applyAction(game, player.id, { type: 'ready' });
|
||||
return withNativeBankerSkillShuffle(() => initializeSpiceBankerIncomeGameForAudit(game));
|
||||
return withNativeBankerSkillShuffle(() => initializeLeaderSkillsGameForAudit(game));
|
||||
}
|
||||
|
||||
function step(game: Game): Game {
|
||||
|
||||
Reference in new issue
Block a user