Title screen: language first, name on top, compact presets, one home-city drawer

This commit is contained in:
Frederic Jung 2026-10-29 11:31:46 +01:00
parent e880dc69c1
commit 2eb22d1df3
No known key found for this signature in database
13 changed files with 49 additions and 53 deletions

View file

@ -605,7 +605,7 @@ test('Africa: more countries, cables along both coasts, border costs and Cape to
test('Australia: hard mode start in Sydney, dear transit and waves, cheap IX ports, NBN takes its cut', () => {
const { ev, errors } = load();
ev("showTitle()");
assert.ok(ev("!!document.querySelector('.start[data-city=\"syd\"]')"), 'Sydney is on the start screen');
assert.ok(ev("!!document.querySelector('#homeSel optgroup:first-child option[value=syd]')"), 'Sydney is among the suggested homes');
ev("ACT.pickStart({city:'syd'});ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0");
assert.equal(ev('S.home'), 'syd');
assert.equal(ev("regionMult('syd')"), 3, 'transit into Australia costs more than Asia');