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

######## - - - - - - - - - - - - - Patch 1.9.1 "Husky" - - - - - - - - - - - - - ########

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



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

# 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

- 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

- Rebalanced compliance gain

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

- France now starts with basic heavy tanks unlocked

- France now has engineer companies attached to leg and motorized infantry divisions as well as light mechanized divisions in the 1936 start

- France can no longer gain up to 7 research slots by cleverly losing a war

- Death Before Surrender now is a timed spirit that lasts for 900 days. This means that, if the Civil War starts the earliest it can start, the spirit will be removed at the beginning of 1939, thus simulating a collapse of morale and speeding up the conclusion of the Civil War if it is still in progress.

- Anarchist divisions now spawn with only 25% equipment (unless the player/AI went down the Anarchists branch). This should make Anarchist Spain's starting position much weaker.

- 20% Reduction to Strengthen the Regime focus requirements (80k MP instead of 100k, 800 infantry eq. and 800 support eq. instead of 1k each)

- Increased minimum surrender limit to for a country to 20%

- Increased compliance decay to give cap of 90% compliance to non democracies.

- Changed compliance loss on state changing hands to 25% from 10%

- Decreased fielded manpower requirement from German "Demand Sudetenland" to 725000 from 750000

- Improved Resistance Suppression when using "Brutal Oppression" from 65% to 75%

- Decreased compliance from collab regime operation to 20% from 30% on normal result and 50% to 40% on excelent result

- changing ideology now halves compliance

- Reduced the Compliance requirements for the Anarchist coring decisions to 50%, down from 60%.

- Increased the cost of Concessions to the Anarchists decision to 150 PP to bring it more in line with its intended purpose as an 'emergency' delay rather than a permanent one, and also made it require either of the Nationalist factions to exist. This means that once those are defeated, there is no stopping the Anarchist uprising anymore.

- operative gained from faction members now is reduced for counties that lacks industry

- operations will now higher cost as you execute same operation on same targets (default is 15%. rescue operation is still 0%. Some exceptions are 25%)

- compliance is now halved (instead of factored by 75%) when a state controller is changed

- destroying the counter-revolution now prevents France from descending into another civil war against the fascists from low stability again

- Danzig and Memel are no longer required for forming Poland-Lithuania

- Memel is no longer required for forming the United Baltic States

- Political violence can no longer return to France if France has capitulated

- unprepared offensive modifier in SCW now also affect CAS impacts

- Along with Niceto Alcalá-Zamora as a leader, the Republicans will now, after the 1936 elections, receive a National Spirit reducing their political power income. Along with Zamora's trait and various tweaks and adjustments made to the political power gained through events and Republican focuses, this should make the flow of Garrison Control fighting before the SCW much more natural. Now, Nationalists get an initial advantage and a 'head start', but if the Republicans correctly focus on delaying the civil war initially, they will be rewarded and eventually be able to take more states back from the Nationalists than if they focus on taking states from the very start. Delaying the civil war should therefore be more enticing as a strategy.

- Increased tech stealing bonuses to 300% from 200%

- Increased tech stealing extra bonus outcomes to also give either 1 or 2 year ahead of time bonuses also

- Tech stealing can now unlock techs, uses weights on tech picking to prefer more up to date and equipment for a more rewarding bonus

- If Britain or France decide to abandon Czechoslovakia or Yugoslavia in their respective event chains, any guarantees they have made to those countries are revoked

- Medium Aircraft Designers now affect scout planes

- Added 4 civilian factories to Soviets

- added 1 mil and 2 civ factory to china

- changed one civ to 1 mil for PRC

- decreased manpower damage from resistance from 3% to 1.8%





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

# 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

- Added 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 incorrect advisor traits for 101 country tags

- 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

- disabled anarchist ideology for randomly generated neutral country leaders

- Chinese Warlords should be able to become Communist

- Communists in the Government now also completes Increase Arms Production, allowing them to move down the Stalinist branch even if they started out as Republicans.

- War propaganda mission can now always be taken as long as there is intelligence network strength on targeted state

- British Coerce Spain focus no longer influences Anarchist Spain.

- Fixed a DLC check issue with base game only lend lease

- fixed historical unit leaders getting their genders randomly assigned if not specified

- Allow Portugal to remove the Unstable Republic national spirit when taking focuses 'Join the Axis' and 'Honor Anglo-Portuguese Alliance'

- The Stalinist Doctrine and Anti-Fascist Unity are now only 35 days, making it possible for the Stalinists to reach Anti-Fascist Unity before the Anarchists rise up.

- fixed a broken trigger in the Expand the Burma Road decision.

- 1939 Spain start will now correctly have cores on historically Nationalist territory, and resistance will be correctly initialized on Republican states, allowing for re-coring via the decision system, as intended. Also removed cores of a superfluous Nationalist Spain tag.

- Fixed issues with the Spanish Civil War ending news events giving seemingly randomized combinations of titles and event texts. They should now properly reflect the SCW ending situation.

- fixed intel network max planning penalty not applying to enemy

- Fixed the Fascist Referendum decision incorrectly being available for the Carlists. Also made requirements more stringent for the Referendum decisions for all other Spanish factions.

- fixed two game rules not working (Volunteers freely available and Hungary set to go Communist)

- Taking any focus that removes or reduces 'autonomy' in Galicia, Pais Vasco, or Catalunya, while not controlling some of these states, will now remove or reduce 'autonomy' of these states when you take control of them.

- Updated Belarusian division names with proper spellings

- Fixed an issue where formable nations decisions category was using an incorrect asset

- Galicia should now have appropriate historical party leaders

- If Portugal joins the SCW, but their allied Spanish faction is defeated, this faction will now be recreated when Portugal wins, rather than result in a peace conference upon conclusion of the SCW.

- fixed an issue that prevented Vichy Produce Airplane Parts spirit from correctly applying to Germany

- Fixed Bulgarian Ships using generic Portuguese names for Submarines and Destroyers.

- Fixed an earlier fix for Expand Soviet Aid. It should now only bypass when having taken The Stalinist Doctrine and the civil war has ended, instead of always.

- The "Join the French" focus in the Dutch focus tree now takes new French focuses into account

- fixed some declare war pop up description issues

- France can no longer start border wars over her colonies if at war with the controller of those colonies

- Fixed an issue where, when the SCW starts, the other side did not have any cores on any of the Spanish states.Now both sides (Nationalists and Republicans) should have cores on all Spanish states upon the start of the SCW.

- Fixed an issue where Spanish Civil War factions did not have their cores initialized correctly, resulting in erroneous minimum surrender limit calculation. This resulted in Republican Spain having a surrender limit or 40%, rather than the intended limit of 15%. Together with the adjustment to the minimum surrender limit in the Death Before Surrender spirit for the Republicans, this should mean Republican Spain is much more difficult to capitulate now.

- The Iberian Pact is now bypassed if Portugal is already in a faction.

- Updated Portuguese Anarchism and Regional Defense Council of Iberia bypass and available triggers. Portuguese Anarchism should now bypass if you own their European states, ensuring you cannot get stuck on this focus as long as you do. Regional Defense Council of Iberia requires ownership of these same states.

- Ensured the Independence War news event for Spain shows the correct localization (it was referring to the wrong nation).

- Reworked AI weights on Limited Self-Rule and Lusotropicalism. Portugal AI will not choose Limited Self-Rule while ruling party is non-aligned or fascist.

- Prevent Nationalist Spain from joining factions on historical mode.

- Portuguese dynamic tags will get Portuguese Focus Tree after wining civil war.

- Swapped Porto and Guarda Region Type.

- Adjusted Portuguese population in Lisbon, Beja and Santarem states.

- Fixed Portuguese and Brazilian infantry division name to Divisão de Infantaria.

- Fixed bug with Purchase Ships decision, checking for the wrong DD technologies if MTG was active (which could lead to Portugal getting Basic Destroyers regardless of ITA/ENG DD hull research).

- "Continue the Public Works" and "Roads, Bridges and Dams" will add an extra building slot and infrastructure in Santarem. "A New Industry" and "Textile Industry" will add an extra civilian factory in Santarem.

- Swapped Alfredo da Silva's and Duarte Pacheco's advisor traits.

- Portuguese puppets will not get opinion penalty with Portugal upon completion of The Fifth Empire focus.

- Join the Comintern, Join the Allies, Honor Anglo-Portuguese Alliance, Join the Axis and The Royal Iberian Alliance focuses now require Portugal to not be in a faction and will get canceled if so.

- Completing Estado Novo focus will now lock Alvaro Cunhal as political advisor.

- Fixed issue with the chance of ships revolting during Navy Mutiny event.

- Renamed Franco's old portrait to prevent it from being used unintentionally by the game.

- Units now correctly divide units into fallback orders that originate in friendly territory and pass through neutral territory.

- army templates with >10 terrain adjusters will now create a scrollbar in template editor guis so all can be visible

- Random generated female aces now get properly gender flagged

- Made ideas database loading more resilient to script error

- fixed a case where you can steal ships

- fixed sometimes not getting used factories back when canceling an operation

- Made the distribution of states for the Carlist and Anarchist uprisings more reasonable, especially when finishing the SCW early and therefore owning a lot of states before rising up as the Anarchists.

- Requesting Foreign Manpower Garrison support no longer overflows.

- Fixed an issue where territory wasn't assigned properly in the Japan surrender to China

- fixed a rare edge case where Communist China could attempt to infiltrate itself

- Lina Odena is now properly considered female when being referred to in text. Also updated her name to have the proper diacritics.

- fixed usa fascist party popularity being set incorrectly after civil war

- annexed countries will be removed from wars now

- fixed access relations getting cancelled after a while

- fixed factory tooltips in country occupation view

- fixed collaboration government not having a proper name in some cases

- Fix targeted legitimacy daily decision not giving 0.05 legitimacy

- fixed propaganda against warmonger decision not having lower cost against neighbors

- Fix Missing localization tag for synthetic refineries when hovering over state resources

- Fix steal naval blueprint removing civilian instead of a navy infiltration token

- invalid operations (target is now ally etc) are now cancelled even if they are prepared

- France should now only be able to invite a country once into the non-intervention committee

- fixed two incorrect tags in a French focus

- fixed an issue preventing Paul von Lettow-Vorbeck from being recruited

- Wilno will now become a core when forming the United Baltic States or Poland Lithuania

- Nationalist Spain will no longer be offered to move their capital to Madrid if their capital is already Madrid

- Carlist Spain should now have access to a naval advisor

- Solved issue with the end of SCW news event having multiple event options

- fixed missing text in the Italian focus Develop the Benghasi Oil Fields

- Mexico should no longer be able to send shipments to Spain if the war is over

- Tooltip for Alan Turing should now make more sense

- it is no longer possible to run an operation to capture cyphers if the target country is already fully decrypted

- fixed not properly creating collaborations in some cases involving states that are controlled but not owned

- Fixed an exploit that allows you to control another country that was being controlled Back in the previous Game

- fixed missing icon and description for a hidden tech

- fixed activate_targeted_decision & remove_targeted_decision not working properly for some cases of state targeted decisions

- Dynamic tag equipment and tech names fallback to original/base country tag

- Fixed scope so that Navarra, if owned by the Carlists, will become their capital during Fascist Crackdown and Carlist Uprising events.

- Fix saving and reloading remove research bonus already applied to a research.

- fixed a rare case where a recently freed collaboration government could peacefully annex the original country if both existed at the same time

- fixed a case where countries not joining peace conferences when there are multiple different wars the enemy is in

- fixed a rare case where Italy would not correctly join the Allies if France was already part of the Allies and Italy agreed to join the Stresa Front

- Fixed the Paradox account initialization to detect the active session passed to the game from the launcher.

- fixed Reichskommissariat Ukraine not properly puppeting Ukraina

- Fixed an issue with tech stealing operation where players with MTG could be stealing old useless techs

- fixed civil war flags not being cleared when country is annexed by an effect and causing script issues

- fixed some occupation modifiers wrongly being applied after loading a save game

- impassable terrains no longer has resistance

- fixed some issues with resources that was causing inconsistencies with the last added resource type

- "Give up Baleares" and "Refuse to Give up Baleares" events are now fired to Italy instead of Spain.

- fixed china uprising decision not working in some cases

- France should no longer abandon all bonds of fellowship by leaving their faction if they decide to support the Czechs together with Britain, because IT IS NOT THIS DAY

- The EU should now correctly gain cores on Belgium and the Netherlands, Byzanthium and Imperium Romanum now also both gain cores on new states that were previously missing

- Airwing duplication now also copies missions as well as the "auto turn off" training setting

- fixed some bugs that was changing resistance country (by cancelling and recreating resistance) not working

- Evade Blockade decisions will now be properly removed after a country capitulates.

- Germany and Soviet air volunteers can fight each other in the civil war

- Fix a case where carrier combat disruption was not working

- Gibraltar will not generate resistance to any Spanish nation if it is transferred during the SCW.

- Fix instigate workers revolution britain not working properly

- fixed arguments not being passed to effects when using the effect console command

- Fixed issue with Spanish cores at the end of the SCW. Now the SCW winner will get resistance in the initial states of the "major" (SPD/SPA) Spanish enemy, until they get cored via decisions.

- Fixed annexation effects not being triggered after defeating non-anarchist Portugal.

- French Coup operations should now correctly display their potential outcomes

- fixed air mission icons in intel ledger air map mode having wrong frame

- Fixed a typo in Belarusian spelling and cleaned up spacing.

- The Chinese "Communist threat defeated" event is now suppressed after firing once until a new Communist infiltration is detected (WtT only)

- fixed remove_unit_leader effect not working correctly in some cases

- Fixed "Expand Garrison Control in Burgos" decision not increasing garrison control for the Republicans





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

# 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

- Fix infinite production of ships not assigning names properly in the UI

- Ensured the Abdication Crisis timed mission will now appear at the top of its decision category, for convenience.

- Fixed the Boost Ideology window to work with more than 4 ideologies

- The list of aces to pick from is now sorted to have compatible and free aces at the top

- Releasing puppet no longer creates a new operative slot that disappears again after unpausing

- fixed some graphical issues with frontlines

- fixed operative nationality flags not properly positioned when there are more than 2

- Reduced excessive digits in percentages in various occupation tooltips

- improved operative slot tooltips to see where you are gaining your slots from

- During peace conference, collaboration events are delayed until after and non-news events are hidden

- Operatives can be disbanded to free up operative slots and recruit different operatives

- French Focuses bypassed by not having an inefficient economy now correctly display that fact

- fixed is_on_continent trigger tooltip being reversed

- Fix units when retreating towards a tile while in multiple combats has a wrong arrow visually

- Clear all province colors when switching to root out resistance map mode

- Unified achievements tooltips during game setup and in-game so that the in-game button shows the same details as game setup.

- Corrected achievement UI to be disabled when not logged in with necessary accounts, with explanation added to tooltip.

- fixed "Expand Influence in state" decisions increasing the influence over max and causing ui to show wrong decision icons

- Fixed Communal Autarky focus showing an effect tooltip twice.

- Added text-to-speech (Win/Mac) and speech-to-text (Win) to the multiplayer chat

- Added large font support and visual message notification to the multiplayer chat

- Added new 3D models for the various Spanish sides and Portuguese units in La Résistance

- Fixed overflow of resource icons in the state view

- added 'lack of fuel' icon for combat view for the divisions that are lacking fuel

- Specified Cyrillic script fallback fonts for an old fonts used in a limited number of places, most notably the Autosaving message.

- Fixed untranslated OK and CANCEL buttons in various confirmation dialogs.





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

# Audio

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



- Fix sound effect for light armour fire. Now it has more DAKKA





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

# 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

- Spanish AI will now be less disinclined to take certain advisors.

- German AI should now research 1940 fighters (after 1940 due to balance concerns)

- allies no longer ask SOV for military access

- fixed ai not upgrading templates of existing units

- fixed some issues that resulted in ai preferring producing earlier ships

- ai ITA no longer releases Libya as a collaboration government

- ai will try not to pick closed economy laws if it has large allies

- fixed ai not taking zero cost decisions if it has negative pp

- ai will be less reluctant to create collaborations if it already has some

- GER now will try to put more armor to low countries instead of france border

- Ai now able to send volunteer airwings again (optimization broke it in 1.8.1)

- Soviets are discouraged from sending volunteers to western Europe

- neutral ai countries won't create collaborations unless it is past 1944 and they are at peace

- ai will not create single state collaborations

- The US should now declare war on Vichy france closer to the historical date

- ITA now no longer invades NOR until FRA falls

- soviet will now build less naval bombers and a bit more fighters

- Portugal AI will accept to Restore the Iberian Union if it is a puppet of Carlist Spain.





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

# 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

- The Republican tree for Spain (POUM, Stalinists, and Democrats) has received various balancing tweaks and additional industry focuses, to make post-Civil War gameplay more enjoyable.

- Added a few new Carlist focuses to slightly improve their industrial situation after the civil war.

- Relocate Government to Batavia focus now also adds 70 compliance to Indonesian states.

- It is now no longer possible to avoid the Carlist/Anarchist uprisings by ending the Spanish Civil War before their timers expire. The timers will now continue until expiring, and, if the opposing faction (Republicans or Nationalists) has been defeated already, a new civil war will begin with the Carlists or the Anarchists (Franco can avoid this by taking the Fuse the Parties focus, as normal). New news events and descriptions for existing events have been added for these situations. The Civil War will now only be considered 'ended' when all factions have been defeated, or Franco takes the Fuse the Parties focus.

- France now has the correct heavy battery and secondary battery unlocked in 1936 (MtG only)

- Slightly adjusted A Great Spain and The Popular Front focus placement to be more central.

- Increased the strength of the focuses contained within the Expand Soviet Aid branch, to make these more useful and worth the repercussions. Also made them impact Communism support more.

- Reduced surrender limit offset (mninimum surrender limit) for Republican and Anarchist Spain in the Death Before Surrender spirit to 5%, down from 15%.

- Added an additional 5% neutrality support to both Safeguard the Freedom of Worship and Integrate the Requetés, making it easier for Francoist Spain to remain below 40% fascism support, in case they want to join the Allies.

- Changed the country names for Galicia and added party names for Spanish releasables

- Renamed Elastic Defense focus to Rebuild the Lines of Torres Vedras for better flavor.

- Fixed "Catalonian Occupation Zone" to properly refer to a "Catalan Occupation Zone", instead.

- Fixed decision requirements in the Abdication Crisis timed mission.

- fixed a number of issues with the French Legitimist Monarchist branch

- Fixed flavor text in the Spanish Independence War news event

- fixed some issues with Japan's head of intelligence advisor

- dismantling the Maginot Line now removes the "Protected by the Maginot Line" national spirit. The Extending the Maginot Line Focus now requires this spirit.

- fixed an issue with Yugoslavian Fighter/Bomber competition event chain having unlocalized strings

- Added missing name for Concessions to the Anarchists decision.

- Fixed Soviet Union seizing Spanish gold reserves even if the gold was never relocated.

- The French "Economic Devolution" focus now displays the correct effects after it is taken

- fixed a missing Czech airwing name

- Spanish focus "Demand French North Africa" now also gives Algerian Desert.

- Portugal will not be able to complete "Intervention in Spain" or "Nationalist Intervention" if it is in a faction with Spain.

- Free French coup in territory operations should now only be available against the country actually occupying that territory

- Spanish POUM will no longer share the same game rules as Anarchist Spain. They will be able to join factions, boost ideology and puppet nations.

- fixed a number of edge cases in the Munich conference logic (and probably introduced a number of new edge cases, happy hunting!)

- Tito should no longer be able to serve as chief of army if he is dead

- Added Niceto Niceto Alcalá-Zamora as the initial leader of Spain in 1936, along with an event to replace him with Manuel Azaña in April 1936.

- fixed an issue where France would start out with too low war support if Man The Guns was not active

- Vichy France is now informed if any colonial territories are taken over by Free France

- Several new Spanish advisors are now at the service of the different Spanish factions. POUM will also receive a field marshal and two generals upon completion of Masters of Our Own Fate focus.

- Brazilian Fascist party will become an Anti-Monarchist Coalition when Portugal completes the focus Monarchist Uprising in Brazil.

- Added general Jose Asensio Torrado to the Spanish roster, so he can finally show up his cool portrait.

- Fixed missing portrait for Spanish general in vanilla.

- Fixed unlocalized option in one of the Spanish civil war news events.

- Spanish Election of 1936 events will now get the current Spanish leader, Niceto Alcala-Zamora.

- Updated BLR division names to use Belarusian instead of Russian.

- Added in decision category art for generic formable nations.

- The UK will now prioritize giving Gibraltar, if possible, to SPD, then SPA, then SPB and, only if no other Spanish tag exists, to SPC when they complete "Withdraw from Contested Territories" focus.

- Added advisor portrait for Agustin Munoz Grandes

- Improved French intervention in SCW so that now France, if fighting in the SCW, will be at war with any new Spanish tag spawned.

- Any Spanish tag revived by a foreign ally will now declare war on any foreign country allied to any other Spanish tag.

- Chinese decision to move the capital to Beijing/Nanjing will no longer be available for subjects. This change fixes the issue with Portuguese China moving their capital and making the achievement "Go ahead, Macau my Day" impossible to complete.

- Pierre Laval now starts out as the French starting leader

- Prevented Monarchist France from being able to join the Spanish Civil War on the Anarchist side.

- Portuguese "Volunteers in the War" National Spirits will be removed when the SCW is over





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

# 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

- it is possible to specify name & icon in create_intelligence_agency effect now

- added state_resource_cost_steel (and others) modifier that will add a resource cost for state (they can reduce state resources below zero and unaffected by transfer ratio)

- added country_resource_steel & country_resource_cost_steel (and others) which can be used in country scope to add/remove resources to country (added ones are affected by production modifiers)

- added max_planning_factor modifier

- added error log for non-existing game rule option for has_game_rule trigger

- fixed script triggers not producing correct tooltip for scripted_trigger = no

- fixed some tooltip issues with for_each_scope_loop effect and all_of_scopes & any_of_scopes triggers

- specific ideologies can now be disabled for random country leaders by setting can_be_randomly_selected = no

- updated documentation files

- Made random_list property log to log to in-game console while in debug mode

- added exclude_dlc support for game rules & options

- fixed accessing variables using other variables not working ( such as var_name:var_name2 )

- added seed = var support for scripted locs random list & random list effect

- laws/ministers can be now modded to use list view instead by adding use_list_view = yes to their idea group

- fixed country_resource_cost_ modifiers not applying correctly

- fixed state resource cost modifiers not showing in tooltip if there were no other resources

- country total resources can go below zero now

- The game no longer aborts due to map errors if launched in debug mode, to allow access to the Nudger

- The game now displays a pop up when reaching the main menu if it detected invalid map data when launched in debug mode

- added on_operative_recruited & on_operative_created on actions

- fixed invalid error logs with tag aliases

- added army_experience navy_experience air_experience country variables

- scripted effects with names that start with "d_" (example d_test_effect) now will be available as a console command) example usages are in zzz_debug_effects.txt

- added mtth database that allows mean_time_to_happen/ai_will_do structure as if they were variables

- added script profile scopes for ideas

- fixed country_resource_cost modifiers for real

- Fixed occurences of limit in an else effect not being reported as an error

- added dirty = var_name for scripted windows. if this variable name is set, the game will check if the value of that variable is changed before updating scripted windows to see if it needs to update the gui. by default guis are updated every hour/with every command. now if a change has been made that would affect the scripted gui, you can just change/increase a variable to force an update and improve performance

- Errors that cause the invalid map data error are now preffixed with MAP_ERROR

- release release_puppet release_autonomy effects no longer changes the controller if the state is controlled by a non-ally country.

- you can specify a list of effects under spawn_civil_war effect now, which will be executed under new civil war country

- added release_on_controlled release_puppet_on_controlled effects that also works if on your controlled states

- added army_ledger navy_ledger air_ledger civilian_ledger tokens for parent_window_token scripted gui entries

- added state modifiers for building & repair speed for specific building types (example state_production_speed_infrastructure_factor state_repair_speed_infrastructure_factor)

- added is_impassable trigger

- added support for highlight_state_targets for decisions which is a script target that can be used for highlighting states. should give improved performance if used instead of highlight_states

- decision scripted guis now supports dirty var as well.

- event effects now accepts variables as its duration entries

- Enabled 3D mesh lookup based on a country's cosmetic tag before checking its true tag.

- added MAX_NUMBER_OF_TEXTURES define which can be increased for mods that had more than previously hardcoded 10k texture limit





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

# 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

- Fixed CTD that can occur when a carrier ship is tranferred between countries

- Added mitigation when loading a save that has invalid access rules for carrier

- Fixed CTD on missing static modifier definition

- Fixed CTD when define NIntel::MAP_INTEL_VISIBILITY_CUTOFFS was illformed

- improved performance slightly by making some adjustments to triggers (courtesy of Yard1)

- fixed some performance issues with naval invasion ai

- The game will now abort if the map contains invalid data

- Fixed CTD when accessing the airwings of a carrier that has been acquired through the annexation of a puppet

- Fixed CTD caused by event that would kill country leaders or a country that had none

- Fixed CTD when evaluating event target with an invalid state id

- Fixed CTD when an airbase with air volunteers was destroyed

- Fixed CTD that can be caused by some moded ship equipment type

- Fixed CTD caused by a task force located in a province with no sea access

- Fixed CTD that could happen when releasing a country

- fixed a ctd when

at the end of definition.csv is forgotten

- Prevent CTD when attempting to display the airwings of an airbase the player does not have access to

- Fixed abort to trigger on more cases where invalid map data is detected

- Fixed CTD on invalid naval terrain type for a strategic region

- Fixed CTD on invalid state definition

- Fixed CTD that could happen when re-ordering ship names

- Fixed CTD when displaying the tooltip of the join faction diplomatic action

- Fixed CTD when a autonomy_state has not been correctly loaded

- fixed unnamed gui objects possibly causing crashes and added an errorlog

- Blocked execution of white_peace before game start, along with error log explanation, instead of CTD.

- Fixed CTD on Windows related to flag atlas texture update

- Fix performance issue when creating dynamic tags from targeted decisions.

- fixed a bug that was leaking memory in decision scripted guis

- fixed a ctd that happens when you have invalid color characters

- fixed a ctd that can happen when loading a save that has gie with units in naval transfer

- fixed a crash that happens when saving when a border war ordergroup is invalid

- fixed a ctd that happens during peace conf when the game tries getting tooltip for a deleted action

- Fixed CTD while loading a save game for some mods

- Fixed CTD on Windows caused by the assumption of the presence of the popcnt instruction

- Fixed a CTD caused by missing pie chart UI element in the diplomacy view

- fixed an oos due to random variables