How do I raise the max amount of characters in city names?

Mouthwash

Escaped Lunatic
Joined
Sep 26, 2011
Messages
9,370
Location
Hiding
Playing as Brazil I founded Sumare Americana, had it razed, and quickly refounded it only to discover that

(a) razed cities count as founded and will not have their names reused
(b) cities can have names longer than fourteen characters if they are founded with them
(c) Sumare Americana is fifteen characters.

Anybody know how to do this?
 
In CvEventManager.py (in BtS un-bugged), def __eventEditCityNameBegin, there is a line "popup.setEditBoxMaxCharCount( 15 )".

Yes, 15. Not 14.

Sumare Americana is 16.

Don't exagerate the number, it might have consequences "elsewhere" (I have it at 25)...
 
In CvEventManager.py (in BtS un-bugged), def __eventEditCityNameBegin, there is a line "popup.setEditBoxMaxCharCount( 15 )".

Yes, 15. Not 14.

Sumare Americana is 16.

Don't exagerate the number, it might have consequences "elsewhere" (I have it at 25)...

I forgot to count the space. Thank you!
 
Back
Top Bottom