While evolving, Europa Universalis 4 became more complex, with a wider range of possibilities both for the AI and the player to use. But this continuous new complexity was not always addressed with the appropriate amount of love while defining the AI interactions with the new mechanics.During the polish time, we monitored the behavior of the AI related to ducats, collected data and plotted colorful charts - like the one below. Our ambition is to make the AI spending their precious ducats in a smarter way, better evaluate its priorities and generally take more reasonable decisions - you heard me, heretics?



All the various things the AI could spend money on are now categorized, and the items in each category run to get the priority based on a normalized desire score that is calculated depending on the nation current situation, the benefit of such an investment, the current availability of money and the trend of the income. The AI will not go anymore accidentally in debt because of badly timed checks on the available budget. Click to expand...

Colorful charts about AI spending ducats, taking/repaying loans and going into dramatic bankruptcies. Those KPIs helped us (and are still helping) noticing weird behaviors in a glance while refactoring and refining our AI.

As an example previously this option would force you to become Protestant if you were Reformed, together with some other technical changes in other events the disaster should work way better now. And when I showed the Content Designers the image above they were unhappy with the text so they might revisit the content again and not only have them fix up the script.

I've promised Augsburg to Munich, but Austria managed to snipe it before and such I am left without anything to give him but he understands it wasn't my fault.



Vassals Integration cost is now affected by Power Cost modifier

Fixed a bunch of Institution Spread issues

Pirate Republics can no longer spawn out of Pirate Republics

Gold can now spawn in Africa when playing with RNW

Firearm Incident is fixed which should make Achievement more plausible

Unify Culture Age Objective now work.

Oh what's this I wonder?

Hey! So me and the team are finally back and recharged after a great PDXCON and it's finally time to get going with development diaries. So what I will be covering today is the result out of what we call "Polish Weeks" here at EUIV. These days are dedicated specifically by the team to fix issues and generally improve the game. So today's development diary is me distilling down a somewhat shy of 200 known issues we've fixed but also the Spending/Budget AI work that our programmers have been working hard at.So during these Polish Weeks @Duplo and @mikesc have been working hard on improving the economy of the AI.Our goal is to make the AI more competitive towards the player, and this starts with the economy the AI has available to them. Among of the things you should see improve is besides the AI having more money generally available and doing better are features such as the religious conversion being manageable by them.Something this work by our awesome coders do is also make all of this a lot more exposed meaning modders can tweak how the AI deal with it's economy way more than they ever could before. However it is still quite strict as it would otherwise impact the performance too much.So now let's start of strong with what bugs we've been working on and talk about Chartering Trade Company AI. If you are one of the players not wanting to see a non-colonial Papal States buying land in India, the AI will now only consider to do this if they have access to colonists. The players themselves are not affected by this change and can keep using the feature like normal.Yuan and Qing unintentionally got locked behind the "Empire rank" mechanic meaning you needed Common Sense in order to form both. That's now fixed with equivalent requirements if you don't own Common Sense so you should always be able to form them.A quite old bug or oversight was the fact that the Wars of Religion in France didn't even acknowledge that the teachings of Calvin was a thing. This making it quite annoying if you wanted to play a Huguenot France. So these events have been reworked and improved to work better accounting for the Reformed faith. For starters siding with the Protestant movement within France won't make you Lutheran anymore.And speaking of the various Christians denominations, we've tried to stop all the ways we could find for you to make the Pope escape his True Faith. We've fixed becoming Anglican, No Religion Pope, releasing through demanding unlawful territory and Bankruptcy Pope. But I'm sure you'll find other ways to to make his holiness become Fetishist yet again.A thing that have annoyed a lot of people is when they've promised land to their fellow ally AI and then when you all come to the peace table he goes like "Nope don't want any, but I'll still hate you for not giving me anything". The AI will now be a lot more agreeable depending on the situation and not feel betrayed when he tells you he literally wants nothing.Moving on to governments. You can no longer hold lottery elections to elect strongmen for your dictatorships. This fixes a case where you could perpetually stay as a dictatorship through the sortition reform. Now when the first dictator takes power he will use his powers to abolish elections and you'll lose whatever reforms that gives you the lottery mechanic.Another government reform fix we also made sure to fix is so Native Americans can't get unique governments like English Monarchy anymore. You should start seeing a lot more United States of America as we've fixed a bug causing the American Revolution to never come. We've tried to make how the AI picks Government Reforms to be generally a little bit better, from how Tribes become Monarchies/Republics to having the AI favor certain picks like their own unique governments etc.All missing modifiers have now been added to the Nation Designer. The missing ones being but not limited to Artillery Fire, Possible Banners, Monthly Piety, May Explore and Power Projection from Insults. Our goal is always to keep all modifiers available to the player for when he designs his nation.The Propagate Religion exploit where you created multiple CoR's will no longer work, when you stop the Propagate trade policy it will deconstruct the CoR in the region and stop the conversion. We've also fixed an issue with the gain you get from razing provinces never get reduced when you get passed military technology level 8. The cap instead of 20 is now at 5 monarch points.For Colonial nations we've fixed a bunch of problems. For instance granting a CoT to a Colonial will no longer decrease the level of the Center. But not only that there were a bunch of ways to circumvent the protection of the overlord. So someone on the Americas could attack your poor subjects but you would be locked out of actually helping them in their time of need. Now the Overlord will always be able to enforce peace on their colonial nation despite if they have a truce with the attacker or not. This only applies if the colonial nation is the defender.A thing improved is all sources of yearly absolutism. We've had a bunch of 0.1 Yearly Absolutism all over the game which is pretty useless, it means you'll get a single worth of Absolutism in the span of a decade. So all of these have been upped to 0.5.We've also noticed that the Mission UI could be quite taxing on some people's machine so we've optimized that interface quite a bunch which will help on some of our larger mission tree's but also potentially for any mod that extends on this system. Another similar UI problem that we've dealt with is the macrobuilder for when you hit +1000 provinces which could cause a bunch of problems.Some other issues I just want to give quick mentions are:So this was just some of the things we've fixed, and we have so much more that we need to work on. We are already aware of several issues the community wants us to address and improve but in same style as we did with the QoL features we want to givethe oppertunity to highlight to us what you think is most important. This will be done in a more structured way compared to last time and if you are interested in contributing please head over to @StarNaN 's thread over here Next week I'll be talking about some of the Quality of Life features we've implemented, some of these being entirely new features almost on their own.