Separate Guild transport permission, purchase price and loan approval

This commit is contained in:
Quintine committed 2026-10-15 22:52:37 +11:00
1 parent a12250320c
commit 11adb7dbf3
39 files changed
+1576 -121

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ import {
type Game,
type Action,
} from '../game/engine';
import { passNativeGuildTransportPermission } from './fixture-guild-ambassador-income-arrival';
import {
nexusGuildCunningFixture,
originalGuildCunningTurn,
@@ -503,6 +504,7 @@ for (const route of ['reserve', 'transport'] as const) {
assert.equal(g.decision?.kind, 'guildShipment');
g = applyAction(g, f.owner, { type: 'decision', allow: true });
}
g = passNativeGuildTransportPermission(g).game;
assert.equal(g.response?.kind, 'guildRate');
assert.equal(g.players[0].shipped, true);
assert.equal(g.nexusGuildCunningLast?.stage, 'secondShipment');