Architect runs (prototype): one network, built brief by brief

Three runs (Euro Run, Coast to Coast, Pacific Rim) on the puzzle machinery: briefs add sites,
raise demand, make sites gold, ask for rings or latency caps, or close a city; earlier builds
stay paid for, and the backhoe review cuts every trench and cable in turn. By tkjaer, from
seriesoftubes-architect.
This commit is contained in:
tkjaer 2026-10-30 08:01:42 +01:00 • committed by Frederic Jung
parent be63e3df67
commit 644e6174d9
No known key found for this signature in database
15 changed files with 588 additions and 40 deletions

View file

@ -0,0 +1,8 @@
// Architect runs (prototype). Named pz* like the puzzle actions, so a puzzle lets them through.
Object.assign(ACT,{
pzArStart:({id})=>{const r=arRunDef(id);if(r)arBegin(r);},
pzArGo:()=>{if(arOn())arShowStart();},
pzArSkip:()=>{if(arOn())arShowSkip();},
pzArNext:()=>{if(arOn())arNext();},
pzArAll:()=>{if(!arOn())return;UI.arAll=!UI.arAll;if(!UI.arAll&&UI.sel&&UI.sel.type==='city'&&!arKind(UI.sel.id))UI.sel=null;sfx('click');renderAll();},
});