Project

General

Profile

Actions

Bug #2040

open

city_turns_to_grow() gives wrong output sometimes

Added by Dean Brown 24 days ago. Updated 1 day ago.

Status:
In Review
Priority:
Normal
Category:
client-common
Target version:
Start date:
05/22/2026
Due date:
% Done:

0%

Estimated time:

Description

When the food box is full or overfull, and the food surplus is 0, city dlog says "change in: never".
When the food box is full or overfull, and the food surplus is >0, city dlog says "change in: blocked".
In both cases the city will grow on the next turn, should say "change in: 1 turn".
This can happen when a city shrinks due to a disaster and the food box size shrinks.


Files

blocked.png (390 KB) blocked.png Dean Brown, 05/22/2026 07:45 AM
never.png (390 KB) never.png Dean Brown, 05/22/2026 07:45 AM
2040_Main.patch (1.82 KB) 2040_Main.patch Dean Brown, 05/22/2026 09:27 PM
2040.patch (1.81 KB) 2040.patch good for S3_2 & S3_3 Dean Brown, 05/22/2026 09:28 PM
blocked.png
never.png
Actions

Also available in: Atom PDF