AW Arcaeca
Deus Vult
So I'm trying to add a free dummy building to only the first three cities of a new civ I'm working on. (And actually, this is the last thing that needs to be done for it) But <FreeBuilding> and <Civilization_FreeBuildingClasses> aren't working - <FreeBuilding> gives it to every city, and <Civilization_FreeBuildingClasses> only gives my capital the building, so I guess that means I'll have to resort to lua... 
So the code should be easy enough: use City.SetNumRealBuilding and all that, but I can't find any function that will select only certain cities (besides Player.GetCapitalCity, but that's not really what I'm looking for). Could you maybe use Player.GetNextCity?
Somewhere along the lines of:
"if next city is the third city (which would therefore mean this one is the second), give this city the dummy building"
Would that work?
Except the UI reference doesn't mention the parameters for that function, so... I can only assume it's the city name?
Anyone have any idea how to do this? And thanks in advance!

So the code should be easy enough: use City.SetNumRealBuilding and all that, but I can't find any function that will select only certain cities (besides Player.GetCapitalCity, but that's not really what I'm looking for). Could you maybe use Player.GetNextCity?
Somewhere along the lines of:
"if next city is the third city (which would therefore mean this one is the second), give this city the dummy building"
Would that work?
Except the UI reference doesn't mention the parameters for that function, so... I can only assume it's the city name?
Anyone have any idea how to do this? And thanks in advance!
