Version 3 has been published!
Here is a summary of the major changes:
- The mod has been "rebranded" to fit into my "Privy Council" of mods - now being called, "SMAN`s Privy Council - The Monarchs." This family of mods includes my "The Lord Mayors" mod (automated city management), and a half-finished "The Viceroys" mod (which mimics the "Governors" in Civ6). That latter mod may not be completed, as it will require a lot of time, and with Lord Mayors only getting a couple hundred subscribers, it simply may not be worth the effort.
- Added 3 new governments:
--- Poetocracy (Classical Era, Cultural focus)
--- Thalassocracy (Medieval Era, Naval focus)
--- Meritocracy (Modern Era, Production focus)
- AI Civs will now change governments much more often, and more appropriately.
- Fixed a bug that corrupted the government selection menu after Ideologies had been chosen.
- Renamed the "Anarchy" government (the automatically-awarded one at Ancient Era starting games) to "Tribalism" - to eliminate the confusion with the normal game concept of "Anarchy" (when cities aren't producing anything)
- Added a feature that looks at an AI Civ's leader flavors and often will try to select a government that focuses on the highest flavor for that leader.
- Made many changes to the code, in an attempt to allow the mod to perform better when used in a multiplayer environment. Not sure how well this works, but hopefully if anyone attempts it, they can provide feedback to let me know if any more changes are need to get the mod working for MP. Expect a few hotfixes in the next couple of weeks...
- Cleaned up the code so it now better handles the situation when an AI Civ loses its capital (and therefore its "government wonder")
- Added a “standard” govs for each Era, and changed the AI change government code to award those to a Civ whose government is really, really old - even if that Civ might not be eligible to select that government originally.
--- This is one of the main reasons AI Civs didn't change governments very often: they simply weren't any valid governments available to them.
--- Standard Governments: Ancient (Tribalism), Classical (Empire), Medieval (Monarchy), Renaissance (Monarchy), Industrialism (Constitutional Monarchy), Modern (Republic), Atomic (Corporate Republic), Information (Technocracy)
- Fixed the error that allows the "change government" popup to appear when you open the main "World Governments" popup, if you pressed ESCAPE to exit the popup previously.
- Added a variable "minimum government age" based on game speed. For quick games, it is now 15 turns before you can change governments. In Standard games is it still 20 turns, in Epic games 25 turns, and in Marathon games 30 turns. You will see a notification (Green Crown) at the start of every game/load saved game that lets you know how many turns the "minimum government age" is for that particular game.
- When an AI Civ is in the latter game Eras (Atomic/Information/later if added by other mods), adjusts the process used to help determine which governments will be selected and changed.
- Added more information in the "hovering" tooltip, when you hover the mouse over the leader icon in the upper panel of the "World Governments" popup.
- Added a Red Crown notification that informs human players when their government is still undergoing anarchy after changing. The notification appears every turn while still in anarchy.
- If a human player has sufficient "Discernment" of an AI Civ (basically, if they have an embassy with that Civ or higher) then if the AI Civ is undergoing anarchy for any reason (usually after a government change), the "raised red fist" font icon will appear in the upper panel "hovering" tool tip and in the lower panel in the "Government Age" entry.
- Changed the cost of government change to make it more random - this might change again in the future if it's too expensive to actually change government. Keep in mind that in about 75% of the time, the AI ignores the cost of changing.
- Fixed a bug that made all Civs way the "minimum government age" number of turns in games that started after the Ancient Era. Civs may now change government much more quickly in those later starting games.
- Fixed a bug that accommodates when other mods change the names of the game's Ideologies.
- Added a function that accounts for mods that add extra Ideologies. Basically, if there's a new Ideology added, the mod will not prevent any government from being allowed for a Civ that has these non-standard ideologies. They will be able to build just about all the possible government types. It's generous, I know, but it's better than preventing access to any governments.
- Added 2 buttons to the bottom-right of the popup - allowing players to turn off all notifications and to also enable/disable "verbose" logging (a feature that can make troubleshooting problems much easier).
- Cut anarchy duration for AI Civs in half when they change governments.
- Fixed when the "can change government" green icon pops up, so that it actually appears on the turn you can change governments, and not on the turn before.
- Fixed the broken "unknown government" icon
- Fixed several test keys and tooltips so they better explain what is occurring in the mod
Thanks to everyone who helped me get the mod working better!