caveman2cosmos / Caveman2Cosmos

The most expansive mod for Civilization IV: Beyond the Sword.
https://forums.civfanatics.com/forums/civ4-caveman-2-cosmos.449
56 stars 42 forks source link

Dynamic Civ name flipping during Anarchy #1429

Closed dzfischer closed 1 year ago

dzfischer commented 1 year ago

With the Dynamic Civ Names option, during Anarchy, civ names switch back-and-forth every turn between two different variants (Provisional Authority vs Provisional Government). If the civ already has an Anarchy-related name, just leave it like that until the end of the Anarchy.

dzfischer commented 1 year ago

Fixed with https://github.com/caveman2cosmos/Caveman2Cosmos/commit/2c561adeba6bbd0f4826471c0146a7eb51a7c393

Instead of randomly assigning each turn of anarchy, assign based on player int and city number, so it's basically a 50/50 which you'll get and can change as the game progresses. You're probably not founding new cities or losing them during anarchy, so unlikely (but possible) to change during it.

Also pretty sure I fixed a python bug when disabling the setting when ingame.