Separate Guild transport permission, purchase price and loan approval
This commit is contained in:
1 parent
a12250320c
commit
11adb7dbf3
39 files changed
+1576
-121
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user