Project

General

Profile

Bug #2485 ยป 0001-adjust_improvement_wants_by_effects-Pass-city-count-.patch

Sweet Tea Dorminy, 11/15/2026 02:04 AM

View differences:

ai/default/daicity.c
n_needed_techs = tech_vector_size(&needed_techs);
if ((active || n_needed_techs) && !impossible_to_get) {
adv_want v1 = dai_effect_value(pplayer, ai, pcity, capital,
turns, peffect, range, nplayers);
turns, peffect, cities[range], nplayers);
/* v1 could be negative (the effect could be undesirable),
* although it is usually positive.
* For example, in the default ruleset, Communism decreases the
    (1-1/1)