seriesoftubes/src/game/10-catalog/76-wisp-zones.js
jvanvik 41e6fd78ef
Some checks failed
CI / plan (push) Has been cancelled
CI / build (push) Has been cancelled
CI / translations (push) Has been cancelled
Container image / gate (push) Has been cancelled
CI / part (push) Has been cancelled
CI / test (push) Has been cancelled
CI / timings (push) Has been cancelled
Container image / test (push) Has been cancelled
Container image / publish (push) Has been cancelled
Review fixes for Starblink, Island Wi-Fi and late joiners
- Until a zone's first circuit or spur is up, its row and panel say when the islands come online instead of homes out of 0 and a red 0% served (wisp-commissioning-homes-of-zero).
- Once your own constellation flies, a zone's Starblink row points to GEO, MEO or a spur (wisp.leo_no_rivals), never to a pie dish (zone-leo-pie-dish-advice).
- The late joiner's welcome and bank note say the match is on home broadband, not island Wi-Fi, in all six languages (late-match-island-homes).
- A gateway's section shows its city's transit ports (Transit out of the city) and warns when they fill; the fiber row only where there is fiber (leo-backhaul-transit-only).
- Spurs are subsea cable, no longer unrepeatered, in every language and the catalog comment (spur-unrepeatered-1400km).
- French calls a spur a câble de dérivation, not a câble d'antenne (fr-spur-cable-antenna).
2026-11-12 03:36:31 +01:00

38 lines
3.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ---------- Island Wi-Fi zones (#83): the outer islands no cable reaches ----------
Each zone is a pool of island homes looking to one island city (c, always one a satellite serves), at the point lat,
lon: no city on the map and no link, only homes your POP in c brings online (60-features/46-wisp-zones.js).
n: real place names, as in CITIES, joined by "&". P: Gbps of homes at full take-up in era 1 (about the islands' share
of their country, half again for being the only internet there; scaled by eraMul() like eyeP). km: the spur cable from
c, 0 where none can be laid (too far, or sea ice). v: volcanic, so an eruption can cut the spur. Zones under 3 G are
left out: pie terminals and a satellite circuit to the island itself serve those.
The zones beyond 56 degrees (Nunavut, Southeast Alaska) are past Starblink's shell and MEO's ring: GEO only there. */
const WISP={
anjouan:{n:'Anjouan & Mohéli',c:'hah',lat:-12.25,lon:44.1,P:6,km:200},
capeverde:{n:'Sal, Boa Vista & São Vicente',c:'rai',lat:16.6,lon:-23.8,P:6,km:450},
chuuk:{n:'Chuuk, Yap & Kosrae',c:'pni',lat:7.4,lon:151.85,P:5,km:800},
leeward:{n:'Bora Bora & Raiatea',c:'ppt',lat:-16.8,lon:-151.45,P:4,km:250},
malaita:{n:'Malaita & Gizo',c:'hir',lat:-8.5,lon:159.5,P:8,km:350},
marianas:{n:'Saipan, Tinian & Rota',c:'gum',lat:15.2,lon:145.75,P:6,km:230,v:1},
ngi:{n:'New Britain, New Ireland & Bougainville',c:'pom',lat:-5,lon:152.5,P:12,km:900,v:1},
nunavut:{n:'Rankin Inlet, Cambridge Bay & Pond Inlet',c:'yfb',lat:66.5,lon:-88,P:5,km:0},
outislands:{n:'Abaco, Eleuthera & Exuma',c:'nas',lat:25.1,lon:-76.4,P:8,km:400},
rangiroa:{n:'Rangiroa & Nuku Hiva',c:'ppt',lat:-12,lon:-144,P:3,km:1400},
santo:{n:'Espiritu Santo & Tanna',c:'vli',lat:-16.5,lon:167.8,P:8,km:400,v:1},
savaii:{n:'Savai’i',c:'apw',lat:-13.6,lon:-172.4,P:3,km:80},
seak:{n:'Sitka, Ketchikan & Petersburg',c:'jnu',lat:56.4,lon:-133.3,P:5,km:450},
southatolls:{n:'Addu, Fuvahmulah & Huvadhoo',c:'mle',lat:0,lon:73.3,P:6,km:500},
tobago:{n:'Tobago',c:'pos',lat:11.25,lon:-60.7,P:3,km:120},
vanualevu:{n:'Vanua Levu & Taveuni',c:'suv',lat:-16.6,lon:179.2,P:10,km:220},
vavau:{n:'Vava’u & Ha’apai',c:'tbu',lat:-19.2,lon:-174.2,P:3,km:300,v:1},
vi:{n:'St Thomas, St Croix & Tortola',c:'sju',lat:18.2,lon:-64.8,P:6,km:160},
};
/* The money. ARPU: islanders pay island prices (times EYE_RATE). SHARE: a zone's satellite capacity is a contended share
of a high-throughput beam, cheaper than a trunk circuit of the same size. KIT(+G per Gbps of pool): towers, solar
panels and home radios, with the first order; MO(+G): their upkeep. SPUR: a subsea branch cable with small beach
landings (repeatered past a few hundred km, as real ones are), mostly paid by development banks (this is your share),
plus KM a km; MO + MO_KM a km to run; G: what it carries; D0 + DKM a km: days to lay it. LV: the level spurs come at.
GROW: daily take-up growth; START: the pool share that signs up at once and never leaves. RUSH: chartering a repair
ship for a cut spur; CUT_W: a lit spur's weight among the failures. */
const WISP_ARPU=14,WISP_SHARE=0.6,WISP_KIT=30000,WISP_KIT_G=4000,WISP_MO=500,WISP_MO_G=50,
WISP_SPUR=150000,WISP_SPUR_KM=600,WISP_SPUR_MO=400,WISP_SPUR_MO_KM=1.5,WISP_SPUR_G=100,WISP_SPUR_D0=90,WISP_SPUR_DKM=0.15,
WISP_SPUR_LV=3,WISP_GROW=0.02,WISP_START=0.05,WISP_RUSH=250000,WISP_CUT_W=1.5;