A POP in a retired city says why it can't open

buildPop returned without a word for a city that is off the map (the small
Brazilian towns retired in 3d469d9), so the agent API reported no_effect
with no toast. It now toasts that the city is off the map and names the
nearest open city in its country to build in instead, and its dry run
reports that as blocked. An old save that kept a POP there is unchanged.
This commit is contained in:
Charlie Allom 2026-11-04 22:46:10 +10:00
parent 3fd44908af
commit 4b554f2ecb
No known key found for this signature in database
11 changed files with 50 additions and 5 deletions

View file

@ -2,6 +2,7 @@
// Inlined into the page at build. One entry per line, sorted by label; plurals are {"one":…,"other":…}.
// Add or change text with scripts/i18n-add.js, check with npm run i18n:check.
(window.I18N=window.I18N||{}).en={
"action_helpers.city_is_off_the_map_small":"<b>{city} is off the map.</b><br>Small cities this close to a bigger one are retired from new games. Build in {near} instead.",
"action_helpers.light_fiber_pair_n_price":"Light fiber pair {n} <small>{price}</small>",
"action_helpers.light_fiber_pair_n_price_mo":"Light fiber pair {n} <small>{price} + {mo}/mo</small>",
"action_helpers.n_fiber_pairs_lit_the_trench":"{n} fiber pairs lit, the trench is full",