seriesoftubes/site
jvanvik ae78e82ddb Express lightpaths: regen cards for their channels, and dirty connectors dim them (#58)
A regen site added to a fiber that already carries expresses now charges a
regen card for every express channel in that glass, as it does for the
fiber's own channels. One helper, regenAddCost(), prices it for the action,
the fiber panel's button and the MCP dry-run quote, so the three agree.
Lighting an express over existing regen sites already paid its cards
(xpCost); only adding a site later was free for them.

A dirty connector on a fiber is in the glass, so it now dims the expresses
riding that fiber by the same factor (capOf multiplies xpG by xpGlassF over
the express's fibers), and the express's panel names the fiber. The other
link-degrading incidents (MTU mismatch, microbursts, a marginal optic's CRC
errors) belong to the fiber's own routers and optics, which an express
bypasses, as the optic-failure incident already treats them, so they leave
expresses alone. The incident marks the connector with loss.glass=true;
sanitize keeps the flag only when it is true, so an old save's loss loads
as router-side, as it behaved before. A fiber that only carries expresses
can now get the dirty connector too (never the router-side variants), like
the backhoe and amp-hut incidents already find it.
2026-11-09 23:01:46 +01:00
..
architect/weekly Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
i18n Express lightpaths: regen cards for their channels, and dirty connectors dim them (#58) 2026-11-09 23:01:46 +01:00
images Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
puzzles/weekly Puzzles: eighteen puzzles in five packs with traffic, and their tests 2026-10-29 10:48:24 +01:00
scenarios/weekly Sweden beyond Stockholm: Gothenburg, Malmö and Haparanda (closes #206) 2026-11-05 07:31:17 +01:00
404.html Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
apple-touch-icon.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
CNAME Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
d000727792a2ac2fdaa24ec953ed6d2b.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.ico Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.svg Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
icon-192.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-maskable-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
llms.txt Point players to How the Internet Works 2026-10-24 22:12:38 +02:00
robots.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
site.webmanifest Rework the phone layout and make the game installable 2026-10-24 22:52:55 +02:00
sitemap.xml Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
sw.js Multiplayer for self-hosted copies: sessions, server-side saves, a leaderboard 2026-11-07 00:42:39 +01:00