##################################

# Balance

##################################

- lowered intel required for approximate army count & fielded manpower count to 5%

- Fixed upper bound of define for min legitimacy of government in exile to allow equipment transfer, which has the practical effect of increasing this min required legitimacy from 1 to 5.

- Fixed bounds of define for daily legitimacy change of liberated government in exile, which has the practical effect of changing the rate from -1 to -1.5 legitimacy per day.

- Soviet NKVD spirit now gives an extra operative slot

- SMERSH now gives +1 slot and coutner intel if you have LaR

- mitigated the effects of deleting your whole army to get more XP training exploit

- Add a max cap of 10 to operative number

- every country should now have access to a minister to unlock an extra operative slot

- increased compliance gain from collaboration regime from 20 to 30

- decreased time taken to run collaboration regime from 190 to 90 days

- removed ignoring of resistance target changes to no garrison law if resistance is disabled

- increased compliance generation to 0.08% base from 0.07%

- decreased compliance decay to 0.08% from 0.1% at max compliance

- changed compliance decay in occupation laws to match new compliance generation





##################################

# Bugfix

##################################

- fixed ai not being able to properly put taskforces on hold on some lack of fuel situations

- Fixed faction members joining wars via one's puppets, overriding master's consent

- Pakistani independence war units will now be deleted when the two nations make peace in any circumstances.

- Fixed an issue in the Romanian focus tree where the 'All Parties Must End' focus incorrectly added a democratic drift instead of non-aligned drift.

- Updated Romanian focus Handle The King to give democratic support instead of non-aligned

- Fixed error in log about invalid nationality when running triggers for operative trait of a captured operative

- Fixed lack of initial pause when starting a new game after exiting to menu from in game when the application was started with -start_speed=N.

- fixed unit leaders being both reckless and cautious

- fixed a potential oos with random variables

- fixed "cancel improving relations" being disabled if you are out of pp

- Fixed propaganda operative mission having no ETA nor efficiency indicator

- Prevent some UI to be visible on the loading screen when loading a save from in-game

- No Pasaran now bypasses if you have finished the SCW

- Foreign arms purchases decisions should now appear for the anarchists

- The French "Invest in..." focuses should now pick the correct states and not pick the same state twice

- Fixed air base capacity not updating properly when the controller of the state differ from the controller of the airbase

- When a long text is truncated, add the full text in tooltip, even in the main menu.

- Fixed an issue where Canadian focus "Skewer the Eagle" was automatically bypassed if Britain failed to enforce loyalty.

- French purchase weapon decisions should now show up correctly

- fixed front orders having glitchy graphics in some cases

- Fixed display settings not being available in the launcher on Linux

- French focuses should now be correctly positioned when La Resistance is not active

- Former Warlords are now able to use the "Integrate the Warlords" decision given they have completed the appropriate focus.

- Limit the new decisions alert tooltip, to not show a too big list.

- Democratic Supervised States will now have elections

- fixed being able to see taken mutually exclusive focuses without intel

- fixed an exploit that was done by renaming unit templates to the one that will be used in scripts

- Fix tooltip telling you can edit a template when you can't

- fixed agency upgrades being free unless you have wtt dlc

- reordered country scorer database to avoid some crashes

- Expand Soviet Aid focus now bypasses if you are Stalinist Spain and the SCW has ended.

- fixed a crash that happens while loading/saving game rules if you enabled a difficulty setting that was on a disabled mod

- Vichy France reuniting with Free France after Germany refuses to hand over the occupied territories will no longer result in a game over for a player Vichy France (Singleplayer only)

- fixed clear user directory not clearing saved game rules

- Against Fascism was impossible due to the combination of requirements. It no longer requires Expand Soviet Aid to be completed.

- fixed compliance map icons not being visible if resistance is surpressed

- fixed a broken trigger in the Hungarian "Take Austria by Force" focus

- Random Non-Aligned leaders should no longer be Anarchist.

- Fixed operative on Boost Ideology and Propaganda being re-assigned to Counter Intelligence on save load when no operative is assigned to Build Intel Network in their intel network

- fixed pressing esc while drawing front orders not clearing things correctly and causing issues in future fallback orders

- the Iberian Pact Invoked event should now only fire if Spain or Portugal is not in a faction

- Fixed being able to start the operation Orchestrate Coup against a country with the same ideology or already in a civilwar

- Luis Maria Martinez should now use the correct portrait even if he is spawned via civil war

- Remove manpower need for operations

- Join the Allies now properly does what it says on the tin.

- Portuguese Anarchism focus now bypasses if Portugal no longer exists (for example if it has been Anarchized already).

- Anarchist Spain is no longer allowed to call into being nation-states from liberated communal territory, much less puppet these as well.

- Prevent CTD if the dependency of a technology is invalid.

- Fix a crash when refresh ratio is 0 and fullscreen = yes

- Boost ideology network requirement only depends on the target state network

- Unite Iberia now bypasses if Portugal no longer exists.

- Reaffirm the Popular Front Strategy now bypasses if the Anarchists have already rebelled.

- All Must Bear the Torch now also requires Collectivization and Workers' Control to be completed, thereby preventing situations in which the former's 5% recruitable population bonus was erroneously not being applied.

- French Disunite Germany focus will now only create a faction if France isn't in one already

- Unplanned Offensive now also reduces air mission effectiveness in affected areas.

- fixed drop_cosmetic_tag not changing country colors in some cases

- Fixed issues with resource requirements in operations differing between UI and gameplay

- If an operation somehow gets too much equipment (like if modifiers improve) it will now give that back on start of operation

- fixed an issue where operation slots were duplicated on save load during preparation

- certain spanish song wont play overly much anymore

- Why Die for Danzig achievement should now require players to turn France fascist and occupy Danzig without going to war with France.

- Regional Defense Council of Iberia focus not coring POR

- Republican Spain should no longer incorrectly load the wrong strategy plan and expand Soviet aid in Historical Mode.

- Expand Soviet Aid now requires the Soviets to actually have sent volunteers before it is available.

- If Republican Spain declares independence after having Expanded Soviet Aid, the Soviet Union can now choose to grant it, instead of being forced to fight them over it. If the Soviet Union elected to annex Spanish land in preparation for the Independence War, via the event, this land will be returned and spawned divisions are once again removed. The AI is unlikely to choose this course of action unless they are in a large war.

- Ensured Reassert Dominance decisions can no longer target Denmark, if its capital has moved to the Americas.

- Anti-Fascist Unity is no longer available after the Anarchists have risen up.

- fixed owner/controller in scripts not working in some cases

- Fix dynamic countries not being able to research variants and having all land doctrine paths unlocked

- fixed coordinate strike not working in some cases

- Tito now dies when you kill him (did not die previously when he was killed)

- fixed num_finished_operations not working correctly

- French Intervention in Greece focus should now give the correct claims

- Achivement: I See Everything should now check for air intel as well

- Allow operative to be re-assigned to their mission when the operation completes

- Bled agreement effects

- Toggle between build network and quiet network on right click. Improve tooltip, and fix map mode for CounterIntelligence mission.

- Limit amount of foreign manpower given

- Add new request lend leases modifier for france traits

- Added Corsica, Occitania, and Brittany as releasable nations

- multiplayer related DLC images and textbox fixed

- Reload the number of factories used by project immediately.

- Fixed bug where staging a coup in Brazil lead to a second Civil War when Portugal completed The Empire of Brazil focus, even if stability and non-aligned support requirements in Brazil were met.

- Portugal AI will be more inclined to build the required dockyards for Naval Research Institute focus after completing Fuzileiros focus.

- Fixed add_ai_strategy

- Add a tooltip to explain that you need an operative working on the network to prepare an operation.

- Fixed Guarda and Porto population being the other way around. Renamed state files to match the actual state names.

- Release captured operatives of your new allies when you join a faction.

- Fix garrison alert showing when you have foreign manpower

- Fixed misspelling in a variable used for calculating size of Civil Wars in Portugal. Civil Wars in Portugal will be potentially harder but WAD now that the appropriate variable is used.

- Portugal cannot send volunteers to a Spanish faction they are not supporting.

- Fixed edge case where Spain could unlock two mutually exclusive faction branches (aka Anarchist and Communist) while the SCW starting event was active.

- Fixed Portuguese Anarchism focus to give Anarchist Spain a war goal against all Portuguese tags if Portugal is in a Civil War when the focus is completed.

- Nationalist Spain will no longer complete Iberian Pact focus in historical mode.

- A Portuguese puppet will not be able to complete focuses that will make it join a war upon completion.

- Fixes to historical AI strategy plan, preventing Portugal to take any undesired focuses that will make it abort historical plan.

- Fixed Metropolitan Army focus not actually giving technology boost for infantry and support equipment.

- Added "name = X" too all technology bonuses missing it in Portuguese FT, X being focus name.

- Fixed issue with Portuguese cosmetic tag colors: United Kingdom of Portugal and Brazil loosing its blue color when loading save game. The Fifth Empire will now be green for all ideologies (previously the color was only applied to non-aligned and democratic, and it was almost the same blue as for monarchists)

- French Reorganize the Aviation Industry decisions can now only be taken once each

- Ratifying the Stresa front will now maintain the Franco-Soviet mutual guarantee

- Fixed Linux exception.log being useless

- Improved cleanup of unneeded leaders in script, and added a failsafe in the Temporal Continuum Matrix, both of which are aimed to prevent Franco or Mola from entering into our world from an alternate dimension and wage a war against themselves. Also prevented Primo de Rivera from rising from the dead.

- Radar technology for Czechoslovakia will now use the correct localisation

- The tutorial should now correctly refer to Ethiopia

- fixed some countries not having illusive gentleman minister

- fixed an issue with a focus bypassing when it shouldn't

- air continuous focus now also helps with scout planes

- fixed naval supremacy from intel being off by a hundred

- fixed a typo in a French idea

- Czechoslovakia's Focuses should now work as designed.

- fixed china illusive gentleman issues

- Fixed incorrect advisor traits for 101 country tags

- Chinese warlords will now be able to have an Illusive Gentleman if they become Communist China

- New Zealand will now gain access to a decision to request control of Pacific Islands upon completion of the "Maori Volunteers" focus.

- It will no longer be possible for Wang Ming or Zhang Lan to rule multiple countries

- The Social Democracy focus for Communist China will now enable elections

- Britain should now accept joining the Ententes through the French focus

- Improvements to the form Polynesia decision: New Zealand can now request control of Pacific islands from their faction members

- Various operative sound fixes

- fixed a loc issue when describing compliance requirements for creating collaboration regimes





##################################

# UI & Graphics

##################################

- removed horrible yellow text in the description of an operation phase

- moved air research window elements a bit so it will fir 1920 width resolutions

- assigned f10 to faction map mode (you can take screen shot of map using ctrl + f10)

- Achievements should now have much more readable descriptions





##################################

# AI

##################################

- Prevented AI from attempting to refit ships to their current equipment variant.

- Fixed an issue with French Random Ai path selection breaking in most cases

- you can now set the French Ai to become monarchist through custom game rules (LaR only)

- fixed an issue where the Soviet AI random path selection was broken

- Republican Spain is now more intelligent in when it will Expand Soviet Aid.

- Republican Spain will now never join the allies in search of aid in their independence war, and thereby cause an Allied-Soviet war.

- ai should now randomize their boost resistance operation target a bit more

- fixed some cases where ai creates invalid invasion orders and wastes units

- fixed some issues that were making ai not assigning strike forces properly

- ai is now less reluctant to accept other ai countries' access requests if other country is too small

- Delayed UK AI strategy for piling in to save benelux to avoid awkward timing issues





##################################

# Database

##################################

- updated some Soviet tank variant flavor names

- war goals gained from focuses no longer expire

- Rearranged the order of dynamic tag colors, making it less likely that Nationalist Spain or Vichy France will end up neighboring dynamically-generated tags (civil war factions) that have the same color as them.

- researching modern spaa now correctly shows modern spaa subunit as unlock (it always unlocked it, but showed wrong subunit instead)

- José Antonio Primo de Rivera and Francisco Franco advisors now have icons that are direct copies of their country leader portraits. In Franco's case this has resulted in miraculous rejuvenation!

- minor performance improvements through usage of more accurate scoping in operation triggers

- added flavor names for Portugese tanks

- SS divisions recruited through decisions now have motorized recon units instead of horses

- enabled Jacques Duclos as a French operative in the communist branch (LaR only)

- José Díaz now uses the updated portrait as a default.

- Added unique event picture for Occupation of Tangiers events.

- Added victory points to Samoa, Tahiti, Hawaii, Vanuatu and Polynesia

- Brittany should now use their namelist





##################################

# Modding

##################################

- Added trigger network_national_coverage to test for Intel Network National Coverage

- unless producer tag is specified, add_equipment_to_stockpile will now remove equipment from all tags until it removes all required amount if amount is negative

- fixed updating a mod possibly breaking fired events in saves

- event pictures now can be customized using scope by using scripted localization (example: picture = " ")

- added set_variable_to_random/set_temp_variable_to_random effect/triggers

- added markdown/json/html files for scripting documentation

- Added console command documetation to -dump_script_doc launch option

- Improved logging of event errors to specify file, line number, and id, and logged when the event window times out but no option is allowed by script.

- added support for random female army leaders & admirals (controlled by define NCountry::FEMALE_UNIT_LEADER_BASE_CHANCE & modifiers female_random_operative_chance female_random_army_leader_chance female_random_admiral_chance)

- added effects for setting country/unit leader portrait/name/description

- fixed duplicate localization keys breaking strings in the game

- removed "We ran out of preallocated icons for icon type" error

- Added error logging for defines that have invalid values. They are still fixed up to be valid, but now the automatic change is reported, alerting designers and modders to adjustments that will not have the expected effect.

- fixed has_available_idea_with_traits tooltip not listing traits

- Fixed originator property of operative_leader_event effect not working as intended

- now possible to get intel agency name from localization as [ROOT.GetAgency]

- Fixed handling of -start_speed=N startup option so that the game will immediately begin running even when combined with -start_save=SAVE.

- technology tokens can now be accessed as variables. added num_researched_technologies trigger. added researched_techs country array

- fixed on_daily_TAG (and weekly/monthly) on actions not working

- added ignore = {} support for has_available_idea_with_traits so modders can add a list of ideas to ignore while counting

- added has_allowed_idea_with_traits trigger

- fixed a crash with nudger while editing states





##################################

# Stability & Performance

##################################

- Fixed CTD when trying to assign a front line to a selection of units where some belong to an army group and some are unassigned

- Fixed CTD when the game files do not specify a strategic region for a province

- Fixed crash if the GAME_SPEED_SECONDS define is missing or too short.

- Fixed CTD caused by invalid values in game rules

- Fixed CTD when tag switching related to naval mines

- Fixed crash uploader on Linux not working

- fixed a ctd when a mod removes existing gui element

- Fixed CTD due to stack overflow when trying to set a tooltip handler to a window that had no guitype

- Fixed CTD that may happen when confirming the replacement of a technology to research

- Fixed CTD that may happen when a naval invasion land in some cases