seriesoftubes/src/game/90-actions/96-architect.js
tkjaer 644e6174d9
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.
2026-10-30 08:01:42 +01:00

8 lines
453 B
JavaScript

// 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();},
});