修正:修订间差异

本页面适用于最新的版本(1.14)。
无编辑摘要
无编辑摘要
 
(未显示14个用户的44个中间版本)
第1行: 第1行:
{{Version|1.6}} {{Expand}}
{{Version|1.14}}
== 修正是什么?==
{{ 需要翻译|译者=霜泽图书馆}}
A modifier is essentially a variable used in internal calculations. However, unlike [[Defines]], modifiers are dynamically changeable within any modifier block. In general, modifiers are typically used to create a consistent and long-lasting effect that can be easily reversed.<br/>
Each modifier has the exact same layout: <code>modifier_name = 0.1</code>. This adds the specified value to the modifier's total value for the scope where it is applied.{{cref|a}} For example, assuming that there are no other modifiers changing that to the country, having <code>political_power_gain = 0.2</code> and <code>political_power_gain = -0.05</code> applied to the country (potentially in different modifier blocks) will result in a total of {{green|+0.15}} political power gain above the base gain. Due to how modifiers work, '''a modifier with the value of 0 will always do nothing.''' This also means that negative modifiers will always work and have the opposite effect of positive modifiers.<br/>
A modifier's current total value can be received as a variable by reading <code>modifier@modifier_name</code>, such as <code>set_variable = { my_var = modifier@political_power_gain }</code>. This works for countries and states, but for unit leaders, <code>unit_modifier@modifier_name</code> and <code>leader_modifier@modifier_name</code> is used instead.
__TOC__
The following are ''not'' modifiers, even if they are similar:
* Research bonuses allowing to grant a boost to a specific technology category. This is, instead, [[Idea modding#Modifiers|an argument within ideas]], which can be applied in the same way for advisors, but not elsewhere.
* Equipment bonuses, such as decreasing the cost to build an equipment archetype. Similarly, this is [[Idea modding#Modifiers|an argument within ideas]], which can be applied in the same way for advisors and country leader traits, but not elsewhere.
* Opinion modifiers, which can be applied to change the opinion (including trade influence) within countries, defined in {{path|common/opinion_modifiers/*.txt}} files.


修正是一种可以通过许多种不同方式来影响你的国家的东西,从科研速度到军队组织度的一切都可以被修正。
== Applying a modifier ==
There are a large variety of ways to apply modifiers, but these are the primary ones:
* [[Idea modding|Ideas]] - This primarily includes but is not limited to national spirits and hidden ideas. '''These are the simplest way to add a modifier to a country''' by using an [[Effect|effect block]], such as a national focus reward, by using [[Effect#add_ideas|add_ideas]] or [[Effect#add_timed_idea|add_timed_idea]]. These only work for countries.
* [[#Dynamic modifiers|Dynamic modifiers]] - This is similar to ideas (Showing up in the same screen for countries), but they accept [[variables]] and can also be applied on states and unit leaders. '''These are the primary way to add modifiers to a state.'''
* Traits:
** [[Character modding#Country leader traits|Country leader traits]] - These can be added to ideas (including advisors which function similarly) and country leaders, which'll apply on the country.
** [[Character modding#Unit leader traits|Unit leader traits]] - These can be added to unit leaders and apply effects on the leaders themselves or their units. These are the primary way to add a modifier to a unit leader.
* [[#Static modifiers|Static modifiers]]:
** [[#Global modifiers|Global modifiers]] - These are entirely hard-coded on ''when'' they apply, such as those used for stability and war support bonuses. However, these can be changed in ''what'' they apply.
** [[#Province modifiers|Provincial modifiers]] - These are the primary if not the only way to apply a modifier towards a specific province.
** [[#Relation modifiers|Relation modifiers]] - These are the only way to apply a targeted modifier from one country towards the other without needing to specify a specific country tag within the targeted modifier block.


修正不是一次性的指令,and needs something to apply it.
Each modifier follows the same structure of being assigned a number, such as the following formatting within many blocks '''that support modifiers''', such as anything listed above:
<pre>modifier = { # While this is present in, for example, ideas or decisions, it's equally likely to see is modifier = { ... } being omitted entirely in other entries, such as country leader traits.
   political_power_gain = 0.1
   disabled_ideas = 1
}</pre>
No modifiers can have a non-numeric value, including boolean ones that must be 1 to have any effect.
Note that '''modifiers do not support if statements'''. The closest replica possible of one are [[#Dynamic modifiers|dynamic modifiers]], which allow using variables.
=== Tooltip modification ===
Modifier blocks support, within them, the <code>hidden_modifier = { ... }</code> block, which can be used to provent the modifiers within from showing up in the tooltip. Additionally, <code>custom_modifier_tooltip = localisation_key_tt</code> can be used to add a custom localisation string to appear within the localisation as one of the modifiers. In combination, this will look like the following:
<pre>modifier = {
   hidden_modifier = {
     political_power_gain = 0.1
   }
   custom_modifier_tooltip = political_power_gain_tt
}</pre>
Custom modifier tooltips ''do not'' support dynamic commands, which includes anything that uses square brackets.


修正可以通过静态或动态的方式得到并长期存在:
== Dynamic modifiers ==
{{Hatnote|If you want to apply a consistent modifier to a country, [[Idea modding|it's easier to use ideas instead.]]}}
Dynamic modifiers, defined in {{path|common/dynamic_modifiers/*.txt}} files, are a type to apply modifiers that accept variables. The modifiers are updated daily, unless the [[Effect#force_update_dynamic_modifier|force_update_dynamic_modifier effect]] is used to forcefully refresh the impact of modifiers. They can be applied to both countries and states, in case of the latter, the variable must be defined for the state, not for the country-owner or controller. They can also be applied to unit leaders.


*[[National_focus|National focus]] - If the Focus gives a idea with modifiers in it, or unlocks a hidden research (such as with Jungle Training from TfV India).
Unlike ideas, '''there is no way to reload definitions of dynamic modifiers''' via debug mode or console, any changes to their definitions require a game restart to apply in-game. Additionally, due to the daily refresh of the variable check, these are more poorly optimised than ideas are. Due to this, when it's feasible to not use variables for a country-scoped dynamic modifier, it's both easier and more optimised [[Idea modding|to use national spirits instead.]]
*[[State_types|State types]]
*[[Research|Research]] - Ex. Doctrines
*[[Terrain|Terrain]] - All terrain gives different bonuses that can be changed.
*[[Events|Events]] - If the Event gives a idea with modifiers in it, or unlocks a hidden research.
*[[Ideas|Ideas]] - National Spirits
*[[Advisors|Advisors]] - Works the same as Ideas, and can have the same modifiers.
*[[Laws|Laws]] - Works the same as Ideas, and can have the same modifiers.
*Stability Defines - Can both be added as the negative effect (sub-50% Stability) or positive effect (pro-50% Stability)
*War Support Defines - Can both be added as the negative effect (sub-50% War Support) or positive effect (pro-50% War Support )


== 抵抗运动==
The dynamic modifiers are evaluated daily for each scope. The process consists of the following:
{{SVersion|1.9}}
* At the beginning of each day, each variable modifier value for each dynamic modifier is temporarily reset to 0, even if the null-coalescing operator is used to assume a different number as the default. Constant values do not get reset.
Hidden Modifiers can be added with this block : hidden_modifier = { }
* Dynamic modifiers are then evaluated in the order that they were given to the scope with <code>add_dynamic_modifier</code>.
{| class="wikitable sortable"
* The variable values inside of a dynamic modifier are assumed to be 0 until every variable inside is calculated. This includes those that rely on other modifiers, which includes the <code>modifier@modifier_name</code> [[game variable]] or [[Variables#MTTH variables|MTTH variables]] that utilise that game variable.
|-
* After the variables are calculated for a single dynamic modifier, the modifiers apply to the scope with the dynamic modifier and the game moves onto the next dynamic modifier added to the current scope until each one is calculated.
! Name
=== Arguments ===
! Effect
* '''icon''' decides what is the icon used for the dynamic modifier. The icon uses a sprite defined in any {{path|interface/*.gfx}} file. If the icon is not specified, it will be hidden.
! Example
* '''enable''' decides when exactly the dynamic modifier's modifiers apply. If the dynamic modifier is set, but the country or state it's set to does not fulfill the requirements, its effects will not apply. Optional.
|-
* '''remove_trigger''' will automatically remove the dynamic modifier upon the triggers being met. Optional.
|operative_slot
* '''attacker_modifier''' will, if set to true within a state-scoped dynamic modifier, additionally makes the modifier apply to divisions that, while not being present in the state with the dynamic modifier, are attacking an enemy located on that state. Optional, defaults to false.
|Spy vacancy
Modifiers are put directly inside the dynamic modifier as a list. Non-modifier idea attributes such as <code>equipment_bonus</code> or <code>research_bonus</code> are impossible to use inside of dynamic modifiers.
|operative_slot = 5
=== Example ===
<pre>dynamic_modifier_name = {
   icon = GFX_idea_unknown
   enable = { always = yes }
   remove_trigger = {
     NOT = {
       has_variable = var_name
     }
   }
   political_power_gain = var_name # Variable value
   weekly_manpower = 1000 # Constant value
   stability_factor = GER.stability_var # Checks specifically GER's variable, regardless of where the modifier is applied
}</pre>
 
=== Adding a dynamic modifier ===
Dynamic modifiers are added via the [[Effect#add_dynamic_modifier|add_dynamic_modifier effect]]. A typical addition of a dynamic modifier looks like the following:
<pre>add_dynamic_modifier = { modifier = dynamic_modifier_name }</pre>
Since dynamic modifiers do not have assigned scopes, the same modifier can be assigned to either a country, a state, a unit leader, or several at once &ndash; this is decided only by where the <code>add_dynamic_modifier</code> effect is executed.
 
Within GUI, a dynamic modifier will take up these places if visible:
* For a country, a dynamic modifier will show up in the list of national spirits, appearing after the regular spirits.
* For a state, a dynamic modifier will show up in the special section for them in the bottom of the selected state view, marked with <code>dynamic_modifiers_grid</code> in {{path|interface/countrystateview.gui}}.
 
When adding a dynamic modifier, it is also possible to make it be timed or make it use a different scope as the variable's base. For example, the following code will apply dynamic_modifier_name to GER for 30 days, but the variables will be read off POL:
<pre>GER = {
   add_dynamic_modifier = {
     modifier = dynamic_modifier_name
     scope = POL  # The modifier itself will be applied to GER, but the variables will be read off POL.
     days = 30
   }
}</pre>In particular, assuming that dynamic_modifier_name is the example dynamic modifier created previously, if you do <code>set_variable = { POL.var_name = 0.3 }</code>, then the dynamic modifier assigned to GER as the result of this effect will give 0.3 daily political power gain. However, if the dynamic modifier scopes into ROOT for the variable as <code>political_power_gain = ROOT.var_name</code>, then <code>set_variable = { GER.var_name = 0.3 }</code> would be done.
 
A dynamic modifier is removed via [[Effect#remove_dynamic_modifier|remove_dynamic_modifier]], phrased similarly to add_dynamic_modifier: <code>remove_dynamic_modifier = { modifier = dynamic_modifier_name }</code>. If, when added, the dynamic modifier had a scope assigned to it, the scope will have to be specified when removing it as well.
 
'''Modifiers that use variables will not show up in the tooltip of add_dynamic_modifier''', while those that are set to a static value will. While this may make the dynamic modifier appear broken when only reading the tooltip, this will not be actually the case once it gets added. In this case, [[Effect#custom_effect_tooltip|the tooltip of the effect can be changed]], with [[Scopes#hidden_effect|the effect adding the dynamic modifier hidden]].
 
== Static modifiers ==
Static modifiers are stored in {{path|common/modifiers/*.txt}} files, where each code block within is a modifier block with the name being the ID of the static modifier. There are 5 main categories of static modifiers:
 
=== Global modifiers ===
Global modifiers are applied by the hard-coded game features. Their names mustn't be changed, as the code uses them internally, but their effects can be edited. Examples of global modifiers are the penalty for non-core states or the effects of stability and war support.
 
=== Difficulty modifiers ===
These are applied within {{path|common/difficulty_settings/*.txt}} files. This is used in the menu to strengthen specific countries at the game's start within game rules. If there are no difficulty settings defined, the menu will not be possible to open.<br/>
Each difficulty setting is defined as a <code>difficulty_setting = { ... }</code> block, which must lie within an overarching <code>difficulty_settings = { ... }</code> block. The following arguments can go into difficulty settings:
* <code>key = localisation_key</code> is the [[localisation]] key used as the name of the difficulty setting as it shows up in the game rules menu/
* <code>modifier = static_modifier</code> sets the static modifier to be used by this difficulty setting.
* <code>countries = { ... }</code> is a whitespace-separated list of country tags for which the difficulty setting applies.
* <code>multiplier = 2.0</code> is a value by which the static modifier gets multiplied at the max value. As there are 5 levels for each difficulty rule, including 0, this gets split into quarters for each level, with the second being a quarter, the third being a half, and the fourth being three quarters.
An example of a difficulty setting file is the following:
<pre>difficulty_settings = {
   difficulty_setting = {
     key = difficulty_weaken_GER
     modifier = weaken_country
     countries = { GER }
     multiplier = 2.0
   }
   difficulty_setting = {
     key = difficulty_weaken_SOV
     modifier = weaken_country
     countries = { SOV UKR BLR }
     multiplier = 2.0
   }
}</pre>
=== Relation modifiers ===
Not to be confused with opinion modifiers. The relation modifiers apply a targeted modifier from one country towards an another one, automatically removed when the trigger is met. ROOT is the country that the modifier is applied to and FROM is the target. An example would be:
<pre>test_relation_modifier = {
valid_relation_trigger = {
FROM = {
has_government = ROOT # same ruling party as ROOT
}
}
compliance_gain = 0.2 # FROM's states have 20% more compliance gain when controlled by ROOT
}</pre>They can be added by the add_relation_modifier effect, used as such:
<pre>add_relation_modifier = {
target = TAG
modifier = test_relation_modifier
}</pre>remove_relation_modifier, which works similarly, can remove them.
 
=== Province modifiers ===
Province modifiers apply a modifier to a specific province rather than a state. They can be applied via the add_province_modifier effect, and removed with remove_province_modifier. More info on how to use these can be seen in the [[Effects|effects]] page.<br/>An example definition looks like<pre>mod_modifier = {
army_speed_factor = -0.5
army_defence_factor = 0.5
dig_in_speed_factor = 0.5
}</pre>Many state-scope modifiers will work in province scope as well. In order to make the GFX in GUI, you first need to edit {{path|interface/countrystateview.gui}}. The icon must be defined inside custom_icon_container, similarly to other examples. An example definition looks like
<pre>iconType = {
name = "<modifier name>_icon"
spriteType = "GFX_modifiers_<modifier name>_icon"
position = { x = 0 y = 0 }
Orientation = "UPPER_LEFT"
}</pre>The spriteType you have defined needs to be defined in {{path|interface/*.gfx}} similarly to this example:
<pre>spriteType = {
name = "GFX_modifiers_<modifier name>_icon"
textureFile = "gfx/interface/modifiers_<modifier name>_icon.dds"
}</pre>
=== Balance of power modifiers ===
Balance of power modifiers typically include within of themselves the [[#power_balance_daily|power_balance_daily]] and/or [[#power_balance_weekly|power_balance_weekly]] modifiers in order to gradually tip the balance towards one side. For example,
<pre>my_bop_modifier = {
   power_balance_weekly = -0.01 # Changes by 1% each week to the left, in the range of -1 to 1.
}</pre>
Balance of power modifiers are added via [[Effect#add_power_balance_modifier|the add_power_balance_modifier effect]] as such:
<pre>add_power_balance_modifier = {
   id = my_bop   # The ID of the balance of power
   modifier = my_bop_modifier # The modifier to add
}</pre>[[Effect#remove_power_balance_modifier|The remove_power_balance_modifier effect]], with the same syntax, or [[Effect#remove_all_power_balance_modifiers|remove_all_power_balance_modifiers]] can be used to remove these from the country.
 
== Modifier definitions ==
Modifier definitions allow the creation of a custom modifier, which can be accessed as a variable when you wish to use it. After being defined, they function entirely like a new variable, being possible to read as a variable with the same <code>modifier@modifier_name</code> procedure. They will not have any effect by default and function only as a way to change the variable's value in an additive way with modifier blocks.<br/>
Each modifier token is defined within {{path|common/modifier_definitions/*.txt}} files as a separate code block, where the name of the code block serves as the ID of the modifier definition. There are the following arguments that can go inside of it:
* <code>color_type = good</code> decides the colour of the modifier's value itself. There are three values, <code>good</code>, <code>bad</code>, and <code>neutral</code>. <code>neutral</code> is permamently yellow, while <code>good</code> turns the positive values {{green|green}} and negative values {{red|red}}. <code>bad</code> is the reversal of <code>good</code>.
* <code>value_type = percentage</code> decides the way the number will show up in the tooltip. There are the following values this argument can be set to:
** <code>number</code> will make the exact value of the modifier show up. 0.02 will show up like "Modifier definition: 0.02".
** <code>percentage</code> will make the modifier show up as a percentage on the scale from 0 to 1. 0.2 will show up like "Modifier token: 20%".
** <code>percentage_in_hundred</code> will make the modifier show up as a percentage on the scale from 0 to 100. 10 will show up like "Modifier token: 10%".
** <code>yes_no</code> shows up as a boolean: anything larger than 1 will shows up as <code>yes</code>, while 0 will show up as <code>no</code>.
* <code>precision = 1</code> decides how many numbers will be shown after the period in the tooltip. For example, if it is set to 1, the tooltip will show 0.341 as if it was 0.3. Note that the game inherently does not support more than 3 decimal numbers, so it cannot be larger than 3.
* <code>postfix</code> decides what will be added after the value of the modifier in the tooltip. Allowed values are 'none' (Default), 'days', 'hours', and 'daily'.
* <code>category</code> decides on the category of the modifier. By default, the category is 'all', which makes it be in every single category. Certain tooltips will only show modifiers if they belong to a certain category. It is possible to set multiple categories for the same modifier definition by defining them one after another.
: The allowed values are 'none', 'all', 'country', 'state', 'unit_leader', 'army', 'naval', 'air', 'peace', 'politics', 'ai', 'defensive', 'aggressive', 'war_production', 'military_advancements', 'military_equipment', 'autonomy', 'government_in_exile', and 'intelligence_agency'.
 
The modifier definition's ID is also used as the [[localisation]] key needed to change the name of the modifier depending on the currently turned on language.
=== Examples ===
<pre>modifier_definition_example = {
color_type = good
value_type = number
precision = 1
postfix = daily
category = country
category = state
}
modifier_definition_example_2 = {
   color_type = bad
   value_type = percentage
}</pre>
=== Using in variables ===
The function of modifier definitions is to modify the value of a game variable, which can be read by other variables. You can set a variable to be equal to the sum of all values of the same modifier token in the current scope by doing <code>set_variable = { var_name = modifier@modifier_token_name }</code>. This example will set var_name to be equal to the total value of modifier_token_name.
 
Note that, unlike countries and states, unit leaders use leader_modifier@modifier_definition_name or unit_modifier@modifier_definition_name in their scopes.
 
Example usage of making a modifier token create civilian factories in random core states monthly, in any [[on action]] file:
{{VisibleCollapse|
<pre>on_actions = {
   on_monthly = {
     effect = {
       if = {
         limit = {
           check_variable = { modifier@modifier_definition_example > 0 }
         }
         for_loop_effect = {
           start = 0
           end = modifier@modifier_definition_example
           random_owned_controlled_state = {
             limit = {
               is_core_of = ROOT
               free_building_slots = {
                 building = industrial_complex
                 size > 0
                 include_locked = no
               }
             }
             add_building_construction = {
               type = industrial_complex
               level = 1
               instant_build = yes
             }
           }
         }
       }
     }
   }
}</pre>|Example}}
 
== Opinion modifiers ==
Despite their name, opinion modifiers are not related to modifiers in any way, instead they are used to modify the diplomatic or economic relations between a pair of countries.
 
The opinion modifiers are made in any {{path|common/opinion_modifiers/*.txt}} file as an entry in the <code>opinion_modifiers = { ... }</code> block, with the name of the entry being the ID of the opinion modifier. In case of there being several entries with the same ID, the one that was [[Modding#Loading files|evaluated later based on the filename and order in files]] will take priority, meaning that copying a base game file is never necessary in a mod.
 
There are the following attributes that are used in opinion modifiers:
* <code>trade = yes</code> is used to decide whether the opinion modifier changes the diplomatic relations or the trade opinion from one country to another. If unset, defaults to being false making it diplomatic.
* <code>value = -10</code> is the value of the modifier that decides by how much the diplomatic or trade opinion should change once the opinion modifier is added.
* <code>decay = 1</code> details the speed at which the opinion modifier trends towards zero monthly. Optional, defaults to the modifier not changing if unset.
* <code>days = 10</code> | <code>months = 2</code> | <code>years = 1</code> decides the time for how much the opinion modifier should last before it will get automatically removed. A month is interpreted as exactly 30 days, while a year is 365. Optional, the modifier will be permanent if neither is set.
* <code>min_trust = 10</code> | <code>max_trust = -10</code> detail the minimum and maximum value that the opinion modifier can change to. As the only non-hardcoded way to change the value of an existing opinion modifier is through decay, this can be used to limit how far it can apply.
 
The [[localisation]] is created in any {{path|localisation/english/*_l_english.yml}} file encoded in UTF-8 using the byte order mark (aka UTF-8-BOM), with the localisation key being the name of the modifier.
=== Examples ===
Inside of a new {{path|common/opinion_modifiers/*.txt}} file:
<pre>opinion_modifiers = {
   test_trade_modifier = {
     trade = yes
     value = -100   # Provides -100 trade opinion for 2 months
     months = 2
   }
   test_diplomatic_modifier = {
     value = 20    # Provides +20 diplomatic opinion that decays by 0.5 per month
     decay = 0.5
   }
}</pre>
Inside of a new {{path|localisation/english/*_l_english.yml}} file:
<pre>l_english:
test_trade_modifier: "Testing trade modifier"
test_diplomatic_modifier: "Testing diplomatic modifier"</pre>
=== Implementation ===
New opinion modifiers can only be added using the [[Effect#add_opinion_modifier|add_opinion_modifier effect]] (or the similar [[Effect#reverse_add_opinion_modifier|reverse_add_opinion_modifier]]) in any effect block, such as a [[National focus modding#Effects|focus reward]], a [[Country creation#Country history|country history file]], or an idea's [[Idea modding#Effects|on_add and on_remove]]. Similarly, already applied new opinion modifiers can only be removed with [[Effect#remove_opinion_modifier|remove_opinion_modifier]]. When <code>add_opinion_modifier</code> is used to apply an opinion modifier, only the country where the effect is executed will change its opinion towards the target.
 
There is no way to use a modifier block to directly apply an opinion modifier, but it can be simulated by adding or removing an opinion modifier at the same time the modifier block's effects are. For example, this national spirit would simulate applying an opinion modifier towards every other country that has the idea:
{{VisibleCollapse|
<pre>ideas = {
   country = {
     idea_opinion_modifier = {
       on_add = { # Note: Doesn't work if the idea is added within country history or a bookmark's effect.
         every_other_country = { # If it's added in country history, then replicate the effects there as well.
           limit = {
             has_idea = idea_opinion_modifier
           }
           add_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
           reverse_add_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
         }
       }
       on_remove = {
         every_other_country = {
           limit = {
             has_idea = idea_opinion_modifier
           }
           remove_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
           ROOT = {
             remove_opinion_modifier = {
               target = PREV
               modifier = test_diplomatic_modifier
             }
           }
         }
       }
       modifier = {
         custom_modifier_tooltip = add_opinion_modifier_tt # Since on_add/on_remove aren't shown to the player
       }
     }
   }
}</pre>
|Example code of a national spirit that uses opinion modifiers}}
== List of modifiers ==
The list of modifiers may be outdated. A complete, but unsorted, list of modifiers can be found in {{path|documentation/modifiers_documentation.html}} or {{path|documentation/modifiers_documentation.md}}.
<!-- These are present in modifiers_documentation, but don't have any usage in-game and aren't clear on what they do in localisation:
-armor_factor. Localised as "Armor". Categories: army, defensive.
-ground_attack. Localised as "Ground Attack". Categories: air, aggressive. Not to be confused with ground_attack_factor.
-training_time_army. Localised as "Division training time", identical to training_time_army_factor. Categories: army, war_production
!-->
 
=== Country scope ===
 
==== General ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|General country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="monthly_population"
|monthly_population
|Changes the monthly population gain in states owned by the country.
|<pre>monthly_population = 0.5</pre>
|Percentual.
|Does not work with states.
|1.0
|-id="nuclear_production"
|nuclear_production
|Enables the production of nukes.
|<pre>nuclear_production = 1</pre>
|Boolean (only 1).
|
|1.0
|-id="nuclear_production_factor"
|nuclear_production_factor
|Changes speed at which nukes are produced.
|<pre>nuclear_production_factor = 0.5</pre>
|Percentual.
|Works in state scope, in which case it'll apply to the owner.
|1.0
|-id="research_sharing_per_country_bonus"
|research_sharing_per_country_bonus
|Changes the bonus in research speed per country when technology sharing.
|<pre>research_sharing_per_country_bonus = 0.5</pre>
|Flat.
|
|1.3
|-id="research_sharing_per_country_bonus_factor"
|research_sharing_per_country_bonus_factor
|Changes the bonus in research speed per country when technology sharing by a percentage.
|<pre>research_sharing_per_country_bonus_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="research_speed_factor"
|research_speed_factor
|Changes the research speed.
|<pre>research_speed_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="local_resources_factor"
|local_resources_factor
|Resource extraction efficiency. Modifies the amount of available resources.
|<pre>local_resources_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="surrender_limit"
|surrender_limit
|Changes the percentage of victory points the country needs to lose control of to capitulate.
|<pre>surrender_limit = 0.1</pre>
|Percentual.
|The larger, the more victory points are needed to capitulate a country.
|1.0
|-id="max_surrender_limit_offset"
|max_surrender_limit_offset
|Controls the maximum surrender progress of a nation.
|<pre>max_surrender_limit_offset = 0.3</pre>
|Flat.
|For example, 0.4 means that the country cannot require more than 60% victory points to capitulate, no matter the surrender_limit.
|1.9
|-id="forced_surrender_limit"
|forced_surrender_limit
|Changes the percentage of victory points the country needs to lose control of to capitulate, bypassing the minimum or maximum.
|<pre>forced_surrender_limit = 0.1</pre>
|Percentual.
|The larger, the more victory points are needed to capitulate a country. Applied after the minimum and maximum are applied, leading to making it possible to have it below {{hover|MIN_SURRENDER_LIMIT &#61; 0.2 in common/defines/00_defines.lua|20%}} or above the maximum defined with max_surrender_limit_offset.
|1.0
|}
 
==== Politics ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Political country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="min_export"
|min_export
|Changes the amount of resources to market.
|<pre>min_export = 0.5</pre>
|Flat.
|
|1.0
|-id="trade_opinion_factor"
|trade_opinion_factor
|Makes AI more likely to purchase resources from this country.
|<pre>trade_opinion_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="defensive_war_stability_factor"
|defensive_war_stability_factor
|Changes the penalty to the stability invoked by participating in a defensive war.
|<pre>defensive_war_stability_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="disabled_ideas"
|disabled_ideas
|Disables manually changing ideas (including ministers and laws).
|<pre>disabled_ideas = 1</pre>
|Boolean (only 1).
|
|1.9
|-id="idea_cost_factor"
|<idea&#124;character slot>_cost_factor
|Changes the cost in political power to add an idea or character within the specified slot.
|<pre>political_advisor_cost_factor = 0.5</pre>
|Percentual.
|Idea slots can be found in common/idea_tags. [[Idea_modding#Modifying_cost_of_a_category|Requires an idea or a character of that category to be present in an earlier-evaluated file.]]
|1.4
|-id="idea_type_cost_factor"
|<idea category type>_category_type_cost_factor
|Changes the cost in political power to add an idea within any of the categories with the specified type.
|<pre>air_spirit_category_type_cost_factor = 0.5</pre>
|Percentual.
|Idea category definitions can be found in {{path|common/idea_tags/*.txt}} files, a type is assigned with <code>type = army_spirit</code>.
|1.10
|-id="<ledger>_advisor_cost_factor"
|<ledger>_advisor_cost_factor
|Changes the cost in political power to add an advisor assigned the specified military ledger.
|<pre>air_advisor_cost_factor = 0.5</pre>
|Percentual.
|Ledgers are assigned to categories and characters in common/idea_tags and common/ideas. Modifier works with air, army, and navy.
|1.11
|-id="unit_leader_as_advisor_cp_cost_factor"
|unit_leader_as_advisor_cp_cost_factor
|Changes the cost in command power to turn a unit leader into an advisor.
|<pre>unit_leader_as_advisor_cp_cost_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="improve_relations_maintain_cost_factor"
|improve_relations_maintain_cost_factor
|Changes the cost in political power to maintain improvement of relations.
|<pre>improve_relations_maintain_cost_factor = 0.5</pre>
|Percentual.
|
|1.4
|-id="female_random_country_leader_chance"
|female_random_country_leader_chance
|Changes the chance for a randomly-generated country leader to be female.
|<pre>female_random_country_leader_chance = 0.3</pre>
|Percentual.
|
|1.0
|-id="offensive_war_stability_factor"
|offensive_war_stability_factor
|Modifies the stability penalty received from participating in an offensive war.
|<pre>offensive_war_stability_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="party_popularity_stability_factor"
|party_popularity_stability_factor
|Modifies the stability gained by the popularity of the ruling party.
|<pre>party_popularity_stability_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="political_power_cost"
|political_power_cost
|Daily cost in political power.
|<pre>political_power_cost = 0.3</pre>
|Flat.
|
|1.0
|-id="political_power_gain"
|political_power_gain
|Modifies daily gain in political power.
|<pre>political_power_gain = 0.3</pre>
|Flat.
|
|1.0
|-id="political_power_factor"
|political_power_factor
|Modifies daily gain in political power by a percentage.
|<pre>political_power_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="stability_factor"
|stability_factor
|Modifies stability of the country.
|<pre>stability_factor = 0.3</pre>
|Flat.
|
|1.0
|-id="stability_weekly"
|stability_weekly
|Modifies weekly stability gain of the country.
|<pre>stability_weekly = 0.01</pre>
|Flat.
|
|1.0
|-id="stability_weekly_factor"
|stability_weekly_factor
|Modifies weekly stability gain of the country by a percentage.
|<pre>stability_weekly_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="war_stability_factor"
|war_stability_factor
|Modifies the stability loss caused by being at war.
|<pre>war_stability_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="war_support_factor"
|war_support_factor
|Modifies war support of the country.
|<pre>war_support_factor = 0.3</pre>
|Flat.
|
|1.0
|-id="war_support_weekly"
|war_support_weekly
|Modifies weekly war support gain of the country.
|<pre>war_support_weekly = 0.01</pre>
|Flat.
|
|1.0
|-id="war_support_weekly_factor"
|war_support_weekly_factor
|Modifies weekly war support gain of the country by a percentage.
|<pre>war_support_weekly_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="weekly_casualties_war_support"
|weekly_casualties_war_support
|Modifies weekly war support gain of the country depending on the casualties suffered by it.
|<pre>weekly_casualties_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="weekly_convoys_war_support"
|weekly_convoys_war_support
|Modifies weekly war support gain of the country depending on the amount of its convoys that have been sunk.
|<pre>weekly_convoys_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="weekly_bombing_war_support"
|weekly_bombing_war_support
|Modifies weekly war support gain of the country depending on the enemy bombing of its states.
|<pre>weekly_bombing_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="drift_defence_factor"
|drift_defence_factor
|Ideology drift defense.
|<pre>drift_defence_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="power_balance_daily"
|power_balance_daily
|Pushes the power balance by a specified amount on each day.
|<pre>power_balance_daily = 0.01</pre>
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|-id="power_balance_weekly"
|power_balance_weekly
|Pushes the power balance by a specified amount on each week.
|<pre>power_balance_weekly = 0.01</pre>
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|-id="ideology_drift"
|<ideology>_drift
|Daily gain of the specified ideology.
|<pre>communism_drift = 0.03</pre>
|Flat.
|
|1.0
|-id="ideology_acceptance"
|<ideology>_acceptance
|Likelihood of AI to accept offers from countries of the specified ideology.
|<pre>fascism_acceptance = 50</pre>
|Flat.
|
|1.0
|}
 
==== Diplomacy ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Diplomatic country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="civil_war_involvement_tension"
|civil_war_involvement_tension
|Changes the world tension amount necessary to intervene in an ally's civil war.
|<pre>civil_war_involvement_tension = 0.5</pre>
|Flat.
|
|1.0
|-id="enemy_declare_war_tension"
|enemy_declare_war_tension
|Changes the world tension required for an enemy to justify a wargoal on us.
|<pre>enemy_declare_war_tension = 0.5</pre>
|Flat.
|
|1.0
|-id="enemy_justify_war_goal_time"
|enemy_justify_war_goal_time
|Changes the time required for an enemy to justify a wargoal on us.
|<pre>enemy_justify_war_goal_time = 0.5</pre>
|Percentual.
|This also modifies the cost in political power.
|1.0
|-id="faction_trade_opinion_factor"
|faction_trade_opinion_factor
|Changes the opinion gain gained by trade between faction members.
|<pre>faction_trade_opinion_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="generate_wargoal_tension"
|generate_wargoal_tension
|Changes the necessary tension for us to generate a wargoal.
|<pre>generate_wargoal_tension = 0.3</pre>
|Flat.
|
|1.0
|-id="guarantee_cost"
|guarantee_cost
|Cost in political power for the country to guarantee an another country.
|<pre>guarantee_cost = 0.3</pre>
|Percentual.
|
|1.4
|-id="guarantee_tension"
|guarantee_tension
|Necessary world tension for the country to guarantee an another country.
|<pre>guarantee_tension = 0.3</pre>
|Flat.
|
|1.0
|-id="join_faction_tension"
|join_faction_tension
|Necessary world tension for the country to join a faction.
|<pre>join_faction_tension = 0.3</pre>
|Flat.
|
|1.0
|-id="justify_war_goal_time"
|justify_war_goal_time
|The amount of time necessary to justify a wargoal.
|<pre>justify_war_goal_time = 0.3</pre>
|Percentual.
|This also modifies the cost in political power.
|1.0
|-id="justify_war_goal_when_in_major_war_time"
|justify_war_goal_when_in_major_war_time
|The amount of time necessary to justify a wargoal when in a war with a major country.
|<pre>justify_war_goal_when_in_major_war_time = 0.3</pre>
|Percentual.
|This also modifies the cost in political power.
|1.0
|-id="lend_lease_tension"
|lend_lease_tension
|Necessary world tension for the country to lend-lease.
|<pre>lend_lease_tension = 0.3</pre>
|Flat.
|
|1.0
|-id="lend_lease_tension_with_overlord"
|lend_lease_tension_with_overlord
|Necessary world tension for the country to lend-lease to its overlord.
|<pre>lend_lease_tension_with_overlord = 0.3</pre>
|Flat.
|
|1.13
|-id="opinion_gain_monthly"
|opinion_gain_monthly
|Changes opinion gain from the 'Improve relations' diplomatic action.
|<pre>opinion_gain_monthly = 5</pre>
|Flat.
|
|1.0
|-id="opinion_gain_monthly_factor"
|opinion_gain_monthly_factor
|Changes opinion gain from the 'Improve relations' diplomatic action by a percentage.
|<pre>opinion_gain_monthly_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="opinion_gain_monthly_same_ideology"
|opinion_gain_monthly_same_ideology
|Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology.
|<pre>opinion_gain_monthly_same_ideology = 5</pre>
|Flat.
|
|1.0
|-id="opinion_gain_monthly_same_ideology_factor"
|opinion_gain_monthly_same_ideology_factor
|Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology by a percentage.
|<pre>opinion_gain_monthly_same_ideology_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="request_lease_tension"
|request_lease_tension
|Necessary world tension for the country to request lend-lease.
|<pre>request_lease_tension = 0.3</pre>
|Percentual.
|
|1.9
|-id="annex_cost_factor"
|annex_cost_factor
|Modifies the cost in victory points to annex states in peace deals.
|<pre>annex_cost_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="puppet_cost_factor"
|puppet_cost_factor
|Modifies the cost in victory points per state to puppet countries in peace deals.
|<pre>puppet_cost_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="send_volunteer_divisions_required"
|send_volunteer_divisions_required
|Changes the number of divisions needed to send volunteers.
|<pre>send_volunteer_divisions_required = -0.3</pre>
|Percentual.
|
|1.0
|-id="send_volunteer_factor"
|send_volunteer_factor
|Changes the number of divisions the country can send as volunteers by a percentage.
|<pre>send_volunteer_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="send_volunteer_size"
|send_volunteer_size
|Changes the number of divisions the country can send as volunteers.
|<pre>send_volunteer_size = 5</pre>
|Flat.
|
|1.0
|-id="send_volunteers_tension"
|send_volunteers_tension
|Changes the world tension necessary for the country to send volunteers.
|<pre>send_volunteers_tension = -0.1</pre>
|Flat.
|
|1.0
|-id="air_volunteer_cap"
|air_volunteer_cap
|Changes the amount of airforce you can send as volunteers.
|<pre>air_volunteer_cap = 100</pre>
|Flat.
|
|1.5
|-id="embargo_threshold_factor"
|embargo_threshold_factor
|Changes the necessary world tension level in order to be able to embargo a country.
|<pre>embargo_threshold_factor = 0.2</pre>
|Percentual.
|
|1.12
|-id="embargo_cost_factor"
|embargo_cost_factor
|Changes the cost in political power to send an embargo.
|<pre>embargo_cost_factor = 0.3</pre>
|Percentual.
|
|1.12
|}
 
==== Autonomy ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Autonomy-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="autonomy_gain"
|autonomy_gain
|Daily gain of autonomy.
|<pre>autonomy_gain = 0.5</pre>
|Flat.
|A positive number increase total autonomy, meaning the SUBJECT can be free faster. A negative number decrease total autonomy, meaning the OVERLORD can annex the manpower-slaves faster.
|1.3
|-id="autonomy_gain_global_factor"
|autonomy_gain_global_factor
|Modifies all gain of autonomy by a subject.
|<pre>autonomy_gain_global_factor = 0.5</pre>
|Percentual.
|
|1.4
|-id="subjects_autonomy_gain"
|subjects_autonomy_gain
|Daily gain of autonomy in our subjects.
|<pre>subjects_autonomy_gain = 0.5</pre>
|Flat.
|
|1.3
|-id="autonomy_gain_ll_to_overlord"
|autonomy_gain_ll_to_overlord
|Modifies gain of autonomy from lend-leasing to the overworld.
|<pre>autonomy_gain_ll_to_overlord = 0.5</pre>
|Flat.
|
|1.3
|-id="autonomy_gain_ll_to_overlord_factor"
|autonomy_gain_ll_to_overlord_factor
|Modifies gain of autonomy from lend-leasing to the overlord by a percentage.
|<pre>autonomy_gain_ll_to_overlord_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="autonomy_gain_ll_to_subject"
|autonomy_gain_ll_to_subject
|Modifies loss of autonomy from lend-leasing to the subject.
|<pre>autonomy_gain_ll_to_subject = 0.5</pre>
|Flat.
|
|1.3
|-id="autonomy_gain_ll_to_subject_factor"
|autonomy_gain_ll_to_subject_factor
|Modifies loss of autonomy from lend-leasing to the subject by a percentage.
|<pre>autonomy_gain_ll_to_subject_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="autonomy_gain_trade"
|autonomy_gain_trade
|Modifies gain of autonomy from the overlord trading with the subject.
|<pre>autonomy_gain_trade = 0.5</pre>
|Flat.
|
|1.3
|-id="autonomy_gain_trade_factor"
|autonomy_gain_trade_factor
|Modifies gain of autonomy from the overlord trading with the subject by a percentage.
|<pre>autonomy_gain_trade_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="autonomy_gain_warscore"
|autonomy_gain_warscore
|Modifies gain of autonomy from the subject gaining warscore.
|<pre>autonomy_gain_warscore = 0.5</pre>
|Flat.
|
|1.3
|-id="autonomy_gain_warscore_factor"
|autonomy_gain_warscore_factor
|Modifies gain of autonomy from the subject gaining warscore by a percentage.
|<pre>autonomy_gain_warscore_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="autonomy_manpower_share"
|autonomy_manpower_share
|Modifies the amount of manpower the overlord can use from the subject.
|<pre>autonomy_manpower_share = 0.5</pre>
|Percentual.
|
|1.3
|-id="can_master_build_for_us"
|can_master_build_for_us
|Makes the overlord be able to build in the subject.
|<pre>can_master_build_for_us = 1</pre>
|Boolean (only 1).
|
|1.3
|-id="cic_to_overlord_factor"
|cic_to_overlord_factor
|Modifies the amount of the subject's civilian industry that goes to the overlord.
|<pre>cic_to_overlord_factor = 0.3</pre>
|Percentual.
|
|1.3
|-id="mic_to_overlord_factor"
|mic_to_overlord_factor
|Modifies the amount of the subject's military industry that goes to the overlord.
|<pre>mic_to_overlord_factor = 0.3</pre>
|Percentual.
|
|1.3
|-id="extra_trade_to_overlord_factor"
|extra_trade_to_overlord_factor
|Modifies the amount of the subject's resources that the overlord can receive via trade.
|<pre>extra_trade_to_overlord_factor = 0.3</pre>
|Percentual.
|
|1.3
|-id="license_subject_master_purchase_cost"
|license_subject_master_purchase_cost
|Modifies the cost of licensed production from the overlord.
|<pre>license_subject_master_purchase_cost = 0.3</pre>
|Percentual.
|
|1.4
|-id="master_build_autonomy_factor"
|master_build_autonomy_factor
|Modifies loss of autonomy from the overlord building in subject's states by a percentage.
|<pre>master_build_autonomy_factor = 0.3</pre>
|Percentual.
|
|1.3
|-id="master_ideology_drift"
|master_ideology_drift
|Changes daily gain of the overlord's ideology in the country.
|<pre>master_ideology_drift = 0.03</pre>
|Flat.
|
|1.6
|-id="overlord_trade_cost_factor"
|overlord_trade_cost_factor
|Modifies the cost of trade between the overlord and the subject in civilian factories.
|<pre>overlord_trade_cost_factor = -0.3</pre>
|Percentual.
|
|1.3
|}
 
==== Governments in exile ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Government-in-exile-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="dockyard_donations"
|dockyard_donations
|Amount of dockyards donated.
|<pre>dockyard_donations = 2</pre>
|Flat.
|
|1.6
|-id="industrial_factory_donations"
|industrial_factory_donations
|Amount of civilian factories donated.
|<pre>industrial_factory_donations = 2</pre>
|Flat.
|
|1.6
|-id="military_factory_donations"
|military_factory_donations
|Amount of military factories donated.
|<pre>military_factory_donations = 2</pre>
|Flat.
|
|1.6
|-id="exile_manpower_factor"
|exile_manpower_factor
|Amount of manpower given to the host country.
|<pre>exile_manpower_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="exiled_government_weekly_manpower"
|exiled_government_weekly_manpower
|Amount of weekly manpower given to the host country.
|<pre>exiled_government_weekly_manpower = 100</pre>
|Percentual.
|
|1.11
|-id="legitimacy_daily"
|legitimacy_daily
|Changes the amount of legitimacy gained daily.
|<pre>legitimacy_daily = 1</pre>
|Flat.
|
|1.6
|-id="legitimacy_gain_factor"
|legitimacy_gain_factor
|Changes the amount of legitimacy gained daily by a percentage.
|<pre>legitimacy_gain_factor = 1</pre>
|Percentual.
|
|1.9
|}
 
==== Equipment ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Equipment-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="equipment_capture"
|equipment_capture
|Changes the combat equipment capture ratio.
|<pre>equipment_capture = 0.2</pre>
|Flat.
|
|1.0
|-id="equipment_capture_factor"
|equipment_capture_factor
|Modifies the combat equipment capture ratio.
|<pre>equipment_capture_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="equipment_conversion_speed"
|equipment_conversion_speed
|Changes the speed at which equipment is converted.
|<pre>equipment_conversion_speed = 0.5 </pre>
|Percentual.
|
|1.0
|-id="equipment_upgrade_xp_cost"
|equipment_upgrade_xp_cost
|Changes the experience cost to upgrade military equipment.
|<pre>equipment_upgrade_xp_cost = 0.5 </pre>
|Percentual.
|
|1.0
|-id="license_purchase_cost"
|license_purchase_cost
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost = 0.5 </pre>
|Percentual.
|Can be used as a targeted modifier.
|1.4
|-id="license_<equipment type>_cost_factor"
|license_purchase_cost_factor
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost_factor = 0.5 </pre>
|Percentual.
|Allowed equipment types are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.4
|-id="license_<category>_purchase_cost"
|license_purchase_cost_factor
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost_factor = 0.5 </pre>
|Percentual.
|Allowed categories are air, armor, infantry, and naval. Can be used as a targeted modifier.
|1.4
|-id="license_tech_difference_speed"
|license_tech_difference_speed
|Changes the production penalty of licensed equipment by tech difference by a percentage.
|<pre>license_tech_difference_speed = 0.5 </pre>
|Percentual.
|Also allows specifying category as license_<category>_tech_difference_speed_factor. Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. That's added in 1.6. Can be used as a targeted modifier.
|1.4
|-id="license_production_speed"
|license_production_speed
|Changes the production speed of licensed equipment by a percentage.
|<pre>license_production_speed = 0.5 </pre>
|Percentual.
|Can be used as a targeted modifier.
|1.4
|-id="license_<category>_production_speed_factor"
|license_<category>_production_speed_factor
|Changes the production speed of licensed equipment by a percentage.
|<pre>license_infantry_eq_production_speed_factor = 0.5 </pre>
|Percentual.
|Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.6
|-id="production_cost_max_<ship type>"
|production_cost_max_<ship type>
|Modifies the maximum cost of the ship type.
|<pre>production_cost_max_ship_hull_light = 0.3</pre>
|Percentual.
|Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine
|1.6
|-id="production_factory_efficiency_gain_factor"
|production_factory_efficiency_gain_factor
|Production efficiency growth.
|<pre>production_factory_efficiency_gain_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="production_factory_max_efficiency_factor"
|production_factory_max_efficiency_factor
|Production efficiency cap.
|<pre>production_factory_max_efficiency_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="production_factory_start_efficiency_factor"
|production_factory_start_efficiency_factor
|Production efficiency base.
|<pre>production_factory_start_efficiency_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="line_change_production_efficiency_factor"
|line_change_production_efficiency_factor
|Production efficiency retention.
|<pre>line_change_production_efficiency_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="production_lack_of_resource_penalty_factor"
|production_lack_of_resource_penalty_factor
|Lack of resources penalty.
|<pre>production_lack_of_resource_penalty_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="floating_harbor_duration"
|floating_harbor_duration
|Modifies the duration of floating harbours.
|<pre>floating_harbor_duration = 2</pre>
|Flat.
|
|1.11
|-id="floating_harbor_range"
|floating_harbor_range
|Modifies the range of floating harbours.
|<pre>floating_harbor_range = 2</pre>
|Flat.
|
|1.11
|-id="floating_harbor_supply"
|floating_harbor_supply
|Modifies the supply of floating harbours.
|<pre>floating_harbor_supply = 2</pre>
|Flat.
|
|1.11
|-id="railway_gun_bombardment_factor"
|railway_gun_bombardment_factor
|Modifies the bombardment of railway guns.
|<pre>railway_gun_bombardment_factor = 0.3</pre>
|Percentual.
|
|1.11
|}
 
==== Fuel and supply ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Supply-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="base_fuel_gain"
|base_fuel_gain
|Changes base daily gain of fuel.
|<pre>base_fuel_gain = 100</pre>
|Flat.
|
|1.6
|-id="base_fuel_gain_factor"
|base_fuel_gain_factor
|Changes base daily gain of fuel by a percentage.
|<pre>base_fuel_gain_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="fuel_cost"
|fuel_cost
|Changes daily cost of fuel.
|<pre>fuel_cost = 100</pre>
|Flat.
|
|1.6
|-id="fuel_gain"
|fuel_gain
|Changes daily gain of fuel from our controlled oil.
|<pre>fuel_gain = 100</pre>
|Flat.
|
|1.6
|-id="fuel_gain_factor"
|fuel_gain_factor
|Changes daily gain of fuel from our controlled oil by a percentage.
|<pre>fuel_gain_factor = 100</pre>
|Percentual.
|
|1.6
|-id="fuel_gain_from_states"
|fuel_gain_from_states
|Changes daily gain of fuel.
|<pre>fuel_gain_from_states = 100</pre>
|Flat.
|Refineries use this modifier.
|1.6
|-id="fuel_gain_factor_from_states"
|fuel_gain_factor_from_states
|Changes daily gain of fuel by a percentage.
|<pre>fuel_gain_factor_from_states = 0.5</pre>
|Percentual.
|Modifies fuel gain from refineries.
|1.6
|-id="max_fuel"
|max_fuel
|Changes maximum amount of fuel you can have.
|<pre>max_fuel = 100</pre>
|Flat.
|
|1.6
|-id="max_fuel_factor"
|max_fuel_factor
|Changes maximum amount of fuel you can have by a percentage.
|<pre>max_fuel_factor = 0.3 </pre>
|Percentual.
|
|1.6
|-id="army_fuel_capacity_factor"
|army_fuel_capacity_factor
|Modifies how much fuel a single unit can store before running out.
|<pre>army_fuel_capacity_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="army_fuel_consumption_factor"
|army_fuel_consumption_factor
|Modifies the rate at which the army consumes fuel.
|<pre>army_fuel_consumption_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="air_fuel_consumption_factor"
|air_fuel_consumption_factor
|Modifies the rate at which the airforce consumes fuel.
|<pre>air_fuel_consumption_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="navy_fuel_consumption_factor"
|navy_fuel_consumption_factor
|Modifies the rate at which the navy consumes fuel.
|<pre>navy_fuel_consumption_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="supply_factor"
|supply_factor
|Modifies the total amount of supply the military has.
|<pre>supply_factor = 0.3</pre>
|Percentual.
|
|1.11
|-id="supply_combat_penalties_on_core_factor"
|supply_combat_penalties_on_core_factor
|Modifies the penalty given by low supply when the army is on a core state.
|<pre>supply_combat_penalties_on_core_factor = 0.3</pre>
|Percentual.
|
|1.11
|-id="supply_consumption_factor"
|supply_consumption_factor
|Modifies the rate at which army consumes supply.
|<pre>supply_consumption_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="no_supply_grace"
|no_supply_grace
|Modifies the grace period for units without supply.
|<pre>no_supply_grace = 120</pre>
|Flat.
|
|1.0
|-id="out_of_supply_factor"
|out_of_supply_factor
|Reduces the penalty that units take when they run out of supplies.
|<pre>out_of_supply_factor = 0.2</pre>
|Percentual.
|
|1.0
|-id="attrition"
|attrition
|Modifies the army's attrition.
|<pre>attrition = 0.3</pre>
|Percentual.
|Can also be used in states or provinces.
|1.0
|-id="unit_upkeep_attrition_factor"
|unit_upkeep_attrition_factor
|Modifies the unit upkeep.
|<pre>unit_upkeep_attrition_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="naval_attrition"
|naval_attrition
|Modifies attrition suffered by naval units.
|<pre>naval_attrition = 0.3</pre>
|Percentual.
|
|1.6
|-id="heat_attrition"
|heat_attrition
|Changes the attrition due to heat.
|<pre>heat_attrition = 0.5</pre>
|Flat.
|
|1.3
|-id="heat_attrition_factor"
|heat_attrition_factor
|Changes the attrition due to heat by a percentage.
|<pre>heat_attrition_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="winter_attrition"
|winter_attrition
|Changes the attrition due to winter.
|<pre>winter_attrition = 0.5</pre>
|Flat.
|
|1.3
|-id="winter_attrition_factor"
|winter_attrition_factor
|Changes the attrition due to winter by a percentage.
|<pre>winter_attrition_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="extra_marine_supply_grace"
|extra_marine_supply_grace
|Changes the supply grace given to marines.
|<pre>extra_marine_supply_grace = 96</pre>
|Flat.
|
|1.0
|-id="extra_paratrooper_supply_grace"
|extra_paratrooper_supply_grace
|Changes the supply grace given to paratroopers.
|<pre>extra_paratrooper_supply_grace = 96</pre>
|Flat.
|
|1.0
|-id="special_forces_no_supply_grace"
|special_forces_no_supply_grace
|Changes the supply grace period for special forces.
|<pre>special_forces_no_supply_grace = 120</pre>
|Flat.
|
|1.0
|-id="special_forces_out_of_supply_factor"
|special_forces_out_of_supply_factor
|Changes the penalty for special forces out of supply.
|<pre>special_forces_out_of_supply_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="truck_attrition"
|truck_attrition
|Changes the attrition supply trucks suffer from.
|<pre>truck_attrition = 3</pre>
|Flat.
|
|1.11
|-id="truck_attrition_factor"
|truck_attrition_factor
|Modifies the attrition supply trucks suffer from.
|<pre>truck_attrition_factor = 0.3</pre>
|Percentual.
|
|1.11
|}
 
==== Buildings ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Building-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="production_speed_buildings_factor"
|production_speed_buildings_factor
|Changes the construction speed of all buildings.
|<pre>production_speed_buildings_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="production_speed_building_factor"
|production_speed_<building>_factor
|Changes the construction speed of a specific building.
|<pre>production_speed_industrial_complex_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="production_cost_building_factor"
|production_cost_<building>_factor
|Changes the base cost of a specific building.
|<pre>production_cost_industrial_complex_factor = -0.1</pre>
|Percentual.
|Localization is missing and must be added yourself.
|Unknown
|-id="civilian_factory_use"
|civilian_factory_use
|Uses the specified amount of civilian factory as a special project.
|<pre>civilian_factory_use = 3</pre>
|Flat.
|
|1.5
|-id="consumer_goods_factor"
|consumer_goods_factor
|Modifies the percentage of factories used for consumer goods.
|<pre>consumer_goods_factor = 0.1</pre>
|Multiplicative.
|The modifier adds multiplicatively. For example, <code>consumer_goods_factor = 0.5</code> and <code>consumer_goods_factor = -0.5</code> will, in total, multiply the consumer goods value by <math>(1 - 0.5)(1 + 0.5) = 0.5\cdot 1.5 = 0.75</math>.
|1.0
|-id="consumer_goods_expected_value"
|consumer_goods_expected_value
|Sets the baseline percentage of expected consumer goods.
|<pre>consumer_goods_expected_value = 0.1</pre>
|Flat.
|'''Only updates when the economy law of the country changes'''.
|1.13
|-id="conversion_cost_civ_to_mil_factor"
|conversion_cost_civ_to_mil_factor
|Changes the cost to convert civilian factories to military factories.
|<pre>conversion_cost_civ_to_mil_factor = 0.4</pre>
|Percentual.
|
|1.5
|-id="conversion_cost_mil_to_civ_factor"
|conversion_cost_mil_to_civ_factor
|Changes the cost to convert military factories to civilian factories.
|<pre>conversion_cost_mil_to_civ_factor = 0.4</pre>
|Percentual.
|
|1.5
|-id="global_building_slots"
|global_building_slots
|Changes amount of building slots in our every state.
|<pre>global_building_slots = 1</pre>
|Flat.
|
|1.0
|-id="global_building_slots_factor"
|global_building_slots_factor
|Changes amount of building slots in our every state by a percentage.
|<pre>global_building_slots_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="industrial_capacity_dockyard"
|industrial_capacity_dockyard
|Dockyard output.
|<pre>industrial_capacity_dockyard = 0.3</pre>
|Percentual.
|
|1.3.3
|-id="industrial_capacity_factory"
|industrial_capacity_factory
|Military factory output.
|<pre>industrial_capacity_factory = 0.3</pre>
|Percentual.
|
|1.0
|-id="industry_air_damage_factor"
|industry_air_damage_factor
|Amount of damage our factories receive from air bombings.
|<pre>industry_air_damage_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="industry_free_repair_factor"
|industry_free_repair_factor
|Changes the speed at which buildings repair themselves without factories assigned.
|<pre>industry_free_repair_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="industry_repair_factor"
|industry_repair_factor
|Changes the speed at which buildings are repaired.
|<pre>industry_repair_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="production_oil_factor"
|production_oil_factor
|Synthetic oil gain.
|<pre>production_oil_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="repair_speed_buildingf_factor"
|repair_speed_<building>_factor
|Changes the repair speed of a specific building.
|<pre>repair_speed_arms_factory_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="supply_node_range"
|supply_node_range
|Increases the effective range of supply nodes.
|<pre>supply_node_range = 0.1</pre>
|Percentual.
|
|1.11
|-id="static_anti_air_damage_factor"
|static_anti_air_damage_factor
|Modifies the damage done to planes by the anti-air buildings.
|<pre>static_anti_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="static_anti_air_hit_chance_factor"
|static_anti_air_hit_chance_factor
|Modifies the chance for the anti-air buildings to hit enemy planes.
|<pre>static_anti_air_hit_chance_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="tech_air_damage_factor"
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|<pre>tech_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="tech_air_damage_factor"
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|<pre>tech_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="cic_construction_boost"
|cic_construction_boost
|Modifies the base construction speed from civilian factories.
|<pre>cic_construction_boost = 0.1</pre>
|Flat.
|
|1.13
|-id="cic_construction_boost_factor"
|cic_construction_boost_factor
|Modifies the modifier to the base construction speed from civilian factories.
|<pre>cic_construction_boost_factor = 0.1</pre>
|Percentual.
|
|1.13
|-id="land_bunker_effectiveness_factor"
|land_bunker_effectiveness_factor
|Modifies the effectiveness of land forts in defence.
|<pre>land_bunker_effectiveness_factor = 0.1</pre>
|Percentual.
|
|1.13
|-id="coastal_bunker_effectiveness_factor"
|coastal_bunker_effectiveness_factor
|Modifies the effectiveness of coastal forts in defence.
|<pre>coastal_bunker_effectiveness_factor = 0.1</pre>
|Percentual.
|
|1.13
|}
 
==== Resistance and compliance ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Resistance-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="compliance_growth_on_our_occupied_states"
|compliance_growth_on_our_occupied_states
|Changes the compliance growth speed on the country's controlled states.
|<pre>compliance_growth_on_our_occupied_states = 0.5</pre>
|Percentual.
|
|1.9
|-id="no_compliance_gain"
|no_compliance_gain
|Disables the compliance gain on our controlled states.
|<pre>no_compliance_gain = 1</pre>
|Boolean (only 1).
|Can also be used in state scope.
|1.9
|-id="required_garrison_factor"
|required_garrison_factor
|Changes the required garrison in our occupied states.
|<pre>required_garrison_factor = 0.5</pre>
|Percentual.
|Can also be used in state scope.
|1.9
|-id="resistance_activity"
|resistance_activity
|Changes the chance for resistance activity to occur on our occupied states.
|<pre>resistance_activity = 0.5</pre>
|Percentual.
|
|1.9
|-id="resistance_damage_to_garrison_on_our_occupied_states"
|resistance_damage_to_garrison_on_our_occupied_states
|Changes the resistance damage to the garrison in our occupied states.
|<pre>resistance_damage_to_garrison_on_our_occupied_states = 0.5</pre>
|Percentual.
|
|1.9
|-id="resistance_decay_on_our_occupied_states"
|resistance_decay_on_our_occupied_states
|Changes the resistance decay in our occupied states.
|<pre>resistance_decay_on_our_occupied_states = 0.5</pre>
|Percentual.
|
|1.9
|-id="resistance_growth_on_our_occupied_states"
|resistance_growth_on_our_occupied_states
|Changes the resistance growth speed in our occupied states.
|<pre>resistance_growth_on_our_occupied_states = 0.5</pre>
|Percentual.
|
|1.9
|-id="resistance_target_on_our_occupied_states"
|resistance_target_on_our_occupied_states
|Changes the resistance target in our occupied states.
|<pre>resistance_target_on_our_occupied_states = 0.5</pre>
|Percentual.
|
|1.9
|-
|-
|resistance_target
|Changes the resistance target in foreign states occupied by us
|<pre>resistance_target = 0.5</pre>
|Percentual
|
|1.9
|}
==== Intelligence ====
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Intelligence-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="agency_upgrade_time"
|agency_upgrade_time
|Changes the time it takes to upgrade the agency
|<pre>agency_upgrade_time = 0.5</pre>
|Percentual.
|
|1.9
|-id="decryption"
|decryption
|Changes the decription capability of the country.
|<pre>decryption = 1</pre>
|Flat.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|-id="decryption_factor"
|decryption_factor
|Changes the decription capability of the country by a percentage.
|<pre>decryption_factor = 0.5</pre>
|Percentual.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|-id="encryption"
|encryption
|Changes the encryption capability of the country.
|<pre>encryption = 1</pre>
|Flat.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|-id="encryption_factor"
|encryption_factor
|Changes the encryption capability of the country by a percentage.
|<pre>encryption_factor = 0.5</pre>
|Percentual.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|-id="<type>_intel_decryption_bonus"
|<type>_intel_decryption_bonus
|Adds a cipher bonus to the specified intel.
|<pre>civilian_intel_decryption_bonus = 0.5</pre>
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="<type>_intel_factor"
|<type>_intel_factor
|Modifies the intelligence you receive of the specified type.
|<pre>navy_intel_factor = 0.5</pre>
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="<type>_intel_to_others"
|<type>_intel_to_others
|Changes the amount of intel other countries will receive of the specified type.
|<pre>civilian_intel_to_others = 0.5</pre>
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="female_random_operative_chance"
|female_random_operative_chance
|Changes the chance for a randomly-generated operative to be female.
|<pre>female_random_operative_chance = 0.3</pre>
|Percentual.
|
|1.9.1
|-id="foreign_subversive_activites"
|foreign_subversive_activites
|Changes efficiency of foreign subversive activities.
|<pre>foreign_subversive_activites = 0.3</pre>
|Percentual.
|
|1.9
|-id="intel_network_gain"
|intel_network_gain
|Changes gain of intel network strength.
|<pre>intel_network_gain = 1</pre>
|Flat.
|Can also be used in state scope.
|1.9
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|Changes gain of intel network strength by a percentage.
|<pre>intel_network_gain_factor = 0.5</pre>
|Percentual.
|Can also be used in state scope.
|1.9
|-id="subversive_activites_upkeep"
|subversive_activites_upkeep
|Changes the cost of subversive activities.
|<pre>subversive_activites_upkeep = 0.5</pre>
|Percentual.
|
|1.0
|-id="operation_cost"
|operation_cost
|Changes the cost of operations.
|<pre>operation_cost = 0.5</pre>
|Percentual.
|Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block. This one is used by each base game operation to modify the operation cost.
|1.9
|-id="operation_outcome"
|operation_outcome
|Changes the efficiency of operations.
|<pre>operation_outcome = 0.5</pre>
|Percentual.
|Dynamically created by operations with the <code>outcome_modifiers = { ... }</code> block. This one is used by {{hover|As of 1.11.10, operation_targeted_sabotage_industry and operation_targeted_sabotage_infrastructure use operation_risk to modify the outcome chance and operation_outcome to modify the risk rather than the other way around|each base game operation}} to modify the operation's outcome chance.
|1.9
|-id="operation_risk"
|operation_risk
|Changes the risk of operations.
|<pre>operation_risk = 0.5</pre>
|Percentual.
|Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block. This one is used by {{hover|As of 1.11.10, operation_targeted_sabotage_industry and operation_targeted_sabotage_infrastructure use operation_risk to modify the outcome chance and operation_outcome to modify the risk rather than the other way around|each base game operation}} to modify the operation risk.
|1.9
|-id="<operation>_cost"
|<operation>_cost
|Changes the cost of the specified operation.
|<pre>operation_infiltrate_cost = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block.
|1.9
|-id="<operation>_outcome"
|<operation>_outcome
|Changes the efficiency of the specified operation.
|<pre>operation_coup_government_outcome = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>outcome_modifiers = { ... }</code> block. Note that target_sabotage uses target_sabotage_factor rather than target_sabotage_outcome.
|1.9
|-id="<operation>_risk"
|<operation>_risk
|Changes the risk of the specified operation.
|<pre>operation_make_resistance_contacts_risk = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block.
|1.9
|-id="<mission>_factor"
|<mission>_factor
|Modifies the effect of the specified mission.
|<pre>boost_ideology_mission_factor = 0.5</pre>
|Percentual.
|Types are: boost_ideology_mission, boost_resistance, control_trade_mission, diplomatic_pressure_mission, propaganda_mission, root_out_resistance_effectiveness.
|1.9
|-id="commando_trait_chance_factor"
|commando_trait_chance_factor
|Modifies the chance for an operative to get the commando trait when hired.
|<pre>commando_trait_chance_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="crypto_department_enabled"
|crypto_department_enabled
|Enables the crypto department.
|<pre>crypto_department_enabled = 1</pre>
|Boolean (only 1).
|
|1.9
|-id="crypto_strength"
|crypto_strength
|Modifies the cryptology level.
|<pre>crypto_strength = 1</pre>
|Flat.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="decryption_power"
|decryption_power
|Modifies the decryption power.
|<pre>decryption_power = 1</pre>
|Flat.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="decryption_power_factor"
|decryption_power_factor
|Modifies the decryption power by a percentage.
|<pre>decryption_power_factor = 0.3</pre>
|Percentual.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="defense_impact_on_blueprint_stealing"
|defense_impact_on_blueprint_stealing
|Modifies the impact of enemy defense on the blueprint stealing operation.
|<pre>defense_impact_on_blueprint_stealing = 0.3</pre>
|Percentual.
|
|1.9
|-id="intel_from_combat_factor"
|intel_from_combat_factor
|Modifies the intelligence gained from combat.
|<pre>intel_from_combat_factor = 0.3</pre>
|Percentual.
|
|1.9
|-id="intel_from_operatives_factor"
|intel_from_operatives_factor
|Modifies the intelligence gained from operatives and infiltrated assets.
|<pre>intel_from_operatives_factor = 0.3</pre>
|Percentual.
|
|1.9
|-id="intel_network_gain"
|intel_network_gain
|Modifies the intelligence network gain.
|<pre>intel_network_gain = 0.3</pre>
|Flat.
|
|1.9
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|intel_network_gain_factor
|Intelligence network growth
|Modifies the intelligence network gain by a percentage.
|intel_network_gain_factor = 0.5
|<pre>intel_network_gain_factor = 0.3</pre>
|-
|Percentual.
|resistance_target
|
|Target of resistance
|1.9
|resistance_target = -0.1
|-id="intelligence_agency_defense"
|-
|compliance_gain
|Daily compliance growth
|compliance_gain = 0.3
|-
|intelligence_agency_defense
|intelligence_agency_defense
|Antispyware defense
|Modifies the counter intelligence.
|intelligence_agency_defense = 1
|<pre>intelligence_agency_defense = 0.3</pre>
|-
|Flat.
|intel_from_operatives_factor
|
|Intelligence bonus from spies
|1.9
|intel_from_operatives_factor = 0.2
|-id="root_out_resistance_effectiveness_factor"
|-
|own_operative_detection_chance_factor
|Probability of our agents being found
|own_operative_detection_chance_factor = -0.7
|-
|root_out_resistance_effectiveness_factor
|root_out_resistance_effectiveness_factor
|Unknown
|Modifies the effectiveness of rooting out resistance.
|root_out_resistance_effectiveness_factor = 0.1
|<pre>root_out_resistance_effectiveness_factor = 0.3</pre>
|-
|Percentual.
|legitimacy_gain_factor
|
|Unknown
|1.9
|legitimacy_gain_factor  = 0.1
|}
|}


== 抵抗运动修正==
==== Operatives ====
{{SVersion|1.9}}
These can be used in both the country scope and operative scope, such as traits, unless specified otherwise.
{| class="wikitable sortable"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|-
|+ style="text-align: center;" width = "100%" |{{nowrap|Operative-related country-scoped modifiers:}}<br/>
! Name
! width="10%" | Name
! Effect
! width="25%" | Effects
! Example
! width="25%" | Examples
! Modifier type
! width="20%" | Modifier type
! Usage
! width="15%" | Notes
|-
! width="5%" | Version added
| legitimacy_gain_factor
|-id="own_operative_capture_chance_factor"
| that applies to legitimacy change as a factor
|own_operative_capture_chance_factor
| legitimacy_gain_factor = 0.1
|Changes the chance for our operatives to be captured.
|<pre>own_operative_capture_chance_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="own_operative_detection_chance"
|own_operative_detection_chance
|Changes the chance for our operatives to be detected.
|<pre>own_operative_detection_chance = 10</pre>
|Flat.
|
|1.9
|-id="own_operative_detection_chance_factor"
|own_operative_detection_chance_factor
|Changes the chance for our operatives to be detected by a percentage.
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="own_operative_forced_into_hiding_time_factor"
|own_operative_forced_into_hiding_time_factor
|Changes the chance for our operatives to be forced into hiding by a percentage.
|<pre>own_operative_forced_into_hiding_time_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="own_operative_harmed_time_factor"
|own_operative_harmed_time_factor
|Changes the chance for our operatives to be harmed by a percentage.
|<pre>own_operative_harmed_time_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="own_operative_intel_extraction_rate"
|own_operative_intel_extraction_rate
|Changes the rate at which our operatives extract enemy intel.
|<pre>own_operative_intel_extraction_rate = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_operative_capture_chance_factor"
|enemy_operative_capture_chance_factor
|Changes the chance for an enemy operative to be captured.
|<pre>enemy_operative_capture_chance_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_operative_detection_chance"
|enemy_operative_detection_chance
|Changes the chance for an enemy operative to be detected.
|<pre>enemy_operative_detection_chance = 10</pre>
|Flat.
|
|1.9
|-id="enemy_operative_detection_chance_factor"
|enemy_operative_detection_chance_factor
|Changes the chance for an enemy operative to be detected by a percentage.
|<pre>enemy_operative_detection_chance_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_operative_forced_into_hiding_time_factor"
|enemy_operative_forced_into_hiding_time_factor
|Changes the chance for an enemy operative to be forced into hiding by a percentage.
|<pre>enemy_operative_forced_into_hiding_time_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_operative_harmed_time_factor"
|enemy_operative_harmed_time_factor
|Changes the chance for an enemy operative to be harmed by a percentage.
|<pre>enemy_operative_harmed_time_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_operative_intel_extraction_rate"
|enemy_operative_intel_extraction_rate
|Changes the rate at which the enemy operatives extract our intel.
|<pre>enemy_operative_intel_extraction_rate = 0.5</pre>
|Percentual.
|
|1.9
|-id="enemy_spy_negative_status_factor"
|enemy_spy_negative_status_factor
|Changes the chance an enemy spy can receive a negative status.
|<pre>enemy_spy_negative_status_factor = 0.5</pre>
|Percentual.
|
|
| Used mostly for governments in exile.
|1.9
|-
|-id="enemy_operative_recruitment_chance"
| navy_leader_start_level
|enemy_operative_recruitment_chance
| changes starting level of leaders, similar to army leaders
|Modifies the chance to recruit an enemy operative.
| navy_leader_start_level = 1
|<pre>enemy_operative_recruitment_chance = 0.3</pre>
| level based
|Percentual.
|Cannot be used in operative scope.
|-
|1.9
| navy_leader_start_attack_level
|-id="new_operative_slot_bonus"
| changes starting level of leaders attack wise, similar to army leaders
|new_operative_slot_bonus
| navy_leader_start_attack_level = 1
|Modifies the operative recruitment choices.
| level based
|<pre>new_operative_slot_bonus = 1</pre>
|
|Flat.
|-
|Cannot be used in operative scope.
| navy_leader_start_defense_level
|1.9
| changes starting level of leaders defense wise, similar to army leaders
|-id="occupied_operative_recruitment_chance"
| navy_leader_start_defense_level = 1
|occupied_operative_recruitment_chance
| level based
|Modifies the chance to get an operative from occupied territory.
|<pre>occupied_operative_recruitment_chance = 0.3</pre>
|-
|Percentual.
| navy_leader_start_maneuvering_level
|Cannot be used in operative scope.
| changes starting level of admirals maneuvering wise
|1.9
| navy_leader_start_maneuvering_level = 1
|-id="operative_death_on_capture_chance"
| level based
|operative_death_on_capture_chance
|Modifies the chance for the country's operative to die on being captured.
|-
|<pre>operative_death_on_capture_chance = 0.3</pre>
| navy_leader_start_coordination_level
|Percentual.
| changes starting level of admirals coordination wise
|Cannot be used in operative scope.
| navy_leader_start_coordination_level = 1
|1.9
| level based
|-id="operative_slot"
|
|operative_slot
|-
|Modifies the amount of operative slots.
| intel_network_gain
|<pre>operative_slot = 1</pre>
| modifies how much intel is gained
|Flat.
| intel_network_gain = 0.1
|Cannot be used in operative scope.
| percentage based
|1.9
| &nbsp;
|-
| operative_slot
| Increases the max number of operatives by the given value.
| operative_slot = 1
|-
| resistance_damage_to_garrison
| Reduces/increases damage to the garrisons of the current scope.
| resistance_damage_to_garrison = -0.
| Percentual (0.10 being 10%)
|
|}
|}


== 炮手就位修正==
==== AI ====
{{SVersion|1.6}}
{{SVersion|1.13}}
{| class="wikitable sortable"
 
|-
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Name
|+ style="text-align: center;" width = "100%" |{{nowrap|AI-related country-scoped modifiers:}}<br/>
! Effect
! width="10%" | Name
! Example
! width="25%" | Effects
! Modifier type
! width="25%" | Examples
! Usage
! width="20%" | Modifier type
|-
! width="15%" | Notes
| legitimacy_daily
! width="5%" | Version added
| Increase country legitimacy per day.
|-id="ai_badass_factor"
| legitimacy_daily = 0.1
|ai_badass_factor
| Flat Gain
|AI's threat perception.
| Used mostly for governments in exile.
|<pre>ai_badass_factor = 0.5</pre>
|-
|Percentual.
| targeted_legitimacy_daily
|
| Same as legitimacy_daily but with a scope for TAG.
|1.0
| targeted_legitimacy_daily = { USA = 0.1 }
|-id="ai_call_ally_desire_factor"
| Flat Gain
|ai_call_ally_desire_factor
| Used mostly for governments in exile.
|Chance for AI to call allies.
|-
|<pre>ai_call_ally_desire_factor = 0.5</pre>
| training_time_air_factor
|Percentual.
| Reduces/increases air training time
|
| training_time_air_factor= 0.10
|1.0
| Percentual (0.10 being 10%)
|-id="ai_desired_divisions_factor"
| Used for efficiency or similar effects in the airforce.
|ai_desired_divisions_factor
|-
|The amount of divisions AI seeks to produce.
| master_ideology_drift
|<pre>ai_desired_divisions_factor = 0.5</pre>
| Change in the puppets ideology per day. Will drift in the masters current ruling ideology.
|Percentual.
| master_ideology_drift = 0.1
|
| Flat gain.
|1.0
| Does not require TfV.
|-id="ai_focus_aggressive_factor"
|-
|ai_focus_aggressive_factor
| license_infantry_eq_tech_difference_speed_factor
|AI's focus on offense.
| Increase in tech research speed if you are licensing that equipment.
|<pre>ai_focus_aggressive_factor = 0.5</pre>
| license_infantry_eq_tech_difference_speed_factor= 0.10
|Percentual.
| Percentual (0.10 being 10%)
|
| Requires TfV or DoD
|1.0
|-
|-id="ai_focus_defense_factor"
| license_artillery_eq_tech_difference_speed_factor
|ai_focus_defense_factor
| Increase in tech research speed if you are licensing that equipment.
|AI's focus on defense.
| license_artillery_eq_tech_difference_speed_factor= 0.10
|<pre>ai_focus_defense_factor = 0.5</pre>
| Percentual (0.10 being 10%)
|Percentual.
| Requires TfV or DoD
|
|-
|1.0
| license_light_tank_eq_tech_difference_speed_factor
|-id="ai_focus_aviation_factor"
| Increase in tech research speed if you are licensing that equipment.
|ai_focus_aviation_factor
| license_light_tank_eq_tech_difference_speed_factor= 0.10
|AI's focus on aviation.
| Percentual (0.10 being 10%)
|<pre>ai_focus_aviation_factor = 0.5</pre>
| Requires TfV or DoD
|Percentual.
|-
|
| license_anti_tank_eq_tech_difference_speed_factor
|1.0
| Increase in tech research speed if you are licensing that equipment.
|-id="ai_focus_military_advancements_factor"
| license_anti_tank_eq_tech_difference_speed_factor= 0.10
|ai_focus_military_advancements_factor
| Percentual (0.10 being 10%)
|AI's focus on advanced military technologies.
| Requires TfV or DoD
|<pre>ai_focus_military_advancements_factor = 0.5</pre>
|-
|Percentual.
| license_infantry_eq_production_speed_factor
|
| Change in output of the specific equipment if you are licensing that equipment.
|1.0
| license_infantry_eq_production_speed_factor= 0.10
|-id="ai_focus_military_equipment_factor"
| Percentual (0.10 being 10%)
|ai_focus_military_equipment_factor
| Requires TfV or DoD
|AI's focus on advanced military equipment.
|-
|<pre>ai_focus_military_equipment_factor = 0.5</pre>
| license_artillery_eq_production_speed_factor
|Percentual.
| Change in output of the specific equipment if you are licensing that equipment.
|
| license_artillery_eq_production_speed_factor= 0.10
|1.0
| Percentual (0.10 being 10%)
|-id="ai_focus_naval_air_factor"
| Requires TfV or DoD
|ai_focus_naval_air_factor
|-
|AI's focus on building naval airforce.
| license_light_tank_eq_production_speed_factor
|<pre>ai_focus_naval_air_factor = 0.5</pre>
| Change in output of the specific equipment if you are licensing that equipment.
|Percentual.
| license_light_tank_eq_production_speed_factor= 0.10
|
| Percentual (0.10 being 10%)
|1.0
| Requires TfV or DoD
|-id="ai_focus_naval_factor"
|-
|ai_focus_naval_factor
| license_anti_tank_eq_production_speed_factor
|AI's focus on building a navy.
| Change in output of the specific equipment if you are licensing that equipment.
|<pre>ai_focus_naval_factor = 0.5</pre>
| license_anti_tank_eq_production_speed_factor= 0.10
|Percentual.
| Percentual (0.10 being 10%)
|
| Requires TfV or DoD
|1.0
|-
|-id="ai_focus_peaceful_factor"
| license_infantry_eq_cost_factor
|ai_focus_peaceful_factor
| Change in cost if you are licensing that equipment.
|AI's focus on peaceful research and policies.
| license_infantry_eq_cost_factor= 0.10
|<pre>ai_focus_peaceful_factor = 0.5</pre>
| Percentual (0.10 being 10%)
|Percentual.
| Requires TfV or DoD
|
|-
|1.0
| license_artillery_eq_cost_factor
|-id="ai_focus_war_production_factor"
| Change in cost if you are licensing that equipment.
|ai_focus_war_production_factor
| license_artillery_eq_cost_factor= 0.10
|AI's focus on wartime production.
| Percentual (0.10 being 10%)
|<pre>ai_focus_war_production_factor = 0.5</pre>
| Requires TfV or DoD
|Percentual.
|-
|
| license_light_tank_eq_cost_factor
|1.0
| Change in cost if you are licensing that equipment.
|-id="ai_get_ally_desire_factor"
| license_light_tank_eq_cost_factor= 0.10
|ai_get_ally_desire_factor
| Percentual (0.10 being 10%)
|AI's desire to be in or expand a faction.
| Requires TfV or DoD
|<pre>ai_get_ally_desire_factor = 0.5</pre>
|-
|Percentual.
| license_anti_tank_eq_cost_factor
|
| Change in cost if you are licensing that equipment.
|1.0
| icense_anti_tank_eq_cost_factor= 0.10
|-id="ai_join_ally_desire_factor"
| Percentual (0.10 being 10%)
|ai_join_ally_desire_factor
| Requires TfV or DoD
|AI's desire to join the wars led by allies.
|-
|<pre>ai_join_ally_desire_factor = 0.5</pre>
| weekly_manpower
|Percentual.
| Adds x to your manpower pool per week.
|
| weekly_manpower = 1000
|1.0
| Flat amount of manpower per week.
|-id="ai_license_acceptance"
| &nbsp;
|ai_license_acceptance
|-
|AI's chance to agree licensing equipment.
| refit_speed
|<pre>ai_license_acceptance = 0.5</pre>
| Percentage change to refit speed.
|Percentual.
| refit_speed = 0.1
|Can be used as a targeted modifier.
| Percentual (0.1 being 10%)
|1.4
| &nbsp;
|-
| navy_refit_speed
| Percentage change to a refit of navy groups.
| navy_refit_speed= 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| refit_ic_cost
| Percentage change to the cost of refitting.
| refit_ic_cost = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| navy_refit_ic_cost
| Percentage change to a refit of navy groups.
| navy_refit_ic_cost = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| naval_equipment_upgrade_xp_cost
| Percentage change to the the xp cost when creating a variant.
| naval_equipment_upgrade_xp_cost = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| land_equipment_upgrade_xp_cost
| Percentage change to the the xp cost when creating a variant.
| land_equipment_upgrade_xp_cost = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| air_equipment_upgrade_xp_cost
| Percentage change to the the xp cost when creating a variant.
| air_equipment_upgrade_xp_cost = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| repair_speed_factor
| Percentage change ship repair speed.
| repair_speed_factor = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| fuel_gain_factor
| Percentage increase in fuel from oil
| fuel_gain_factor = 0.2
| Percentual (0.2 being 20%)
| &nbsp;
|-
| fuel_gain_factor_from_states
| Percentage increase in fuel from refineries
| fuel_gain_factor_from_states = 0.1
| Percentual (0.1 being 10%)
| &nbsp;
|-
| max_fuel_factor
| Percentage modification to fuel capacity
| max_fuel_factor = 0.1
| Percentual (0.1 being 10%)
| &nbsp;
|}
|}


== 唤醒勇虎修正==
==== Military outside of combat ====
{{SVersion|1.6}}
{{SVersion|1.13}}
{| class="wikitable sortable"
|-
! Name
! Effect
! Example
! Modifier type
! Usage
|-
| stability_factor
| Bonus to total stability
| stability_factor = 0.10
| Percentual (0.10 being 10%)
| Used mainly in national spirits to increase or lower Stability.
|-
| stability_weekly
| Gain in Stability per week
| stability_weekly = 0.01
| Percentual (0.01 being 1%)
| Used in national spirits to reflect growth or reductions over time in Stability.
|-
| war_support_factor
| Bonus to total war support
| war_support_factor = 0.10
| Percentual (0.10 being 10%)
| Used mainly in national spirits to reflect increased or lowered War Support.
|-
| war_support_weekly
| Gain in War support per week
| war_support_weekly = 0.01
| Percentual (0.01 being 1%)
| Used in national spirits to reflect growth or reductions over time in War Support.
|-
| cic_to_target_factor
| Used for Autonomy.(Can be used in other ways) Determines how many&nbsp;% of CIV's go to designated target.
| cic_to_target_factor = 0.10
| Percentual (0.10 being 10%)
| Is mainly used in autonomy and puppet defines.
|-
| mic_to_target_factor
| Used for Autonomy.(Can be used in other ways) Determines how many&nbsp;% of MIL's go to designated target.
| mic_to_target_factor = 0.10
| Percentual (0.10 being 10%)
| Is mainly used in autonomy and puppet defines.
|-
| extra_trade_to_target_factor
| Used for Autonomy.(Can be used in other ways) Modifies how much extra resources the overlord gains for free.
| extra_trade_to_target_factor = 1.0
| Percentual (1.0 being 100%)
| Is mainly used in autonomy and puppet defines.
|-
| trade_cost_for_target_factor
| Used for Autonomy.(Can be used in other ways) Makes trade cheaper/more expensive
| trade_cost_for_target_factor = 0.5
| Percentual (0.5 being 50%)
| Is mainly used in autonomy and puppet defines.
|-
| max_command_power
| Increases command power cap.
| max_command_power = 10
| Flat added on top of the default 100
| Most often used in National Spirits related to military administrative ability or similar effects.
|-
| command_power_gain
| Flat bonus to the daily command power gain.
| command_power_gain = 0.5
| Flat daily extra gain
| Most often used in National Spirits related to military administrative ability or similar effects.
|-
| command_power_gain_mult
| Percentage bonus to the daily command power gain.
| command_power_gain_mult = 0.5
| Percentual (0.5 being 50%)
| Most often used in National Spirits related to military administrative ability or similar effects.
|-
| targeted_modifier
| Modifier targeted for one country.
| targeted_modifier = { tag = GER attack_bonus_against = 0.1 }
| Percentual (0.1 being 10%)
| Can be used in both national spirits and in decisions. Used extensively in Vanilla for the Germany/USSR war and the China/Japan war.
|-
| attack_bonus_against
| Percentage Attack Bonus against one country
| attack_bonus_against = 0.1
| Percentual (0.1 being 10%)
| Can be used in both national spirits and in decisions. Used extensively in Vanilla for the Germany/USSR war and the China/Japan war.
|-
| defense_bonus_against
| Percentage Defense Bonus against one country
| defense_bonus_against = 0.1
| Percentual (0.1 being 10%)
| Can be used in both national spirits and in decisions. Used extensively in Vanilla for the Germany/USSR war and the China/Japan war.
|-
| special_forces_cap
| Increases ratio of Special Forces to Regulars
| special_forces_cap = 0.02
| Percentual (0.02 being 2%)
| The base amount of Special Forces is 2% of your total battalions deployed. This is added on top of that if used.
|-
| special_forces_min
| Increases base number of Special Force brigades allowed
| special_forces_min = 100
| Flat base number of battalions as special forces
| &nbsp;
|-
| civilian_factory_use
| Reduces number of available civilian factories, used mostly for decisions. Only works with Waking the Tiger enabled.
| civilian_factory_use = 3
| Flat amount of CIV's used.
| &nbsp;
|-
| mobilization_speed
| Percentage increase to mobilization speed
| mobilization_speed = 0.1
| Percentual (0.1 being 10%)
| &nbsp;
|-
| defensive_war_stability_factor
| Percentage decrease to impact of defensive war on stability
| defensive_war_stability_factor = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| offensive_war_stability_factor
| Percentage decrease to impact of offensive war on stability
| offensive_war_stability_factor = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|-
| surrender_limit
| Percentage increase of the amount of VPs needed to take for own country to capitulate
| surrender_limit = 0.4
| Percentual (0.4 being 40%)
| &nbsp;
|}


== 国家修正==
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
{{SVersion|1.9}}
|+ style="text-align: center;" width = "100%" |{{nowrap|Military-related country-scoped modifiers:}}<br/>
{| class="wikitable sortable"
! width="10%" | Name
|-
! width="25%" | Effects
! Name
! width="25%" | Examples
! Effect
! width="20%" | Modifier type
! Example
! width="15%" | Notes
! Note
! width="5%" | Version added
|-
|-id="command_power_gain"
| IDEOLOGY_drift
|command_power_gain
| Modifies the drift towards the specified ideology
|Changes the daily gain of command power.
| fascism_drift = 0.10
|<pre>command_power_gain = 0.5</pre>
|Flat.
|
|
|-
|1.5
| drift_defence_factor
|-id="command_power_gain_mult"
| Modifies the ideology drift defence
|command_power_gain_mult
| drift_defence_factor = 0.25
|Changes the daily gain of command power by a percentage.
|<pre>command_power_gain_mult = 0.5</pre>
|Percentual.
|
|
|-
|1.5
| political_power_gain
|-id="conscription"
| Bonus to the daily political power gain
|conscription
| political_power_gain = 0.5
|Changes the recruitable percentage of the total population.
|<pre>conscription = 0.02</pre>
|Flat.
|
|
|-
|1.0
| political_power_factor
|-id="conscription_factor"
| Modifies the political power gained daily
|conscription_factor
| political_power_factor = 0.25
|Changes the recruitable percentage of the total population by a percent.
|<pre>conscription_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| political_advisor_cost_factor
|-id="experience_gain_army"
| Modifies the cost of employing a new political advisor
|experience_gain_army
| political_advisor_cost_factor = 0.25
|Modifies the daily gain of army experience.
|<pre>experience_gain_army = 0.5</pre>
|Flat.
|
|
|-
|1.0
| trade_laws_cost_factor
|-id="experience_gain_army_factor"
| Modifies the cost of modifying the trade law of the country
|experience_gain_army_factor
| trade_laws_cost_factor = 0.25
|Modifies the gain of army experience by a percentage.
|<pre>experience_gain_army_factor = 0.5</pre>
|Percentual.
|
|
|-
|1.0
| mobilization_laws_cost_factor
|-id="experience_gain_navy"
| Modifies the cost of modifying the conscription law of the country
|experience_gain_navy
| mobilization_laws_cost_factor = 0.25
|Modifies the daily gain of naval experience.
|<pre>experience_gain_navy = 0.02</pre>
|Flat.
|
|
|-
|1.0
| economy_cost_factor
|-id="experience_gain_navy_factor"
| Modifies the cost of modifying the economy of the country
|experience_gain_navy_factor
| economy_cost_factor = 0.25
|Modifies the gain of naval experience by a percentage.
|<pre>experience_gain_navy_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| high_command_cost_factor
|-id="experience_gain_air"
| Modifies the cost of employing a new high command
|experience_gain_air
| high_command_cost_factor = 0.25
|Modifies the daily gain of air experience.
|<pre>experience_gain_air = 0.05</pre>
|Flat.
|
|
|-
|1.0
| air_chief_cost_factor
|-id="experience_gain_air_factor"
| Modifies the cost of employing a new air chief
|experience_gain_air_factor
| air_chief_cost_factor = 0.25
|Modifies the daily gain of air experience by a percentage.
|<pre>experience_gain_air_factor = 0.5</pre>
|Percentual.
|
|
|-
|1.0
| army_chief_cost_factor
|-id="land_equipment_upgrade_xp_cost"
| Modifies the cost of employing a new army chief
|land_equipment_upgrade_xp_cost
| army_chief_cost_factor = 0.25
|Changes the experience cost to upgrade land army equipment.
|<pre>land_equipment_upgrade_xp_cost = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| navy_chief_cost_factor
|-id="land_reinforce_rate"
| Modifies the cost of employing a new navy chief
|land_reinforce_rate
| navy_chief_cost_factor = 0.25
|Changes the rate at which reinforcements to divisions arrive.
|<pre>land_reinforce_rate = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| foreign_subversive_activites
|-id="max_command_power"
| Modifies efficiency of subversive activities of OTHER countries on OWN country
|max_command_power
| foreign_subversive_activites = -0.50
|Changes maximum command power.
|<pre>max_command_power = 20</pre>
|Flat.
|
|
|-
|1.5
| subversive_activites_upkeep
|-id="max_command_power_mult"
| Modifies the cost of OWN subversive activities in foreign countries
|max_command_power_mult
| subversive_activites_upkeep = -0.1
|Changes maximum command power by a percentage.
|<pre>max_command_power_mult = 0.3 </pre>
|Percentual.
|
|
|-
|1.5
| lend_lease_tension
|-id="weekly_manpower"
| Modifies the world tension level required for sending lend lease
|weekly_manpower
| lend_lease_tension = -0.20
|Amount of manpower gained each week.
|<pre>weekly_manpower = 1000 </pre>
|Flat.
|
|
|-
|1.6
| send_volunteers_tension
|-id="naval_equipment_upgrade_xp_cost"
| Modifies the world tension required for sending volunteers
|naval_equipment_upgrade_xp_cost
| send_volunteers_tension = -0.20
|Changes the naval experience cost to upgrade equipment.
|<pre>naval_equipment_upgrade_xp_cost = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| send_volunteer_divisions_required
|-id="refit_ic_cost"
| Modifies the amount of divisions required for sending volunteers
|refit_ic_cost
| send_volunteer_divisions_required = -0.25
|The IC cost to refit naval equipment.
|<pre>refit_ic_cost = 20</pre>
|Flat.
|
|
|-
|1.6
| send_volunteer_size
|-id="refit_speed"
| Bonus to the maximum number of divisions that can be sent as volunteers
|refit_speed
| send_volunteer_size = 1
|The speed at which naval equipment is refitted.
|<pre>refit_speed = 0.5</pre>
|Percentual.
|
|
|-
|1.6
| trade_opinion_factor
|-id="air_equipment_upgrade_xp_cost"
| Modifies the likeliness of other countries accepting trade deals
|air_equipment_upgrade_xp_cost
| trade_opinion_factor = 0.25
|Changes the air experience cost to upgrade equipment.
|<pre>air_equipment_upgrade_xp_cost = 0.5</pre>
|Percentual.
|
|
|-
|1.0
| join_faction_tension
|-id="training_time_factor"
| Modifies the world tension level required to join factions
|training_time_factor
| join_faction_tension = -0.20
|Modifies the training time for both army and navy.
|
|<pre>training_time_factor = 0.3</pre>
|-
|Percentual.
| justify_war_goal_time
| Modifies the time required for justifying a war goal
| justify_war_goal_time = -0.25
|
|
|-
|1.0
| generate_wargoal_tension
|-id="minimum_training_level"
| Modifies the world tension level required to generate wargoals
|minimum_training_level
| generate_wargoal_tension = -0.4
|Changes training level necessary for the unit to deploy.
|<pre>minimum_training_level = 0.3 </pre>
|Percentual.
|
|
|-
|1.0
| IDEOLOGY_acceptance
|-id="max_training"
| Changes an ideology's acceptance by the specified value
|max_training
| democratic_acceptance = 85
|Modifies the required experience to achieve full training.
|<pre>max_training = -0.3</pre>
|Percentual.
|<!--Please test this in-game!-->
|1.0
|-id="training_time_army_factor"
|training_time_army_factor
|Modifies the training time for the army.
|<pre>training_time_army_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| guarantee_tension
|-id="special_forces_training_time_factor"
| Modifies the world tension level required to guarantee a foreign country
|special_forces_training_time_factor
| guarantee_tension = -0.5
|Changes the time it takes to train special forces.
|<pre>special_forces_training_time_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| guarantee_cost
|-id="land_air_naval_doctrine_cost_factor"
| Modifies the cost of guaranteeing a foreign country
|<land/air/naval>_doctrine_cost_factor
| guarantee_cost = -0.5
|Changes the cost of buying a new doctrine of the specified type.
|<pre>land_doctrine_cost_factor = -0.05</pre>
|Percentual.
|
|
|-
|1.11
| license_purchase_cost
|-id="doctrine_cost_factor"
| Changes purchase costs for all licenses
|<doctrine category>_cost_factor
| license_purchase_cost = -0.5
|Modifies the cost of buying a new doctrine of the specified category.
|<pre>cat_mobile_warfare_cost_factor = 0.3</pre>
|Percentual.
|Doctrines are defined in {{path|common/technologies/*.txt}}.
|1.11
|-id="choose_preferred_tactics_cost"
|choose_preferred_tactics_cost
|Changes the cost to choose a preferred tactic.
|<pre>choose_preferred_tactics_cost = 5</pre>
|Flat.
|
|
|-
|1.11
| license_EQUIPMENT_purchase_cost
|-id="command_abilities_cost_factor"
| Changes purchase costs for licenses (EQUIPMENT can be: air, infantry, armor, naval)
|command_abilities_cost_factor
| license_armor_purchase_cost = -0.5
|Changes the cost to choose a command ability.
|<pre>command_abilities_cost_factor = -0.3</pre>
|Percentual.
|
|
|-
|1.11
| license_production_speed
|-id="transport_capacity"
| Changes production speed of bought licensed equipment
|transport_capacity
| license_production_speed = -0.5
|Modifies how many convoys units require to be transported over sea.
|<pre>transport_capacity = 0.3</pre>
|Percentual.
|
|
|-
|1.0
| license_tech_difference_speed
|-id="paratroopers_special_forces_contribution_factor"
| Modifies production speed penalty from tech level difference
|paratroopers_special_forces_contribution_factor
| license_tech_difference_speed = -0.5
|Modifies how much paratroopers contribute to the limit of special forces on a template.
|<pre>paratroopers_special_forces_contribution_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.13
| improve_relations_maintain_cost_factor
|-id="marines_special_forces_contribution_factor"
| Modifies the cost of maintaining "Improve relations" diplomatic actions
|marines_special_forces_contribution_factor
| improve_relations_maintain_cost_factor = -0.75
|Modifies how much marines contribute to the limit of special forces on a template.
|<pre>marines_special_forces_contribution_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.13
| enemy_justify_war_goal_time
|-id="mountaineers_special_forces_contribution_factor"
| Modifies the time required for OTHER countries to justify war goal against OWN country
|mountaineers_special_forces_contribution_factor
| enemy_justify_war_goal_time = 0.1
|Modifies how much mountaineers contribute to the limit of special forces on a template.
|<pre>mountaineers_special_forces_contribution_factor = 0.3</pre>
|Percentual.
|
|
|-
|1.13
| autonomy_gain
|-id="special_forces_cap_flat"
| Bonus to autonomy gained per day
|special_forces_cap_flat
| autonomy_gain = 1
|Modifies how many special forces sub-units can be put into a single template.
|<pre>special_forces_cap_flat = 10</pre>
|Percentual.
|
|
|-
|1.13
| subjects_autonomy_gain
|-id="additional_brigade_column_size"
| Bonus to autonomy gained by subjects per day
|additional_brigade_column_size
| subjects_autonomy_gain = 1
|Changes the amount of maximum unlocked slots on each brigade column in division templates.
|<pre>additional_brigade_column_size = 1</pre>
|Flat.
|
|
|-
|1.13
| resistance_target
|-id="unit_design_cost_factor"
| Modifies resistance growth in all occupied states
|unit_<unit type>_design_cost_factor
| resistance_target = -0.05
|Modifies how much experience it costs to add a brigade of the specified type to a template.
|<pre>unit_artillery_brigade_design_cost_factor = 0.3</pre>
|Percentual.
|Brigades are defined in {{path|common/units/*.txt}}
|1.11
|-id="equipment_design_cost_factor"
|<equipment archetype>_design_cost_factor
|Modifies how much experience it costs to add upgrades or modules to a specified equipment archetype.
|<pre>strat_bomber_equipment_design_cost_factor = 0.3</pre><pre>ship_hull_heavy_design_cost_factor = -0.2</pre>
|Percentual.
|Equipment archetypes are defined in {{path|common/units/equipment/*.txt}}
|1.11
|-id="module_design_cost_factor"
|module_<module type>_design_cost_factor
|Modifies how much experience it costs to add a module of the specified type to equipment.
|<pre>module_tank_torsion_bar_suspension_design_cost_factor = 0.3</pre>
|Percentual.
|Modules are defined in {{path|common/units/equipment/modules/*.txt}}
|1.11
|}
 
==== MIOs ====
{{SVersion|1.13}}
These are modifiers related to [[military industrial organisation]]s.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|MIO-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="military_industrial_organization_research_bonus"
|military_industrial_organization_research_bonus
|Modifies the research bonus granted by MIOs.
|<pre>military_industrial_organization_research_bonus = 0.3</pre>
|Percentual.
|
|
|-
|1.13
| opinion_gain_monthly_factor
|-id="military_industrial_organization_design_team_assign_cost"
| Modifies the opinion gain from improving relations
|military_industrial_organization_design_team_assign_cost
| opinion_gain_monthly_factor = 0.15
|Modifies the political power cost to assign a design team.
|<pre>military_industrial_organization_design_team_assign_cost = 30</pre>
|Flat.
|
|
|-
|1.13
| opinion_gain_monthly_same_ideology_factor
|-id="military_industrial_organization_design_team_change_cost"
| Modifies the monthly opinion gain for being of the same ideology
|military_industrial_organization_design_team_change_cost
| opinion_gain_monthly_same_ideology_factor = 0.5
|Modifies the political power cost to change a design team.
|<pre>military_industrial_organization_design_team_change_cost = 20</pre>
|Flat.
|
|
|-
|1.13
| military_leader_cost_factor
|-id="military_industrial_organization_industrial_manufacturer_assign_cost"
| Modifies the cost of recruiting new generals
|military_industrial_organization_industrial_manufacturer_assign_cost
| military_leader_cost_factor = -0.50
|Modifies the political power cost to assign an industrial manufacturer.
|<pre>military_industrial_organization_industrial_manufacturer_assign_cost = 10</pre>
|Flat.
|
|
|-
|1.13
| army_leader_start_level
|-id="military_industrial_organization_task_capacity"
| Bonus to the starting level of new generals
|military_industrial_organization_task_capacity
| army_leader_start_level = 1
|Modifies the amount of tasks possible to assign to the MIO.
|<pre>military_industrial_organization_task_capacity = 2</pre>
|Flat.
|
|
|-
|1.13
| army_leader_start_attack_level
|-id="military_industrial_organization_size_up_requirement"
| Bonus to the starting attack level of new generals
|military_industrial_organization_size_up_requirement
| army_leader_start_attack_level= 1
|Modifies the requirement to size up a MIO.
|<pre>military_industrial_organization_size_up_requirement = 2</pre>
|Flat.
|
|
|-
|1.13
| army_leader_start_planning_level
|-id="military_industrial_organization_funds_gain"
| Bonus to the starting planning level of new generals
|military_industrial_organization_funds_gain
| army_leader_start_planning_level= 1
|Modifies the amount of funds gained by the MIO.
|<pre>military_industrial_organization_funds_gain = 0.3</pre>
|Percentual.
|
|
|-
|1.13
| army_leader_start_defense_level
|-id="military_industrial_organization_policy_cost"
| Bonus to the starting defense level of new generals
|military_industrial_organization_policy_cost
| army_leader_start_defense_level= 1
|Modifies the political power cost to assign a MIO policy.
|<pre>military_industrial_organization_policy_cost = 20</pre>
|Flat.
|
|
|-
|1.13
| army_leader_start_logistics_level
|-id="military_industrial_organization_policy_cooldown"
| Bonus to the starting logistics level of new generals
|military_industrial_organization_policy_cooldown
| army_leader_start_logistics_level= 1
|Modifies the cooldown between how often it's possible to change policies.
|<pre>military_industrial_organization_policy_cooldown = 5</pre>
|Flat.
|
|
|1.13
|}
|}


==AI修正==
==== Unit leaders ====
{{SVersion|1.9}}
{{SVersion|1.13}}
{| class="wikitable sortable"
These are modifiers related to unit leaders in the country scope, rather than being in the unit leader scope.
|-
 
! Name
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Effect
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-related country-scoped modifiers:}}<br/>
! Example
! width="10%" | Name
|-
! width="25%" | Effects
| ai_focus_defense_factor
! width="25%" | Examples
| Modifies the AI defense focus
! width="20%" | Modifier type
| ai_focus_defense_factor = 0.5
! width="15%" | Notes
|-
! width="5%" | Version added
| ai_focus_aggressive_factor
|-id="female_random_army_leader_chance"
| Modifies the AI aggressive focus
|female_random_army_leader_chance
| ai_focus_aggressive_factor = 0.5
|Changes the chance for a randomly-generated army leader to be female.
|-
|<pre>female_random_army_leader_chance = 0.3</pre>
| ai_get_ally_desire_factor
|Percentual.
| Bonus to likeliness of AI to get allies
|
| ai_get_ally_desire_factor = 100
|1.9.1
|-
|-id="assign_army_leader_cp_cost"
| ai_call_ally_desire_factor
|assign_army_leader_cp_cost
| Modifies the AI's desire to call allies into wars
|Modifies the cost to assign an army leader to an army.
| ai_call_ally_desire_factor = -40
|<pre>assign_army_leader_cp_cost = -5</pre>
|-
|Flat.
| ai_join_ally_desire_factor
|
| Modifies the AI's desire to join allies in wars
|1.11
| ai_join_ally_desire_factor = -30
|-id="army_leader_cost_factor"
|-
|army_leader_cost_factor
| ai_badass_factor
|The cost in political power to recruit an unit leader for the land army.
| Modifiers the AI's threat perception of others. 0.01 = 1% threat perception
|<pre>army_leader_cost_factor = 0.5 </pre>
| ai_badass_factor = 0.01
|Percentual.
|-
|
|ai_desired_divisions_factor
|1.3
|Tendency of AI production Army division
|-id="army_leader_start_level"
|ai_desired_divisions_factor = 1
|army_leader_start_level
|Bonus to the starting level of generic unit leaders.
|<pre>army_leader_start_level = 1 </pre>
|Flat.
|
|1.5
|-id="army_leader_start_attack_level"
|army_leader_start_attack_level
|Bonus to the starting level of attack in generic unit leaders.
|<pre>army_leader_start_attack_level = 1 </pre>
|Flat.
|
|1.5
|-id="army_leader_start_defense_level"
|army_leader_start_defense_level
|Bonus to the starting level of defense in generic unit leaders.
|<pre>army_leader_start_defense_level = 1 </pre>
|Flat.
|
|1.5
|-id="army_leader_start_logistics_level"
|army_leader_start_logistics_level
|Bonus to the starting level of logistics in generic unit leaders.
|<pre>army_leader_start_logistics_level = 1 </pre>
|Flat.
|
|1.5
|-id="army_leader_start_planning_level"
|army_leader_start_planning_level
|Bonus to the starting level of planning in generic unit leaders.
|<pre>army_leader_start_planning_level = 1 </pre>
|Flat.
|
|1.5
|-id="military_leader_cost_factor"
|military_leader_cost_factor
|The cost in political power to recruit an unit leader.
|<pre>military_leader_cost_factor = 0.5 </pre>
|Percentual.
|
|1.3
|-id="female_random_admiral_chance"
|female_random_admiral_chance
|Changes the chance for a randomly-generated admiral to be female.
|<pre>female_random_admiral_chance = 0.3</pre>
|Percentual.
|
|1.9.1
|-id="assign_navy_leader_cp_cost"
|assign_navy_leader_cp_cost
|Modifies the cost to assign a navy leader to a navy.
|<pre>assign_navy_leader_cp_cost = -5</pre>
|Flat.
|
|1.11
|-id="navy_leader_cost_factor"
|navy_leader_cost_factor
|The cost in political power to recruit an unit leader for the land navy.
|<pre>navy_leader_cost_factor = 0.5 </pre>
|Percentual.
|
|1.3
|-id="navy_leader_start_level"
|navy_leader_start_level
|Bonus to the starting level of generic unit leaders.
|<pre>navy_leader_start_level = 1 </pre>
|Flat.
|
|1.9
|-id="navy_leader_start_attack_level"
|navy_leader_start_attack_level
|Bonus to the starting level of attack in generic unit leaders.
|<pre>navy_leader_start_attack_level = 1 </pre>
|Flat.
|
|1.9
|-id="navy_leader_start_coordination_level"
|navy_leader_start_coordination_level
|Bonus to the starting level of coordination in generic unit leaders.
|<pre>navy_leader_start_coordination_level = 1 </pre>
|Flat.
|
|1.9
|-id="navy_leader_start_defense_level"
|navy_leader_start_defense_level
|Bonus to the starting level of defense in generic unit leaders.
|<pre>navy_leader_start_defense_level = 1 </pre>
|Flat.
|
|1.9
|-id="navy_leader_start_maneuvering_level"
|navy_leader_start_maneuvering_level
|Bonus to the starting level of maneuvering in generic unit leaders.
|<pre>navy_leader_start_maneuvering_level = 1 </pre>
|Flat.
|
|1.9
|-id="grant_medal_cost_factor"
|grant_medal_cost_factor
|Changes the cost in command power to grant a medal to a division commander.
|<pre>grant_medal_cost_factor = 0.2</pre>
|Percentual.
|
|1.12
|-id="field_officer_promotion_penalty"
|field_officer_promotion_penalty
|Changes the experience penalty applied to the divisions when a commander is promoted to a field marshal.
|<pre>field_officer_promotion_penalty = 0.2</pre>
|Percentual.
|
|1.12
|-id="female_divisional_commander_chance"
|female_divisional_commander_chance
|Changes the chance to get a female divisional commander.
|<pre>female_divisional_commander_chance = 0.2</pre>
|Flat.
|If no generic female portraits are defined within {{path|portraits/*.txt}} files, there will be a silhouette.
|1.12
|}
|}


== 陆军修正==
==== General combat ====
{{SVersion|1.6}}
{{SVersion|1.13}}
; Generic modifiers
Note that most of these modifiers are not only in country scope but also in unit leader and navy leader scopes.
{| class="wikitable sortable"
 
|-
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Combat-related country-scoped modifiers:}}<br/>
! Effect
! width="10%" | Name
! Example
! width="25%" | Effects
|-
! width="25%" | Examples
| conscription_factor
! width="20%" | Modifier type
| Conscription&nbsp;% bonus (applied AFTER recruitable population is calculated)
! width="15%" | Notes
| conscription_factor = 0.1
! width="5%" | Version added
|-
|-id="offence"
| conscription
|offence
| Conscription bonus (increases recruitable population by specified&nbsp;%).
|Modifies the attack value of our military, navy, and airforce.
| conscription = 0.01
|<pre>offence = 0.5</pre>
|-
|Percentual.
| non_core_manpower
|
| A addition to the percentage of manpower in non-cores. Base in non-cores is 2%, 0.02. (therefore, a value of 0.02 will result in 4% non-core manpower)
|1.0
| non_core_manpower = 0.02
|-id="defence"
|-
|defence
| army_core_attack_factor
|Modifies the defence value of our military, navy, and airforce.
| Bonus to division attack on core territory
|<pre>defence = 0.5</pre>
| army_core_attack_factor = 0.1
|Percentual.
|-
|
| army_core_defence_factor
|1.0
| Bonus to division defence on core territory
|-id="tactic_preferred_weight_factor"
| army_core_defence_factor = 0.1
|<Tactic>_preferred_weight_factor
|-
|Modifies the chance for a commander to choose the specified tactic.
| training_time_army_factor
|<pre>tactic_ambush_preferred_weight_factor = 0.3</pre>
| Changes the time it takes to train new divisions by the specified percentage (compare to: training_time_factor)
|Percentual.
| training_time_army_factor = -0.1
|Combat tactics are defined in {{path|common/combat_tactics.txt}}.
|-
|1.6
| training_time_factor
| Changes the time it takes to train new divisions by the specified percentage (compare to: training_time_army_factor)
| training_time_factor = -0.1
|-
| planning_speed
| Bonus to planning speed of armies in&nbsp;%
| planning_speed = 0.10
|-
| max_planning
| Bonus to maximum planning level of armies in&nbsp;%
| max_planning = 0.25
|-
| army_org_factor
| Modifies the maximum organization level of all troops (percentage)
| army_org_factor = 0.05
|-
| army_org
| Bonus to maximum organization level of all troops (flat number)
| army_org = 5
|-
| recon_factor
| Bonus to reconnaissance of all troops
| recon_factor = 0.05
|-
| army_morale_factor
| Bonus to division recovery rate
| army_morale_factor = 0.1
|-
| partisan_effect
| Modifies the effect of own partisans on enemy countries
| partisan_effect = 0.1
|-
| enemy_partisan_effect
| Modifies the effect of enemy partisans on own country
| enemy_partisan_effect = -0.1
|-
| decryption_factor
| Bonus to decryption
| decryption_factor = 0.2
|-
| encryption_factor
| Bonus to encryption
| encryption_factor = 0.2
|-
| amphibious_invasion
| Bonus to speed of amphibious invasions
| amphibious_invasion = 0.10
|-
| invasion_preparation
| Modifies the preparation time for amphibious invasions
| invasion_preparation = -0.3
|-
| land_reinforce_rate
| Modifies the rate at which divisions are reinforced
| land_reinforce_rate = 0.3
|-
| defence
| Bonus&nbsp;% to defense
| defence = 0.1
|-
| offence
| Bonus&nbsp;% to offence
| offence = 0.1
|-
| army_defence_factor
| Bonus to division defence factor
| army_defence_factor = 0.1
|-
| army_attack_factor
| Bonus to division offence factor
| army_attack_factor = 0.1
|-
| army_speed_factor
| Bonus to division speed factor
| army_speed_factor = 0.05
|-
| attrition
| Modifier to overall army attrition
| attrition = -0.1
|-
| heat_attrition_factor
| Modifies the heat attrition of armies
| heat_attrition_factor = -0.5
|-
| winter_attrition_factor
| Modifies the winter attrition of armies
| winter_attrition_factor = -0.5
|-
| acclimatization_cold_climate_gain_factor
| Modifies the speed of army cold acclimatization
| acclimatization_cold_climate_gain_factor = 0.1
|-
| acclimatization_hot_climate_gain_factor
| Modifies the speed of army hot acclimatization
| acclimatization_hot_climate_gain_factor = 0.1
|-
| terrain_penalty_reduction
| Reduces army terrain penalty (only functions as a leader/general trait, not as a national idea)
| terrain_penalty_reduction = 0.5
|-
| max_dig_in
| Bonus to max entrenchment
| max_dig_in = 1
|-
| dig_in_speed
| Bonus to entrenchment speed
| dig_in_speed = 0.25
|-
| dig_in_speed_factor
| Bonus to entrenchment speed factor
| dig_in_speed_factor = 0.25
|-
| supply_consumption_factor
| Modifies amount of supplies consumed
| supply_consumption_factor = -0.20
|-
| out_of_supply_factor
| Modifies the penalty for being out of supply
| out_of_supply_factor = -0.5
|-
| experience_gain_army
| Bonus to daily army experience gain (flat number)
| experience_gain_army = 0.05
|-
| experience_gain_army_factor
| Modifies the amount of army experience gained (percentage)
| experience_gain_army_factor = -0.1
|-
| experience_loss_factor
| Modifies the amount of experience lost when units suffer damage, -1.0 means no loss.
| experience_loss_factor = -0.1
|-
| minimum_training_level
| Modifies the amount of training a unit needs before it can be deployed. -0.2 means instant deployment.
| minimum_training_level = -0.1
|-
| no_supply_grace
| How many additional hours a unit can go without supply before it begins suffering penalties
| no_supply_grace = 48
|}
|}


; Specific modifiers
==== Land combat ====
{| class="wikitable sortable"
{{SVersion|1.13}}
|-
Note that most of these modifiers are not only in country scope but also in unit leader scope.
! Name
 
! Effect
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Example
|+ style="text-align: center;" width = "100%" |{{nowrap|Land combat-related country-scoped modifiers:}}<br/>
|-
! width="10%" | Name
| army_armor_speed_factor
! width="25%" | Effects
| Modifies the speed of all armor units in the army
! width="25%" | Examples
| army_armor_speed_factor = 0.05
! width="20%" | Modifier type
|-
! width="15%" | Notes
| army_armor_attack_factor
! width="5%" | Version added
| Modifies the attack of all armor units in the army
|-id="acclimatization_cold_climate_gain_factor"
| army_armor_attack_factor = 0.1
|acclimatization_cold_climate_gain_factor
|-
|Cold acclimatization gain factor.
| army_armor_defence_factor
|<pre>acclimatization_cold_climate_gain_factor = 0.5</pre>
| Modifies the defence of all armor units in the army
|Percentual.
| army_armor_defence_factor = 0.05
|
|-
|1.0
| army_artillery_attack_factor
|-id="acclimatization_hot_climate_gain_factor"
| Modifies the attack of all artillery units in the army
|acclimatization_hot_climate_gain_factor
| army_artillery_attack_factor = 0.15
|Hot acclimatization gain factor.
|-
|<pre>acclimatization_hot_climate_gain_factor = 0.5</pre>
| army_artillery_defence_factor
|Percentual.
| Modifies the defence of all artillery units in the army
|
| army_artillery_defence_factor = 0.05
|1.0
|-
|-id="air_superiority_bonus_in_combat"
| army_infantry_attack_factor
|air_superiority_bonus_in_combat
| Modifies the attack of all infantry units in the army
|The bonus in combat given from having air superiority.
| army_infantry_attack_factor = 0.05
|<pre>air_superiority_bonus_in_combat = 0.5</pre>
|-
|Percentual.
| army_infantry_defence_factor
|
| Modifies the defence of all infantry units in the army
|1.0
| army_infantry_defence_factor = 0.1
|-id="army_attack_factor"
|-
|army_attack_factor
| special_forces_attack_factor
|The bonus to land army's attack.
| Modifies the attack of all special forces units in the army
|<pre>army_attack_factor = 0.5</pre>
| special_forces_attack_factor = 0.1
|Percentual.
|-
|
| special_forces_defence_factor
|1.0
| Modifies the defence of all special forces units in the army
|-id="army_core_attack_factor"
| special_forces_defence_factor = 0.1
|army_core_attack_factor
|-
|The bonus to land army's attack on core territory.
| cavalry_attack_factor
|<pre>army_core_attack_factor = 0.1</pre>
| Modifies the attack of all cavalry units in the army
|Percentual.
| cavalry_attack_factor = 0.05
|
|-
|1.0
| cavalry_defence_factor
|-id="army_attack_against_major_factor"
| Modifies the defence of all cavalry units in the army
|army_attack_against_major_factor
| cavalry_defence_factor = 0.05
|The bonus to land army's attack against a major country.
|-
|<pre>army_attack_against_major_factor = 0.5</pre>
| mechanized_attack_factor
|Percentual.
| Modifies the attack of all mechanized units in the army
|
| mechanized_attack_factor = 0.05
|1.11
|-
|-id="army_attack_against_minor_factor"
| mechanized_defence_factor
|army_attack_against_minor_factor
| Modifies the defence of all mechanized units in the army
|The bonus to land army's attack against a non-major country.
| mechanized_defence_factor = 0.05
|<pre>army_attack_against_minor_factor = 0.5</pre>
|-
|Percentual.
| motorized_attack_factor
|
| Modifies the attack of all motorized units in the army
|1.11
| motorized_attack_factor = 0.05
|-id="army_attack_speed_factor"
|-
|army_attack_speed_factor
| motorized_defence_factor
|The bonus to speed at which the land army attacks.
| Modifies the defence of all motorized units in the army
|<pre>army_attack_speed_factor = 0.5</pre>
| motorized_defence_factor = 0.05
|Percentual.
|-
|
| air_paradrop_attack_factor
|1.0
| Modifies the attack of paradropped troops
|-id="army_breakthrough_against_major_factor"
| air_paradrop_attack_factor = 0.01
|army_breakthrough_against_major_factor
|-
|The bonus to land army's breakthrough against a major country.
| air_paradrop_defence_factor
|<pre>army_breakthrough_against_major_factor = 0.5</pre>
| Modifies the defence of paradropped troops
|Percentual.
| air_paradrop_defence_factor = 0.03
|
|-
|1.11
| air_paradrop_agility_factor
|-id="army_breakthrough_against_minor_factor"
| Modifies the agility of paradropped troops (Exists and localizes but does not seem to do anything at all.)
|army_breakthrough_against_minor_factor
| air_paradrop_agility_factor = 0.03
|The bonus to land army's breakthrough against a non-major country.
|<pre>army_breakthrough_against_minor_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_defence_factor"
|army_defence_factor
|The bonus to land army's defence.
|<pre>army_defence_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="army_defence_against_major_factor"
|army_defence_against_major_factor
|The bonus to land army's defence against a major country.
|<pre>army_defence_against_major_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_defence_against_minor_factor"
|army_defence_against_minor_factor
|The bonus to land army's defence against a non-major country.
|<pre>army_defence_against_minor_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_core_defence_factor"
|army_core_defence_factor
|The bonus to land army's defence on core territory.
|<pre>army_core_defence_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="army_speed_factor"
|army_speed_factor
|The bonus to land army's speed.
|<pre>army_speed_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="army_strength_factor"
|army_strength_factor
|The bonus to land army's strength.
|<pre>army_strength_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="<unit type>_attack_factor"
|<unit type>_attack_factor
|The bonus to specified unit type's attack.
|<pre>cavalry_attack_factor = 0.5</pre>
|Percentual.
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|-id="<unit type>_defence_factor"
|<unit type>_defence_factor
|The bonus to the specified unit type's defence.
|<pre>army_artillery_defence_factor = 0.5</pre>
|Percentual.
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|-id="<unit type>_speed_factor"
|<unit type>_speed_factor
|The bonus to specified unit type's speed.
|<pre>army_armor_speed_factor = 0.5</pre>
|Percentual.
|Allowed unit types are army_armor and cavalry. Cavalry_speed_factor is currently broken and not recognized by the game.
|1.0
|-id="army_morale"
|army_morale
|Modifies the division recovery rate.
|<pre>army_morale = 10</pre>
|Flat.
|
|1.0
|-id="army_morale_factor"
|army_morale_factor
|Modifies the division recovery rate by a percentage.
|<pre>army_morale_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="army_org"
|army_org
|Modifies the army's organisation.
|<pre>army_org = 10</pre>
|Flat.
|
|1.0
|-id="army_org_factor"
|army_org_factor
|Modifies the army's organisation by a percentage.
|<pre>army_org_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="army_org_regain"
|army_org_regain
|Modifies the army's organisation regain speed by a percentage.
|<pre>army_org_regain = 0.3</pre>
|Percentual.
|
|1.5.1
|-id="breakthrough_factor"
|breakthrough_factor
|Modifies the army's breakthrough.
|<pre>breakthrough_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="cas_damage_reduction"
|cas_damage_reduction
|Reguces the damage dealt by close air support.
|<pre>cas_damage_reduction = 0.3</pre>
|Percentual.
|
|1.0
|-id="combat_width_factor"
|combat_width_factor
|Changes our own combat width.
|<pre>combat_width_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="coordination_bonus"
|coordination_bonus
|Changes the bonus to coordination, that is how much damage is done to the primary target instead of being spread out.
|<pre>coordination_bonus = 0.3</pre>
|Percentual.
|
|1.11
|-id="dig_in_speed"
|dig_in_speed
|Changes entrenchment speed.
|<pre>dig_in_speed = 2</pre>
|Flat.
|
|1.0
|-id="dig_in_speed_factor"
|dig_in_speed_factor
|Changes entrenchment speed by a percentage.
|<pre>dig_in_speed_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="experience_gain_army_unit"
|experience_gain_army_unit
|Changes experience gain by the army divisions.
|<pre>experience_gain_army_unit = 0.5</pre>
|Flat.
|
|1.0
|-id="experience_gain_army_unit_factor"
|experience_gain_army_unit_factor
|Changes experience gain by the army divisions by a percentage.
|<pre>experience_gain_army_unit_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="experience_loss_factor"
|experience_loss_factor
|Changes the loss in divisions' experience in combat.
|<pre>experience_loss_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="initiative_factor"
|initiative_factor
|Modifies the initiative.
|<pre>initiative_factor = 0.3</pre>
|Percentual.
|
|1.11
|-id="land_night_attack"
|land_night_attack
|Changes the penalty due to attacking at night.
|<pre>land_night_attack = 0.5</pre>
|Percentual.
|
|1.0
|-id="max_dig_in"
|max_dig_in
|Changes the maximum entrenchment.
|<pre>max_dig_in = 20</pre>
|Flat.
|Can also apply in state scope.
|1.0
|-id="max_dig_in_factor"
|max_dig_in_factor
|Changes the maximum entrenchment by a percentage.
|<pre>max_dig_in_factor = 0.5</pre>
|Percentual.
|Can also apply in state scope.
|1.0
|-id="max_planning"
|max_planning
|Changes the maximum planning.
|<pre>max_planning = 20</pre>
|Flat.
|
|1.0
|-id="max_planning_factor"
|max_planning_factor
|Changes the maximum planning by a percentage.
|<pre>max_planning_factor = 0.5</pre>
|Percentual.
|
|1.9
|-id="pocket_penalty"
|pocket_penalty
|Reduces the penalty that troops take when they are encircled.
|<pre>pocket_penalty = 0.2</pre>
|Percentual.
|
|1.0
|-id="recon_factor"
|recon_factor
|Changes reconnaisance.
|<pre>recon_factor = 0.2</pre>
|Percentual.
|
|1.0
|-id="recon_factor_while_entrenched"
|recon_factor_while_entrenched
|Changes reconnaisance for entrenched divisions.
|<pre>recon_factor_while_entrenched = 0.2</pre>
|Percentual.
|
|1.0
|-id="special_forces_cap"
|special_forces_cap
|Changes the maximum amount of special forces by a percentage.
|<pre>special_forces_cap = 0.5</pre>
|Percentual.
|
|1.0
|-id="special_forces_min"
|special_forces_min
|Changes the maximum amount of special forces.
|<pre>special_forces_min = 250</pre>
|Flat.
|
|1.0
|-id="terrain_penalty_reduction"
|terrain_penalty_reduction
|Decreases the penalties given by terrain.
|<pre>terrain_penalty_reduction = 0.3</pre>
|Percentual.
|Only works in the unit_leader scope despite the modifier being present in vanilla national spirits at the time of writing.
|1.0
|-id="org_loss_at_low_org_factor"
|org_loss_at_low_org_factor
|Modifies the organisation loss for units when they have low organisation.
|<pre>org_loss_at_low_org_factor = 0.2</pre>
|Percentual.
|
|1.0
|-id="org_loss_when_moving"
|org_loss_when_moving
|Modifies the organisation loss for units when they are moving.
|<pre>org_loss_when_moving = 0.2</pre>
|Percentual.
|
|1.0
|-id="planning_speed"
|planning_speed
|Modifies the planning speed.
|<pre>planning_speed = 0.2</pre>
|Percentual.
|Works in state scope.
|1.0
|-id="experience_gain_unit_combat_factor"
|experience_gain_<unit type>_combat_factor
|Modifies the experience gain in combat for the unit type.
|<pre>experience_gain_artillery_combat_factor = 0.3</pre>
|Percentual.
|Units are defined in {{path|common/units/*.txt}} files.
|1.11
|-id="experience_gain_unit_training_factor"
|experience_gain_<unit type>_training_factor
|Modifies the experience gain in training for the unit type.
|<pre>experience_gain_destroyer_training_factor = 0.3</pre>
|Percentual.
|Units are defined in {{path|common/units/*.txt}} files.
|1.11
|}
|}


== 空军修正==
==== Naval invasions ====
{{SVersion|1.6}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
; Generic modifiers
|+ style="text-align: center;" width = "100%" |{{nowrap|Invasion-related country-scoped modifiers:}}<br/>
{| class="wikitable sortable"
! width="10%" | Name
|-
! width="25%" | Effects
! Name
! width="25%" | Examples
! Effect
! width="20%" | Modifier type
! Example
! width="15%" | Notes
|-
! width="5%" | Version added
| air_ace_generation_chance_factor
|-id="naval_invasion_prep_speed"
| Modifies the chance of generating aces
|naval_invasion_prep_speed
| air_ace_generation_chance_factor = 0.10
|Modifies the speed at which a naval invasion is prepared.
|-
|<pre>naval_invasion_prep_speed = 10</pre>
| enemy_army_bonus_air_superiority_factor
|Flat.
| Modifies the bonus for enemies from air superiority
|Can be a targeted modifier or in unit leader scope.
| enemy_army_bonus_air_superiority_factor = -0.05
|1.0
|-
|-id="naval_invasion_capacity"
| army_bonus_air_superiority_factor
|naval_invasion_capacity
| Modifies the bonus to land combat from having air superiority
|Modifies the amount of divisions that can have a naval invasion plan going on at the same time.
| army_bonus_air_superiority_factor = 0.05
|<pre>naval_invasion_capacity = 10</pre>
|-
|Flat.
| air_accidents_factor
|
| Modifies the chance of air accidents
|1.0
| air_accidents_factor = -0.05
|-id="naval_invasion_penalty"
|-
|naval_invasion_penalty
| air_night_penalty
|Modifies the penalty for naval invasions.
| Modifies the penalty for nighttime air operations
|<pre>naval_invasion_penalty = 0.3</pre>
| air_night_penalty = -0.1
|Percentual.
|-
|Is the opposite of amphibious_invasion_defence. Can also apply in state scope.
| air_weather_penalty
|1.0
| Modifies the penalty for bad weather for air operations
|-id="naval_invasion_planning_bonus_speed"
| air_weather_penalty = -0.1
|naval_invasion_planning_bonus_speed
|-
|Modifies the speed at which the planning bonus is accumulated during a naval invasion preparation.
| air_range_factor
|<pre>naval_invasion_planning_bonus_speed = 0.3</pre>
| Modifies the range of all of your air forces
|Percentual.
| air_range_factor = -0.1
|
|-
|1.11
| experience_gain_air
|-id="amphibious_invasion"
| Bonus to daily air experience gain (flat number)
|amphibious_invasion
| experience_gain_air = 0.05
|Modifies the speed of units during naval invasions.
|-
|<pre>amphibious_invasion = 0.5</pre>
| experience_gain_air_factor
|Percentual.
| Modifies the amount of air experience gained (percentage)
|
| experience_gain_air_factor = 0.1
|1.6
|-id="amphibious_invasion_defence"
|amphibious_invasion_defence
|Modifies the penalty given by naval invasions.
|<pre>amphibious_invasion_defence = 0.5</pre>
|Percentual.
|Is the opposite of naval_invasion_penalty. Can also apply in state scope.
|1.6
|-id="invasion_preparation"
|invasion_preparation
|Modifies the required preparation needed to execute a naval invasion.
|<pre>invasion_preparation = 0.3</pre>
|Percentual.
|Is the opposite of naval_invasion_prep_speed. Can be used in unit leader scope.
|1.6
|}
|}


; Specific modifiers
==== Naval combat ====
{| class="wikitable sortable"
{{SVersion|1.13}}
|-
Note that most of these modifiers are not only in country scope but also in navy leader scope as well as within equipment modules.
! Name
 
! Effect
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Example
|+ style="text-align: center;" width = "100%" |{{nowrap|Naval combat-related country-scoped modifiers:}}<br/>
|-
! width="10%" | Name
| naval_strike_attack_factor
! width="25%" | Effects
| Modifies the attack factor for naval strikes of air wings
! width="25%" | Examples
| naval_strike_attack_factor = 0.02
! width="20%" | Modifier type
|-
! width="15%" | Notes
| naval_strike_targetting_factor
! width="5%" | Version added
| Modifies the targetting efficiency for naval strikes of air wings
|-id="convoy_escort_efficiency"
| naval_strike_targetting_factor = 0.02
|convoy_escort_efficiency
|-
|Modifies the efficiency of the convoy escort mission.
| naval_strike_agility_factor
|<pre>convoy_escort_efficiency = 0.5</pre>
| Modifies the agility factor for naval strikes of air wings
|Percentual.
| naval_strike_agility_factor = 0.02
|
|-
|1.6
| air_interception_attack_factor
|-id="convoy_raiding_efficiency_factor"
| Modifies the attack factor for interception missions of air wings
|convoy_raiding_efficiency_factor
| air_interception_attack_factor = 0.02
|Modifies the efficiency of the convoy raiding mission.
|-
|<pre>convoy_raiding_efficiency_factor = 0.5</pre>
| air_interception_defence_factor
|Percentual.
| Modifies the defence factor for interception missions of air wings
|
| air_interception_defence_factor = 0.02
|1.6
|-
|-id="convoy_retreat_speed"
| air_interception_agility_factor
|convoy_retreat_speed
| Modifies the agility factor for interception missions of air wings
|Modifies the speed of convoys retreating.
| air_interception_agility_factor = 0.02
|<pre>convoy_retreat_speed = 0.5</pre>
|-
|Percentual.
| air_air_superiority_attack_factor
|
| Modifies the attack factor for air superiority missions of air wings
|1.6
| air_air_superiority_attack_factor = 0.02
|-id="critical_receive_chance"
|-
|critical_receive_chance
| air_air_superiority_defence_factor
|Changes the chance for the enemy to get a critical hit on us in naval combat.
| Modifies the defence factor for air superiority missions of air wings
|<pre>critical_receive_chance = 0.5</pre>
| air_air_superiority_defence_factor = 0.02
|Percentual.
|-
|
| air_air_superiority_agility_factor
|1.6
| Modifies the agility factor for air superiority missions of air wings
|-id="experience_gain_navy_unit"
| air_air_superiority_agility_factor = 0.02
|experience_gain_navy_unit
|-
|Modifies the daily gain of experience by the ships.
| air_close_air_support_attack_factor
|<pre>experience_gain_navy_unit = 0.02</pre>
| Modifies the attack factor for close air support missions of air wings
|Flat.
| air_close_air_support_attack_factor = 0.02
|
|-
|1.6
| air_close_air_support_defence_factor
|-id="experience_gain_navy_unit_factor"
| Modifies the defence factor for close air support missions of air wings
|experience_gain_navy_unit_factor
| air_close_air_support_defence_factor = 0.02
|Modifies the gain of experience by the ships by a percentage.
|-
|<pre>experience_gain_navy_unit_factor = 0.3</pre>
| air_close_air_support_agility_factor
|Percentual.
| Modifies the agility factor for close air support missions of air wings
|
| air_close_air_support_agility_factor = 0.02
|1.6
|-
|-id="mines_planting_by_fleets_factor"
| air_strategic_bomber_attack_factor
|mines_planting_by_fleets_factor
| Modifies the attack factor for strategic bombing missions of air wings
|Modifies the efficiency of the mine planting mission.
| air_strategic_bomber_attack_factor = 0.01
|<pre>mines_planting_by_fleets_factor = 0.3</pre>
|-
|Percentual.
| air_strategic_bomber_defence_factor
|
| Modifies the defence factor for strategic bombing missions of air wings
|1.6
| air_strategic_bomber_defence_factor = 0.01
|-id="mines_sweeping_by_fleets_factor"
|-
|mines_sweeping_by_fleets_factor
| air_strategic_bomber_agility_factor
|Modifies the efficiency of the mine sweeping mission.
| Modifies the agility factor for strategic bombing missions of air wings
|<pre>mines_sweeping_by_fleets_factor = 0.3</pre>
| air_strategic_bomber_agility_factor = 0.01
|Percentual.
|-
|
| air_strategic_bomber_bombing_factor
|1.6
| Modifies the bombing factor for strategic bombing missions of air wings
|-id="naval_accidents_chance"
| air_strategic_bomber_bombing_factor = 0.03
|naval_accidents_chance
|-
|Modifies the chance for a ship to be accidentally sunk or damaged.
| air_cas_present_factor
|<pre>naval_accidents_chance = 0.3</pre>
| Modifies the efficiency of tactical bombing missions
|Percentual.
| air_cas_present_factor = 0.1
|
|1.6
|-id="navy_anti_air_attack"
|navy_anti_air_attack
|Modifies the attack against enemy airplanes for the country's ships.
|<pre>navy_anti_air_attack = 5</pre>
|Flat.
|
|1.6
|-id="navy_anti_air_attack_factor"
|navy_anti_air_attack_factor
|Modifies the attack against enemy airplanes for the country's ships by a percentage.
|<pre>navy_anti_air_attack_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_coordination"
|naval_coordination
|Modifies how quickly the fleet can gather or disperse when a target is found or when switching missions.
|<pre>naval_coordination = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_critical_effect_factor"
|naval_critical_effect_factor
|Modifies the effects of sustained critical hits on our ships.
|<pre>naval_critical_effect_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_critical_score_chance_factor"
|naval_critical_score_chance_factor
|Modifies the chance for us to get a critical hit on the enemy in naval combat.
|<pre>naval_critical_score_chance_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_damage_factor"
|naval_damage_factor
|Modifies the damage dealt by our ships.
|<pre>naval_damage_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_defense_factor"
|naval_defense_factor
|Modifies the damage received by our ships.
|<pre>naval_defense_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_detection"
|naval_detection
|Modifies the chance for our ships to detect submarines.
|<pre>naval_detection = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_enemy_fleet_size_ratio_penalty_factor"
|naval_enemy_fleet_size_ratio_penalty_factor
|Modifies the penalty the enemy receives for having a larger amount of ships than us.
|<pre>naval_enemy_fleet_size_ratio_penalty_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_enemy_positioning_in_initial_attack"
|naval_enemy_positioning_in_initial_attack
|Modifies the positioning of the enemy during the initial naval attack.
|<pre>naval_enemy_positioning_in_initial_attack = 3</pre>
|Flat.
|
|1.11
|-id="naval_enemy_retreat_chance"
|naval_enemy_retreat_chance
|Modifies the chance for the enemy to retreat.
|<pre>naval_enemy_retreat_chance = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_has_potf_in_combat_attack"
|naval_has_potf_in_combat_attack
|Modifies the attack of the navy when fighting together with the pride of the fleet.
|<pre>naval_has_potf_in_combat_attack = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_has_potf_in_combat_defense"
|naval_has_potf_in_combat_defense
|Modifies the defense of the navy when fighting together with the pride of the fleet.
|<pre>naval_has_potf_in_combat_defense = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_hit_chance"
|naval_hit_chance
|Modifies the chance for the naval attacks to land.
|<pre>naval_hit_chance = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_mine_hit_chance"
|naval_mine_hit_chance
|Modifies the chance for a naval mine to hit.
|<pre>naval_mine_hit_chance = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_mines_damage_factor"
|naval_mines_damage_factor
|Modifies the damage naval mines deal to enemy ships.
|<pre>naval_mines_damage_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_mines_effect_reduction"
|naval_mines_effect_reduction
|Modifies the damage enemy naval mines deal.
|<pre>naval_mines_effect_reduction = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_morale"
|naval_morale
|Modifies the navy recovery rate.
|<pre>naval_morale = 15</pre>
|Flat.
|
|1.6
|-id="naval_morale_factor"
|naval_morale_factor
|Modifies the navy recovery rate by a percentage.
|<pre>naval_morale_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_night_attack"
|naval_night_attack
|Modifies the damage dealt by the country's ships at night.
|<pre>naval_night_attack = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_retreat_chance"
|naval_retreat_chance
|Modifies the chance for the country's ships to retreat.
|<pre>naval_retreat_chance = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_retreat_chance_after_initial_combat"
|naval_retreat_chance_after_initial_combat
|Modifies the chance for the country's ships to retreat after initial combat.
|<pre>naval_retreat_chance_after_initial_combat = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_retreat_speed"
|naval_retreat_speed
|Modifies the speed at which the country's ships retreat.
|<pre>naval_retreat_speed = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_retreat_speed_after_initial_combat"
|naval_retreat_speed_after_initial_combat
|Modifies the speed at which the country's ships to retreat after initial combat.
|<pre>naval_retreat_speed_after_initial_combat = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_speed_factor"
|naval_speed_factor
|Modifies the speed of the country's ships.
|<pre>naval_speed_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_org"
|navy_org
|Modifies the navy's organisation.
|<pre>navy_org = 10</pre>
|Flat.
|
|1.0
|-id="navy_org_factor"
|navy_org_factor
|Modifies the navy's organisation by a percentage.
|<pre>navy_org_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="navy_max_range"
|navy_max_range
|Modifies the navy's maximum range.
|<pre>navy_max_range = 10</pre>
|Flat.
|
|1.0
|-id="navy_max_range_factor"
|navy_max_range_factor
|Modifies the navy's maximum range by a percentage.
|<pre>navy_max_range_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="naval_torpedo_cooldown_factor"
|naval_torpedo_cooldown_factor
|Modifies the rate at which the country's ships can fire torpedos.
|<pre>naval_torpedo_cooldown_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_torpedo_hit_chance_factor"
|naval_torpedo_hit_chance_factor
|Modifies the likelihood for country's torpedos to hit enemy ships.
|<pre>naval_torpedo_hit_chance_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_torpedo_reveal_chance_factor"
|naval_torpedo_reveal_chance_factor
|Modifies the chance that the country's submarines reveal themselves when firing torpedos.
|<pre>naval_torpedo_reveal_chance_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_torpedo_screen_penetration_factor"
|naval_torpedo_screen_penetration_factor
|Modifies the rate at which the country's torpedos penalise enemy screening.
|<pre>naval_torpedo_screen_penetration_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="naval_torpedo_damage_reduction_factor"
|naval_torpedo_damage_reduction_factor
|Modifies the damage at which enemy torpedos damage the country's ships.
|<pre>naval_torpedo_damage_reduction_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_torpedo_enemy_critical_chance_factor"
|naval_torpedo_enemy_critical_chance_factor
|Modifies the chance for an enemy torpedo to get a cricical hit against the country's ships.
|<pre>naval_torpedo_enemy_critical_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_light_gun_hit_chance_factor"
|naval_light_gun_hit_chance_factor
|Modifies the chance for the country's naval light guns to hit enemy ships.
|<pre>naval_light_gun_hit_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_heavy_gun_hit_chance_factor"
|naval_heavy_gun_hit_chance_factor
|Modifies the chance for the country's naval heavy guns to hit enemy ships.
|<pre>naval_heavy_gun_hit_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="navy_capital_ship_attack_factor"
|navy_capital_ship_attack_factor
|Modifies the attack of the country's capital ships.
|<pre>navy_capital_ship_attack_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_capital_ship_defence_factor"
|navy_capital_ship_defence_factor
|Modifies the defence of the country's capital ships.
|<pre>navy_capital_ship_defence_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_screen_attack_factor"
|navy_screen_attack_factor
|Modifies the attack of the country's screening ships.
|<pre>navy_screen_attack_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_screen_defence_factor"
|navy_screen_defence_factor
|Modifies the defence of the country's screening ships.
|<pre>navy_screen_defence_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_submarine_attack_factor"
|navy_submarine_attack_factor
|Modifies the attack of the country's submarines.
|<pre>navy_submarine_attack_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_submarine_defence_factor"
|navy_submarine_defence_factor
|Modifies the defence of the country's submarines.
|<pre>navy_submarine_defence_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_submarine_detection_factor"
|navy_submarine_detection_factor
|Modifies the country's detection of enemy submarines.
|<pre>navy_submarine_detection_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_visibility"
|navy_visibility
|Modifies the visibility of the country's navy.
|<pre>navy_visibility = 0.3</pre>
|Percentual.
|
|1.6
|-id="navy_weather_penalty"
|navy_weather_penalty
|Modifies the penalty the country's navy gets during poor weather.
|<pre>navy_weather_penalty = 0.3</pre>
|Percentual.
|
|1.11
|-id="night_spotting_chance"
|night_spotting_chance
|Modifies the chance for the country's navy to spot the enemy at night.
|<pre>night_spotting_chance = 0.3</pre>
|Percentual.
|
|1.11
|-id="positioning"
|positioning
|Modifies the positioning of the country's navy.
|<pre>positioning = 0.3</pre>
|Percentual.
|
|1.6
|-id="repair_speed_factor"
|repair_speed_factor
|Modifies the speed at which the dockyards repair the navy.
|<pre>repair_speed_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="screening_efficiency"
|screening_efficiency
|Modifies the efficiency screen ships operate.
|<pre>screening_efficiency = 0.3</pre>
|Percentual.
|
|1.6
|-id="screening_without_screens"
|screening_without_screens
|Modifies the base screening without any screen ships assigned.
|<pre>screening_without_screens = 0.3</pre>
|Percentual.
|
|1.11
|-id="ships_at_battle_start"
|ships_at_battle_start
|Modifies the number of ships at first contact.
|<pre>ships_at_battle_start = 0.3</pre>
|Percentual.
|
|1.6
|-id="spotting_chance"
|spotting_chance
|Modifies the chance to spot enemy ships.
|<pre>spotting_chance = 0.3</pre>
|Percentual.
|
|1.6
|-id="strike_force_movement_org_loss"
|strike_force_movement_org_loss
|Modifies the organisation loss from movement during the strike force mission.
|<pre>strike_force_movement_org_loss = 0.3</pre>
|Percentual.
|
|1.6
|-id="sub_retreat_speed"
|sub_retreat_speed
|Modifies the retreat speed of submarines.
|<pre>sub_retreat_speed = 0.3</pre>
|Percentual.
|
|1.6
|-id="submarine_attack"
|submarine_attack
|Modifies the attack of submarines.
|<pre>submarine_attack = 0.3</pre>
|Percentual.
|
|1.6
|}
|}


== 海军修正==
==== Carriers and their planes ====
{{SVersion|1.6}}
{{SVersion|1.13}}
; Generic modifiers
 
{| class="wikitable sortable"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|-
|+ style="text-align: center;" width = "100%" |{{nowrap|Carrier-related country-scoped modifiers:}}<br/>
! Name
! width="10%" | Name
! Effect
! width="25%" | Effects
! Example
! width="25%" | Examples
|-
! width="20%" | Modifier type
| convoy_escort_efficiency
! width="15%" | Notes
| Modifies the efficiency of convoy escorting
! width="5%" | Version added
| convoy_escort_efficiency = 0.25
|-id="navy_carrier_air_agility_factor"
|-
|navy_carrier_air_agility_factor
| naval_retreat_chance
|Modifies the agility of airplanes executing tasks from carriers.
| Modifies the chance of a successful naval retreat
|<pre>navy_carrier_air_agility_factor = 0.3</pre>
| naval_retreat_chance = 0.2
|Percentual.
|-
|
| naval_retreat_speed
|1.6
| Modifies the speed of naval retreats
|-id="navy_carrier_air_attack_factor"
| naval_retreat_speed = 0.25
|navy_carrier_air_attack_factor
|-
|Modifies the attack of airplanes executing tasks from carriers.
| ships_at_battle_start
|<pre>navy_carrier_air_attack_factor = 0.3</pre>
| Modifies the number of ships in the first contact
|Percentual.
| ships_at_battle_start = 0.25
|
|-
|1.6
| spotting_chance
|-id="navy_carrier_air_targetting_factor"
| Modifies the chance to spot enemy ships
|navy_carrier_air_targetting_factor
| spotting_chance = 0.1
|Modifies the targeting of airplanes executing tasks from carriers.
|-
|<pre>navy_carrier_air_targetting_factor = 0.3</pre>
| navy_anti_air_attack_factor
|Percentual.
| Modifies the anti air attack of naval units
|
| navy_anti_air_attack_factor = 0.1
|1.6
|-
|-id="air_carrier_night_penalty_reduction_factor"
| sortie_efficiency
|air_carrier_night_penalty_reduction_factor
| Modifies sortie efficiency of carriers
|Modifies the reduction of the night penalty for air carriers.
| sortie_efficiency = 0.1
|<pre>air_carrier_night_penalty_reduction_factor = 0.5</pre>
|-
|Percentual.
| naval_hit_chance
|
| Modifies the overall naval hit chance
|1.0
| naval_hit_chance = 0.05
|-id="carrier_capacity_penalty_reduction"
|-
|carrier_capacity_penalty_reduction
| naval_coordination
|Modifies the penalty given by overcrowding a carrier with planes.
| Modifies the overall naval coordination
|<pre>carrier_capacity_penalty_reduction = 0.5</pre>
| naval_coordination = 0.01
|Percentual.
|-
|
| convoy_raiding_efficiency_factor
|1.6
| Modifies the efficience of commerce raiding
|-id="carrier_traffic"
| convoy_raiding_efficiency_factor = 0.1
|carrier_traffic
|-
|Modifies the traffic of carriers.
| naval_speed_factor
|<pre>carrier_traffic = 0.5</pre>
| Modifies the speed of naval units
|Percentual.
| naval_speed_factor = 0.1
|
|-
|1.6
| navy_submarine_detection_factor
|-id="sortie_efficiency"
| Modifies the chance of detecting enemy submarines
|sortie_efficiency
| navy_submarine_detection_factor = 0.1
|Modifies the speed when refueling and rearming planes on the carrier during the battle.
|-
|<pre>sortie_efficiency = 0.3</pre>
| navy_max_range_factor
|Percentual.
| Modifies the maximum range of navies
|
| navy_max_range_factor = 0.05
|1.6
|-
|-id="carrier_sortie_hours_delay"
| experience_gain_navy
|carrier_sortie_hours_delay
| Bonus to daily navy experience gain (flat number)
|Modifies the delay in hours for refueling and rearming planes on the carrier.
| experience_gain_navy = 0.05
|<pre>carrier_sortie_hours_delay = 2</pre>
|-
|Flat.
| experience_gain_navy_factor
|
| Modifies the amount of navy experience gained (percentage)
|1.12
| experience_gain_navy_factor = 0.1
|-id="carrier_night_traffic"
|carrier_night_traffic
|Modifies the traffic of carriers at night.
|<pre>carrier_night_traffic = 0.5</pre>
|Percentual.
|
|1.11
|-id="fighter_sortie_efficiency"
|fighter_sortie_efficiency
|Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
|<pre>fighter_sortie_efficiency = 0.3</pre>
|Percentual.
|
|1.6
|}
|}


; Specific modifiers
==== Air combat ====
{| class="wikitable sortable"
{{SVersion|1.13}}
|-
Note that most of these modifiers are not only in country scope but also in ace scope.
! Name
 
! Effect
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Example
|+ style="text-align: center;" width = "100%" |{{nowrap|Air-related country-scoped modifiers:}}<br/>
|-
! width="10%" | Name
| navy_carrier_air_attack_factor
! width="25%" | Effects
| Modifies the attack of planes of carriers
! width="25%" | Examples
| navy_carrier_air_attack_factor = 0.03
! width="20%" | Modifier type
|-
! width="15%" | Notes
| navy_carrier_air_targetting_factor
! width="5%" | Version added
| Modifies the defence of planes of carriers
|-id="air_accidents_factor"
| navy_carrier_air_targetting_factor = 0.03
|air_accidents_factor
|-
|Modifies the chance for air accidents to happen.
| navy_carrier_air_agility_factor
|<pre>air_accidents_factor = 0.5</pre>
| Modifies the agility of planes of carriers
|Percentual.
| navy_carrier_air_agility_factor = 0.04
|
|-
|1.0
| navy_capital_ship_attack_factor
|-id="air_ace_bonuses_factor"
| Modifies the attack of capital ships
|air_ace_bonuses_factor
| navy_capital_ship_attack_factor = 0.05
|Modifies the bonuses the aces grant.
|-
|<pre>air_ace_bonuses_factor = 0.5</pre>
| navy_capital_ship_defence_factor
|Percentual.
| Modifies the defence of capital ships
|
| navy_capital_ship_defence_factor = 0.05
|1.11
|-
|-id="air_ace_generation_chance_factor"
| navy_submarine_attack_factor
|air_ace_generation_chance_factor
| Modifies the attack of all submarine units in the navy
|Modifies the chance for aces to appear.
| navy_submarine_attack_factor = 0.2
|<pre>air_ace_generation_chance_factor = 0.5</pre>
|-
|Percentual.
| navy_submarine_defence_factor
|
| Modifies the defence of all submarine units in the navy
|1.11
| navy_submarine_defence_factor = 0.2
|-id="ace_effectiveness_factor"
|-
|ace_effectiveness_factor
| navy_screen_attack_factor
|Modifies the effectiveness of aces
| Modifies the attack of screen ships
|<pre>ace_effectiveness_factor = 0.5</pre>
| navy_screen_attack_factor = 0.05
|Percentual.
|-
|
| navy_screen_defence_factor
|1.0
| Modifies the defence of screen ships
|-id="air_agility_factor"
| navy_screen_defence_factor = 0.05
|air_agility_factor
|-
|Modifies the agility of the country's airplanes.
| naval_torpedo_range_factor
|<pre>air_agility_factor = 0.5</pre>
| Modifies the range of torpedoes
|Percentual.
| naval_torpedo_range_factor = 1
|
|1.0
|-id="air_attack_factor"
|air_attack_factor
|Modifies the attack of the country's airplanes.
|<pre>air_attack_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_defence_factor"
|air_defence_factor
|Modifies the defence of the country's airplanes.
|<pre>air_defence_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_interception_detect_factor"
|air_interception_detect_factor
|Modifies the chance of detecting an enemy plane while on interception mission.
|<pre>air_interception_detect_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="naval_strike_targetting_factor"
|naval_strike_targetting_factor
|Modifies the ability of planes to target their objectives when executing naval strikes.
|<pre>naval_strike_targetting_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="port_strike"
|port_strike
|Modifies the damage done by planes on the port strike mission.
|<pre>port_strike = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_close_air_support_org_damage_factor"
|air_close_air_support_org_damage_factor
|Modifies the damage to division organisation by planes on the close air support mission.
|<pre>air_close_air_support_org_damage_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="air_bombing_targetting"
|air_bombing_targetting
|Modifies targetting for ground bombing.
|<pre>air_bombing_targetting = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_cas_efficiency"
|air_cas_efficiency
|Modifies efficiency of close-air-support.
|<pre>air_cas_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_cas_present_factor"
|air_cas_present_factor
|Modifies impact of close-air-support in land combat.
|<pre>air_cas_present_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_escort_efficiency"
|air_escort_efficiency
|Modifies ability of planes in dogfights.
|<pre>air_escort_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_home_defence_factor"
|air_home_defence_factor
|Modifies the defence of airplanes when defending states in the home region (Connected to the country's capital by land)
|<pre>air_home_defence_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="air_intercept_efficiency"
|air_intercept_efficiency
|Modifies the efficiency of air interception.
|<pre>air_intercept_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_manpower_requirement_factor"
|air_manpower_requirement_factor
|Modifies the manpower required to deploy an airplane.
|<pre>air_manpower_requirement_factor = -0.5</pre>
|Percentual.
|
|1.11
|-id="air_maximum_speed_factor"
|air_maximum_speed_factor
|Modifies the maximum speed of the airforce.
|<pre>air_maximum_speed_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_mission_efficiency"
|air_mission_efficiency
|Modifies the efficiency of airplanes in missions.
|<pre>air_mission_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_mission_xp_gain_factor"
|air_mission_xp_gain_factor
|Modifies the experience gain for airplanes for doing missions.
|<pre>air_mission_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_nav_efficiency"
|air_nav_efficiency
|Modifies the efficiency of airplanes doing port strike and naval bombing missions.
|<pre>air_nav_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_night_penalty"
|air_night_penalty
|Modifies the penalty the airforce receives while at night.
|<pre>air_night_penalty = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_power_projection_factor"
|air_power_projection_factor
|Modifies the power projection given out by the airplanes.
|<pre>air_power_projection_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_range_factor"
|air_range_factor
|Modifies the range of the airplanes.
|<pre>air_range_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_strategic_bomber_bombing_factor"
|air_strategic_bomber_bombing_factor
|Modifies the efficiency of the strategic bombing mission.
|<pre>air_strategic_bomber_bombing_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_strategic_bomber_night_penalty"
|air_strategic_bomber_night_penalty
|Modifies the penalty for the strategic bombing mission while at night.
|<pre>air_strategic_bomber_night_penalty = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_superiority_detect_factor"
|air_superiority_detect_factor
|Modifies the chance to detect enemy planes while on the air superiority mission. Displays as Fighter Detection.
|<pre>air_superiority_detect_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_superiority_efficiency"
|air_superiority_efficiency
|Modifies the efficiency of the air superiority mission.
|<pre>air_superiority_efficiency = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_training_xp_gain_factor"
|air_training_xp_gain_factor
|Modifies the air experience gain from training.
|<pre>air_training_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="air_untrained_pilots_penalty_factor"
|air_untrained_pilots_penalty_factor
|Modifies the penalty given to airplanes which don't have enough experience.
|<pre>air_untrained_pilots_penalty_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="air_weather_penalty"
|air_weather_penalty
|Modifies the penalty the airplanes receive because of weather.
|<pre>air_weather_penalty = 0.5</pre>
|Percentual.
|
|1.0
|-id="air_wing_xp_loss_when_killed_factor"
|air_wing_xp_loss_when_killed_factor
|Modifies the experience loss of airplanes due to airplanes being shot down.
|<pre>air_wing_xp_loss_when_killed_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="army_bonus_air_superiority_factor"
|army_bonus_air_superiority_factor
|Modifies the bonus to land combat from air superiority.
|<pre>army_bonus_air_superiority_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="enemy_army_bonus_air_superiority_factor"
|enemy_army_bonus_air_superiority_factor
|Modifies the effect to land combat from enemy air superiority.
|<pre>enemy_army_bonus_air_superiority_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="ground_attack_factor"
|ground_attack_factor
|Modifies the bonus to airplane attack on enemy divisions by a percentage.
|<pre>ground_attack_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="mines_planting_by_air_factor"
|mines_planting_by_air_factor
|Modifies efficiency of airplanes planting mines.
|<pre>mines_planting_by_air_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="mines_sweeping_by_air_factor"
|mines_sweeping_by_air_factor
|Modifies efficiency of airplanes sweeping mines.
|<pre>mines_sweeping_by_air_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="strategic_bomb_visibility"
|strategic_bomb_visibility
|Modifies the chance for the enemy to detect our strategic bombers.
|<pre>strategic_bomb_visibility = 0.5</pre>
|Percentual.
|
|1.0
|-id="rocket_attack_factor"
|rocket_attack_factor
|Modifies the attack given to rockets.
|<pre>rocket_attack_factor = 0.5</pre>
|Percentual.
|
|1.0
|}
|}


== 工业修正==
==== Targeted modifiers ====
{{SVersion|1.6}}
{{SVersion|1.13}}
; Generic modifiers
These modifiers are targeted, meaning that they must be used in a block for targeted modifiers rather than regular modifiers. These include <code>targeted_modifier = { ... }</code> in ideas, traits, advisors, and decisions; [[#relation modifiers|relation modifiers]].<br/>
{| class="wikitable sortable"
A <code>targeted_modifier</code> block is structured as such:
|-
<pre>targeted_modifier = {
! Name
   tag = FROM   # this can also take a variable that stores a scope
! Effect
   attack_bonus_against = 0.1
! Example
   defense_bonus_against = 0.1
|-
}</pre>'''This is a completely separate block from <code>modifier = { ... }</code>''' in ideas, advisors, and decisions; as such it will not work when it's put inside of <code>modifier = { ... }</code>.
| production_factory_max_efficiency_factor
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
| Bonus to max factory efficiency
|+ style="text-align: center;" width = "100%" |{{nowrap|Targeted modifiers:}}<br/>
| production_factory_max_efficiency_factor = 0.1
! width="10%" | Name
|-
! width="25%" | Effects
| line_change_production_efficiency_factor
! width="25%" | Examples
| Bonus to production efficiency retention
! width="20%" | Modifier type
| line_change_production_efficiency_factor = 0.2
! width="15%" | Notes
|-
! width="5%" | Version added
| production_speed_buildings_factor
|-id="extra_trade_to_target_factor"
| Bonus to speed of overall construction
|extra_trade_to_target_factor
| production_speed_buildings_factor = 0.1
|Adds extra produced recourses available for trade to target country.
|-
|<pre>extra_trade_to_target_factor = 0.5</pre>
| conversion_cost_civ_to_mil_factor
|Percentual.
| Modifies the cost of converting civilian factories to military
|
| conversion_cost_civ_to_mil_factor = -0.2
|1.5
|-
|-id="generate_wargoal_tension_against"
| industrial_capacity_factory
|generate_wargoal_tension_against
| Overall production boost for military factories
|Changes world tension necessary for us to justify against the target country.
| industrial_capacity_factory = 0.1
|<pre>generate_wargoal_tension_against = 0.5</pre>
|-
|Flat.
| industrial_capacity_dockyard
|
| Overall production boost for dockyards
|1.5
| industrial_capacity_dockyard = 0.2
|-id="cic_to_target_factor"
|-
|cic_to_target_factor
| consumer_goods_factor
|Gives a portion of the country's civilian industry to the specified target.
| Modifies the factor of factories occupied with producing consumer goods
|<pre>cic_to_target_factor = 0.5</pre>
| consumer_goods_factor = 0.05
|Percentual.
|-
|
| production_factory_efficiency_gain_factor
|1.5
| Modifies the production efficiency gain factor
|-id="mic_to_target_factor"
| production_factory_efficiency_gain_factor = 0.05
|mic_to_target_factor
|-
|Gives a portion of the country's military industry to the specified target.
| production_factory_start_efficiency_factor
|<pre>mic_to_target_factor = 0.5</pre>
| Modifies the starting production efficiency of factories
|Percentual.
| production_factory_start_efficiency_factor = 0.05
|
|-
|1.5
| local_building_slots_factor
|-id="trade_cost_for_target_factor"
| Modifies the amount of factories that can be built in a state
|trade_cost_for_target_factor
| local_building_slots_factor = - 0.5
|The cost for the targeted country to purchase this country's resources.
|-
|<pre>trade_cost_for_target_factor = 0.5</pre>
| local_resources_factor
|Percentual.
| Modifies the resource gain efficiency
|
| local_resources_factor = 0.10
|1.5
|-
|-id="targeted_legitimacy_daily"
| production_oil_factor
|targeted_legitimacy_daily
| Changes oil production by the specified percentage. Stacks and adds up with local_resources_factor. There are no factors such as this available for the other resources.
|Changes daily gain of legitimacy of the target country.
| production_oil_factor = 0.1
|<pre>targeted_legitimacy_daily = 0.5</pre>
|-
|Flat.
| equipment_conversion_speed
|
| Modifies the speed of converting equipment
|1.6
| equipment_conversion_speed = 0.05
|-id="attack_bonus_against"
|-
|attack_bonus_against
| min_export
|Gives an attack bonus against the armies of the specified country.
| Modifies the&nbsp;% of goods that need to be exported
|<pre>attack_bonus_against = 0.5</pre>
| min_export = -0.05
|Percentual.
|-
|Due to a bug, this will not apply to units that are defending.
| global_building_slots_factor
|1.5
| Modifies the amount of factories that can be built in a state
|-id="attack_bonus_against_cores"
| global_building_slots_factor = 0.10
|attack_bonus_against_cores
|-
|Gives an attack bonus against the armies of the specified country on its core territory.
| industry_air_damage_factor
|<pre>attack_bonus_against_cores = 0.5</pre>
| Modifies the vulnerability of factories to bombs
|Percentual.
| industry_air_damage_factor = -0.1
|
|-
|1.5
| industry_free_repair_factor
|-id="breakthrough_bonus_against"
| Changes free repair speed by the specified percentage
|breakthrough_bonus_against
| industry_free_repair_factor = 1
|Gives a breakthrough bonus against the armies of the specified country.
|-
|<pre>breakthrough_bonus_against = 0.5</pre>
| industry_repair_factor
|Percentual.
| Changes repair speed by the specified percentage
|
| industry_repair_factor = 0.5
|1.5
|-id="defense_bonus_against"
|defense_bonus_against
|Gives a defense bonus against the armies of the specified country.
|<pre>defense_bonus_against = 0.5</pre>
|Percentual.
|Due to a bug, this will not apply to units that are attacking.
|1.5
|}
|}


; Specific modifiers
=== State scope ===
{| class="wikitable sortable"
Several country-scoped modifiers (such as a portion of those in the [[#Land combat|land combat section]]) unlisted here can go into state scope. A large portion of state-scoped modifiers can go into province scope.
|-
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Name
|+ style="text-align: center;" width = "100%" |{{nowrap|State-scoped modifiers:}}<br/>
! Effect
! width="10%" | Name
! Example
! width="25%" | Effects
|-
! width="25%" | Examples
| production_speed_[BUILDING NAME]_factor
! width="20%" | Modifier type
| Bonus to speed of constructing specified building, for example in Old World Blues:
! width="15%" | Notes
| production_speed_water_generator_factor = 0.1
! width="5%" | Version added
|-
|-id="army_speed_factor_for_controller"
| production_speed_arms_factory_factor
|army_speed_factor_for_controller
| Bonus to speed of constructing military factories
|Changes the division speed for the controller of the state.
| production_speed_arms_factory_factor = 0.1
|<pre>army_speed_factor_for_controller = 0.5</pre>
|-
|Percentual.
| production_speed_industrial_complex_factor
|
| Bonus to speed of constructing civilian factories
|1.0
| production_speed_industrial_complex_factor = 0.1
|-id="attrition_for_controller"
|-
|attrition_for_controller
| production_speed_bunker_factor
|Changes the attrition for the controller of the state.
| Bonus to speed of constructing land forts
|<pre>attrition_for_controller = 0.5</pre>
| production_speed_bunker_factor = 0.3
|Percentual.
|-
|
| production_speed_coastal_bunker_factor
|1.0
| Bonus to speed of constructing coastal forts
|-id="equipment_capture_for_controller"
| production_speed_coastal_bunker_factor = 0.3
|equipment_capture_for_controller
|-
|Changes the equipment capture ratio by the state's controller.
| production_speed_anti_air_building_factor
|<pre>equipment_capture_for_controller = 0.3</pre>
| Bonus to speed of constructing anti air guns
|Flat.
| production_speed_anti_air_building_factor = 0.3
|
|-
|1.13
| production_speed_dockyard_factor
|-id="equipment_capture_factor_for_controller"
| Bonus to speed of constructing dockyards
|equipment_capture_factor_for_controller
| production_speed_dockyard_factor = 0.2
|Modifies the equipment capture ratio by the state's controller.
|-
|<pre>equipment_capture_factor_for_controller = 0.3</pre>
| production_speed_naval_base_factor
|Percentual.
| Bonus to speed of constructing naval bases
|
| production_speed_naval_base_factor = 0.2
|1.13
|-
|-id="enemy_army_speed_factor"
| production_speed_air_base_factor
|enemy_army_speed_factor
| Bonus to speed of constructing air bases
|Modifies the speed of divisions at war with the state's owner.
| production_speed_air_base_factor = 0.15
|<pre>enemy_army_speed_factor = 0.3</pre>
|-
|Percentual.
| production_speed_rocket_site_factor
|
| Bonus to speed of constructing rocket sites
|1.13
| production_speed_rocket_site_factor = 0.15
|-id="enemy_local_supplies"
|-
|enemy_local_supplies
| production_speed_radar_station_factor
|Modifies the supply of divisions at war with the state's owner.
| Bonus to speed of constructing radar stations
|<pre>enemy_local_supplies = 0.3</pre>
| production_speed_radar_station_factor = 0.15
|Percentual.
|-
|
| production_speed_infrastructure_factor
|1.13
| Bonus to speed of constructing infrastructure
|-id="enemy_attrition"
| production_speed_infrastructure_factor = 0.2
|enemy_attrition
|-
|Modifies the attrition of divisions at war with the state's owner.
| production_speed_nuclear_reactor_factor
|<pre>enemy_attrition = 0.3</pre>
| Bonus to speed of constructing nuclear reactors
|Percentual.
| production_speed_nuclear_reactor_factor = 0.25
|
|-
|1.13
| production_speed_synthetic_refinery_factor
|-id="enemy_truck_attrition_factor"
| Bonus to speed of constructing synthetic refineries
|enemy_truck_attrition_factor
| production_speed_synthetic_refinery_factor = 0.1
|Modifies the truck attrition of divisions at war with the state's owner.
|<pre>enemy_truck_attrition_factor = 0.3</pre>
|Percentual.
|
|1.13
|-id="compliance_gain"
|compliance_gain
|Changes the compliance gain in the current state.
|<pre>compliance_gain = 0.01</pre>
|Flat.
|Can also go into country scope. Can also be used as a targeted modifier.
|1.9
|-id="compliance_growth"
|compliance_growth
|Changes the compliance growth speed in the current state.
|<pre>compliance_growth = 0.5</pre>
|Percentual.
|Can also go into country scope.
|1.9
|-id="country_resource_<resource>"
|country_resource_<resource>
|Directly modifies the country's resource stockpile.
|<pre>country_resource_oil = 10</pre>
|Flat.
|Can also go into country scope.
|1.0
|-id="country_resource_cost_<resource>"
|country_resource_cost_<resource>
|Directly modifies the country's resource stockpile.
|<pre>country_resource_cost_aluminium = 10</pre>
|Flat.
|Can also go into country scope.
|1.0
|-id="disable_strategic_redeployment"
|disable_strategic_redeployment
|Disables strategic redeployment in the state.
|<pre>disable_strategic_redeployment = 1</pre>
|Boolean (only 1).
|
|1.9
|-id="disable_strategic_redeployment_for_controller"
|disable_strategic_redeployment_for_controller
|Disables strategic redeployment in the state for the controller.
|<pre>disable_strategic_redeployment_for_controller = 1</pre>
|Boolean (only 1).
|
|1.9
|-id="enemy_intel_network_gain_factor_over_occupied_tag"
|enemy_intel_network_gain_factor_over_occupied_tag
|Modifies enemy intel network strength gain.
|<pre>enemy_intel_network_gain_factor_over_occupied_tag = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_building_slots"
|local_building_slots
|Modifies amount of building slots.
|<pre>local_building_slots = 2</pre>
|Flat.
|
|1.9
|-id="local_building_slots_factor"
|local_building_slots_factor
|Modifies amount of building slots by a percentage.
|<pre>local_building_slots_factor = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_factories"
|local_factories
|Modifies amount of available factories in the state.
|<pre>local_factories = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_factory_sabotage"
|local_factory_sabotage
|Modifies chance for factory sabotage.
|<pre>local_factory_sabotage = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_intel_to_enemies"
|local_intel_to_enemies
|Modifies amount of intel to enemies.
|<pre>local_intel_to_enemies = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_manpower"
|local_manpower
|Modifies amount of available manpower.
|<pre>local_manpower = 0.3</pre>
|Percentual.
|
|1.4
|-id="local_non_core_manpower"
|local_non_core_manpower
|Modifies amount of available non-core manpower.
|<pre>local_non_core_manpower = 0.3</pre>
|Percentual.
|
|1.3.3
|-id="local_org_regain"
|local_org_regain
|Modifies how much organisation is regained after combat.
|<pre>local_org_regain = -0.3</pre>
|Percentual.
|Can be used in provinces and strategic regions.
|1.0
|-id="local_resources"
|local_resources
|Modifies amount of available resources.
|<pre>local_resources = 0.3</pre>
|Flat.
|
|1.9
|-id="local_supplies"
|local_supplies
|Modifies amount of available supplies.
|<pre>local_supplies = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_supplies_for_controller"
|local_supplies_for_controller
|Modifies amount of available supplies for the controller.
|<pre>local_supplies_for_controller = 0.3</pre>
|Percentual.
|
|1.9
|-id="local_supply_impact_factor"
|local_supply_impact_factor
|Modifies the impact that the state's local supplies have.
|<pre>local_supply_impact_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="local_non_core_supply_impact_factor"
|local_non_core_supply_impact_factor
|Modifies the impact that the state's local supplies have if the state is not cored by the controller of provinces within.
|<pre>local_non_core_supply_impact_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="mobilization_speed"
|mobilization_speed
|Modifies the mobilisation speed.
|<pre>mobilization_speed = 0.3</pre>
|Percentual.
|
|1.9
|-id="non_core_manpower"
|non_core_manpower
|Modifies the amount of recruited non-core manpower.
|<pre>non_core_manpower = 0.3</pre>
|Percentual.
|
|1.9
|-id="max_fuel_building"
|max_fuel_building
|Modifies the amount of fuel capacity, in thousands, given to the state controller from the building.
|<pre>max_fuel_building = 1500</pre>
|Percentual.
|Does not have to be in a building.
|1.0
|-id="recruitable_population"
|recruitable_population
|Modifies the amount of recruited manpower.
|<pre>recruitable_population = 0.03</pre>
|Flat.
|
|1.9
|-id="recruitable_population_factor"
|recruitable_population_factor
|Modifies the amount of recruited manpower by a percentage.
|<pre>recruitable_population_factor = 0.3</pre>
|Percentual.
|
|1.9
|-id="resistance_damage_to_garrison"
|resistance_damage_to_garrison
|Modifies the amount of resistance damage to the garrison.
|<pre>resistance_damage_to_garrison = 0.3</pre>
|Percentual.
|
|1.9
|-id="resistance_decay"
|resistance_decay
|Modifies the speed of resistance decay.
|<pre>resistance_decay = 0.3</pre>
|Percentual.
|
|1.9
|-id="resistance_garrison_penetration_chance"
|resistance_garrison_penetration_chance
|Modifies the chance for the garrison to be penetrated.
|<pre>resistance_garrison_penetration_chance = 0.3</pre>
|Percentual.
|
|1.9
|-id="resistance_growth"
|resistance_growth
|Modifies the speed of the resistance growth.
|<pre>resistance_growth = 0.3</pre>
|Percentual.
|
|1.9
|-id="resistance_target"
|resistance_target
|Modifies the target of the resistance growth.
|<pre>resistance_target = 0.3</pre>
|Percentual.
|
|1.9
|-id="starting_compliance"
|starting_compliance
|Modifies the base compliance value.
|<pre>starting_compliance = 0.3</pre>
|Percentual.
|
|1.9
|-id="state_production_speed_<building>_factor"
|state_production_speed_<building>_factor
|Modifies the building speed of the specified building in the state.
|<pre>state_production_speed_industrial_complex_factor = 0.3</pre>
|Percentual.
|Use state_production_speed_buildings_factor for it to apply to all buildings. (added in 1.9)
|1.9.1
|-id="state_repair_speed_<building>_factor"
|state_repair_speed_<building>_factor
|Modifies the repair speed of the specified building in the state.
|<pre>state_repair_speed_industrial_complex_factor = 0.3</pre>
|Percentual.
|
|1.9.1
|-id="state_resource_<resource>"
|state_resource_<resource>
|Modifies the amount of the specified resource in the state.
|<pre>state_resource_oil = 5</pre>
|Flat.
|
|1.0
|-id="state_resources_factor"
|state_resources_factor
|Modifies the amount of resources in a state.
|<pre>state_resources_factor = 0.2</pre>
|Percentual.
|
|1.9
|-id="state_resource_cost_<resource>"
|state_resource_cost_<resource>
|Modifies the amount of the specified resource in the state.
|<pre>state_resource_cost_rubber = 5</pre>
|Flat.
|
|1.9
|-id="temporary_state_resource_<resource>"
|temporary_state_resource_<resource>
|Modifies the amount of the specified resource in the state as an added modifier after the base one.
|<pre>temporary_state_resource_tungsten = 5</pre>
|Flat.
|
|1.0
|-id="enemy_operative_detection_chance_over_occupied_tag"
|enemy_operative_detection_chance_over_occupied_tag
|Offsets the chance for an enemy operative to be detected for the tag that occupies this state.
|<pre>enemy_operative_detection_chance_over_occupied_tag = 5</pre>
|Flat.
|
|1.9
|-id="enemy_operative_detection_chance_factor_over_occupied_tag"
|enemy_operative_detection_chance_factor_over_occupied_tag
|Modifies the chance for an enemy operative to be detected for the tag that occupies this state.
|<pre>enemy_operative_detection_chance_factor_over_occupied_tag = 0.5</pre>
|Percentual.
|
|1.9
|}
|}


== 其他修正==
=== Unit leader scope ===
{{SVersion|1.6}}
 
{| class="wikitable sortable"
Note that most modifiers in land and naval combat sections also apply.
|-
 
! Name
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! Effect
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-scoped modifiers:}}<br/>
! Example
! width="10%" | Name
|-
! width="25%" | Effects
| research_speed_factor
! width="25%" | Examples
| Overall research speed bonus. Ex. 0.1 means 10% reduced research time with -0.1 being 10% increased research time. Thus the more positive a number is, the better.
! width="20%" | Modifier type
| research_speed_factor = 0.05
! width="15%" | Notes
|-
! width="5%" | Version added
| Research time reductions
|-id="cannot_use_abilities"
| When researching specific technologies or technology categories, add_tech_bonus is used along with the category you want to have a&nbsp;% reduced research time in.
|cannot_use_abilities
| add_tech_bonus = {<br>
|Disables using abilities.
name = GER_industrial_research<br>
|<pre>cannot_use_abilities = 1</pre>
bonus = 1<br>
|Boolean (only 1).
uses = 1<br>
|
category = industry<br>
|1.5
}
|-id="dont_lose_dig_in_on_attack"
|-
|dont_lose_dig_in_on_attack
| MONTHLY_POPULATION
|Disables losing the entrechment bonus during attack.
| Changes monthly population growth by the specified percentage
|<pre>dont_lose_dig_in_on_attack = 1</pre>
| MONTHLY_POPULATION = 0.5
|Boolean (only 1).
|-
|
| nuclear_production_factor
|1.5
| Changes nuke production by the specified percentage
|-id="exiled_divisions_attack_factor"
| nuclear_production_factor = 0.1
|exiled_divisions_attack_factor
|Modifies the attack of divisions led by this unit leader if they're exiled.
|<pre>exiled_divisions_attack_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="exiled_divisions_defense_factor"
|exiled_divisions_defense_factor
|Modifies the defence of divisions led by this unit leader if they're exiled.
|<pre>exiled_divisions_defense_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="own_exiled_divisions_attack_factor"
|own_exiled_divisions_attack_factor
|Modifies the attack of divisions led by this unit leader if they're exiled and belong to the same country.
|<pre>own_exiled_divisions_attack_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="own_exiled_divisions_defense_factor"
|own_exiled_divisions_defense_factor
|Modifies the defence of divisions led by this unit leader if they're exiled and belong to the same country.
|<pre>own_exiled_divisions_defense_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="experience_gain_factor"
|experience_gain_factor
|Modifies the experience gained by the unit leader.
|<pre>experience_gain_factor = 0.1</pre>
|Percentual.
|
|1.5
|-id="fortification_collateral_chance"
|fortification_collateral_chance
|Chance for combat to damage enemy forts.
|<pre>fortification_collateral_chance = 0.4</pre>
|Percentual.
|
|1.5
|-id="fortification_damage"
|fortification_damage
|Damage enemy forts receive from combat.
|<pre>fortification_damage = 0.4</pre>
|Percentual.
|
|1.5
|-id="max_commander_army_size"
|max_commander_army_size
|Modifies amount of divisions that can be led by the army leader without penalty.
|<pre>max_commander_army_size = 12</pre>
|Flat.
|
|1.5
|-id="max_army_group_size"
|max_army_group_size
|Modifies amount of army groups that can be led by the field marshal without penalty.
|<pre>max_army_group_size = 1</pre>
|Flat.
|
|1.5
|-id="paradrop_organization_factor"
|paradrop_organization_factor
|The amount of organisation paratroopers will have after paradropping.
|<pre>paradrop_organization_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="paratrooper_aa_defense"
|paratrooper_aa_defense
|The strength of anti-air against paratroopers.
|<pre>paratrooper_aa_defense = 0.5</pre>
|Percentual.
|
|1.5
|-id="paratrooper_weight_factor"
|paratrooper_weight_factor
|Paratrooper transport space factor.
|<pre>paratrooper_weight_factor = 0.5</pre>
|Percentual.
|Can also be used in country scope.
|1.13
|-id="promote_cost_factor"
|promote_cost_factor
|The cost to promote the unit leader.
|<pre>promote_cost_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="reassignment_duration_factor"
|reassignment_duration_factor
|The length of the reassignment penalty.
|<pre>reassignment_duration_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="river_crossing_factor"
|river_crossing_factor
|The effects of the river crossing penalty.
|<pre>river_crossing_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="sickness_chance"
|sickness_chance
|The chance for the unit leader to get sick.
|<pre>sickness_chance = 0.5</pre>
|Percentual.
|
|1.5
|-id="skill_bonus_factor"
|skill_bonus_factor
|The bonus the unit leader receives from their skillset.
|<pre>skill_bonus_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="trait_xp_gain_factor"
|trait_<trait>_xp_gain_factor
|Modifies the experience gain towards the specified trait.
|<pre>trait_infantry_leader_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="terrain_trait_xp_gain_factor"
|terrain_trait_xp_gain_factor
|Modifies the experience gain towards all terrain traits (With the type of either basic_terrain_trait or assignable_terrain_trait).
|<pre>terrain_trait_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="wounded_chance_factor"
|wounded_chance_factor
|The chance for the unit leader to get wounded.
|<pre>wounded_chance_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="shore_bombardment_bonus"
|shore_bombardment_bonus
|Modifies the penalty given by the shore bombardment on divisions.
|<pre>shore_bombardment_bonus = 0.5</pre>
|Percentual.
|Can apply to both army and navy leaders.
|1.5
|}
|}


=== Strategic region scope ===
This is limited to [[#static modifiers|static modifiers]] defined for weather.
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Strategic region-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="air_accidents"
|air_accidents
|Base chance for an air accident to happen.
|<pre>air_accidents = 0.3</pre>
|Flat.
|
|1.0
|-id="air_detection"
|air_detection
|Base chance for air detection.
|<pre>air_detection = -0.1</pre>
|Flat.
|
|1.0
|-id="naval_strike"
|naval_strike
|Base efficiency for naval strikes.
|<pre>naval_strike = -0.1</pre>
|Flat.
|
|1.0
|-id="navy_casualty_on_sink"
|navy_casualty_on_sink
|Modifies the casualties when ships are sunk in this region.
|<pre>navy_casualty_on_sink = -0.1</pre>
|Percentual.
|
|1.6
|-id="navy_casualty_on_hit"
|navy_casualty_on_hit
|Modifies the casualties when ships are damaged in this region.
|<pre>navy_casualty_on_hit = -0.1</pre>
|Percentual.
|
|1.6
|}
== Notes and references ==
{{cnote|a|2=A few modifiers, such as [[#consumer_goods_factor|consumer_goods_factor]], instead get added in a multiplicative fashion.<ref>[[forum:1593911|Developer Diary {{!}} Small Features #1]], 1.13 [[developer diary]].</ref> What this means is that, for example, <code>consumer_goods_factor = 0.1</code> and <code>consumer_goods_factor = 0.2</code> as separate ideas don't sum up to a 0.3 bonus, but instead multiply the consumer goods by <math>(1 + 0.1)(1 + 0.2) = 1.1 \cdot 1.2 = 1.32</math>, resulting in a 32% increase instead of 30%.}}
<references/>
{{Modding navbox}}
{{Modding navbox}}
[[Category:Modding]]
[[ 分类:Modding]]

2024年9月8日 (日) 01:18的最新版本

A modifier is essentially a variable used in internal calculations. However, unlike Defines, modifiers are dynamically changeable within any modifier block. In general, modifiers are typically used to create a consistent and long-lasting effect that can be easily reversed.
Each modifier has the exact same layout: modifier_name = 0.1. This adds the specified value to the modifier's total value for the scope where it is applied.[a] For example, assuming that there are no other modifiers changing that to the country, having political_power_gain = 0.2 and political_power_gain = -0.05 applied to the country (potentially in different modifier blocks) will result in a total of +0.15 political power gain above the base gain. Due to how modifiers work, a modifier with the value of 0 will always do nothing. This also means that negative modifiers will always work and have the opposite effect of positive modifiers.
A modifier's current total value can be received as a variable by reading modifier@modifier_name, such as set_variable = { my_var = modifier@political_power_gain }. This works for countries and states, but for unit leaders, unit_modifier@modifier_name and leader_modifier@modifier_name is used instead.

The following are not modifiers, even if they are similar:

  • Research bonuses allowing to grant a boost to a specific technology category. This is, instead, an argument within ideas, which can be applied in the same way for advisors, but not elsewhere.
  • Equipment bonuses, such as decreasing the cost to build an equipment archetype. Similarly, this is an argument within ideas, which can be applied in the same way for advisors and country leader traits, but not elsewhere.
  • Opinion modifiers, which can be applied to change the opinion (including trade influence) within countries, defined in /Hearts of Iron IV/common/opinion_modifiers/*.txt files.

Applying a modifier

There are a large variety of ways to apply modifiers, but these are the primary ones:

  • Ideas - This primarily includes but is not limited to national spirits and hidden ideas. These are the simplest way to add a modifier to a country by using an effect block, such as a national focus reward, by using add_ideas or add_timed_idea. These only work for countries.
  • Dynamic modifiers - This is similar to ideas (Showing up in the same screen for countries), but they accept variables and can also be applied on states and unit leaders. These are the primary way to add modifiers to a state.
  • Traits:
    • Country leader traits - These can be added to ideas (including advisors which function similarly) and country leaders, which'll apply on the country.
    • Unit leader traits - These can be added to unit leaders and apply effects on the leaders themselves or their units. These are the primary way to add a modifier to a unit leader.
  • Static modifiers:
    • Global modifiers - These are entirely hard-coded on when they apply, such as those used for stability and war support bonuses. However, these can be changed in what they apply.
    • Provincial modifiers - These are the primary if not the only way to apply a modifier towards a specific province.
    • Relation modifiers - These are the only way to apply a targeted modifier from one country towards the other without needing to specify a specific country tag within the targeted modifier block.

Each modifier follows the same structure of being assigned a number, such as the following formatting within many blocks that support modifiers, such as anything listed above:

modifier = { # While this is present in, for example, ideas or decisions, it's equally likely to see is modifier = { ... } being omitted entirely in other entries, such as country leader traits.
    political_power_gain = 0.1
    disabled_ideas = 1
}

No modifiers can have a non-numeric value, including boolean ones that must be 1 to have any effect. Note that modifiers do not support if statements. The closest replica possible of one are dynamic modifiers, which allow using variables.

Tooltip modification

Modifier blocks support, within them, the hidden_modifier = { ... } block, which can be used to provent the modifiers within from showing up in the tooltip. Additionally, custom_modifier_tooltip = localisation_key_tt can be used to add a custom localisation string to appear within the localisation as one of the modifiers. In combination, this will look like the following:

modifier = {
    hidden_modifier = {
        political_power_gain = 0.1
    }
    custom_modifier_tooltip = political_power_gain_tt
}

Custom modifier tooltips do not support dynamic commands, which includes anything that uses square brackets.

Dynamic modifiers

If you want to apply a consistent modifier to a country, it's easier to use ideas instead.

Dynamic modifiers, defined in /Hearts of Iron IV/common/dynamic_modifiers/*.txt files, are a type to apply modifiers that accept variables. The modifiers are updated daily, unless the force_update_dynamic_modifier effect is used to forcefully refresh the impact of modifiers. They can be applied to both countries and states, in case of the latter, the variable must be defined for the state, not for the country-owner or controller. They can also be applied to unit leaders.

Unlike ideas, there is no way to reload definitions of dynamic modifiers via debug mode or console, any changes to their definitions require a game restart to apply in-game. Additionally, due to the daily refresh of the variable check, these are more poorly optimised than ideas are. Due to this, when it's feasible to not use variables for a country-scoped dynamic modifier, it's both easier and more optimised to use national spirits instead.

The dynamic modifiers are evaluated daily for each scope. The process consists of the following:

  • At the beginning of each day, each variable modifier value for each dynamic modifier is temporarily reset to 0, even if the null-coalescing operator is used to assume a different number as the default. Constant values do not get reset.
  • Dynamic modifiers are then evaluated in the order that they were given to the scope with add_dynamic_modifier.
  • The variable values inside of a dynamic modifier are assumed to be 0 until every variable inside is calculated. This includes those that rely on other modifiers, which includes the modifier@modifier_name game variable or MTTH variables that utilise that game variable.
  • After the variables are calculated for a single dynamic modifier, the modifiers apply to the scope with the dynamic modifier and the game moves onto the next dynamic modifier added to the current scope until each one is calculated.

Arguments

  • icon decides what is the icon used for the dynamic modifier. The icon uses a sprite defined in any /Hearts of Iron IV/interface/*.gfx file. If the icon is not specified, it will be hidden.
  • enable decides when exactly the dynamic modifier's modifiers apply. If the dynamic modifier is set, but the country or state it's set to does not fulfill the requirements, its effects will not apply. Optional.
  • remove_trigger will automatically remove the dynamic modifier upon the triggers being met. Optional.
  • attacker_modifier will, if set to true within a state-scoped dynamic modifier, additionally makes the modifier apply to divisions that, while not being present in the state with the dynamic modifier, are attacking an enemy located on that state. Optional, defaults to false.

Modifiers are put directly inside the dynamic modifier as a list. Non-modifier idea attributes such as equipment_bonus or research_bonus are impossible to use inside of dynamic modifiers.

Example

dynamic_modifier_name = {
    icon = GFX_idea_unknown
    enable = { always = yes }
    remove_trigger = {
        NOT = {
            has_variable = var_name
        }
    }
    political_power_gain = var_name # Variable value
    weekly_manpower = 1000 # Constant value
    stability_factor = GER.stability_var # Checks specifically GER's variable, regardless of where the modifier is applied
}

Adding a dynamic modifier

Dynamic modifiers are added via the add_dynamic_modifier effect. A typical addition of a dynamic modifier looks like the following:

add_dynamic_modifier = { modifier = dynamic_modifier_name }

Since dynamic modifiers do not have assigned scopes, the same modifier can be assigned to either a country, a state, a unit leader, or several at once – this is decided only by where the add_dynamic_modifier effect is executed.

Within GUI, a dynamic modifier will take up these places if visible:

  • For a country, a dynamic modifier will show up in the list of national spirits, appearing after the regular spirits.
  • For a state, a dynamic modifier will show up in the special section for them in the bottom of the selected state view, marked with dynamic_modifiers_grid in /Hearts of Iron IV/interface/countrystateview.gui.

When adding a dynamic modifier, it is also possible to make it be timed or make it use a different scope as the variable's base. For example, the following code will apply dynamic_modifier_name to GER for 30 days, but the variables will be read off POL:

GER = {
    add_dynamic_modifier = {
        modifier = dynamic_modifier_name
        scope = POL  # The modifier itself will be applied to GER, but the variables will be read off POL.
        days = 30
    }
}

In particular, assuming that dynamic_modifier_name is the example dynamic modifier created previously, if you do set_variable = { POL.var_name = 0.3 }, then the dynamic modifier assigned to GER as the result of this effect will give 0.3 daily political power gain. However, if the dynamic modifier scopes into ROOT for the variable as political_power_gain = ROOT.var_name, then set_variable = { GER.var_name = 0.3 } would be done.

A dynamic modifier is removed via remove_dynamic_modifier, phrased similarly to add_dynamic_modifier: remove_dynamic_modifier = { modifier = dynamic_modifier_name }. If, when added, the dynamic modifier had a scope assigned to it, the scope will have to be specified when removing it as well.

Modifiers that use variables will not show up in the tooltip of add_dynamic_modifier, while those that are set to a static value will. While this may make the dynamic modifier appear broken when only reading the tooltip, this will not be actually the case once it gets added. In this case, the tooltip of the effect can be changed, with the effect adding the dynamic modifier hidden.

Static modifiers

Static modifiers are stored in /Hearts of Iron IV/common/modifiers/*.txt files, where each code block within is a modifier block with the name being the ID of the static modifier. There are 5 main categories of static modifiers:

Global modifiers

Global modifiers are applied by the hard-coded game features. Their names mustn't be changed, as the code uses them internally, but their effects can be edited. Examples of global modifiers are the penalty for non-core states or the effects of stability and war support.

Difficulty modifiers

These are applied within /Hearts of Iron IV/common/difficulty_settings/*.txt files. This is used in the menu to strengthen specific countries at the game's start within game rules. If there are no difficulty settings defined, the menu will not be possible to open.
Each difficulty setting is defined as a difficulty_setting = { ... } block, which must lie within an overarching difficulty_settings = { ... } block. The following arguments can go into difficulty settings:

  • key = localisation_key is the localisation key used as the name of the difficulty setting as it shows up in the game rules menu/
  • modifier = static_modifier sets the static modifier to be used by this difficulty setting.
  • countries = { ... } is a whitespace-separated list of country tags for which the difficulty setting applies.
  • multiplier = 2.0 is a value by which the static modifier gets multiplied at the max value. As there are 5 levels for each difficulty rule, including 0, this gets split into quarters for each level, with the second being a quarter, the third being a half, and the fourth being three quarters.

An example of a difficulty setting file is the following:

difficulty_settings = {
    difficulty_setting = {
        key = difficulty_weaken_GER
        modifier = weaken_country
        countries = { GER }
        multiplier = 2.0
    }
    difficulty_setting = {
        key = difficulty_weaken_SOV
        modifier = weaken_country
        countries = { SOV UKR BLR }
        multiplier = 2.0
    }
}

Relation modifiers

Not to be confused with opinion modifiers. The relation modifiers apply a targeted modifier from one country towards an another one, automatically removed when the trigger is met. ROOT is the country that the modifier is applied to and FROM is the target. An example would be:

test_relation_modifier = {
	valid_relation_trigger = {
		FROM = {
			has_government = ROOT		# same ruling party as ROOT
		}
	}
	compliance_gain = 0.2				# FROM's states have 20% more compliance gain when controlled by ROOT
}

They can be added by the add_relation_modifier effect, used as such:

add_relation_modifier = {
	target = TAG
	modifier = test_relation_modifier
}

remove_relation_modifier, which works similarly, can remove them.

Province modifiers

Province modifiers apply a modifier to a specific province rather than a state. They can be applied via the add_province_modifier effect, and removed with remove_province_modifier. More info on how to use these can be seen in the effects page.
An example definition looks like

mod_modifier = { 
	army_speed_factor = -0.5
	army_defence_factor = 0.5
	dig_in_speed_factor = 0.5
}

Many state-scope modifiers will work in province scope as well. In order to make the GFX in GUI, you first need to edit /Hearts of Iron IV/interface/countrystateview.gui. The icon must be defined inside custom_icon_container, similarly to other examples. An example definition looks like

iconType = {
	name = "<modifier name>_icon"
	spriteType = "GFX_modifiers_<modifier name>_icon"
	position = { x = 0 y = 0 }
	Orientation = "UPPER_LEFT"			
}

The spriteType you have defined needs to be defined in /Hearts of Iron IV/interface/*.gfx similarly to this example:

spriteType = {
	name = "GFX_modifiers_<modifier name>_icon"
	textureFile = "gfx/interface/modifiers_<modifier name>_icon.dds"
}

Balance of power modifiers

Balance of power modifiers typically include within of themselves the power_balance_daily and/or power_balance_weekly modifiers in order to gradually tip the balance towards one side. For example,

my_bop_modifier = {
    power_balance_weekly = -0.01 # Changes by 1% each week to the left, in the range of -1 to 1.
}

Balance of power modifiers are added via the add_power_balance_modifier effect as such:

add_power_balance_modifier = {
    id = my_bop    # The ID of the balance of power
    modifier = my_bop_modifier # The modifier to add
}

The remove_power_balance_modifier effect, with the same syntax, or remove_all_power_balance_modifiers can be used to remove these from the country.

Modifier definitions

Modifier definitions allow the creation of a custom modifier, which can be accessed as a variable when you wish to use it. After being defined, they function entirely like a new variable, being possible to read as a variable with the same modifier@modifier_name procedure. They will not have any effect by default and function only as a way to change the variable's value in an additive way with modifier blocks.
Each modifier token is defined within /Hearts of Iron IV/common/modifier_definitions/*.txt files as a separate code block, where the name of the code block serves as the ID of the modifier definition. There are the following arguments that can go inside of it:

  • color_type = good decides the colour of the modifier's value itself. There are three values, good, bad, and neutral. neutral is permamently yellow, while good turns the positive values green and negative values red. bad is the reversal of good.
  • value_type = percentage decides the way the number will show up in the tooltip. There are the following values this argument can be set to:
    • number will make the exact value of the modifier show up. 0.02 will show up like "Modifier definition: 0.02".
    • percentage will make the modifier show up as a percentage on the scale from 0 to 1. 0.2 will show up like "Modifier token: 20%".
    • percentage_in_hundred will make the modifier show up as a percentage on the scale from 0 to 100. 10 will show up like "Modifier token: 10%".
    • yes_no shows up as a boolean: anything larger than 1 will shows up as yes, while 0 will show up as no.
  • precision = 1 decides how many numbers will be shown after the period in the tooltip. For example, if it is set to 1, the tooltip will show 0.341 as if it was 0.3. Note that the game inherently does not support more than 3 decimal numbers, so it cannot be larger than 3.
  • postfix decides what will be added after the value of the modifier in the tooltip. Allowed values are 'none' (Default), 'days', 'hours', and 'daily'.
  • category decides on the category of the modifier. By default, the category is 'all', which makes it be in every single category. Certain tooltips will only show modifiers if they belong to a certain category. It is possible to set multiple categories for the same modifier definition by defining them one after another.
The allowed values are 'none', 'all', 'country', 'state', 'unit_leader', 'army', 'naval', 'air', 'peace', 'politics', 'ai', 'defensive', 'aggressive', 'war_production', 'military_advancements', 'military_equipment', 'autonomy', 'government_in_exile', and 'intelligence_agency'.

The modifier definition's ID is also used as the localisation key needed to change the name of the modifier depending on the currently turned on language.

Examples

modifier_definition_example = {
	color_type = good
	value_type = number
	precision = 1
	postfix = daily
	
	category = country
	category = state
}
modifier_definition_example_2 = {
    color_type = bad
    value_type = percentage
}

Using in variables

The function of modifier definitions is to modify the value of a game variable, which can be read by other variables. You can set a variable to be equal to the sum of all values of the same modifier token in the current scope by doing set_variable = { var_name = modifier@modifier_token_name }. This example will set var_name to be equal to the total value of modifier_token_name.

Note that, unlike countries and states, unit leaders use leader_modifier@modifier_definition_name or unit_modifier@modifier_definition_name in their scopes.

Example usage of making a modifier token create civilian factories in random core states monthly, in any on action file:

Example
on_actions = {
    on_monthly = {
        effect = {
            if = {
                limit = {
                    check_variable = { modifier@modifier_definition_example > 0 }
                }
                for_loop_effect = {
                    start = 0
                    end = modifier@modifier_definition_example
                    random_owned_controlled_state = {
                        limit = {
                            is_core_of = ROOT
                            free_building_slots = {
                                building = industrial_complex
                                size > 0
                                include_locked = no
                            }
                        }
                        add_building_construction = {
                            type = industrial_complex
                            level = 1
                            instant_build = yes
                        }
                    }
                }
            }
        }
    }
}


Opinion modifiers

Despite their name, opinion modifiers are not related to modifiers in any way, instead they are used to modify the diplomatic or economic relations between a pair of countries.

The opinion modifiers are made in any /Hearts of Iron IV/common/opinion_modifiers/*.txt file as an entry in the opinion_modifiers = { ... } block, with the name of the entry being the ID of the opinion modifier. In case of there being several entries with the same ID, the one that was evaluated later based on the filename and order in files will take priority, meaning that copying a base game file is never necessary in a mod.

There are the following attributes that are used in opinion modifiers:

  • trade = yes is used to decide whether the opinion modifier changes the diplomatic relations or the trade opinion from one country to another. If unset, defaults to being false making it diplomatic.
  • value = -10 is the value of the modifier that decides by how much the diplomatic or trade opinion should change once the opinion modifier is added.
  • decay = 1 details the speed at which the opinion modifier trends towards zero monthly. Optional, defaults to the modifier not changing if unset.
  • days = 10 | months = 2 | years = 1 decides the time for how much the opinion modifier should last before it will get automatically removed. A month is interpreted as exactly 30 days, while a year is 365. Optional, the modifier will be permanent if neither is set.
  • min_trust = 10 | max_trust = -10 detail the minimum and maximum value that the opinion modifier can change to. As the only non-hardcoded way to change the value of an existing opinion modifier is through decay, this can be used to limit how far it can apply.

The localisation is created in any /Hearts of Iron IV/localisation/english/*_l_english.yml file encoded in UTF-8 using the byte order mark (aka UTF-8-BOM), with the localisation key being the name of the modifier.

Examples

Inside of a new /Hearts of Iron IV/common/opinion_modifiers/*.txt file:

opinion_modifiers = {
    test_trade_modifier = {
        trade = yes
        value = -100    # Provides -100 trade opinion for 2 months
        months = 2
    }
    test_diplomatic_modifier = {
        value = 20      # Provides +20 diplomatic opinion that decays by 0.5 per month
        decay = 0.5
    }
}

Inside of a new /Hearts of Iron IV/localisation/english/*_l_english.yml file:

l_english:
 test_trade_modifier: "Testing trade modifier"
 test_diplomatic_modifier: "Testing diplomatic modifier"

Implementation

New opinion modifiers can only be added using the add_opinion_modifier effect (or the similar reverse_add_opinion_modifier) in any effect block, such as a focus reward, a country history file, or an idea's on_add and on_remove. Similarly, already applied new opinion modifiers can only be removed with remove_opinion_modifier. When add_opinion_modifier is used to apply an opinion modifier, only the country where the effect is executed will change its opinion towards the target.

There is no way to use a modifier block to directly apply an opinion modifier, but it can be simulated by adding or removing an opinion modifier at the same time the modifier block's effects are. For example, this national spirit would simulate applying an opinion modifier towards every other country that has the idea:

Example code of a national spirit that uses opinion modifiers
ideas = {
    country = {
        idea_opinion_modifier = {
            on_add = { # Note: Doesn't work if the idea is added within country history or a bookmark's effect.
                every_other_country = { # If it's added in country history, then replicate the effects there as well.
                    limit = {
                        has_idea = idea_opinion_modifier
                    }
                    add_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier
                    }
                    reverse_add_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier 
                    }
                }
            }
            on_remove = {
                every_other_country = {
                    limit = {
                        has_idea = idea_opinion_modifier
                    }
                    remove_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier
                    }
                    ROOT = {
                        remove_opinion_modifier = {
                            target = PREV
                            modifier = test_diplomatic_modifier 
                        }
                    }
                }
            }
            modifier = {
                custom_modifier_tooltip = add_opinion_modifier_tt # Since on_add/on_remove aren't shown to the player
            }
        }
    }
}


List of modifiers

The list of modifiers may be outdated. A complete, but unsorted, list of modifiers can be found in /Hearts of Iron IV/documentation/modifiers_documentation.html or /Hearts of Iron IV/documentation/modifiers_documentation.md.

Country scope

General

General country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
monthly_population Changes the monthly population gain in states owned by the country.
monthly_population = 0.5
Percentual. Does not work with states. 1.0
nuclear_production Enables the production of nukes.
nuclear_production = 1
Boolean (only 1). 1.0
nuclear_production_factor Changes speed at which nukes are produced.
nuclear_production_factor = 0.5
Percentual. Works in state scope, in which case it'll apply to the owner. 1.0
research_sharing_per_country_bonus Changes the bonus in research speed per country when technology sharing.
research_sharing_per_country_bonus = 0.5
Flat. 1.3
research_sharing_per_country_bonus_factor Changes the bonus in research speed per country when technology sharing by a percentage.
research_sharing_per_country_bonus_factor = 0.5
Percentual. 1.3
research_speed_factor Changes the research speed.
research_speed_factor = 0.5
Percentual. 1.0
local_resources_factor Resource extraction efficiency. Modifies the amount of available resources.
local_resources_factor = 0.3
Percentual. 1.0
surrender_limit Changes the percentage of victory points the country needs to lose control of to capitulate.
surrender_limit = 0.1
Percentual. The larger, the more victory points are needed to capitulate a country. 1.0
max_surrender_limit_offset Controls the maximum surrender progress of a nation.
max_surrender_limit_offset = 0.3
Flat. For example, 0.4 means that the country cannot require more than 60% victory points to capitulate, no matter the surrender_limit. 1.9
forced_surrender_limit Changes the percentage of victory points the country needs to lose control of to capitulate, bypassing the minimum or maximum.
forced_surrender_limit = 0.1
Percentual. The larger, the more victory points are needed to capitulate a country. Applied after the minimum and maximum are applied, leading to making it possible to have it below 20% or above the maximum defined with max_surrender_limit_offset. 1.0

Politics

Political country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
min_export Changes the amount of resources to market.
min_export = 0.5
Flat. 1.0
trade_opinion_factor Makes AI more likely to purchase resources from this country.
trade_opinion_factor = 0.5
Percentual. 1.0
defensive_war_stability_factor Changes the penalty to the stability invoked by participating in a defensive war.
defensive_war_stability_factor = 0.5
Percentual. 1.0
disabled_ideas Disables manually changing ideas (including ministers and laws).
disabled_ideas = 1
Boolean (only 1). 1.9
<idea|character slot>_cost_factor Changes the cost in political power to add an idea or character within the specified slot.
political_advisor_cost_factor = 0.5
Percentual. Idea slots can be found in common/idea_tags. Requires an idea or a character of that category to be present in an earlier-evaluated file. 1.4
<idea category type>_category_type_cost_factor Changes the cost in political power to add an idea within any of the categories with the specified type.
air_spirit_category_type_cost_factor = 0.5
Percentual. Idea category definitions can be found in /Hearts of Iron IV/common/idea_tags/*.txt files, a type is assigned with type = army_spirit. 1.10
<ledger>_advisor_cost_factor Changes the cost in political power to add an advisor assigned the specified military ledger.
air_advisor_cost_factor = 0.5
Percentual. Ledgers are assigned to categories and characters in common/idea_tags and common/ideas. Modifier works with air, army, and navy. 1.11
unit_leader_as_advisor_cp_cost_factor Changes the cost in command power to turn a unit leader into an advisor.
unit_leader_as_advisor_cp_cost_factor = 0.5
Percentual. 1.11
improve_relations_maintain_cost_factor Changes the cost in political power to maintain improvement of relations.
improve_relations_maintain_cost_factor = 0.5
Percentual. 1.4
female_random_country_leader_chance Changes the chance for a randomly-generated country leader to be female.
female_random_country_leader_chance = 0.3
Percentual. 1.0
offensive_war_stability_factor Modifies the stability penalty received from participating in an offensive war.
offensive_war_stability_factor = 0.3
Percentual. 1.0
party_popularity_stability_factor Modifies the stability gained by the popularity of the ruling party.
party_popularity_stability_factor = 0.3
Percentual. 1.0
political_power_cost Daily cost in political power.
political_power_cost = 0.3
Flat. 1.0
political_power_gain Modifies daily gain in political power.
political_power_gain = 0.3
Flat. 1.0
political_power_factor Modifies daily gain in political power by a percentage.
political_power_factor = 0.3
Percentual. 1.0
stability_factor Modifies stability of the country.
stability_factor = 0.3
Flat. 1.0
stability_weekly Modifies weekly stability gain of the country.
stability_weekly = 0.01
Flat. 1.0
stability_weekly_factor Modifies weekly stability gain of the country by a percentage.
stability_weekly_factor = 0.3
Percentual. 1.0
war_stability_factor Modifies the stability loss caused by being at war.
war_stability_factor = 0.3
Percentual. 1.0
war_support_factor Modifies war support of the country.
war_support_factor = 0.3
Flat. 1.0
war_support_weekly Modifies weekly war support gain of the country.
war_support_weekly = 0.01
Flat. 1.0
war_support_weekly_factor Modifies weekly war support gain of the country by a percentage.
war_support_weekly_factor = 0.3
Percentual. 1.0
weekly_casualties_war_support Modifies weekly war support gain of the country depending on the casualties suffered by it.
weekly_casualties_war_support = 0.006
Percentual. 1.12
weekly_convoys_war_support Modifies weekly war support gain of the country depending on the amount of its convoys that have been sunk.
weekly_convoys_war_support = 0.006
Percentual. 1.12
weekly_bombing_war_support Modifies weekly war support gain of the country depending on the enemy bombing of its states.
weekly_bombing_war_support = 0.006
Percentual. 1.12
drift_defence_factor Ideology drift defense.
drift_defence_factor = 0.3
Percentual. 1.0
power_balance_daily Pushes the power balance by a specified amount on each day.
power_balance_daily = 0.01
Flat. Positive values result in it being pushed right, while negatives result in it being pushed left. 1.12
power_balance_weekly Pushes the power balance by a specified amount on each week.
power_balance_weekly = 0.01
Flat. Positive values result in it being pushed right, while negatives result in it being pushed left. 1.12
<ideology>_drift Daily gain of the specified ideology.
communism_drift = 0.03
Flat. 1.0
<ideology>_acceptance Likelihood of AI to accept offers from countries of the specified ideology.
fascism_acceptance = 50
Flat. 1.0

Diplomacy

Diplomatic country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
civil_war_involvement_tension Changes the world tension amount necessary to intervene in an ally's civil war.
civil_war_involvement_tension = 0.5
Flat. 1.0
enemy_declare_war_tension Changes the world tension required for an enemy to justify a wargoal on us.
enemy_declare_war_tension = 0.5
Flat. 1.0
enemy_justify_war_goal_time Changes the time required for an enemy to justify a wargoal on us.
enemy_justify_war_goal_time = 0.5
Percentual. This also modifies the cost in political power. 1.0
faction_trade_opinion_factor Changes the opinion gain gained by trade between faction members.
faction_trade_opinion_factor = 0.5
Percentual. 1.0
generate_wargoal_tension Changes the necessary tension for us to generate a wargoal.
generate_wargoal_tension = 0.3
Flat. 1.0
guarantee_cost Cost in political power for the country to guarantee an another country.
guarantee_cost = 0.3
Percentual. 1.4
guarantee_tension Necessary world tension for the country to guarantee an another country.
guarantee_tension = 0.3
Flat. 1.0
join_faction_tension Necessary world tension for the country to join a faction.
join_faction_tension = 0.3
Flat. 1.0
justify_war_goal_time The amount of time necessary to justify a wargoal.
justify_war_goal_time = 0.3
Percentual. This also modifies the cost in political power. 1.0
justify_war_goal_when_in_major_war_time The amount of time necessary to justify a wargoal when in a war with a major country.
justify_war_goal_when_in_major_war_time = 0.3
Percentual. This also modifies the cost in political power. 1.0
lend_lease_tension Necessary world tension for the country to lend-lease.
lend_lease_tension = 0.3
Flat. 1.0
lend_lease_tension_with_overlord Necessary world tension for the country to lend-lease to its overlord.
lend_lease_tension_with_overlord = 0.3
Flat. 1.13
opinion_gain_monthly Changes opinion gain from the 'Improve relations' diplomatic action.
opinion_gain_monthly = 5
Flat. 1.0
opinion_gain_monthly_factor Changes opinion gain from the 'Improve relations' diplomatic action by a percentage.
opinion_gain_monthly_factor = 0.3
Percentual. 1.0
opinion_gain_monthly_same_ideology Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology.
opinion_gain_monthly_same_ideology = 5
Flat. 1.0
opinion_gain_monthly_same_ideology_factor Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology by a percentage.
opinion_gain_monthly_same_ideology_factor = 0.3
Percentual. 1.0
request_lease_tension Necessary world tension for the country to request lend-lease.
request_lease_tension = 0.3
Percentual. 1.9
annex_cost_factor Modifies the cost in victory points to annex states in peace deals.
annex_cost_factor = 0.1
Percentual. 1.0
puppet_cost_factor Modifies the cost in victory points per state to puppet countries in peace deals.
puppet_cost_factor = 0.1
Percentual. 1.0
send_volunteer_divisions_required Changes the number of divisions needed to send volunteers.
send_volunteer_divisions_required = -0.3
Percentual. 1.0
send_volunteer_factor Changes the number of divisions the country can send as volunteers by a percentage.
send_volunteer_factor = 0.3
Percentual. 1.0
send_volunteer_size Changes the number of divisions the country can send as volunteers.
send_volunteer_size = 5
Flat. 1.0
send_volunteers_tension Changes the world tension necessary for the country to send volunteers.
send_volunteers_tension = -0.1
Flat. 1.0
air_volunteer_cap Changes the amount of airforce you can send as volunteers.
air_volunteer_cap = 100
Flat. 1.5
embargo_threshold_factor Changes the necessary world tension level in order to be able to embargo a country.
embargo_threshold_factor = 0.2
Percentual. 1.12
embargo_cost_factor Changes the cost in political power to send an embargo.
embargo_cost_factor = 0.3
Percentual. 1.12

Autonomy

Autonomy-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
autonomy_gain Daily gain of autonomy.
autonomy_gain = 0.5
Flat. A positive number increase total autonomy, meaning the SUBJECT can be free faster. A negative number decrease total autonomy, meaning the OVERLORD can annex the manpower-slaves faster. 1.3
autonomy_gain_global_factor Modifies all gain of autonomy by a subject.
autonomy_gain_global_factor = 0.5
Percentual. 1.4
subjects_autonomy_gain Daily gain of autonomy in our subjects.
subjects_autonomy_gain = 0.5
Flat. 1.3
autonomy_gain_ll_to_overlord Modifies gain of autonomy from lend-leasing to the overworld.
autonomy_gain_ll_to_overlord = 0.5
Flat. 1.3
autonomy_gain_ll_to_overlord_factor Modifies gain of autonomy from lend-leasing to the overlord by a percentage.
autonomy_gain_ll_to_overlord_factor = 0.5
Percentual. 1.3
autonomy_gain_ll_to_subject Modifies loss of autonomy from lend-leasing to the subject.
autonomy_gain_ll_to_subject = 0.5
Flat. 1.3
autonomy_gain_ll_to_subject_factor Modifies loss of autonomy from lend-leasing to the subject by a percentage.
autonomy_gain_ll_to_subject_factor = 0.5
Percentual. 1.3
autonomy_gain_trade Modifies gain of autonomy from the overlord trading with the subject.
autonomy_gain_trade = 0.5
Flat. 1.3
autonomy_gain_trade_factor Modifies gain of autonomy from the overlord trading with the subject by a percentage.
autonomy_gain_trade_factor = 0.5
Percentual. 1.3
autonomy_gain_warscore Modifies gain of autonomy from the subject gaining warscore.
autonomy_gain_warscore = 0.5
Flat. 1.3
autonomy_gain_warscore_factor Modifies gain of autonomy from the subject gaining warscore by a percentage.
autonomy_gain_warscore_factor = 0.5
Percentual. 1.3
autonomy_manpower_share Modifies the amount of manpower the overlord can use from the subject.
autonomy_manpower_share = 0.5
Percentual. 1.3
can_master_build_for_us Makes the overlord be able to build in the subject.
can_master_build_for_us = 1
Boolean (only 1). 1.3
cic_to_overlord_factor Modifies the amount of the subject's civilian industry that goes to the overlord.
cic_to_overlord_factor = 0.3
Percentual. 1.3
mic_to_overlord_factor Modifies the amount of the subject's military industry that goes to the overlord.
mic_to_overlord_factor = 0.3
Percentual. 1.3
extra_trade_to_overlord_factor Modifies the amount of the subject's resources that the overlord can receive via trade.
extra_trade_to_overlord_factor = 0.3
Percentual. 1.3
license_subject_master_purchase_cost Modifies the cost of licensed production from the overlord.
license_subject_master_purchase_cost = 0.3
Percentual. 1.4
master_build_autonomy_factor Modifies loss of autonomy from the overlord building in subject's states by a percentage.
master_build_autonomy_factor = 0.3
Percentual. 1.3
master_ideology_drift Changes daily gain of the overlord's ideology in the country.
master_ideology_drift = 0.03
Flat. 1.6
overlord_trade_cost_factor Modifies the cost of trade between the overlord and the subject in civilian factories.
overlord_trade_cost_factor = -0.3
Percentual. 1.3

Governments in exile

Government-in-exile-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
dockyard_donations Amount of dockyards donated.
dockyard_donations = 2
Flat. 1.6
industrial_factory_donations Amount of civilian factories donated.
industrial_factory_donations = 2
Flat. 1.6
military_factory_donations Amount of military factories donated.
military_factory_donations = 2
Flat. 1.6
exile_manpower_factor Amount of manpower given to the host country.
exile_manpower_factor = 0.5
Percentual. 1.6
exiled_government_weekly_manpower Amount of weekly manpower given to the host country.
exiled_government_weekly_manpower = 100
Percentual. 1.11
legitimacy_daily Changes the amount of legitimacy gained daily.
legitimacy_daily = 1
Flat. 1.6
legitimacy_gain_factor Changes the amount of legitimacy gained daily by a percentage.
legitimacy_gain_factor = 1
Percentual. 1.9

Equipment

Equipment-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
equipment_capture Changes the combat equipment capture ratio.
equipment_capture = 0.2
Flat. 1.0
equipment_capture_factor Modifies the combat equipment capture ratio.
equipment_capture_factor = 0.5 
Percentual. 1.0
equipment_conversion_speed Changes the speed at which equipment is converted.
equipment_conversion_speed = 0.5 
Percentual. 1.0
equipment_upgrade_xp_cost Changes the experience cost to upgrade military equipment.
equipment_upgrade_xp_cost = 0.5 
Percentual. 1.0
license_purchase_cost Changes the cost of licensed equipment by a percentage.
license_purchase_cost = 0.5 
Percentual. Can be used as a targeted modifier. 1.4
license_purchase_cost_factor Changes the cost of licensed equipment by a percentage.
license_purchase_cost_factor = 0.5 
Percentual. Allowed equipment types are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier. 1.4
license_purchase_cost_factor Changes the cost of licensed equipment by a percentage.
license_purchase_cost_factor = 0.5 
Percentual. Allowed categories are air, armor, infantry, and naval. Can be used as a targeted modifier. 1.4
license_tech_difference_speed Changes the production penalty of licensed equipment by tech difference by a percentage.
license_tech_difference_speed = 0.5 
Percentual. Also allows specifying category as license_<category>_tech_difference_speed_factor. Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. That's added in 1.6. Can be used as a targeted modifier. 1.4
license_production_speed Changes the production speed of licensed equipment by a percentage.
license_production_speed = 0.5 
Percentual. Can be used as a targeted modifier. 1.4
license_<category>_production_speed_factor Changes the production speed of licensed equipment by a percentage.
license_infantry_eq_production_speed_factor = 0.5 
Percentual. Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier. 1.6
production_cost_max_<ship type> Modifies the maximum cost of the ship type.
production_cost_max_ship_hull_light = 0.3
Percentual. Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine 1.6
production_factory_efficiency_gain_factor Production efficiency growth.
production_factory_efficiency_gain_factor = 0.5 
Percentual. 1.0
production_factory_max_efficiency_factor Production efficiency cap.
production_factory_max_efficiency_factor = 0.5 
Percentual. 1.0
production_factory_start_efficiency_factor Production efficiency base.
production_factory_start_efficiency_factor = 0.5 
Percentual. 1.0
line_change_production_efficiency_factor Production efficiency retention.
line_change_production_efficiency_factor = 0.3
Percentual. 1.0
production_lack_of_resource_penalty_factor Lack of resources penalty.
production_lack_of_resource_penalty_factor = 0.5 
Percentual. 1.0
floating_harbor_duration Modifies the duration of floating harbours.
floating_harbor_duration = 2
Flat. 1.11
floating_harbor_range Modifies the range of floating harbours.
floating_harbor_range = 2
Flat. 1.11
floating_harbor_supply Modifies the supply of floating harbours.
floating_harbor_supply = 2
Flat. 1.11
railway_gun_bombardment_factor Modifies the bombardment of railway guns.
railway_gun_bombardment_factor = 0.3
Percentual. 1.11

Fuel and supply

Supply-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
base_fuel_gain Changes base daily gain of fuel.
base_fuel_gain = 100
Flat. 1.6
base_fuel_gain_factor Changes base daily gain of fuel by a percentage.
base_fuel_gain_factor = 0.5
Percentual. 1.6
fuel_cost Changes daily cost of fuel.
fuel_cost = 100
Flat. 1.6
fuel_gain Changes daily gain of fuel from our controlled oil.
fuel_gain = 100
Flat. 1.6
fuel_gain_factor Changes daily gain of fuel from our controlled oil by a percentage.
fuel_gain_factor = 100
Percentual. 1.6
fuel_gain_from_states Changes daily gain of fuel.
fuel_gain_from_states = 100
Flat. Refineries use this modifier. 1.6
fuel_gain_factor_from_states Changes daily gain of fuel by a percentage.
fuel_gain_factor_from_states = 0.5
Percentual. Modifies fuel gain from refineries. 1.6
max_fuel Changes maximum amount of fuel you can have.
max_fuel = 100
Flat. 1.6
max_fuel_factor Changes maximum amount of fuel you can have by a percentage.
max_fuel_factor = 0.3 
Percentual. 1.6
army_fuel_capacity_factor Modifies how much fuel a single unit can store before running out.
army_fuel_capacity_factor = 0.3
Percentual. 1.6
army_fuel_consumption_factor Modifies the rate at which the army consumes fuel.
army_fuel_consumption_factor = 0.3
Percentual. 1.6
air_fuel_consumption_factor Modifies the rate at which the airforce consumes fuel.
air_fuel_consumption_factor = 0.5
Percentual. 1.6
supply_factor Modifies the total amount of supply the military has.
supply_factor = 0.3
Percentual. 1.11
supply_combat_penalties_on_core_factor Modifies the penalty given by low supply when the army is on a core state.
supply_combat_penalties_on_core_factor = 0.3
Percentual. 1.11
supply_consumption_factor Modifies the rate at which army consumes supply.
supply_consumption_factor = 0.3
Percentual. 1.0
no_supply_grace Modifies the grace period for units without supply.
no_supply_grace = 120
Flat. 1.0
out_of_supply_factor Reduces the penalty that units take when they run out of supplies.
out_of_supply_factor = 0.2
Percentual. 1.0
attrition Modifies the army's attrition.
attrition = 0.3
Percentual. Can also be used in states or provinces. 1.0
unit_upkeep_attrition_factor Modifies the unit upkeep.
unit_upkeep_attrition_factor = 0.3
Percentual. 1.0
heat_attrition Changes the attrition due to heat.
heat_attrition = 0.5
Flat. 1.3
heat_attrition_factor Changes the attrition due to heat by a percentage.
heat_attrition_factor = 0.5
Percentual. 1.3
winter_attrition Changes the attrition due to winter.
winter_attrition = 0.5
Flat. 1.3
winter_attrition_factor Changes the attrition due to winter by a percentage.
winter_attrition_factor = 0.5
Percentual. 1.3
extra_marine_supply_grace Changes the supply grace given to marines.
extra_marine_supply_grace = 96
Flat. 1.0
extra_paratrooper_supply_grace Changes the supply grace given to paratroopers.
extra_paratrooper_supply_grace = 96
Flat. 1.0
special_forces_no_supply_grace Changes the supply grace period for special forces.
special_forces_no_supply_grace = 120
Flat. 1.0
special_forces_out_of_supply_factor Changes the penalty for special forces out of supply.
special_forces_out_of_supply_factor = 0.3
Percentual. 1.0
truck_attrition Changes the attrition supply trucks suffer from.
truck_attrition = 3
Flat. 1.11
truck_attrition_factor Modifies the attrition supply trucks suffer from.
truck_attrition_factor = 0.3
Percentual. 1.11

Buildings

Building-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
production_speed_buildings_factor Changes the construction speed of all buildings.
production_speed_buildings_factor = 0.5 
Percentual. 1.0
production_speed_<building>_factor Changes the construction speed of a specific building.
production_speed_industrial_complex_factor = 0.5 
Percentual. 1.0
production_cost_<building>_factor Changes the base cost of a specific building.
production_cost_industrial_complex_factor = -0.1
Percentual. Localization is missing and must be added yourself. Unknown
civilian_factory_use Uses the specified amount of civilian factory as a special project.
civilian_factory_use = 3
Flat. 1.5
consumer_goods_factor Modifies the percentage of factories used for consumer goods.
consumer_goods_factor = 0.1
Multiplicative. The modifier adds multiplicatively. For example, consumer_goods_factor = 0.5 and consumer_goods_factor = -0.5 will, in total, multiply the consumer goods value by [math]\displaystyle{ (1 - 0.5)(1 + 0.5) = 0.5\cdot 1.5 = 0.75 }[/math]. 1.0
consumer_goods_expected_value Sets the baseline percentage of expected consumer goods.
consumer_goods_expected_value = 0.1
Flat. Only updates when the economy law of the country changes. 1.13
conversion_cost_civ_to_mil_factor Changes the cost to convert civilian factories to military factories.
conversion_cost_civ_to_mil_factor = 0.4
Percentual. 1.5
conversion_cost_mil_to_civ_factor Changes the cost to convert military factories to civilian factories.
conversion_cost_mil_to_civ_factor = 0.4
Percentual. 1.5
global_building_slots Changes amount of building slots in our every state.
global_building_slots = 1
Flat. 1.0
global_building_slots_factor Changes amount of building slots in our every state by a percentage.
global_building_slots_factor = 0.3
Percentual. 1.0
industrial_capacity_dockyard Dockyard output.
industrial_capacity_dockyard = 0.3
Percentual. 1.3.3
industrial_capacity_factory Military factory output.
industrial_capacity_factory = 0.3
Percentual. 1.0
industry_air_damage_factor Amount of damage our factories receive from air bombings.
industry_air_damage_factor = 0.3
Percentual. 1.0
industry_free_repair_factor Changes the speed at which buildings repair themselves without factories assigned.
industry_free_repair_factor = 0.3
Percentual. 1.0
industry_repair_factor Changes the speed at which buildings are repaired.
industry_repair_factor = 0.3
Percentual. 1.0
production_oil_factor Synthetic oil gain.
production_oil_factor = 0.5 
Percentual. 1.0
repair_speed_<building>_factor Changes the repair speed of a specific building.
repair_speed_arms_factory_factor = 0.5 
Percentual. 1.0
supply_node_range Increases the effective range of supply nodes.
supply_node_range = 0.1
Percentual. 1.11
static_anti_air_damage_factor Modifies the damage done to planes by the anti-air buildings.
static_anti_air_damage_factor = 0.1
Percentual. 1.0
static_anti_air_hit_chance_factor Modifies the chance for the anti-air buildings to hit enemy planes.
static_anti_air_hit_chance_factor = 0.1
Percentual. 1.0
tech_air_damage_factor Modifies the damage done to the country's planes by enemy anti-air buildings.
tech_air_damage_factor = 0.1
Percentual. 1.0
tech_air_damage_factor Modifies the damage done to the country's planes by enemy anti-air buildings.
tech_air_damage_factor = 0.1
Percentual. 1.0
cic_construction_boost Modifies the base construction speed from civilian factories.
cic_construction_boost = 0.1
Flat. 1.13
cic_construction_boost_factor Modifies the modifier to the base construction speed from civilian factories.
cic_construction_boost_factor = 0.1
Percentual. 1.13
land_bunker_effectiveness_factor Modifies the effectiveness of land forts in defence.
land_bunker_effectiveness_factor = 0.1
Percentual. 1.13
coastal_bunker_effectiveness_factor Modifies the effectiveness of coastal forts in defence.
coastal_bunker_effectiveness_factor = 0.1
Percentual. 1.13

Resistance and compliance

Resistance-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
compliance_growth_on_our_occupied_states Changes the compliance growth speed on the country's controlled states.
compliance_growth_on_our_occupied_states = 0.5
Percentual. 1.9
no_compliance_gain Disables the compliance gain on our controlled states.
no_compliance_gain = 1
Boolean (only 1). Can also be used in state scope. 1.9
required_garrison_factor Changes the required garrison in our occupied states.
required_garrison_factor = 0.5
Percentual. Can also be used in state scope. 1.9
resistance_activity Changes the chance for resistance activity to occur on our occupied states.
resistance_activity = 0.5
Percentual. 1.9
resistance_damage_to_garrison_on_our_occupied_states Changes the resistance damage to the garrison in our occupied states.
resistance_damage_to_garrison_on_our_occupied_states = 0.5
Percentual. 1.9
resistance_decay_on_our_occupied_states Changes the resistance decay in our occupied states.
resistance_decay_on_our_occupied_states = 0.5
Percentual. 1.9
resistance_growth_on_our_occupied_states Changes the resistance growth speed in our occupied states.
resistance_growth_on_our_occupied_states = 0.5
Percentual. 1.9
resistance_target_on_our_occupied_states Changes the resistance target in our occupied states.
resistance_target_on_our_occupied_states = 0.5
Percentual. 1.9
resistance_target Changes the resistance target in foreign states occupied by us
resistance_target = 0.5
Percentual 1.9

Intelligence

Intelligence-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
agency_upgrade_time Changes the time it takes to upgrade the agency
agency_upgrade_time = 0.5
Percentual. 1.9
decryption Changes the decription capability of the country.
decryption = 1
Flat. Only works with the 抵抗运动抵抗运动 DLC disabled. 1.0
decryption_factor Changes the decription capability of the country by a percentage.
decryption_factor = 0.5
Percentual. Only works with the 抵抗运动抵抗运动 DLC disabled. 1.0
encryption Changes the encryption capability of the country.
encryption = 1
Flat. Only works with the 抵抗运动抵抗运动 DLC disabled. 1.0
encryption_factor Changes the encryption capability of the country by a percentage.
encryption_factor = 0.5
Percentual. Only works with the 抵抗运动抵抗运动 DLC disabled. 1.0
<type>_intel_decryption_bonus Adds a cipher bonus to the specified intel.
civilian_intel_decryption_bonus = 0.5
Percentual. Types are: airforce, army, civilian, navy. 1.9
<type>_intel_factor Modifies the intelligence you receive of the specified type.
navy_intel_factor = 0.5
Percentual. Types are: airforce, army, civilian, navy. 1.9
<type>_intel_to_others Changes the amount of intel other countries will receive of the specified type.
civilian_intel_to_others = 0.5
Percentual. Types are: airforce, army, civilian, navy. 1.9
female_random_operative_chance Changes the chance for a randomly-generated operative to be female.
female_random_operative_chance = 0.3
Percentual. 1.9.1
foreign_subversive_activites Changes efficiency of foreign subversive activities.
foreign_subversive_activites = 0.3
Percentual. 1.9
intel_network_gain Changes gain of intel network strength.
intel_network_gain = 1
Flat. Can also be used in state scope. 1.9
intel_network_gain_factor Changes gain of intel network strength by a percentage.
intel_network_gain_factor = 0.5
Percentual. Can also be used in state scope. 1.9
subversive_activites_upkeep Changes the cost of subversive activities.
subversive_activites_upkeep = 0.5
Percentual. 1.0
operation_cost Changes the cost of operations.
operation_cost = 0.5
Percentual. Dynamically created by operations with the cost_modifiers = { ... } block. This one is used by each base game operation to modify the operation cost. 1.9
operation_outcome Changes the efficiency of operations.
operation_outcome = 0.5
Percentual. Dynamically created by operations with the outcome_modifiers = { ... } block. This one is used by each base game operation to modify the operation's outcome chance. 1.9
operation_risk Changes the risk of operations.
operation_risk = 0.5
Percentual. Dynamically created by operations with the risk_modifiers = { ... } block. This one is used by each base game operation to modify the operation risk. 1.9
<operation>_cost Changes the cost of the specified operation.
operation_infiltrate_cost = 0.5
Percentual. Operations are defined in /Hearts of Iron IV/common/operations/*.txt. Dynamically created by operations with the cost_modifiers = { ... } block. 1.9
<operation>_outcome Changes the efficiency of the specified operation.
operation_coup_government_outcome = 0.5
Percentual. Operations are defined in /Hearts of Iron IV/common/operations/*.txt. Dynamically created by operations with the outcome_modifiers = { ... } block. Note that target_sabotage uses target_sabotage_factor rather than target_sabotage_outcome. 1.9
<operation>_risk Changes the risk of the specified operation.
operation_make_resistance_contacts_risk = 0.5
Percentual. Operations are defined in /Hearts of Iron IV/common/operations/*.txt. Dynamically created by operations with the risk_modifiers = { ... } block. 1.9
<mission>_factor Modifies the effect of the specified mission.
boost_ideology_mission_factor = 0.5
Percentual. Types are: boost_ideology_mission, boost_resistance, control_trade_mission, diplomatic_pressure_mission, propaganda_mission, root_out_resistance_effectiveness. 1.9
commando_trait_chance_factor Modifies the chance for an operative to get the commando trait when hired.
commando_trait_chance_factor = 0.5
Percentual. 1.9
crypto_department_enabled Enables the crypto department.
crypto_department_enabled = 1
Boolean (only 1). 1.9
crypto_strength Modifies the cryptology level.
crypto_strength = 1
Flat. 抵抗运动抵抗运动 DLC enabled. 1.9
decryption_power Modifies the decryption power.
decryption_power = 1
Flat. 抵抗运动抵抗运动 DLC enabled. 1.9
decryption_power_factor Modifies the decryption power by a percentage.
decryption_power_factor = 0.3
Percentual. 抵抗运动抵抗运动 DLC enabled. 1.9
defense_impact_on_blueprint_stealing Modifies the impact of enemy defense on the blueprint stealing operation.
defense_impact_on_blueprint_stealing = 0.3
Percentual. 1.9
intel_from_combat_factor Modifies the intelligence gained from combat.
intel_from_combat_factor = 0.3
Percentual. 1.9
intel_from_operatives_factor Modifies the intelligence gained from operatives and infiltrated assets.
intel_from_operatives_factor = 0.3
Percentual. 1.9
intel_network_gain Modifies the intelligence network gain.
intel_network_gain = 0.3
Flat. 1.9
intel_network_gain_factor Modifies the intelligence network gain by a percentage.
intel_network_gain_factor = 0.3
Percentual. 1.9
intelligence_agency_defense Modifies the counter intelligence.
intelligence_agency_defense = 0.3
Flat. 1.9
root_out_resistance_effectiveness_factor Modifies the effectiveness of rooting out resistance.
root_out_resistance_effectiveness_factor = 0.3
Percentual. 1.9

Operatives

These can be used in both the country scope and operative scope, such as traits, unless specified otherwise.

Operative-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
own_operative_capture_chance_factor Changes the chance for our operatives to be captured.
own_operative_capture_chance_factor = 0.5
Percentual. 1.9
own_operative_detection_chance Changes the chance for our operatives to be detected.
own_operative_detection_chance = 10
Flat. 1.9
own_operative_detection_chance_factor Changes the chance for our operatives to be detected by a percentage.
own_operative_detection_chance_factor = 0.5
Percentual. 1.9
own_operative_forced_into_hiding_time_factor Changes the chance for our operatives to be forced into hiding by a percentage.
own_operative_forced_into_hiding_time_factor = 0.5
Percentual. 1.9
own_operative_harmed_time_factor Changes the chance for our operatives to be harmed by a percentage.
own_operative_harmed_time_factor = 0.5
Percentual. 1.9
own_operative_intel_extraction_rate Changes the rate at which our operatives extract enemy intel.
own_operative_intel_extraction_rate = 0.5
Percentual. 1.9
enemy_operative_capture_chance_factor Changes the chance for an enemy operative to be captured.
enemy_operative_capture_chance_factor = 0.5
Percentual. 1.9
enemy_operative_detection_chance Changes the chance for an enemy operative to be detected.
enemy_operative_detection_chance = 10
Flat. 1.9
enemy_operative_detection_chance_factor Changes the chance for an enemy operative to be detected by a percentage.
enemy_operative_detection_chance_factor = 0.5
Percentual. 1.9
enemy_operative_forced_into_hiding_time_factor Changes the chance for an enemy operative to be forced into hiding by a percentage.
enemy_operative_forced_into_hiding_time_factor = 0.5
Percentual. 1.9
enemy_operative_harmed_time_factor Changes the chance for an enemy operative to be harmed by a percentage.
enemy_operative_harmed_time_factor = 0.5
Percentual. 1.9
enemy_operative_intel_extraction_rate Changes the rate at which the enemy operatives extract our intel.
enemy_operative_intel_extraction_rate = 0.5
Percentual. 1.9
enemy_spy_negative_status_factor Changes the chance an enemy spy can receive a negative status.
enemy_spy_negative_status_factor = 0.5
Percentual. 1.9
enemy_operative_recruitment_chance Modifies the chance to recruit an enemy operative.
enemy_operative_recruitment_chance = 0.3
Percentual. Cannot be used in operative scope. 1.9
new_operative_slot_bonus Modifies the operative recruitment choices.
new_operative_slot_bonus = 1
Flat. Cannot be used in operative scope. 1.9
occupied_operative_recruitment_chance Modifies the chance to get an operative from occupied territory.
occupied_operative_recruitment_chance = 0.3
Percentual. Cannot be used in operative scope. 1.9
operative_death_on_capture_chance Modifies the chance for the country's operative to die on being captured.
operative_death_on_capture_chance = 0.3
Percentual. Cannot be used in operative scope. 1.9
operative_slot Modifies the amount of operative slots.
operative_slot = 1
Flat. Cannot be used in operative scope. 1.9

AI

AI-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
ai_badass_factor AI's threat perception.
ai_badass_factor = 0.5
Percentual. 1.0
ai_call_ally_desire_factor Chance for AI to call allies.
ai_call_ally_desire_factor = 0.5
Percentual. 1.0
ai_desired_divisions_factor The amount of divisions AI seeks to produce.
ai_desired_divisions_factor = 0.5
Percentual. 1.0
ai_focus_aggressive_factor AI's focus on offense.
ai_focus_aggressive_factor = 0.5
Percentual. 1.0
ai_focus_defense_factor AI's focus on defense.
ai_focus_defense_factor = 0.5
Percentual. 1.0
ai_focus_aviation_factor AI's focus on aviation.
ai_focus_aviation_factor = 0.5
Percentual. 1.0
ai_focus_military_advancements_factor AI's focus on advanced military technologies.
ai_focus_military_advancements_factor = 0.5
Percentual. 1.0
ai_focus_military_equipment_factor AI's focus on advanced military equipment.
ai_focus_military_equipment_factor = 0.5
Percentual. 1.0
ai_focus_naval_air_factor AI's focus on building naval airforce.
ai_focus_naval_air_factor = 0.5
Percentual. 1.0
ai_focus_naval_factor AI's focus on building a navy.
ai_focus_naval_factor = 0.5
Percentual. 1.0
ai_focus_peaceful_factor AI's focus on peaceful research and policies.
ai_focus_peaceful_factor = 0.5
Percentual. 1.0
ai_focus_war_production_factor AI's focus on wartime production.
ai_focus_war_production_factor = 0.5
Percentual. 1.0
ai_get_ally_desire_factor AI's desire to be in or expand a faction.
ai_get_ally_desire_factor = 0.5
Percentual. 1.0
ai_join_ally_desire_factor AI's desire to join the wars led by allies.
ai_join_ally_desire_factor = 0.5
Percentual. 1.0
ai_license_acceptance AI's chance to agree licensing equipment.
ai_license_acceptance = 0.5
Percentual. Can be used as a targeted modifier. 1.4

Military outside of combat

Military-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
command_power_gain Changes the daily gain of command power.
command_power_gain = 0.5
Flat. 1.5
command_power_gain_mult Changes the daily gain of command power by a percentage.
command_power_gain_mult = 0.5
Percentual. 1.5
conscription Changes the recruitable percentage of the total population.
conscription = 0.02
Flat. 1.0
conscription_factor Changes the recruitable percentage of the total population by a percent.
conscription_factor = 0.3
Percentual. 1.0
experience_gain_army Modifies the daily gain of army experience.
experience_gain_army = 0.5
Flat. 1.0
experience_gain_army_factor Modifies the gain of army experience by a percentage.
experience_gain_army_factor = 0.5
Percentual. 1.0
experience_gain_navy Modifies the daily gain of naval experience.
experience_gain_navy = 0.02
Flat. 1.0
experience_gain_navy_factor Modifies the gain of naval experience by a percentage.
experience_gain_navy_factor = 0.3
Percentual. 1.0
experience_gain_air Modifies the daily gain of air experience.
experience_gain_air = 0.05
Flat. 1.0
experience_gain_air_factor Modifies the daily gain of air experience by a percentage.
experience_gain_air_factor = 0.5
Percentual. 1.0
land_equipment_upgrade_xp_cost Changes the experience cost to upgrade land army equipment.
land_equipment_upgrade_xp_cost = 0.3
Percentual. 1.0
land_reinforce_rate Changes the rate at which reinforcements to divisions arrive.
land_reinforce_rate = 0.3
Percentual. 1.0
max_command_power Changes maximum command power.
max_command_power = 20
Flat. 1.5
max_command_power_mult Changes maximum command power by a percentage.
max_command_power_mult = 0.3 
Percentual. 1.5
weekly_manpower Amount of manpower gained each week.
weekly_manpower = 1000 
Flat. 1.6
refit_ic_cost The IC cost to refit naval equipment.
refit_ic_cost = 20
Flat. 1.6
refit_speed The speed at which naval equipment is refitted.
refit_speed = 0.5
Percentual. 1.6
air_equipment_upgrade_xp_cost Changes the air experience cost to upgrade equipment.
air_equipment_upgrade_xp_cost = 0.5
Percentual. 1.0
training_time_factor Modifies the training time for both army and navy.
training_time_factor = 0.3
Percentual. 1.0
minimum_training_level Changes training level necessary for the unit to deploy.
minimum_training_level = 0.3 
Percentual. 1.0
max_training Modifies the required experience to achieve full training.
max_training = -0.3
Percentual. 1.0
training_time_army_factor Modifies the training time for the army.
training_time_army_factor = 0.3
Percentual. 1.0
special_forces_training_time_factor Changes the time it takes to train special forces.
special_forces_training_time_factor = 0.3
Percentual. 1.0
<land/air/naval>_doctrine_cost_factor Changes the cost of buying a new doctrine of the specified type.
land_doctrine_cost_factor = -0.05
Percentual. 1.11
<doctrine category>_cost_factor Modifies the cost of buying a new doctrine of the specified category.
cat_mobile_warfare_cost_factor = 0.3
Percentual. Doctrines are defined in /Hearts of Iron IV/common/technologies/*.txt. 1.11
choose_preferred_tactics_cost Changes the cost to choose a preferred tactic.
choose_preferred_tactics_cost = 5
Flat. 1.11
command_abilities_cost_factor Changes the cost to choose a command ability.
command_abilities_cost_factor = -0.3
Percentual. 1.11
transport_capacity Modifies how many convoys units require to be transported over sea.
transport_capacity = 0.3
Percentual. 1.0
paratroopers_special_forces_contribution_factor Modifies how much paratroopers contribute to the limit of special forces on a template.
paratroopers_special_forces_contribution_factor = 0.3
Percentual. 1.13
marines_special_forces_contribution_factor Modifies how much marines contribute to the limit of special forces on a template.
marines_special_forces_contribution_factor = 0.3
Percentual. 1.13
mountaineers_special_forces_contribution_factor Modifies how much mountaineers contribute to the limit of special forces on a template.
mountaineers_special_forces_contribution_factor = 0.3
Percentual. 1.13
special_forces_cap_flat Modifies how many special forces sub-units can be put into a single template.
special_forces_cap_flat = 10
Percentual. 1.13
additional_brigade_column_size Changes the amount of maximum unlocked slots on each brigade column in division templates.
additional_brigade_column_size = 1
Flat. 1.13
unit_<unit type>_design_cost_factor Modifies how much experience it costs to add a brigade of the specified type to a template.
unit_artillery_brigade_design_cost_factor = 0.3
Percentual. Brigades are defined in /Hearts of Iron IV/common/units/*.txt 1.11
<equipment archetype>_design_cost_factor Modifies how much experience it costs to add upgrades or modules to a specified equipment archetype.
strat_bomber_equipment_design_cost_factor = 0.3
ship_hull_heavy_design_cost_factor = -0.2
Percentual. Equipment archetypes are defined in /Hearts of Iron IV/common/units/equipment/*.txt 1.11
module_<module type>_design_cost_factor Modifies how much experience it costs to add a module of the specified type to equipment.
module_tank_torsion_bar_suspension_design_cost_factor = 0.3
Percentual. Modules are defined in /Hearts of Iron IV/common/units/equipment/modules/*.txt 1.11

MIOs

These are modifiers related to military industrial organisations.

MIO-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
military_industrial_organization_research_bonus Modifies the research bonus granted by MIOs.
military_industrial_organization_research_bonus = 0.3
Percentual. 1.13
military_industrial_organization_design_team_assign_cost Modifies the political power cost to assign a design team.
military_industrial_organization_design_team_assign_cost = 30
Flat. 1.13
military_industrial_organization_design_team_change_cost Modifies the political power cost to change a design team.
military_industrial_organization_design_team_change_cost = 20
Flat. 1.13
military_industrial_organization_industrial_manufacturer_assign_cost Modifies the political power cost to assign an industrial manufacturer.
military_industrial_organization_industrial_manufacturer_assign_cost = 10
Flat. 1.13
military_industrial_organization_task_capacity Modifies the amount of tasks possible to assign to the MIO.
military_industrial_organization_task_capacity = 2
Flat. 1.13
military_industrial_organization_size_up_requirement Modifies the requirement to size up a MIO.
military_industrial_organization_size_up_requirement = 2
Flat. 1.13
military_industrial_organization_funds_gain Modifies the amount of funds gained by the MIO.
military_industrial_organization_funds_gain = 0.3
Percentual. 1.13
military_industrial_organization_policy_cost Modifies the political power cost to assign a MIO policy.
military_industrial_organization_policy_cost = 20
Flat. 1.13
military_industrial_organization_policy_cooldown Modifies the cooldown between how often it's possible to change policies.
military_industrial_organization_policy_cooldown = 5
Flat. 1.13

Unit leaders

These are modifiers related to unit leaders in the country scope, rather than being in the unit leader scope.

Unit leader-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
female_random_army_leader_chance Changes the chance for a randomly-generated army leader to be female.
female_random_army_leader_chance = 0.3
Percentual. 1.9.1
assign_army_leader_cp_cost Modifies the cost to assign an army leader to an army.
assign_army_leader_cp_cost = -5
Flat. 1.11
army_leader_cost_factor The cost in political power to recruit an unit leader for the land army.
army_leader_cost_factor = 0.5 
Percentual. 1.3
army_leader_start_level Bonus to the starting level of generic unit leaders.
army_leader_start_level = 1 
Flat. 1.5
army_leader_start_attack_level Bonus to the starting level of attack in generic unit leaders.
army_leader_start_attack_level = 1 
Flat. 1.5
army_leader_start_defense_level Bonus to the starting level of defense in generic unit leaders.
army_leader_start_defense_level = 1 
Flat. 1.5
army_leader_start_logistics_level Bonus to the starting level of logistics in generic unit leaders.
army_leader_start_logistics_level = 1 
Flat. 1.5
army_leader_start_planning_level Bonus to the starting level of planning in generic unit leaders.
army_leader_start_planning_level = 1 
Flat. 1.5
military_leader_cost_factor The cost in political power to recruit an unit leader.
military_leader_cost_factor = 0.5 
Percentual. 1.3
female_random_admiral_chance Changes the chance for a randomly-generated admiral to be female.
female_random_admiral_chance = 0.3
Percentual. 1.9.1
assign_navy_leader_cp_cost Modifies the cost to assign a navy leader to a navy.
assign_navy_leader_cp_cost = -5
Flat. 1.11
grant_medal_cost_factor Changes the cost in command power to grant a medal to a division commander.
grant_medal_cost_factor = 0.2
Percentual. 1.12
field_officer_promotion_penalty Changes the experience penalty applied to the divisions when a commander is promoted to a field marshal.
field_officer_promotion_penalty = 0.2
Percentual. 1.12
female_divisional_commander_chance Changes the chance to get a female divisional commander.
female_divisional_commander_chance = 0.2
Flat. If no generic female portraits are defined within /Hearts of Iron IV/portraits/*.txt files, there will be a silhouette. 1.12

General combat

Note that most of these modifiers are not only in country scope but also in unit leader and navy leader scopes.

Combat-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
offence Modifies the attack value of our military, navy, and airforce.
offence = 0.5
Percentual. 1.0
defence Modifies the defence value of our military, navy, and airforce.
defence = 0.5
Percentual. 1.0
<Tactic>_preferred_weight_factor Modifies the chance for a commander to choose the specified tactic.
tactic_ambush_preferred_weight_factor = 0.3
Percentual. Combat tactics are defined in /Hearts of Iron IV/common/combat_tactics.txt. 1.6

Land combat

Note that most of these modifiers are not only in country scope but also in unit leader scope.

Land combat-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
acclimatization_cold_climate_gain_factor Cold acclimatization gain factor.
acclimatization_cold_climate_gain_factor = 0.5
Percentual. 1.0
acclimatization_hot_climate_gain_factor Hot acclimatization gain factor.
acclimatization_hot_climate_gain_factor = 0.5
Percentual. 1.0
air_superiority_bonus_in_combat The bonus in combat given from having air superiority.
air_superiority_bonus_in_combat = 0.5
Percentual. 1.0
army_attack_factor The bonus to land army's attack.
army_attack_factor = 0.5
Percentual. 1.0
army_core_attack_factor The bonus to land army's attack on core territory.
army_core_attack_factor = 0.1
Percentual. 1.0
army_attack_against_major_factor The bonus to land army's attack against a major country.
army_attack_against_major_factor = 0.5
Percentual. 1.11
army_attack_against_minor_factor The bonus to land army's attack against a non-major country.
army_attack_against_minor_factor = 0.5
Percentual. 1.11
army_attack_speed_factor The bonus to speed at which the land army attacks.
army_attack_speed_factor = 0.5
Percentual. 1.0
army_breakthrough_against_major_factor The bonus to land army's breakthrough against a major country.
army_breakthrough_against_major_factor = 0.5
Percentual. 1.11
army_breakthrough_against_minor_factor The bonus to land army's breakthrough against a non-major country.
army_breakthrough_against_minor_factor = 0.5
Percentual. 1.11
army_defence_factor The bonus to land army's defence.
army_defence_factor = 0.5
Percentual. 1.0
army_defence_against_major_factor The bonus to land army's defence against a major country.
army_defence_against_major_factor = 0.5
Percentual. 1.11
army_defence_against_minor_factor The bonus to land army's defence against a non-major country.
army_defence_against_minor_factor = 0.5
Percentual. 1.11
army_core_defence_factor The bonus to land army's defence on core territory.
army_core_defence_factor = 0.1
Percentual. 1.0
army_speed_factor The bonus to land army's speed.
army_speed_factor = 0.5
Percentual. 1.0
army_strength_factor The bonus to land army's strength.
army_strength_factor = 0.5
Percentual. 1.11
<unit type>_attack_factor The bonus to specified unit type's attack.
cavalry_attack_factor = 0.5
Percentual. Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces 1.0
<unit type>_defence_factor The bonus to the specified unit type's defence.
army_artillery_defence_factor = 0.5
Percentual. Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces 1.0
<unit type>_speed_factor The bonus to specified unit type's speed.
army_armor_speed_factor = 0.5
Percentual. Allowed unit types are army_armor and cavalry. Cavalry_speed_factor is currently broken and not recognized by the game. 1.0
army_morale Modifies the division recovery rate.
army_morale = 10
Flat. 1.0
army_morale_factor Modifies the division recovery rate by a percentage.
army_morale_factor = 0.3
Percentual. 1.0
army_org Modifies the army's organisation.
army_org = 10
Flat. 1.0
army_org_factor Modifies the army's organisation by a percentage.
army_org_factor = 0.3
Percentual. 1.0
army_org_regain Modifies the army's organisation regain speed by a percentage.
army_org_regain = 0.3
Percentual. 1.5.1
breakthrough_factor Modifies the army's breakthrough.
breakthrough_factor = 0.3
Percentual. 1.0
cas_damage_reduction Reguces the damage dealt by close air support.
cas_damage_reduction = 0.3
Percentual. 1.0
combat_width_factor Changes our own combat width.
combat_width_factor = 0.3
Percentual. 1.0
coordination_bonus Changes the bonus to coordination, that is how much damage is done to the primary target instead of being spread out.
coordination_bonus = 0.3
Percentual. 1.11
dig_in_speed Changes entrenchment speed.
dig_in_speed = 2
Flat. 1.0
dig_in_speed_factor Changes entrenchment speed by a percentage.
dig_in_speed_factor = 0.5
Percentual. 1.0
experience_gain_army_unit Changes experience gain by the army divisions.
experience_gain_army_unit = 0.5
Flat. 1.0
experience_gain_army_unit_factor Changes experience gain by the army divisions by a percentage.
experience_gain_army_unit_factor = 0.5
Percentual. 1.0
experience_loss_factor Changes the loss in divisions' experience in combat.
experience_loss_factor = 0.3
Percentual. 1.0
initiative_factor Modifies the initiative.
initiative_factor = 0.3
Percentual. 1.11
land_night_attack Changes the penalty due to attacking at night.
land_night_attack = 0.5
Percentual. 1.0
max_dig_in Changes the maximum entrenchment.
max_dig_in = 20
Flat. Can also apply in state scope. 1.0
max_dig_in_factor Changes the maximum entrenchment by a percentage.
max_dig_in_factor = 0.5
Percentual. Can also apply in state scope. 1.0
max_planning Changes the maximum planning.
max_planning = 20
Flat. 1.0
max_planning_factor Changes the maximum planning by a percentage.
max_planning_factor = 0.5
Percentual. 1.9
pocket_penalty Reduces the penalty that troops take when they are encircled.
pocket_penalty = 0.2
Percentual. 1.0
recon_factor Changes reconnaisance.
recon_factor = 0.2
Percentual. 1.0
recon_factor_while_entrenched Changes reconnaisance for entrenched divisions.
recon_factor_while_entrenched = 0.2
Percentual. 1.0
special_forces_cap Changes the maximum amount of special forces by a percentage.
special_forces_cap = 0.5
Percentual. 1.0
special_forces_min Changes the maximum amount of special forces.
special_forces_min = 250
Flat. 1.0
terrain_penalty_reduction Decreases the penalties given by terrain.
terrain_penalty_reduction = 0.3
Percentual. Only works in the unit_leader scope despite the modifier being present in vanilla national spirits at the time of writing. 1.0
org_loss_at_low_org_factor Modifies the organisation loss for units when they have low organisation.
org_loss_at_low_org_factor = 0.2
Percentual. 1.0
org_loss_when_moving Modifies the organisation loss for units when they are moving.
org_loss_when_moving = 0.2
Percentual. 1.0
planning_speed Modifies the planning speed.
planning_speed = 0.2
Percentual. Works in state scope. 1.0
experience_gain_<unit type>_combat_factor Modifies the experience gain in combat for the unit type.
experience_gain_artillery_combat_factor = 0.3
Percentual. Units are defined in /Hearts of Iron IV/common/units/*.txt files. 1.11
experience_gain_<unit type>_training_factor Modifies the experience gain in training for the unit type.
experience_gain_destroyer_training_factor = 0.3
Percentual. Units are defined in /Hearts of Iron IV/common/units/*.txt files. 1.11

Naval invasions

Invasion-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
amphibious_invasion Modifies the speed of units during naval invasions.
amphibious_invasion = 0.5
Percentual. 1.6
amphibious_invasion_defence Modifies the penalty given by naval invasions.
amphibious_invasion_defence = 0.5
Percentual. Is the opposite of naval_invasion_penalty. Can also apply in state scope. 1.6
invasion_preparation Modifies the required preparation needed to execute a naval invasion.
invasion_preparation = 0.3
Percentual. Is the opposite of naval_invasion_prep_speed. Can be used in unit leader scope. 1.6

Naval combat

Note that most of these modifiers are not only in country scope but also in navy leader scope as well as within equipment modules.

Naval combat-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
convoy_escort_efficiency Modifies the efficiency of the convoy escort mission.
convoy_escort_efficiency = 0.5
Percentual. 1.6
convoy_raiding_efficiency_factor Modifies the efficiency of the convoy raiding mission.
convoy_raiding_efficiency_factor = 0.5
Percentual. 1.6
convoy_retreat_speed Modifies the speed of convoys retreating.
convoy_retreat_speed = 0.5
Percentual. 1.6
critical_receive_chance Changes the chance for the enemy to get a critical hit on us in naval combat.
critical_receive_chance = 0.5
Percentual. 1.6
experience_gain_navy_unit Modifies the daily gain of experience by the ships.
experience_gain_navy_unit = 0.02
Flat. 1.6
experience_gain_navy_unit_factor Modifies the gain of experience by the ships by a percentage.
experience_gain_navy_unit_factor = 0.3
Percentual. 1.6
mines_planting_by_fleets_factor Modifies the efficiency of the mine planting mission.
mines_planting_by_fleets_factor = 0.3
Percentual. 1.6
mines_sweeping_by_fleets_factor Modifies the efficiency of the mine sweeping mission.
mines_sweeping_by_fleets_factor = 0.3
Percentual. 1.6
night_spotting_chance Modifies the chance for the country's navy to spot the enemy at night.
night_spotting_chance = 0.3
Percentual. 1.11
positioning Modifies the positioning of the country's navy.
positioning = 0.3
Percentual. 1.6
repair_speed_factor Modifies the speed at which the dockyards repair the navy.
repair_speed_factor = 0.3
Percentual. 1.6
screening_efficiency Modifies the efficiency screen ships operate.
screening_efficiency = 0.3
Percentual. 1.6
screening_without_screens Modifies the base screening without any screen ships assigned.
screening_without_screens = 0.3
Percentual. 1.11
ships_at_battle_start Modifies the number of ships at first contact.
ships_at_battle_start = 0.3
Percentual. 1.6
spotting_chance Modifies the chance to spot enemy ships.
spotting_chance = 0.3
Percentual. 1.6
strike_force_movement_org_loss Modifies the organisation loss from movement during the strike force mission.
strike_force_movement_org_loss = 0.3
Percentual. 1.6
sub_retreat_speed Modifies the retreat speed of submarines.
sub_retreat_speed = 0.3
Percentual. 1.6
submarine_attack Modifies the attack of submarines.
submarine_attack = 0.3
Percentual. 1.6

Carriers and their planes

Carrier-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
air_carrier_night_penalty_reduction_factor Modifies the reduction of the night penalty for air carriers.
air_carrier_night_penalty_reduction_factor = 0.5
Percentual. 1.0
carrier_capacity_penalty_reduction Modifies the penalty given by overcrowding a carrier with planes.
carrier_capacity_penalty_reduction = 0.5
Percentual. 1.6
carrier_traffic Modifies the traffic of carriers.
carrier_traffic = 0.5
Percentual. 1.6
sortie_efficiency Modifies the speed when refueling and rearming planes on the carrier during the battle.
sortie_efficiency = 0.3
Percentual. 1.6
carrier_sortie_hours_delay Modifies the delay in hours for refueling and rearming planes on the carrier.
carrier_sortie_hours_delay = 2
Flat. 1.12
carrier_night_traffic Modifies the traffic of carriers at night.
carrier_night_traffic = 0.5
Percentual. 1.11
fighter_sortie_efficiency Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
fighter_sortie_efficiency = 0.3
Percentual. 1.6

Air combat

Note that most of these modifiers are not only in country scope but also in ace scope.

Air-related country-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
air_accidents_factor Modifies the chance for air accidents to happen.
air_accidents_factor = 0.5
Percentual. 1.0
air_ace_bonuses_factor Modifies the bonuses the aces grant.
air_ace_bonuses_factor = 0.5
Percentual. 1.11
air_ace_generation_chance_factor Modifies the chance for aces to appear.
air_ace_generation_chance_factor = 0.5
Percentual. 1.11
ace_effectiveness_factor Modifies the effectiveness of aces
ace_effectiveness_factor = 0.5
Percentual. 1.0
air_agility_factor Modifies the agility of the country's airplanes.
air_agility_factor = 0.5
Percentual. 1.0
air_attack_factor Modifies the attack of the country's airplanes.
air_attack_factor = 0.5
Percentual. 1.0
air_defence_factor Modifies the defence of the country's airplanes.
air_defence_factor = 0.5
Percentual. 1.0
air_interception_detect_factor Modifies the chance of detecting an enemy plane while on interception mission.
air_interception_detect_factor = 0.5
Percentual. 1.0
port_strike Modifies the damage done by planes on the port strike mission.
port_strike = 0.5
Percentual. 1.0
air_close_air_support_org_damage_factor Modifies the damage to division organisation by planes on the close air support mission.
air_close_air_support_org_damage_factor = 0.5
Percentual. 1.11
air_bombing_targetting Modifies targetting for ground bombing.
air_bombing_targetting = 0.5
Percentual. 1.0
air_cas_efficiency Modifies efficiency of close-air-support.
air_cas_efficiency = 0.5
Percentual. 1.0
air_cas_present_factor Modifies impact of close-air-support in land combat.
air_cas_present_factor = 0.5
Percentual. 1.0
air_escort_efficiency Modifies ability of planes in dogfights.
air_escort_efficiency = 0.5
Percentual. 1.0
air_home_defence_factor Modifies the defence of airplanes when defending states in the home region (Connected to the country's capital by land)
air_home_defence_factor = 0.5
Percentual. 1.11
air_intercept_efficiency Modifies the efficiency of air interception.
air_intercept_efficiency = 0.5
Percentual. 1.0
air_manpower_requirement_factor Modifies the manpower required to deploy an airplane.
air_manpower_requirement_factor = -0.5
Percentual. 1.11
air_maximum_speed_factor Modifies the maximum speed of the airforce.
air_maximum_speed_factor = 0.5
Percentual. 1.0
air_mission_efficiency Modifies the efficiency of airplanes in missions.
air_mission_efficiency = 0.5
Percentual. 1.0
air_mission_xp_gain_factor Modifies the experience gain for airplanes for doing missions.
air_mission_xp_gain_factor = 0.5
Percentual. 1.0
air_nav_efficiency Modifies the efficiency of airplanes doing port strike and naval bombing missions.
air_nav_efficiency = 0.5
Percentual. 1.0
air_night_penalty Modifies the penalty the airforce receives while at night.
air_night_penalty = 0.5
Percentual. 1.0
air_power_projection_factor Modifies the power projection given out by the airplanes.
air_power_projection_factor = 0.5
Percentual. 1.0
air_range_factor Modifies the range of the airplanes.
air_range_factor = 0.5
Percentual. 1.0
air_strategic_bomber_bombing_factor Modifies the efficiency of the strategic bombing mission.
air_strategic_bomber_bombing_factor = 0.5
Percentual. 1.0
air_strategic_bomber_night_penalty Modifies the penalty for the strategic bombing mission while at night.
air_strategic_bomber_night_penalty = 0.5
Percentual. 1.0
air_superiority_detect_factor Modifies the chance to detect enemy planes while on the air superiority mission. Displays as Fighter Detection.
air_superiority_detect_factor = 0.5
Percentual. 1.0
air_superiority_efficiency Modifies the efficiency of the air superiority mission.
air_superiority_efficiency = 0.5
Percentual. 1.0
air_training_xp_gain_factor Modifies the air experience gain from training.
air_training_xp_gain_factor = 0.5
Percentual. 1.6
air_untrained_pilots_penalty_factor Modifies the penalty given to airplanes which don't have enough experience.
air_untrained_pilots_penalty_factor = 0.5
Percentual. 1.6
air_weather_penalty Modifies the penalty the airplanes receive because of weather.
air_weather_penalty = 0.5
Percentual. 1.0
air_wing_xp_loss_when_killed_factor Modifies the experience loss of airplanes due to airplanes being shot down.
air_wing_xp_loss_when_killed_factor = 0.5
Percentual. 1.0
army_bonus_air_superiority_factor Modifies the bonus to land combat from air superiority.
army_bonus_air_superiority_factor = 0.5
Percentual. 1.0
enemy_army_bonus_air_superiority_factor Modifies the effect to land combat from enemy air superiority.
enemy_army_bonus_air_superiority_factor = 0.5
Percentual. 1.0
ground_attack_factor Modifies the bonus to airplane attack on enemy divisions by a percentage.
ground_attack_factor = 0.5
Percentual. 1.0
mines_planting_by_air_factor Modifies efficiency of airplanes planting mines.
mines_planting_by_air_factor = 0.5
Percentual. 1.0
mines_sweeping_by_air_factor Modifies efficiency of airplanes sweeping mines.
mines_sweeping_by_air_factor = 0.5
Percentual. 1.0
strategic_bomb_visibility Modifies the chance for the enemy to detect our strategic bombers.
strategic_bomb_visibility = 0.5
Percentual. 1.0
rocket_attack_factor Modifies the attack given to rockets.
rocket_attack_factor = 0.5
Percentual. 1.0

Targeted modifiers

These modifiers are targeted, meaning that they must be used in a block for targeted modifiers rather than regular modifiers. These include targeted_modifier = { ... } in ideas, traits, advisors, and decisions; relation modifiers.
A targeted_modifier block is structured as such:

targeted_modifier = {
    tag = FROM    # this can also take a variable that stores a scope
    attack_bonus_against = 0.1
    defense_bonus_against = 0.1
}

This is a completely separate block from modifier = { ... } in ideas, advisors, and decisions; as such it will not work when it's put inside of modifier = { ... }.

Targeted modifiers:
Name Effects Examples Modifier type Notes Version added
extra_trade_to_target_factor Adds extra produced recourses available for trade to target country.
extra_trade_to_target_factor = 0.5
Percentual. 1.5
generate_wargoal_tension_against Changes world tension necessary for us to justify against the target country.
generate_wargoal_tension_against = 0.5
Flat. 1.5
cic_to_target_factor Gives a portion of the country's civilian industry to the specified target.
cic_to_target_factor = 0.5
Percentual. 1.5
mic_to_target_factor Gives a portion of the country's military industry to the specified target.
mic_to_target_factor = 0.5
Percentual. 1.5
trade_cost_for_target_factor The cost for the targeted country to purchase this country's resources.
trade_cost_for_target_factor = 0.5
Percentual. 1.5
targeted_legitimacy_daily Changes daily gain of legitimacy of the target country.
targeted_legitimacy_daily = 0.5
Flat. 1.6
attack_bonus_against Gives an attack bonus against the armies of the specified country.
attack_bonus_against = 0.5
Percentual. Due to a bug, this will not apply to units that are defending. 1.5
attack_bonus_against_cores Gives an attack bonus against the armies of the specified country on its core territory.
attack_bonus_against_cores = 0.5
Percentual. 1.5
breakthrough_bonus_against Gives a breakthrough bonus against the armies of the specified country.
breakthrough_bonus_against = 0.5
Percentual. 1.5
defense_bonus_against Gives a defense bonus against the armies of the specified country.
defense_bonus_against = 0.5
Percentual. Due to a bug, this will not apply to units that are attacking. 1.5

State scope

Several country-scoped modifiers (such as a portion of those in the land combat section) unlisted here can go into state scope. A large portion of state-scoped modifiers can go into province scope.

State-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
army_speed_factor_for_controller Changes the division speed for the controller of the state.
army_speed_factor_for_controller = 0.5
Percentual. 1.0
attrition_for_controller Changes the attrition for the controller of the state.
attrition_for_controller = 0.5
Percentual. 1.0
equipment_capture_for_controller Changes the equipment capture ratio by the state's controller.
equipment_capture_for_controller = 0.3
Flat. 1.13
equipment_capture_factor_for_controller Modifies the equipment capture ratio by the state's controller.
equipment_capture_factor_for_controller = 0.3
Percentual. 1.13
enemy_army_speed_factor Modifies the speed of divisions at war with the state's owner.
enemy_army_speed_factor = 0.3
Percentual. 1.13
enemy_local_supplies Modifies the supply of divisions at war with the state's owner.
enemy_local_supplies = 0.3
Percentual. 1.13
enemy_attrition Modifies the attrition of divisions at war with the state's owner.
enemy_attrition = 0.3
Percentual. 1.13
enemy_truck_attrition_factor Modifies the truck attrition of divisions at war with the state's owner.
enemy_truck_attrition_factor = 0.3
Percentual. 1.13
compliance_gain Changes the compliance gain in the current state.
compliance_gain = 0.01
Flat. Can also go into country scope. Can also be used as a targeted modifier. 1.9
compliance_growth Changes the compliance growth speed in the current state.
compliance_growth = 0.5
Percentual. Can also go into country scope. 1.9
country_resource_<resource> Directly modifies the country's resource stockpile.
country_resource_oil = 10
Flat. Can also go into country scope. 1.0
country_resource_cost_<resource> Directly modifies the country's resource stockpile.
country_resource_cost_aluminium = 10
Flat. Can also go into country scope. 1.0
disable_strategic_redeployment Disables strategic redeployment in the state.
disable_strategic_redeployment = 1
Boolean (only 1). 1.9
disable_strategic_redeployment_for_controller Disables strategic redeployment in the state for the controller.
disable_strategic_redeployment_for_controller = 1
Boolean (only 1). 1.9
enemy_intel_network_gain_factor_over_occupied_tag Modifies enemy intel network strength gain.
enemy_intel_network_gain_factor_over_occupied_tag = 0.3
Percentual. 1.9
local_building_slots Modifies amount of building slots.
local_building_slots = 2
Flat. 1.9
local_building_slots_factor Modifies amount of building slots by a percentage.
local_building_slots_factor = 0.3
Percentual. 1.9
local_factories Modifies amount of available factories in the state.
local_factories = 0.3
Percentual. 1.9
local_factory_sabotage Modifies chance for factory sabotage.
local_factory_sabotage = 0.3
Percentual. 1.9
local_intel_to_enemies Modifies amount of intel to enemies.
local_intel_to_enemies = 0.3
Percentual. 1.9
local_manpower Modifies amount of available manpower.
local_manpower = 0.3
Percentual. 1.4
local_non_core_manpower Modifies amount of available non-core manpower.
local_non_core_manpower = 0.3
Percentual. 1.3.3
local_org_regain Modifies how much organisation is regained after combat.
local_org_regain = -0.3
Percentual. Can be used in provinces and strategic regions. 1.0
local_resources Modifies amount of available resources.
local_resources = 0.3
Flat. 1.9
local_supplies Modifies amount of available supplies.
local_supplies = 0.3
Percentual. 1.9
local_supplies_for_controller Modifies amount of available supplies for the controller.
local_supplies_for_controller = 0.3
Percentual. 1.9
local_supply_impact_factor Modifies the impact that the state's local supplies have.
local_supply_impact_factor = 0.3
Percentual. 1.12
local_non_core_supply_impact_factor Modifies the impact that the state's local supplies have if the state is not cored by the controller of provinces within.
local_non_core_supply_impact_factor = 0.3
Percentual. 1.12
mobilization_speed Modifies the mobilisation speed.
mobilization_speed = 0.3
Percentual. 1.9
non_core_manpower Modifies the amount of recruited non-core manpower.
non_core_manpower = 0.3
Percentual. 1.9
max_fuel_building Modifies the amount of fuel capacity, in thousands, given to the state controller from the building.
max_fuel_building = 1500
Percentual. Does not have to be in a building. 1.0
recruitable_population Modifies the amount of recruited manpower.
recruitable_population = 0.03
Flat. 1.9
recruitable_population_factor Modifies the amount of recruited manpower by a percentage.
recruitable_population_factor = 0.3
Percentual. 1.9
resistance_damage_to_garrison Modifies the amount of resistance damage to the garrison.
resistance_damage_to_garrison = 0.3
Percentual. 1.9
resistance_decay Modifies the speed of resistance decay.
resistance_decay = 0.3
Percentual. 1.9
resistance_garrison_penetration_chance Modifies the chance for the garrison to be penetrated.
resistance_garrison_penetration_chance = 0.3
Percentual. 1.9
resistance_growth Modifies the speed of the resistance growth.
resistance_growth = 0.3
Percentual. 1.9
resistance_target Modifies the target of the resistance growth.
resistance_target = 0.3
Percentual. 1.9
starting_compliance Modifies the base compliance value.
starting_compliance = 0.3
Percentual. 1.9
state_production_speed_<building>_factor Modifies the building speed of the specified building in the state.
state_production_speed_industrial_complex_factor = 0.3
Percentual. Use state_production_speed_buildings_factor for it to apply to all buildings. (added in 1.9) 1.9.1
state_repair_speed_<building>_factor Modifies the repair speed of the specified building in the state.
state_repair_speed_industrial_complex_factor = 0.3
Percentual. 1.9.1
state_resource_<resource> Modifies the amount of the specified resource in the state.
state_resource_oil = 5
Flat. 1.0
state_resources_factor Modifies the amount of resources in a state.
state_resources_factor = 0.2
Percentual. 1.9
state_resource_cost_<resource> Modifies the amount of the specified resource in the state.
state_resource_cost_rubber = 5
Flat. 1.9
temporary_state_resource_<resource> Modifies the amount of the specified resource in the state as an added modifier after the base one.
temporary_state_resource_tungsten = 5
Flat. 1.0
enemy_operative_detection_chance_over_occupied_tag Offsets the chance for an enemy operative to be detected for the tag that occupies this state.
enemy_operative_detection_chance_over_occupied_tag = 5
Flat. 1.9
enemy_operative_detection_chance_factor_over_occupied_tag Modifies the chance for an enemy operative to be detected for the tag that occupies this state.
enemy_operative_detection_chance_factor_over_occupied_tag = 0.5
Percentual. 1.9

Unit leader scope

Note that most modifiers in land and naval combat sections also apply.

Unit leader-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
cannot_use_abilities Disables using abilities.
cannot_use_abilities = 1
Boolean (only 1). 1.5
dont_lose_dig_in_on_attack Disables losing the entrechment bonus during attack.
dont_lose_dig_in_on_attack = 1
Boolean (only 1). 1.5
exiled_divisions_attack_factor Modifies the attack of divisions led by this unit leader if they're exiled.
exiled_divisions_attack_factor = 0.4
Percentual. 1.6
exiled_divisions_defense_factor Modifies the defence of divisions led by this unit leader if they're exiled.
exiled_divisions_defense_factor = 0.4
Percentual. 1.6
own_exiled_divisions_attack_factor Modifies the attack of divisions led by this unit leader if they're exiled and belong to the same country.
own_exiled_divisions_attack_factor = 0.4
Percentual. 1.6
own_exiled_divisions_defense_factor Modifies the defence of divisions led by this unit leader if they're exiled and belong to the same country.
own_exiled_divisions_defense_factor = 0.4
Percentual. 1.6
experience_gain_factor Modifies the experience gained by the unit leader.
experience_gain_factor = 0.1
Percentual. 1.5
fortification_collateral_chance Chance for combat to damage enemy forts.
fortification_collateral_chance = 0.4
Percentual. 1.5
fortification_damage Damage enemy forts receive from combat.
fortification_damage = 0.4
Percentual. 1.5
max_commander_army_size Modifies amount of divisions that can be led by the army leader without penalty.
max_commander_army_size = 12
Flat. 1.5
max_army_group_size Modifies amount of army groups that can be led by the field marshal without penalty.
max_army_group_size = 1
Flat. 1.5
paradrop_organization_factor The amount of organisation paratroopers will have after paradropping.
paradrop_organization_factor = 0.5
Percentual. 1.5
paratrooper_aa_defense The strength of anti-air against paratroopers.
paratrooper_aa_defense = 0.5
Percentual. 1.5
paratrooper_weight_factor Paratrooper transport space factor.
paratrooper_weight_factor = 0.5
Percentual. Can also be used in country scope. 1.13
promote_cost_factor The cost to promote the unit leader.
promote_cost_factor = 0.5
Percentual. 1.5
reassignment_duration_factor The length of the reassignment penalty.
reassignment_duration_factor = 0.5
Percentual. 1.5
river_crossing_factor The effects of the river crossing penalty.
river_crossing_factor = 0.5
Percentual. 1.5
sickness_chance The chance for the unit leader to get sick.
sickness_chance = 0.5
Percentual. 1.5
skill_bonus_factor The bonus the unit leader receives from their skillset.
skill_bonus_factor = 0.5
Percentual. 1.5
trait_<trait>_xp_gain_factor Modifies the experience gain towards the specified trait.
trait_infantry_leader_xp_gain_factor = 0.5
Percentual. 1.11
terrain_trait_xp_gain_factor Modifies the experience gain towards all terrain traits (With the type of either basic_terrain_trait or assignable_terrain_trait).
terrain_trait_xp_gain_factor = 0.5
Percentual. 1.5
wounded_chance_factor The chance for the unit leader to get wounded.
wounded_chance_factor = 0.5
Percentual. 1.5
shore_bombardment_bonus Modifies the penalty given by the shore bombardment on divisions.
shore_bombardment_bonus = 0.5
Percentual. Can apply to both army and navy leaders. 1.5

Strategic region scope

This is limited to static modifiers defined for weather.

Strategic region-scoped modifiers:
Name Effects Examples Modifier type Notes Version added
air_accidents Base chance for an air accident to happen.
air_accidents = 0.3
Flat. 1.0
air_detection Base chance for air detection.
air_detection = -0.1
Flat. 1.0

Notes and references

^ a: A few modifiers, such as consumer_goods_factor, instead get added in a multiplicative fashion.[1] What this means is that, for example, consumer_goods_factor = 0.1 and consumer_goods_factor = 0.2 as separate ideas don't sum up to a 0.3 bonus, but instead multiply the consumer goods by [math]\displaystyle{ (1 + 0.1)(1 + 0.2) = 1.1 \cdot 1.2 = 1.32 }[/math], resulting in a 32% increase instead of 30%.