Tier 1 by customer cone (#85), and badge variants per ruleset preset

Cones: a PNI or IX session reaches the peer and its transitive customer cone,
precomputed once at load (CONE/CONE_S/DOWN/ANC). Cone routes rank after direct
peering and before transit (CONE_RANK 2.5), so peering widely still pays. The
long tail and several real eyeballs get real-world upstreams. Cones only add
reach, so the rule is easier for every save and needs no version flag.

Badges: S.achP[id] records the preset variant (freeze/oncall/bgp), sanitized,
default 'oncall' for old saves; the device hall of fame records every variant
earned. Harder presets upgrade a badge; toast, list, collection shelf and the
share card show it. Sandbox and puzzles earn none.
This commit is contained in:
Frederic Jung 2026-10-28 16:54:19 +01:00
parent c011022203
commit 6489db146e
No known key found for this signature in database
27 changed files with 493 additions and 60 deletions

View file

@ -18,6 +18,7 @@
"badges.attend_a_conference":"Attend a conference.",
"badges.attend_six_conferences_in_one_game":"Attend six conferences in one game.",
"badges.badge_unlocked_name":"Badge unlocked: {name}",
"badges.badge_upgraded_name":"Badge upgraded: {name}",
"badges.blackhole_one_of_your_own_cities":"Blackhole one of your own cities to stop a DDoS.",
"badges.bring_up_your_first_peering_session":"Bring up your first peering session.",
"badges.build_fiber_across_the_andes":"Build fiber across the Andes.",
@ -99,9 +100,14 @@
"badges.take_a_de_kicks_retention_offer":"Take a DE-KICKS retention offer.",
"badges.take_out_a_loan":"Take out a loan.",
"badges.the_long_way_round":"The Long Way Round",
"badges.this_game_earns_fiery_badges":"This game runs BGP at 3 a.m.: every badge you earn here is forged in fire, and upgrades one you already have.",
"badges.this_game_earns_frosted_badges":"This game runs a Change Freeze: badges you earn here come freeze-dried.",
"badges.through_the_wall":"Through the Wall",
"badges.turn_on_a_transit_clean_pipe":"Turn on a transit clean-pipe add-on.",
"badges.two_buildings_three_cities":"Two Buildings, Three Cities",
"badges.variant_forged_at_3_a_m":"Forged at 3 a.m.",
"badges.variant_freeze_dried":"Freeze-dried",
"badges.variant_on_call":"On-call",
"badges.weather_a_ddos_with_your_defences":"Weather a DDoS with your defences ready.",
"badges.weather_a_multi_terabit_ddos":"Weather a multi-terabit DDoS.",
"badges.win_without_ever_taking_a_loan":"Win without ever taking a loan.",
@ -1828,7 +1834,7 @@
"goals.make_5_peering_friends":"Make 5 peering friends",
"goals.on_the_peering_tab_request_sessions":"On the Peering tab, request sessions, or join the route server to peer with every open network at once.",
"goals.open_your_home_city_and_press":"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.",
"goals.peer_with_every_tier_1_over":"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.",
"goals.peer_with_every_tier_1_their_customers":"Peer with every Tier 1 over PNIs and cancel every transit port. Their customers come along for free, so you only chase the networks nobody sells transit to.",
"goals.pops_in_five_of_the_six":"POPs in five of the six regions on the map.",
"goals.reach_the_whole_internet":"Reach the whole internet",
"goals.serve_10_tbps":"Serve 10 Tbps",
@ -1890,7 +1896,7 @@
"help.the_chart_button_at_the_top":"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.",
"help.the_group_behind_several_big":"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.",
"help.things_break_all_the_time_fiber":"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.",
"help.tier_1s_reach_the_whole_internet":"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.",
"help.tier_1s_reach_the_whole_internet_cones":"Tier 1s reach the whole internet without paying anyone: they all peer with each other, and each brings along its customer cone, everyone who buys transit from it. Tier 2s peer a lot but still buy some transit.",
"help.traffic_follows_the_shortest_path_by":"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.",
"help.transit_bills_sample_your_usage":"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.",
"help.users_feel_the_round_trip_to":"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.",
@ -1915,12 +1921,13 @@
"hot_ports_and_rank.upgrade_the_ix_port_or_add":"Upgrade the IX port or add a LAG member.",
"hot_ports_and_rank.upgrade_the_router_or_add_a":"Upgrade the router or add a second one in the Infra tab.",
"hot_ports_and_rank.you_buy_transit_again":"you buy transit again",
"hot_ports_and_rank.you_cannot_reach_list":"you cannot reach {list}",
"hot_ports_and_rank.you_cannot_reach_list_outside_cones":"you cannot reach {list}, which nobody you peer with sells transit to",
"hot_ports_and_rank.your_reach_is_p_not_100":"your reach is {p}, not 100%",
"hud_and_panels.all_connections_n":"All connections <small>{n}</small>",
"hud_and_panels.all_systems_green_enjoy_it_while":"All systems green. Enjoy it while it lasts.",
"hud_and_panels.auto_fix_in_n_day":{"one":"Auto-fix in {n} day","other":"Auto-fix in {n} days"},
"hud_and_panels.blackholing_g":"blackholing {g}",
"hud_and_panels.buys_transit_from_net_peer_with":"Buys transit from {net}. Peer with {net} and it comes along.",
"hud_and_panels.customer_level_lv_name":"Customer level {lv}: {name}",
"hud_and_panels.dropping_or_overflowing":"dropping or overflowing",
"hud_and_panels.every_network_on_the_map_traffic":"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.",
@ -1957,6 +1964,7 @@
"hud_and_panels.p_of_traffic_between_them_scattered":"{p}% of traffic between them, scattered across exchanges. You peer with {n}.",
"hud_and_panels.ports_caches_and_routers_running_hot":"Ports, caches and routers running hot",
"hud_and_panels.raise_a_full_link_s_metric":"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.",
"hud_and_panels.reached_through_the_customer_cone_of":"Reached through the customer cone of {net}: it buys transit there.",
"hud_and_panels.reaches_networks_from_the_last":"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.",
"hud_and_panels.reward_cash":"Reward {cash}",
"hud_and_panels.survived_with_no_impact":"Survived with no impact",
@ -2348,6 +2356,8 @@
"loop.welcome_back_name_your_network_is":"<b>Welcome back, {name}.</b><br>Your network is right where you left it: {date}.",
"loop.your_saved_game_could_not_be":"<b>Your saved game could not be loaded.</b><br>It was damaged, so a backup was kept and you can start fresh.",
"meet_a_network.all_n_out_of_reach":{"one":"All {n} out of reach","other":"All {n} out of reach"},
"meet_a_network.peer_with_the_tier_1_club":"Peer with the Tier 1 club: their customers come along for free. Only networks in nobody’s customer cone need peering of their own.",
"meet_a_network.peer_with_the_tier_1_club_n":{"one":"Peer with the Tier 1 club: their customers come along for free. {n} network already comes along with a peer.","other":"Peer with the Tier 1 club: their customers come along for free. {n} networks already come along with a peer."},
"meet_a_network.pnis_with_every_tier_1":"PNIs with every Tier 1",
"meet_a_network.reach_without_transit":"Reach without transit",
"meet_a_network.road_to_tier_1":"Road to Tier 1",
@ -3035,6 +3045,7 @@
"title.scenarios_amp_weekly_challenge":"Scenarios &amp; weekly challenge →",
"title.source_on_github":"Source on GitHub",
"title.your_network_name_was_saved_and":"Your network {name} was saved and is waiting for you.",
"traceroute.a_peer_s_customers_come_after":"a peer’s customers come after direct peers, before transit",
"traceroute.across_the_ix_switch":"across the {ix} switch",
"traceroute.as_path_path":"<b>AS path:</b> {path}",
"traceroute.caches_beat_pnis":"caches beat PNIs",
@ -3050,6 +3061,7 @@
"traceroute.n_network_unreachable":"!N network unreachable",
"traceroute.name_transit":"{name} transit",
"traceroute.net_carries_it_to_city":"{net} carries it to {city}",
"traceroute.net_hands_it_to_its_customer":"{net} hands it to its customer {to}",
"traceroute.net_hands_it_to_to":"{net} hands it to {to}",
"traceroute.no_path_every_route_between_these":"No path: every route between these cities is down or missing.",
"traceroute.no_working_path_between_these_pops":"no working path between these POPs",