Add Stuttgart with the Spätzle-IX
Stuttgart has no transit for sale and no private interconnects: the Spätzle-IX is the only way to exchange traffic locally, otherwise haul it to Frankfurt. Frankfurt and Stuttgart get small display-only nudges so they don't overlap on the map; distances still use real coordinates.
This commit is contained in:
parent
fbe2dab565
commit
1980d673b9
3 changed files with 18 additions and 3 deletions
|
|
@ -125,3 +125,11 @@ test('goal rewards are paid once, even for goals finished on day 0', () => {
|
|||
assert.equal(ev('S.cash'), c1, 'no repeated reward');
|
||||
assert.equal(c1 - c0, ev("GOALS.find(g=>g.id==='bb').r") - ev("bbCost('fra')"));
|
||||
});
|
||||
|
||||
test('Stuttgart has only the Spätzle-IX: no transit, no PNIs', () => {
|
||||
const { ev } = load();
|
||||
assert.equal(ev("CITY.stg.ix"), 'Spätzle-IX');
|
||||
assert.equal(ev("NETS.filter(n=>n.pops.includes('stg')).length"), 0);
|
||||
ev('ACT.start({})');
|
||||
assert.ok(ev("ixMembers('stg').length") > 0, 'networks still peer at the exchange');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue