City flipping question

Osakasayama

Chieftain
Joined
Jul 6, 2010
Messages
67
Where is the code that configures "city flips" when new civs spawn?
I can't seem to find it in RhyesAndFall.py (I might have missed some lines though)
 
If you mean the spawn zone, then that area is defined in Consts.py by the constants tCoreAreasTL, tCoreAreasBR and tExceptions. The first value is all the bottom left tiles, the second is all the top right tiles, and the third consists of additional tiles. Compare with the RFC Atlas.
 
Sorry, I ment about citys switching sides (for example, Bordeaux and Marseilles joining France, or the Eastern Babylonian city joining Persia), but do you mean that citys in the coordinates will automatically flip when civs spawn?
 
Exactly. This how the "core area" is defined in the mod, also known as the "spawn zone" or "flip area".

What the Civ spawn code does is it loops all tiles inside the core area and flips it. It doesn't matter who owns it or what the city is called.
 
Top Bottom