Skip to content

Conversation

@zack-the-coding-actuary
Copy link
Contributor

City names will be reused now if player prompted a plant but cancelled. The proposed city name will now be the earliest entry in a civilization's city names that is not currently used by a city, following Civ 3 naming conventions for new loops over the cities (i.e. Athens, New Athens, Athens 2, New Athens 2, etc)

The property int cityNameIndex is no longer used in the Player class (or anywhere else from what I could tell), but I left in since there appear to be many references throughout the codebase assigning cityNameIndex when instantiating Player objects, and I didn't want to do anything destructive at this time.

City names will be reused now if player prompted a plant but cancelled. The proposed city name will now be the earliest entry in a civilization's city names that is not currently used by a city.
@stavrosfa
Copy link
Contributor

If cityNameIndex is unused I would remove it completely from the code + json save files

@stavrosfa
Copy link
Contributor

Also completely unrelated in terms of code, but I am sad to see this bug/feature go after 20 years of loving to hate it 😅

@stavrosfa
Copy link
Contributor

I am approving, I have also tested it locally around, seems to be ok, if anyone else has any comments, I will leave it here for a while, and then merge it

@stavrosfa stavrosfa merged commit 1cc3933 into C7-Game:Development Jan 7, 2026
3 checks passed
@zack-the-coding-actuary zack-the-coding-actuary deleted the cycleCityNames branch January 7, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants