Code:

Settings - Added "Disable Victory Competition" setting, when set to 1 it disables the AI's Victory Dispute/Victory Block/Is Close to X Victory changes towards other players - Added "Passive AI (Human Only)" setting, when set to 1 the AI will not initiate any wars involving human players, but humans can still DoW the AI - Added "Passive AI (Global)" setting, when set to 1 the AI will not initiate any wars with other players, including City-States, but humans can still DoW the AI - Passive AI settings will be overridden if humans ask AI teammates to start a coop war - Passive AI settings prevent AIs from asking humans for coop wars or asking/offering third party war to them in trade (humans can still ask this of the AI) - Passive AI settings prevent AIs from pursuing Domination Victories - All of these are experimental, disabled by default and can be modified via one of the text files Fixes - Fixed some bugs in the approach calculation - Fixed AI getting mad about Influence competition with their permanent CS allies or those with an Open Door resolution - Fixed AI offering or accepting DoFs with players they're willing to denounce - (Hopefully) fixed AI never keeping its promises not to dig up artifacts - Removed opinion penalty for refusing to move your troops when asked - Removed backstabbing penalties between human players in multiplayer - Fixed World Map trade item being greyed out without explanation (hopefully) - Fixed bug where AI teammates would never be willing to start a coop war immediately; now they can if they're bold enough and the target is vulnerable, just like regular AIs - Fixed AI teammates of humans accepting third party war bribes and starting coop wars with others - AI should be MUCH less likely to backstab its own friends and DPs now, or to start wars that cause its teammates to backstab their friends/DPs. They will no longer do so when insulted or as the result of a coop or third party war. They will also not target people for demands if declaring war on them would mean backstabbing someone else. Improvements - Added a temporary opinion penalty for stealing a civ's artifacts, regardless of if a promise is made (can no longer steal one artifact per civ with no penalty); the penalty's magnitude and duration worsens if more artifacts are stolen, and lowers a bit if you make a promise to stop and keep it - Note that the penalty will decay, but cannot fully disappear until the AI has confronted you about the stolen artifacts, unless you're playing in multiplayer or it's a permanent war - AI will refuse to give Open Borders to players who plunder their artifacts, if there are still artifacts for that player to plunder - Maximized AI war desire and tactical aggression if the "Always War" or "Permanent War or Peace" advanced settings are enabled (used in RAS and scenarios) - Increased AI war desire and tactical aggression towards its most threatening enemies and competitors; for instance, the owner of their original capital - AI is slightly more aggressive when backed up by a third party in war (coop war/trade) - AIs who are insulted are more reluctant to declare war on players they're AFRAID of, and more reluctant to DoW if it would also mean DoW'ing powerful neighbors - Added "approach guess" mechanic: AIs will guess other human/AI approaches towards them based on certain actions. Demands, insults and denouncing them will set their approach guess to HOSTILE if it isn't already WAR; if a player's military deployment is extremely threatening or intrigue sharing reveals a civ's war plans, it will be set to WAR. The guess system understands AI players' approach system, so for instance, they will reset guesses for the DECEPTIVE or FRIENDLY approaches if the visible approach of an AI player towards them isn't FRIENDLY. Approach guesses are not permanent and updated every 30 turns or when circumstances change - AI will refuse coop wars, giving/taking Open Borders and third party war bribery from players who it guesses to have the HOSTILE or WAR approaches towards them, to avoid falling into traps - AI will also refuse these requests from players who have backstabbed them or broken a promise not to attack them, for the same reason - If "Disable Victory Competition" is enabled or you've resurrected them, AIs will no longer refuse to take your Open Borders for Tourism reasons - Added functionality for the AI to calculate how much GPT will be lost if war is declared (still WIP, not used yet) - If AI has no cities but is still alive (Complete Kills setting), and it somehow captures a city, it will not liberate that city, no matter how many diplo bonuses it would get from doing so :) - Tweaked reckless expander penalty: won't apply unless you have more cities than the AI. Also, if a City-State has 2+ cities they will count towards the global average ilteroi's improvements (not my doing, but worth mentioning) - Improved AI strength assessments of other players - Fixed AI not targeting Barbarian cities Other - AI should no longer get a Production discount on projects like the Apollo Program - Spies should no longer consider Public Works or any custom repeatable project intrigue-worthy (repeatable projects are not noteworthy constructions)