Pie in the Sky: rocket company foundation
Catalog (rockets, crusts, prices), state with newGame default and a full sanitize repair, the one-time unlock on the Tier 1 win (sandbox from day 0), company, factory, pads, R&D, launches, dishes, landing rights, the daily tick, the Founder feed, three badges, a plain Pie Control modal from the NOC tab, and hooks for routing, spats and the globe. Translated in every language.
This commit is contained in:
parent
d2c7294ed3
commit
7fb7be305d
17 changed files with 1019 additions and 4 deletions
|
|
@ -83,6 +83,7 @@ function dayPost(d){
|
|||
if(cm&&d>=S.nextEvent){dirty=true;fireEvent();S.nextEvent=d+Math.round((45+Math.floor(Math.random()*45))/cm);}
|
||||
if(dirty)compute();
|
||||
opsDay(d);
|
||||
if(S.pie){pieDay(d);pieTier();}
|
||||
// payday floaters
|
||||
if(cal(d).d===1){for(const c in S.pops){let v=(R.cityEye[c]*sfOf(R,c)*EYE_RATE)+S.biz.filter(b=>b.city===c).reduce((a,b)=>a+b.bw*b.rate,0);v=v-R.cityEye[c]*sfOf(R,c)*EYE_RATE*(1-arpuOf(c));if(v>500)floater(CITY[c].x,CITY[c].y-30,'+'+fmt$(v),'#16A866');}sfx('coin');}
|
||||
checkGoals();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue