what file do i change

IIRC, the condition for razing is not being size 1, but having never expanded boarders (<10 :culture:).
I am not sure how to change it - don't think there is a XML tag for this.
 
hmm darn, this is a problem for me because it doesn't give me the option to keep the enemy city if they only have size 1, it just razes it, even if it was in the perfect location (not very common for the AI), oh well, I'll just wait for this enemy city to grow to size 2 before I take it
 
Auto-razing is handled by the SDK function CvCity::isAutoRaze(). Outside of special circumstances (OCC or MP City Elimination Limits) it will only happen on a city which has never grown past size 1 (regardless of culture.) There's no decent way to circumvent it outside of the SDK; the Python callback canRazeCity() applies but it also affects optional razing so would be quite hard to get to work properly.
 
Could onCityRazed() (located in CvEventManager.py) be used to recreate the city after it has been razed?
 
Back
Top Bottom