Discussion in 'Civ5 - Mod Components' started by killmeplease, Oct 6, 2010.
use fire tuner console,
try looping the players' cities and setpopulation(getpopulation, true)
Sorry for leaving this a bit unupdated,
problem itself can be fixed (for AI too, thx, but tuner won't help for them) with this temp modification
(I was not sure which line would work and left both):
--TEMP ONCE-RUN MODIFICATION
for city in player:Cities() do
local pop = city:GetPopulation()
print("city fix", city:GetName(), city:GetPopulation());
and another problem seem to happen when cites have no religion, line 41 from MkzReligion gived lua Errors
I'm not even sure if this works for me right now or works at all, but it gives no errors anymore
function RemoveRandomFollower(city) -- returns chosen religion id
if #rels == 0 then return -1;
local iRel = rels[Map.Rand(#rels - 1, "Emigration - Determine migrant religion") + 1].id;
Not very deep into fixing, since this may be mod compatibility problem.
(with Historical Religions Edit (BNW or GK) (v 45) or tons of other mods)
This all happens on Crusader Kings scenario map (only map, no other scenario files)
For the mod itself, it should be noticeable and interesting, but somehow it made not too much difference. Probably because i used 3 food consumption per citizen and usually no free food in cities. Or even smth in lua was not working. Or this all asks for some spice like migrants destroy improvements or carry unknown sciences.
yeah 2+ food surplus is required for immigration
Could you maybe make a patch to show the UI in city view for EUI rather than just hiding the emigration UI?
I had a hard time modding the BNW city view not sure i will have patience to do the same for EUI and i'm not familiar with EUI at all. but if someone wants to do this i'll happily include this option into the mod
http://forums.civfanatics.com/showpost.php?p=13289137&postcount=59 Working merge with health and plague mod, but it for older version of emigration. Can you please update it to v6?
Been using this mod for ages (well, a couple of years) and like it very much. However, the mod has a predeliction for sending migrants to cities that have recently added buildings that elliminate unemployment, which bugs me a touch. I had 8 unemployed citizens in my Capital (Brussels; playing with a mod that adds Belgium as a civ) and added a few buildings in a row (bank, factory and some such) and had no more unemployed civilians but right after several civs had migrants that all moved to Brussels and I was back to 8 unemployed folks after two turns... Happens everytime when having high population (over 50) in a city and adding buildings that need 'scientists' to operate the lot.
Separate names with a comma.