Summary
Game-breaking: Immigration can stop despite empty plots; reload temporarily fixes, then it stops again.
Reported
Mission 3: New villagers stopped coming even with empty plots. Reload fixed briefly, then stopped again (couldn't finish the map).
Code notes
- Likely stuck states in
create_immigrants / migration queue (city_population.cpp, `city_migration.cpp):
- House
BUILDING_SLOT_IMMIGRANT reserved by live stuck immigrant.
distance_from_entry() <= 0 skips houses.
- Small
immigration_queue_size may not flush when percentage drops to 0.
- On load,
migration.reset() clears runtime caps and figures re-init clears immigrant slots — explains temporary fix.
- Sentiment immigration boost is behind
gameplay_fix_immigration.
Expected
Immigrants continue spawning whenever empty housing with road access exists; no permanent soft-lock requiring reload.
Labels
bug, gameplay
Summary
Game-breaking: Immigration can stop despite empty plots; reload temporarily fixes, then it stops again.
Reported
Mission 3: New villagers stopped coming even with empty plots. Reload fixed briefly, then stopped again (couldn't finish the map).
Code notes
create_immigrants/ migration queue (city_population.cpp, `city_migration.cpp):BUILDING_SLOT_IMMIGRANTreserved by live stuck immigrant.distance_from_entry() <= 0skips houses.immigration_queue_sizemay not flush when percentage drops to 0.migration.reset()clears runtime caps and figures re-init clears immigrant slots — explains temporary fix.gameplay_fix_immigration.Expected
Immigrants continue spawning whenever empty housing with road access exists; no permanent soft-lock requiring reload.
Labels
bug, gameplay