Cebu: its own island, GotchaFIX Cebu and two domestic cables from Manila

Cebu joins the map on its own landmass, with its outline taken from
Natural Earth 1:50m (the simplified coastline had dropped it). GotchaFIX
Cebu and Magellan's Last Rack. The Pan de Sal Cable Network (PDSCN,
Luzon to Mactan) and the Philippines Long Distance Relationship (PLDT
DFON, overland to Lucena then subsea to Cebu City) link it to Manila.
PLDTea Time, Snow Globe and Diverge reach Cebu, and typhoons can hit it.
This commit is contained in:
fmcglinn 2026-10-29 22:38:07 +11:00
parent bb9a474923
commit d0d97e068e
No known key found for this signature in database
15 changed files with 57 additions and 5 deletions

View file

@ -7,6 +7,7 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
- Manila gets real exchanges: GotchaFIX Manila, the free community Bayanihan-IX and In-Vitro-IX, run by PLDTea Time. Snow Globe, Diverge, Smarty Pants, Ditto and RISE & Shine join as Philippine networks, and PLDTea Time and Snow Globe now sell transit.
- Cebu joins the map on its own island, with GotchaFIX Cebu and two domestic cables from Manila: the Pan de Sal Cable Network and the Philippines Long Distance Relationship. PLDTea Time, Snow Globe and Diverge reach Cebu, and typhoons can hit it too.
## [1.37.0] — 2026-10-28

View file

@ -421,8 +421,10 @@
"cables.the_emirates_oman_and_pakistan_on":"Die Emirate, Oman und Pakistan an einem leichten kleinen Kabel.",
"cables.the_first_cable_from_south_america":"Das erste Kabel von Südamerika nach Ozeanien. 14.000 km sehr einsames Glas.",
"cables.the_first_subsea_fiber_in_the":"Die erste Subsea-Glasfaser in der amerikanischen Arktis: Nome nach Utqiaġvik, dann über den North Slope nach Anchorage. Das Meereis hält Reparaturschiffe das halbe Jahr fern.",
"cables.the_incumbent_s_own_line_south":"Die eigene Leitung des Platzhirschs nach Süden: über Land bis Lucena, dann unter dem Meer nach Cebu. Ruft immer noch jede Nacht an.",
"cables.the_newest_cable_from_south_africa":"Das neueste Kabel von Südafrika nach Madagaskar, Réunion und Mauritius, geteilt von den eigenen Telcos der Inseln.",
"cables.the_old_workhorse_s_younger_sibling":"Das jüngere Geschwisterchen des alten Arbeitspferds: Los Angeles nach Sydney mit Abzweig nach Fidschi.",
"cables.the_philippines_longest_domestic_cable_fresh":"Das längste Inlandskabel der Philippinen, jeden Morgen frisch. Von Luzon nach Cebu, Insel für Insel.",
"cables.the_pretty_way_around_east_asia":"Der hübsche Weg rund um Ostasien.",
"cables.the_previous_generation_still":"Die vorige Generation. Trägt immer noch den Großteil von Pakistan, Sri Lanka und Bangladesch, zusammengehalten von Hoffnung.",
"cables.the_sea_stallion_blackpool_to":"Der Seehengst: Blackpool nach Dänemark, galoppiert oben um Schottland herum.",
@ -633,6 +635,7 @@
"cities.the_old_gateway_to_eastern_europe":"Das alte Tor nach Osteuropa. Pakete verbeugen sich auf der Durchreise immer noch höflich.",
"cities.the_only_northeastern_capital_away":"Die einzige Hauptstadt im Nordosten, die nicht am Meer liegt. Berüchtigt heiß, mit Gewittern, die den Überspannungsschutz auf Trab halten.",
"cities.the_pacific_gateway_the_andes_sit":"Das Tor zum Pazifik. Die Anden liegen zwischen ihr und allem anderen, und ab und zu bebt die Erde.",
"cities.the_philippines_second_city_reached":"Die zweite Stadt der Philippinen, nur per Inlandskabel erreichbar. Taifune ziehen hier auf dem Weg nach Norden durch.",
"cities.the_prairie_gateway_between":"Das Tor zur Prärie zwischen Vancouver und dem Rest Kanadas. Ein Chinook schmilzt den Schnee an einem Nachmittag, dann schneit es wieder.",
"cities.the_rhine_ruhr_hub_more_carrier":"Der Rhein-Ruhr-Hub: mehr carrier-neutrale Rechenzentren als Hamburg oder München und eine Stunde von der niederländischen Grenze, also ist Glasfaser nach Amsterdam kurz und billig. Bestell hier ein Altbier, niemals ein Kölsch.",
"cities.the_seychelles_capital_on_mah":"Die Hauptstadt der Seychellen auf Mahé: 115 Inseln, Riesenschildkröten und zwei Kabel zum Festland.",

View file

@ -419,8 +419,10 @@
"cables.the_emirates_oman_and_pakistan_on":"Los Emiratos, Omán y Pakistán en un cablecito ligero.",
"cables.the_first_cable_from_south_america":"El primer cable de Sudamérica a Oceanía. 14 000 km de vidrio muy solitario.",
"cables.the_first_subsea_fiber_in_the":"La primera fibra submarina del Ártico estadounidense: de Nome a Utqiaġvik, y luego por el North Slope hasta Anchorage. El hielo marino mantiene alejados a los barcos de reparación la mitad del año.",
"cables.the_incumbent_s_own_line_south":"La línea propia del operador histórico hacia el sur: por tierra hasta Lucena y luego bajo el mar hasta Cebú. Sigue llamando cada noche.",
"cables.the_newest_cable_from_south_africa":"El cable más nuevo de Sudáfrica a Madagascar, Reunión y Mauricio, compartido por las telcos de las propias islas.",
"cables.the_old_workhorse_s_younger_sibling":"El hermano menor del viejo caballo de batalla: de Los Ángeles a Sídney con una rama a Fiyi.",
"cables.the_philippines_longest_domestic_cable_fresh":"El cable nacional más largo de Filipinas, recién hecho cada mañana. De Luzón a Cebú, isla a isla.",
"cables.the_pretty_way_around_east_asia":"El camino bonito alrededor de Asia Oriental.",
"cables.the_previous_generation_still":"La generación anterior. Aún lleva la mayor parte de Pakistán, Sri Lanka y Bangladés, sostenida con esperanza.",
"cables.the_sea_stallion_blackpool_to":"El Semental del Mar: de Blackpool a Dinamarca, galopando por el norte de Escocia.",
@ -631,6 +633,7 @@
"cities.the_old_gateway_to_eastern_europe":"La vieja puerta de Europa del Este. Los paquetes aún hacen una reverencia educada al pasar.",
"cities.the_only_northeastern_capital_away":"La única capital del noreste lejos del mar. Famosamente calurosa, con tormentas eléctricas que mantienen ocupados a los protectores contra sobretensiones.",
"cities.the_pacific_gateway_the_andes_sit":"La puerta del Pacífico. Los Andes se interponen entre ella y todo lo demás, y el suelo tiembla de vez en cuando.",
"cities.the_philippines_second_city_reached":"La segunda ciudad de Filipinas, solo alcanzable por cable nacional. Los tifones pasan por aquí rumbo al norte.",
"cities.the_prairie_gateway_between":"La puerta de las praderas entre Vancouver y el resto de Canadá. Un chinook derrite la nieve en una tarde, y luego vuelve a nevar.",
"cities.the_rhine_ruhr_hub_more_carrier":"El hub del Rin-Ruhr: más centros de datos neutrales que Hamburgo o Múnich, y a una hora de la frontera holandesa, así que la fibra a Ámsterdam es corta y barata. Pide aquí una Altbier, nunca una Kölsch.",
"cities.the_seychelles_capital_on_mah":"La capital de las Seychelles, en Mahé: 115 islas, tortugas gigantes y dos cables al continente.",

View file

@ -419,8 +419,10 @@
"cables.the_emirates_oman_and_pakistan_on":"Les Émirats, Oman et le Pakistan sur un seul petit câble léger.",
"cables.the_first_cable_from_south_america":"Le premier câble entre l’Amérique du Sud et l’Océanie. 14 000 km de verre très solitaire.",
"cables.the_first_subsea_fiber_in_the":"La première fibre sous-marine de l’Arctique américain : de Nome à Utqiaġvik, puis par le North Slope jusqu’à Anchorage. La banquise tient les navires de réparation à distance la moitié de l’année.",
"cables.the_incumbent_s_own_line_south":"La ligne de l'opérateur historique vers le sud : par la terre jusqu'à Lucena, puis sous la mer jusqu'à Cebu. Appelle encore tous les soirs.",
"cables.the_newest_cable_from_south_africa":"Le câble le plus récent d’Afrique du Sud vers Madagascar, La Réunion et Maurice, partagé par les opérateurs des îles elles-mêmes.",
"cables.the_old_workhorse_s_younger_sibling":"Le petit frère du vieux cheval de labour : de Los Angeles à Sydney, avec une dérivation vers les Fidji.",
"cables.the_philippines_longest_domestic_cable_fresh":"Le plus long câble national des Philippines, frais chaque matin. De Luçon à Cebu, île après île.",
"cables.the_pretty_way_around_east_asia":"La route panoramique de l’Asie de l’Est.",
"cables.the_previous_generation_still":"La génération précédente. Transporte encore l’essentiel du trafic du Pakistan, du Sri Lanka et du Bangladesh, le tout tenu par l’espoir.",
"cables.the_sea_stallion_blackpool_to":"L’Étalon des mers : de Blackpool au Danemark, au galop autour du nord de l’Écosse.",
@ -631,6 +633,7 @@
"cities.the_old_gateway_to_eastern_europe":"L’ancienne porte de l’Europe de l’Est. Les paquets s’inclinent encore poliment en passant.",
"cities.the_only_northeastern_capital_away":"La seule capitale du Nordeste loin de la mer. Réputée pour sa chaleur, avec des orages qui donnent du travail aux parafoudres.",
"cities.the_pacific_gateway_the_andes_sit":"La porte du Pacifique. Les Andes la séparent de tout le reste, et la terre tremble de temps en temps.",
"cities.the_philippines_second_city_reached":"La deuxième ville des Philippines, joignable uniquement par câble national. Les typhons y passent en remontant vers le nord.",
"cities.the_prairie_gateway_between":"La porte des Prairies entre Vancouver et le reste du Canada. Un chinook fait fondre la neige en un après-midi, puis il reneige.",
"cities.the_rhine_ruhr_hub_more_carrier":"Le hub de la Rhénanie-Ruhr : plus de data centers neutres que Hamburg ou Munich, et à une heure de la frontière néerlandaise, donc la fibre vers Amsterdam est courte et pas chère. Ici, on commande une Altbier, jamais une Kölsch.",
"cities.the_seychelles_capital_on_mah":"La capitale des Seychelles, sur Mahé : 115 îles, des tortues géantes et deux câbles vers le continent.",

View file

@ -419,8 +419,10 @@
"cables.the_emirates_oman_and_pakistan_on":"Emirati, Oman e Pakistan su un solo cavetto leggero.",
"cables.the_first_cable_from_south_america":"Il primo cavo dal Sud America all’Oceania. 14.000 km di vetro molto solitario.",
"cables.the_first_subsea_fiber_in_the":"La prima fibra sottomarina dell’Artico americano: da Nome a Utqiaġvik, poi oltre il North Slope fino ad Anchorage. Il pack tiene lontane le navi di riparazione per metà dell’anno.",
"cables.the_incumbent_s_own_line_south":"La linea dell'operatore storico verso sud: via terra fino a Lucena, poi sotto il mare fino a Cebu. Chiama ancora ogni sera.",
"cables.the_newest_cable_from_south_africa":"Il cavo più recente dal Sudafrica a Madagascar, Riunione e Mauritius, condiviso dalle telco delle isole.",
"cables.the_old_workhorse_s_younger_sibling":"Il fratellino del vecchio cavallo da tiro: da Los Angeles a Sydney con una diramazione per le Figi.",
"cables.the_philippines_longest_domestic_cable_fresh":"Il cavo nazionale più lungo delle Filippine, fresco ogni mattina. Da Luzon a Cebu, isola dopo isola.",
"cables.the_pretty_way_around_east_asia":"Il giro panoramico dell’Asia orientale.",
"cables.the_previous_generation_still":"La generazione precedente. Porta ancora quasi tutto il traffico di Pakistan, Sri Lanka e Bangladesh, tenuto insieme dalla speranza.",
"cables.the_sea_stallion_blackpool_to":"Lo Stallone del Mare: da Blackpool alla Danimarca, al galoppo attorno al nord della Scozia.",
@ -631,6 +633,7 @@
"cities.the_old_gateway_to_eastern_europe":"L’antica porta verso l’Europa dell’Est. I pacchetti fanno ancora un inchino educato quando passano.",
"cities.the_only_northeastern_capital_away":"L’unica capitale del Nordest lontana dal mare. Famosa per il caldo, con temporali e fulmini che tengono occupati gli scaricatori di sovratensione.",
"cities.the_pacific_gateway_the_andes_sit":"La porta sul Pacifico. Le Ande stanno tra lei e tutto il resto, e ogni tanto la terra trema.",
"cities.the_philippines_second_city_reached":"La seconda città delle Filippine, raggiungibile solo con cavi nazionali. I tifoni ci passano andando verso nord.",
"cities.the_prairie_gateway_between":"La porta delle praterie tra Vancouver e il resto del Canada. Un chinook scioglie la neve in un pomeriggio, poi nevica di nuovo.",
"cities.the_rhine_ruhr_hub_more_carrier":"L’hub della Renania-Ruhr: più data center carrier-neutral di Amburgo o di Monaco, e a un’ora dal confine olandese, quindi la fibra fino ad Amsterdam è corta ed economica. Qui si ordina un’Altbier, mai una Kölsch.",
"cities.the_seychelles_capital_on_mah":"La capitale delle Seychelles, su Mahé: 115 isole, tartarughe giganti e due cavi verso il continente.",

View file

@ -419,8 +419,10 @@
"cables.the_emirates_oman_and_pakistan_on":"Emirados, Omã e Paquistão num cabinho leve.",
"cables.the_first_cable_from_south_america":"O primeiro cabo da América do Sul à Oceania. 14.000 km de vidro muito solitário.",
"cables.the_first_subsea_fiber_in_the":"A primeira fibra submarina do Ártico americano: de Nome a Utqiaġvik, depois pelo North Slope até Anchorage. O gelo marinho mantém os navios de reparo longe por metade do ano.",
"cables.the_incumbent_s_own_line_south":"A linha própria da operadora histórica rumo ao sul: por terra até Lucena, depois sob o mar até Cebu. Ainda liga toda noite.",
"cables.the_newest_cable_from_south_africa":"O cabo mais novo da África do Sul para Madagascar, Reunião e Maurício, compartilhado pelas operadoras das próprias ilhas.",
"cables.the_old_workhorse_s_younger_sibling":"O irmão mais novo do velho burro de carga: de Los Angeles a Sydney com um ramal para Fiji.",
"cables.the_philippines_longest_domestic_cable_fresh":"O cabo nacional mais longo das Filipinas, fresquinho toda manhã. De Luzon a Cebu, ilha por ilha.",
"cables.the_pretty_way_around_east_asia":"O caminho bonito pela Ásia Oriental.",
"cables.the_previous_generation_still":"A geração anterior. Ainda leva quase tudo de Paquistão, Sri Lanka e Bangladesh, na base da esperança.",
"cables.the_sea_stallion_blackpool_to":"O Sea Stallion: de Blackpool à Dinamarca, galopando pelo norte da Escócia.",
@ -631,6 +633,7 @@
"cities.the_old_gateway_to_eastern_europe":"A antiga porta de entrada do Leste Europeu. Os pacotes ainda fazem uma reverência educada ao passar.",
"cities.the_only_northeastern_capital_away":"A única capital nordestina longe do mar. Famosa pelo calor, com tempestades de raios que mantêm os protetores de surto ocupados.",
"cities.the_pacific_gateway_the_andes_sit":"A porta para o Pacífico. Os Andes ficam entre ela e todo o resto, e de vez em quando a terra treme.",
"cities.the_philippines_second_city_reached":"A segunda cidade das Filipinas, alcançada só por cabo nacional. Os tufões passam por aqui a caminho do norte.",
"cities.the_prairie_gateway_between":"A porta das pradarias entre Vancouver e o resto do Canadá. Um chinook derrete a neve numa tarde, e aí neva de novo.",
"cities.the_rhine_ruhr_hub_more_carrier":"O hub do Reno-Ruhr: mais data centers neutros do que Hamburgo ou Munique, e a uma hora da fronteira holandesa, então a fibra até Amsterdã é curta e barata. Aqui se pede uma Altbier, nunca uma Kölsch.",
"cities.the_seychelles_capital_on_mah":"A capital das Seychelles, em Mahé: 115 ilhas, tartarugas gigantes e dois cabos para o continente.",

View file

@ -79,4 +79,8 @@ LANDS_LL.push(
LANDS_LL.push(
{id:'mv',ll:[[73.11,4.48],[73.91,4.48],[73.91,3.88],[73.11,3.88]]},
);
// The Visayas: Cebu is its own island, reached from Luzon only by domestic cable.
LANDS_LL.push(
{id:'ceb',ll:[[123.3,11.3],[124.1,11.3],[124.1,9.4],[123.3,9.4]]},
);
const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))}));

File diff suppressed because one or more lines are too long

View file

@ -44,6 +44,7 @@ const CITY_LL={
"cbo":[80.0, 6.95],
"cbr":[149.13,-35.28],
"ccs":[-66.9,10.49],
"ceb":[123.89,10.32],
"cgb":[-56.1,-15.6],
"cgr":[-54.65,-20.47],
"chc":[172.55,-43.53],

View file

@ -240,6 +240,8 @@ const CITIES=[
{id:'mct',name:'Muscat',x:0,y:0,land:'eu',reg:'AS',cc:'OM',P:50,ix:'Halwa-IX',dc:'Frankincense Colo',note:tr('cities.oman_s_capital_just_outside_the')},
{id:'mle',name:'Malé',x:0,y:0,land:'mv',reg:'AS',cc:'MV',P:4,ix:'',dc:'One-Metre-Up DC',note:tr('cities.the_maldives_capital_a_stop_on')},
{id:'fuk',name:'Fukuoka',x:0,y:0,land:'jp',reg:'AS',P:120,ix:'Mentaiko-IX',dc:'Hakata Ramen Racks',note:tr('cities.japan_s_closest_city_to_korea')},
// The Philippines beyond Luzon
{id:'ceb',name:'Cebu',x:0,y:0,land:'ceb',reg:'AS',P:100,ix:'GotchaFIX Cebu',dc:"Magellan's Last Rack",note:tr('cities.the_philippines_second_city_reached')},
];
// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat.
const CITY_NUDGE={

View file

@ -161,6 +161,8 @@ const CABLES=[
{"id":"tw1","name":"TW1-light","price":1.1,"age":"mid","blurb":tr('cables.the_emirates_oman_and_pakistan_on'),"pairs":[["fuj","mct",[[58.25,24.25]]],["mct","khi",[[58.75,24]]]]},
{"id":"mct1","name":"MCT (Malaysia, Cambodia, Tuk-tuks)","price":0.95,"age":"new","blurb":tr('cables.malaysia_to_thailand_round_the_gulf'),"pairs":[["kul","bkk",[[101.75,2.5],[102.5,1.5],[103.5,0.75],[103.75,0.75],[104.75,1.75],[104.75,2.75],[100.5,12.75]]]]},
{"id":"kjcn","name":"KJCN (Kimchi-Japan Cable Network)","price":1,"age":"mid","blurb":tr('cables.busan_to_kyushu_the_shortest_way'),"pairs":[["icn","fuk",[[126,36.75],[126,34],[130,34]]]]},
{"id":"pdscn","name":"Pan de Sal Cable Network","price":0.9,"age":"new","blurb":tr('cables.the_philippines_longest_domestic_cable_fresh'),"pairs":[["mnl","ceb",[[120.6,14.4],[120.45,13.95],[120.85,13.6],[121.9,12.9],[122.7,12.3],[123.6,11.6],[124.2,11.2],[124.15,10.5]]]]},
{"id":"dfon","name":"Philippines Long Distance Relationship","price":1.1,"age":"mid","blurb":tr('cables.the_incumbent_s_own_line_south'),"pairs":[["mnl","ceb",[[121.6,13.85],[122.1,13.2],[122.9,12.45],[123.75,11.7],[124.3,11.1],[124.2,10.45]]]]},
];
const CAB=Object.fromEntries(CABLES.map(c=>[c.id,c]));
const CABLE_PAIRS=CABLES.flatMap(c=>c.pairs.map(([a,b,mid])=>{const A=CITY[a],B=CITY[b];const near=(x,ref)=>x+W*Math.round((ref-x)/W);

View file

@ -37,9 +37,9 @@ NETS.push(
{id:'bcd',name:'Bell Canad-eh',asn:577,type:'eye',pol:'selective',minIx:10,minPni:30,share:.01,col:'#00549A',pops:['hfx','tor','mtl','nyc','chi','ott','cal','van'],ix:['tor','mtl','ott'],blurb:tr('networks.polite_enormous_and_sorry_about_the')});
NETS.push(
{id:'tsf',name:'Telkom-selfie',asn:7713,type:'eye',pol:'selective',minIx:10,minPni:30,share:.01,col:'#E4002B',pops:['jkt','sin'],ix:['jkt','sin'],blurb:tr('networks.indonesia_s_mobile_giant_every')},
{id:'pld',name:'PLDTea Time',asn:9299,type:'t2',pol:'selective',minIx:10,minPni:30,share:.008,price:7,col:'#D62027',pops:['mnl','hkg','sin'],ix:['hkg','mnl~3'],blurb:tr('networks.philippine_giant_peering_requests')},
{id:'glb',name:'Snow Globe',asn:4775,type:'t2',pol:'open',share:.007,price:6,col:'#1A3D8F',pops:['mnl','hkg','sin'],ix:['mnl','mnl~2','hkg','sin'],blurb:tr('networks.shake_it_and_coverage_falls_gently')},
{id:'cvg',name:'Diverge',asn:17639,type:'eye',pol:'open',share:.005,col:'#F26B21',pops:['mnl','hkg','sin'],ix:['mnl','mnl~2','hkg','sin'],blurb:tr('networks.the_fiber_upstart_from_the_provinces')},
{id:'pld',name:'PLDTea Time',asn:9299,type:'t2',pol:'selective',minIx:10,minPni:30,share:.008,price:7,col:'#D62027',pops:['mnl','ceb','hkg','sin'],ix:['hkg','mnl~3'],blurb:tr('networks.philippine_giant_peering_requests')},
{id:'glb',name:'Snow Globe',asn:4775,type:'t2',pol:'open',share:.007,price:6,col:'#1A3D8F',pops:['mnl','ceb','hkg','sin'],ix:['mnl','mnl~2','hkg','sin'],blurb:tr('networks.shake_it_and_coverage_falls_gently')},
{id:'cvg',name:'Diverge',asn:17639,type:'eye',pol:'open',share:.005,col:'#F26B21',pops:['mnl','ceb','hkg','sin'],ix:['mnl','mnl~2','hkg','sin'],blurb:tr('networks.the_fiber_upstart_from_the_provinces')},
{id:'smt',name:'Smarty Pants',asn:10139,type:'eye',pol:'selective',up:['pld'],minIx:10,minPni:30,share:.006,col:'#00A859',pops:['mnl'],ix:[],blurb:tr('networks.pldtea_time_s_mobile_sibling_buy')},
{id:'dto',name:'Ditto',asn:139831,type:'eye',pol:'open',share:.002,col:'#B5121B',pops:['mnl'],ix:['mnl','mnl~2'],blurb:tr('networks.the_third_mobile_network_same_towers')},
{id:'rsh',name:'RISE & Shine',asn:63927,type:'eye',pol:'open',share:.002,col:'#F5A623',pops:['mnl','sin','hkg','tok','fra','ams','lon','sto','lax'],ix:['mnl','mnl~2','mnl~3','sin','sin~2','hkg','hkg~2','tok','fra','ams','lon','sto','lax'],blurb:tr('networks.up_early_in_cebu_and_already')},

View file

@ -6,7 +6,7 @@ function fireEvent(){
if(Object.keys(S.pops).some(ruCity))opts.push('runet','runet');
if(S.pops.doh&&Object.keys(S.pops).some(c=>CITY[c].gcc||CITY[c].uae)&&!(S.ev.gulf>S.day))opts.push('gulf');
if(Object.keys(S.pops).some(c=>CITY[c].saudi))opts.push('mega');
if(['mnl','hkg','tok','icn','sha','jkt'].some(c=>S.pops[c]))opts.push('typhoon');
if(['mnl','ceb','hkg','tok','icn','sha','jkt'].some(c=>S.pops[c]))opts.push('typhoon');
if(S.pops.icn&&!S.krExit)opts.push('krexit');if(S.pops.icn&&!(S.ev.krroute>S.day))opts.push('krroute');
if(Object.keys(S.pops).some(cnCity)||R.gfwCross>1)opts.push('golden','gfw');
if(S.transit.some(t=>t.net==='cog'))opts.push('depeer','depeer');
@ -32,7 +32,7 @@ function fireEvent(){
if(e==='hijack'){const nh=NETS.map(n=>n.id).filter(()=>Math.random()<0.6),old=S.ev.rpki&&S.ev.rpki.until>S.day?S.ev.rpki:null;S.ev.rpki=old?{until:Math.max(old.until,S.day+1),nets:[...new Set(old.nets.concat(nh))]}:{until:S.day+1,nets:nh};addInc({type:'hijack',ref:'rpki',until:S.day+1,msg:tr('events.a_state_owned_isp_accidentally'),cost:1500,fix:tr('events.call_everyone_you_know')});toast(tr('events.bgp_hijack_someone_else_is'),'bad');sfx('alert');return;}
if(e==='landban'){const lc=[...new Set(CABLE_PAIRS.flatMap(c=>[c.a,c.b]))];const c=pick(lc);S.ev.landban={city:c,until:S.day+45};toast(tr('events.landing_permit_dispute_in_city_two',{city:CITY[c].name}),'bad');return;}
if(e==='shutdown'){const ps=Object.keys(S.pops).filter(c=>c!==S.home);if(!ps.length)return;const c=pick(ps);S.pops[c].down=Math.max(S.pops[c].down||0,S.day+1);addInc({type:'shutdown',ref:c,until:S.day+1,msg:tr('events.regulators_ordered_every_network_in',{city:CITY[c].name}),cost:0});toast(tr('events.ordered_offline_in_city_a_government',{city:CITY[c].name}),'bad');sfx('alert');return;}
if(e==='typhoon'){const c=pick(['mnl','hkg','tok','icn','sha','jkt'].filter(x=>S.pops[x])),p=S.pops[c],nm=pick([tr('common.typhoon_bandwidth'),tr('common.typhoon_latency'),tr('common.typhoon_jitter'),tr('events.typhoon_packet_loss')]);
if(e==='typhoon'){const c=pick(['mnl','ceb','hkg','tok','icn','sha','jkt'].filter(x=>S.pops[x])),p=S.pops[c],nm=pick([tr('common.typhoon_bandwidth'),tr('common.typhoon_latency'),tr('common.typhoon_jitter'),tr('events.typhoon_packet_loss')]);
if(p.gen){S.stats.survived++;toast(tr('events.name_hits_city_the_grid_is',{name:nm,city:CITY[c].name}),'good');sfx('alert');return;}
p.down=Math.max(p.down||0,S.day+2);addInc({type:'power',ref:c,until:p.down,msg:tr('events.name_knocked_out_power_in_city',{name:nm,city:CITY[c].name}),cost:7000,fix:tr('incidents.rent_a_generator')});toast(tr('events.name_hits_city_power_is_out',{name:nm,city:CITY[c].name}),'bad');sfx('alert');compute();return;}
if(e==='runet'){S.ev.runet=S.day+1;toast(tr('events.sovereign_internet_drill_moscow'),'bad');sfx('alert');compute();return;}

View file

@ -420,8 +420,10 @@
"cables.the_emirates_oman_and_pakistan_on":"The Emirates, Oman and Pakistan on one light little cable.",
"cables.the_first_cable_from_south_america":"The first cable from South America to Oceania. 14,000 km of very lonely glass.",
"cables.the_first_subsea_fiber_in_the":"The first subsea fiber in the American Arctic: Nome to Utqiaġvik, then over the North Slope to Anchorage. Sea ice keeps repair ships away half the year.",
"cables.the_incumbent_s_own_line_south":"The incumbent's own line south: overland to Lucena, then under the sea to Cebu. Still calls every night.",
"cables.the_newest_cable_from_south_africa":"The newest cable from South Africa to Madagascar, Réunion and Mauritius, shared by the islands’ own telcos.",
"cables.the_old_workhorse_s_younger_sibling":"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.",
"cables.the_philippines_longest_domestic_cable_fresh":"The Philippines' longest domestic cable, fresh every morning. Luzon to Cebu, island by island.",
"cables.the_pretty_way_around_east_asia":"The pretty way around East Asia.",
"cables.the_previous_generation_still":"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.",
"cables.the_sea_stallion_blackpool_to":"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.",
@ -632,6 +634,7 @@
"cities.the_old_gateway_to_eastern_europe":"The old gateway to Eastern Europe. Packets still bow politely on the way through.",
"cities.the_only_northeastern_capital_away":"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.",
"cities.the_pacific_gateway_the_andes_sit":"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.",
"cities.the_philippines_second_city_reached":"The Philippines' second city, reached only by domestic cable. Typhoons pass through on their way north.",
"cities.the_prairie_gateway_between":"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.",
"cities.the_rhine_ruhr_hub_more_carrier":"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.",
"cities.the_seychelles_capital_on_mah":"The Seychelles’ capital on Mahé: 115 islands, giant tortoises and two cables to the mainland.",

View file

@ -62,3 +62,25 @@ test('Manila: RISE & Shine peers openly on all three Manila exchanges, across As
assert.ok(ids(ev, `ixMembers('${x}')`).includes('rsh'), `RISE & Shine on ${x}`);
assert.deepEqual(errors, []);
});
test('Cebu: its own island, GotchaFIX Cebu, reached by two domestic cables, in the typhoon belt', () => {
const { ev, errors } = load();
start(ev);
assert.ok(ev("isSub('ceb','mnl')"), 'Cebu is an island');
assert.ok(ev('onLand(CITY.ceb.x,CITY.ceb.y)'), 'Cebu is drawn on land');
assert.equal(ev('CITY.ceb.ix'), 'GotchaFIX Cebu');
assert.equal(ev('CITY.ceb.dc'), "Magellan's Last Rack");
assert.deepEqual(ids(ev, "cablesFor('mnl','ceb').map(p=>p.cid)").sort(), ['dfon', 'pdscn']);
for (const n of ['pld', 'glb']) assert.ok(ev(`sellsAt(NET.${n},'ceb')`), `${n} sells transit in Cebu`);
assert.ok(ev("NET.cvg.pops.includes('ceb')"));
// a subsea wave from Manila to Cebu carries traffic
for (const c of ['mnl', 'ceb']) ev(`ACT.buildPop({city:'${c}'});S.pops.${c}.rgen=3`);
ev("UI.via='pdscn';UI.route='same';openLinkModal('mnl','ceb');ACT.buildLink({tier:2});closeModal()");
ev('compute()');
assert.equal(ev("S.links.filter(l=>l.sub&&l.cable==='pdscn').length"), 1);
// typhoons can now hit a Cebu PoP
ev("S.pops={ceb:S.pops.ceb};delete S.pops.ceb.gen;for(let i=0;i<2000&&!(S.pops.ceb.down>S.day);i++)fireEvent()");
assert.ok(ev("S.pops.ceb.down>S.day&&S.inc.some(i=>i.type==='power'&&i.ref==='ceb')"), 'a typhoon knocked out Cebu');
ev('cam.z=5;cam.x=CITY.ceb.x;cam.y=CITY.ceb.y;draw(0)');
assert.deepEqual(errors, []);
});