Hi,
After reading various threads and looking through the lua and ui reference on modiki it seems that I should be able to set the number of city states to maximum in a game with a simple lua line:
This doesn't seem to be taking effect for some reason, because when I go to kill off the settlers at the start of the game (Events.SequenceGameInitComplete) there are only the default number of city state settlers alive to be killed.
What happened to the rest of the city states, and what am I doing wrong? I'd like them all to be alive so I can reuse them later (in a manner similar to this).
After reading various threads and looking through the lua and ui reference on modiki it seems that I should be able to set the number of city states to maximum in a game with a simple lua line:
Code:
PreGame.SetNumMinorCivs(math.min(41, #GameInfo.MinorCivilizations))
This doesn't seem to be taking effect for some reason, because when I go to kill off the settlers at the start of the game (Events.SequenceGameInitComplete) there are only the default number of city state settlers alive to be killed.
What happened to the rest of the city states, and what am I doing wrong? I'd like them all to be alive so I can reuse them later (in a manner similar to this).