Project

General

Profile

Actions

Bug #2040

open

city_turns_to_grow() gives wrong output sometimes

Added by Dean Brown 24 days ago. Updated about 22 hours 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 #1

Updated by Dean Brown 24 days ago

  • File 2040.patch added
Actions #2

Updated by Dean Brown 24 days ago

  • File 2040_Main.patch added
Actions #3

Updated by Dean Brown 24 days ago

  • File deleted (2040.patch)
Actions #4

Updated by Dean Brown 24 days ago

  • File deleted (2040_Main.patch)
Actions #5

Updated by Dean Brown 24 days ago

Take 2, forgot to account for blocked by needing improvement.

Actions #6

Updated by Dean Brown 24 days ago

  • File deleted (2040.patch)
Actions #7

Updated by Dean Brown 24 days ago

Actions #8

Updated by Marko Lindqvist about 22 hours ago

  • Status changed from New to In Review
  • Assignee set to Marko Lindqvist
  • Target version set to 3.2.6
Actions

Also available in: Atom PDF