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
|
|
@ -363,6 +363,7 @@ function computeMoney(R2){
|
|||
C.caches=cachesMo();
|
||||
C.loans=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity?0:l.model==='transit'?Math.round((C.transit||0)*(l.cut||0.3)):l.pay)+loanFees(l),0);
|
||||
C.extras=(S.cnLic&&S.cnLic.state==='ok'?CN_JV_MO:0)+scrubMo()+Object.keys(S.pops).filter(ruCity).length*RU_BOX_MO+Object.values(S.pops).filter(p=>p.site2).length*SITE2_MO+(S.te?TE_MO:0)+(S.ops&&S.ops.intern?INTERN_MO:0)+salesMo();
|
||||
if(S.pie&&S.mode!=='sandbox')C.pie=pieMo();
|
||||
V.eyeballs=0;V.business=0;V.ix=0;V.grant=grantOn(R2)?GRANT_MO:0;
|
||||
C.wholesale=0;C.levy=0;const lev=scnRule('levy');for(const c in S.pops){const sf=sfOf(R2,c)*(R2.bbF[c]??1),v=R2.cityEye[c]*sf*EYE_RATE*arpuOf(c);V.eyeballs+=v;if(CITY[c].au){if(lev)C.levy+=v*AU_LEVY;else C.wholesale+=v*AU_WHOLESALE;}}
|
||||
const ids=linkIds();for(const b of S.biz){if(capPend(b))continue;const sf=BIZ_T[b.type].fiber?(fiberOk(b,ids)?1:0):BIZ_T[b.type].l2?clamp((R2.l2[b.id]||0)/b.bw,0,1):sfOf(R2,b.city)*(R2.tgtF[b.id]??1);V.business+=b.bw*b.rate*Math.min(1,sf/0.95);}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue