Cable ships: club repair ships sail out to subsea cuts, private charters jump the queue, lay ships build your cables

A subsea cut sends the nearest free ship of its region's maintenance club from its port, along the cable routes at about 500 km a day; the cut lasts while it sails, waits for permits in slow countries and splices (3-5 days shallow, 6-12 deep). Ships stay busy until home (S.fleet). With the club's ships all out the cut waits; a private charter of the quickest free ship costs $1M + $200/km sailed. Own subsea builds show survey/factory, then a lay ship at 150 km/day; a second lay ship can be booked before laying ($3M + $150k/day saved), and crews no longer speed up cables at sea. Ships are drawn on the map and can be tapped.
This commit is contained in:
Frederic Jung 2026-11-01 11:24:37 +00:00
parent 1fa5566d66
commit 96e2c2f537
No known key found for this signature in database
28 changed files with 606 additions and 138 deletions

View file

@ -20,11 +20,8 @@ function setCableReady(l,ready,day=S.day){const shift=ready-l.ready;
const f='sub'+k;if(Number.isFinite(l[f])&&l[f]>day)l[f]=Math.max(day+1,l[f]+shift);
}l.ready=ready;
}
// Hurrying anything at sea means a cable ship, and there are only a few dozen in the world, booked months ahead:
// a second one for your build is a multi-million charter, and jumping the repair queue costs about what a repair does.
const SHIP_MOB=3000000,SHIP_KM=500,SHIP_FIX=1000000,SHIP_FIX_KM=200;
const crewCost=l=>Math.round(l.sub?SHIP_MOB+l.km*SHIP_KM:15000+l.km*6);
const shipFix=km=>Math.round(SHIP_FIX+km*SHIP_FIX_KM);
// Crews hurry a build on land. At sea only a cable ship does (85-incidents/50-cable-ships.js).
const crewCost=l=>Math.round(15000+l.km*6);
const crewSteps=l=>Math.max(0,Math.ceil((l.ready-S.day-1)/30));
// Old saves lack purchase dates. Only shorten dates beyond any valid remaining
// commissioning window. Credit elapsed time since the actual cable finish;