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:
parent
be63e3df67
commit
644e6174d9
15 changed files with 588 additions and 40 deletions
8
src/game/90-actions/96-architect.js
Normal file
8
src/game/90-actions/96-architect.js
Normal 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();},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue