Caribbean, Indian Ocean, Pitcairn, Alaska and Russia's Far East; more US and Australian eyeballs (#125, #152, #124, #145, #155, #154)
Caribbean: San Juan, Santo Domingo, Kingston, Havana, Nassau, Port of Spain, Bridgetown, Fort-de-France and Willemstad on their own islands, with ARCOS, Americas-II, ECFS, Southern Caribbean Fiber, ALBA-1, CFX-1, Fibralink, BICS, AMX-1 and EC Link as puns. Exchanges only where one runs (PR-IX, JIXP, TTIX, AMS-IX Caribbean). Indian Ocean: Réunion (REUNIX as Rougail SAUCIX), Mauritius, Madagascar and the Seychelles on SAFE, LION, METISS, EASSy, SEAS and PEACE. Pitcairn: no cable and no provider; cables may land there and the UK pays a monthly grant while the islanders are served. Alaska, Prince Rupert and Russia's Arctic and Pacific: towns with no road in are their own landmass. Real cables only (Quintillion, AU, AKORN, AU-Aleutians, Topaz, Connected Coast, Sakhalin-Kamchatka-Magadan, Petropavlovsk-Anadyr, RJCN, HSCS). Polar Express never got past Amderma, so its towns have a beach for your own cable instead. Eyeballs: AT&Tease (a Tier 1 for new games only, t1v 3), Tee-Hee Mobile, Coax, Pessimum, Final Frontear, GFibber, Sonic Boomer; Neptoon, Lawn-tel, Pent-Up Net, Dive-Bomb Magpie, Internope; Musklink in the US. Coax merges into Spectre-um on day 365, Final Frontear into Very-Zone on day 730. Coastlines refined from Natural Earth around the new places.
This commit is contained in:
parent
8c3ac4e9df
commit
75f343f019
28 changed files with 854 additions and 24 deletions
|
|
@ -257,12 +257,12 @@ function compute(){
|
|||
C.caches=S.caches.length*CACHE_MO;
|
||||
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.inbox&&S.inbox.bot?AI_MO:0);
|
||||
V.eyeballs=0;V.business=0;V.ix=0;
|
||||
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),v=R2.cityEye[c]*sf*EYE_RATE*(CITY[c].arpu||1);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);V.business+=b.bw*b.rate*Math.min(1,sf/0.95);}
|
||||
for(const c in S.myIx)V.ix+=S.myIx[c].members.length*MYIX_FEE;
|
||||
C.revshare=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity||l.bal>0?l.share||0:0),0)*(V.eyeballs+V.business+V.ix);
|
||||
R2.costMo=Object.values(C).reduce((a,b)=>a+b,0);
|
||||
R2.revMo=V.eyeballs+V.business+V.ix;
|
||||
R2.revMo=V.eyeballs+V.business+V.ix+V.grant;
|
||||
R=R2;UI.hotMap=hotByCity();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ function sanitize(s){
|
|||
else{a.gbps=num(a.gbps,2);a.until=num(a.until,s.day);a.bh=!!a.bh;a.ixbh=!!a.ixbh;a.start=num(a.start,s.day);
|
||||
if(!a.entry||typeof a.entry!=='object')a.entry={k:'edge',lab:''};else{a.entry.lab=String(a.entry.lab||'').slice(0,60);a.entry.id=a.entry.id==null?undefined:String(a.entry.id).slice(0,40);}}}
|
||||
s.auV=s.auV===1?1:0;if(s.auNews!==true)delete s.auNews;
|
||||
if(s.merged){const o={};if(typeof s.merged==='object')for(const m of MERGERS)if(isFinite(s.merged[m.id]))o[m.id]=+s.merged[m.id];s.merged=Object.keys(o).length?o:undefined;}
|
||||
if(s.te){if(typeof s.te!=='object')s.te=null;else{s.te.on=!!s.te.on;s.te.script=typeof s.te.script==='string'?s.te.script.slice(0,4000):'';}}
|
||||
return s;}
|
||||
function migrate(s){sanitize(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue