修正:修订间差异

本页面适用于最新的版本(1.14)。
无编辑摘要
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
{{Verions|1.14}}
{{Version|1.14}}
{{需要翻译|译者=霜泽图书馆}}
{{需要翻译|译者=霜泽图书馆}}
A modifier is essentially a variable used in internal calculations. However, unlike [[:en:Defines|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.
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.


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.
== 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.


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. The following are ''not'' modifiers, even if they are similar:
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:
*Research bonuses allowing to grant a boost to a specific technology category. This is, instead, [[:en:Idea_modding#Modifiers|an argument within ideas]], which can be applied in the same way for advisors, but not elsewhere.
<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.
*Equipment bonuses, such as decreasing the cost to build an equipment archetype. Similarly, this is [[:en: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:
*[[:en: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 [[:en:Effect|effect block]], such as a national focus reward, by using [[:en:Effect#add_ideas|add_ideas]] or [[:en:Effect#add_timed_idea|add_timed_idea]]. These only work for countries.
*[[:en:Modifiers#Dynamic_modifiers|Dynamic modifiers]] - This is similar to ideas (Showing up in the same screen for countries), but they accept [[:en:Variables|variables]] and can also be applied on states and unit leaders. '''These are the primary way to add modifiers to a state.'''
*Traits:
**[[:en: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.
**[[:en: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.
*[[:en:Modifiers#Static_modifiers|Static modifiers]]:
**[[:en: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.
**[[:en:Modifiers#Province_modifiers|Provincial modifiers]] - These are the primary if not the only way to apply a modifier towards a specific province.
**[[:en:Modifiers#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.
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
    political_power_gain = 0.1
    disabled_ideas = 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 [[:en:Modifiers#Dynamic_modifiers|dynamic modifiers]], which allow using variables.
}</pre>
===Tooltip modification===
No modifiers can have a non-numeric value, including boolean ones that must be 1 to have any effect.
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 = {
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 = {
    hidden_modifier = {
      political_power_gain = 0.1
      political_power_gain = 0.1
    }
    }
    custom_modifier_tooltip = political_power_gain_tt
    custom_modifier_tooltip = political_power_gain_tt
}</pre>Custom modifier tooltips ''do not'' support dynamic commands, which includes anything that uses square brackets.
}</pre>
==Dynamic modifiers==
Custom modifier tooltips ''do not'' support dynamic commands, which includes anything that uses square brackets.
{{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 [[:en: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.
 
== 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.


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 [[:en:Idea_modding|to use national spirits instead.]]
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.]]


The dynamic modifiers are evaluated daily for each scope. The process consists of the following:
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.
* 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 <code>add_dynamic_modifier</code>.
* Dynamic modifiers are then evaluated in the order that they were given to the scope with <code>add_dynamic_modifier</code>.
*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> [[:en:Game_variable|game variable]] or [[:en:Variables#MTTH_variables|MTTH variables]] that utilise that game variable.
* 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.
* 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 ===
=== Arguments ===
*'''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.
* '''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. 
*'''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.
* '''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.
* '''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.
* '''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 <code>equipment_bonus</code> or <code>research_bonus</code> are impossible to use inside of dynamic modifiers.
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.
===Example===
=== Example ===
<pre>dynamic_modifier_name = {
<pre>dynamic_modifier_name = {
    icon = GFX_idea_unknown
    icon = GFX_idea_unknown
第60行: 第69行:
    stability_factor = GER.stability_var # Checks specifically GER's variable, regardless of where the modifier is applied
    stability_factor = GER.stability_var # Checks specifically GER's variable, regardless of where the modifier is applied
}</pre>
}</pre>
===Adding a dynamic modifier===
 
Dynamic modifiers are added via the [[:en: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.
=== 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:
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 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}}.
* 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 = {
 
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 = {
    add_dynamic_modifier = {
      modifier = dynamic_modifier_name
      modifier = dynamic_modifier_name
第74行: 第88行:
}</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.
}</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 [[:en: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.
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, [[:en:Effect#custom_effect_tooltip|the tooltip of the effect can be changed]], with [[:en:Scopes#hidden_effect|the effect adding the dynamic modifier hidden]].
'''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 ==
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:
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 ===
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.
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.


=== 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:
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 [[:en:Localisation|localisation]] key used as the name of the difficulty setting as it shows up in the game rules menu/
* <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>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>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.
* <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 = {
An example of a difficulty setting file is the following:
<pre>difficulty_settings = {
    difficulty_setting = {
    difficulty_setting = {
      key = difficulty_weaken_GER
      key = difficulty_weaken_GER
第103行: 第120行:
    }
    }
}</pre>
}</pre>
===Relation modifiers===
=== 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 = {
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 = {
valid_relation_trigger = {
FROM = {
FROM = {
第111行: 第129行:
}
}
compliance_gain = 0.2 # FROM's states have 20% more compliance gain when controlled by 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 = {
}</pre>They can be added by the add_relation_modifier effect, used as such:
<pre>add_relation_modifier = {
target = TAG
target = TAG
modifier = test_relation_modifier
modifier = test_relation_modifier
}</pre>remove_relation_modifier, which works similarly, can remove them.
}</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 [[:en:Effects|effects]] page.


An example definition looks like<pre>mod_modifier = { 
=== 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_speed_factor = -0.5
army_defence_factor = 0.5
army_defence_factor = 0.5
dig_in_speed_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 = {
}</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"
name = "<modifier name>_icon"
spriteType = "GFX_modifiers_<modifier name>_icon"
spriteType = "GFX_modifiers_<modifier name>_icon"
position = { x = 0 y = 0 }
position = { x = 0 y = 0 }
Orientation = "UPPER_LEFT"
Orientation = "UPPER_LEFT"
}</pre>The spriteType you have defined needs to be defined in {{path|interface/*.gfx}} similarly to this example:<pre>spriteType = {
}</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"
name = "GFX_modifiers_<modifier name>_icon"
textureFile = "gfx/interface/modifiers_<modifier name>_icon.dds"
textureFile = "gfx/interface/modifiers_<modifier name>_icon.dds"
}</pre>
}</pre>
===Balance of power modifiers===
=== Balance of power modifiers ===
Balance of power modifiers typically include within of themselves the [[:en:Modifiers#power_balance_daily|power_balance_daily]] and/or [[:en:Modifiers#power_balance_weekly|power_balance_weekly]] modifiers in order to gradually tip the balance towards one side. For example,<pre>my_bop_modifier = {
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.
    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 [[:en:Effect#add_power_balance_modifier|the add_power_balance_modifier effect]] as such:<pre>add_power_balance_modifier = {
}</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
    id = my_bop   # The ID of the balance of power
    modifier = my_bop_modifier # The modifier to add
    modifier = my_bop_modifier # The modifier to add
}</pre>[[:en:Effect#remove_power_balance_modifier|The remove_power_balance_modifier effect]], with the same syntax, or [[:en:Effect#remove_all_power_balance_modifiers|remove_all_power_balance_modifiers]] can be used to remove these from the country.
}</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.


== 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:
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>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>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>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</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>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>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>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>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.
* <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 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 [[:en:Localisation|localisation]] key needed to change the name of the modifier depending on the currently turned on language.
 
===Examples===
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 = {
<pre>modifier_definition_example = {
color_type = good
color_type = good
第167行: 第191行:
    value_type = percentage
    value_type = percentage
}</pre>
}</pre>
===Using in variables===
=== 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.
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.
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 [[:en:On_action|on action]] file:{{VisibleCollapse|
Example usage of making a modifier token create civilian factories in random core states monthly, in any [[on action]] file:
{{VisibleCollapse|
<pre>on_actions = {
<pre>on_actions = {
    on_monthly = {
    on_monthly = {
第203行: 第228行:
    }
    }
}</pre>|Example}}
}</pre>|Example}}
==Opinion modifiers==
 
== 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.
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 [[:en: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.
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:
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>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>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>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>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.
* <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 [[:en:Localisation|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===
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.
Inside of a new {{path|common/opinion_modifiers/*.txt}} file:<pre>opinion_modifiers = {
=== Examples ===
Inside of a new {{path|common/opinion_modifiers/*.txt}} file:
<pre>opinion_modifiers = {
    test_trade_modifier = {
    test_trade_modifier = {
      trade = yes
      trade = yes
第226行: 第254行:
      decay = 0.5
      decay = 0.5
    }
    }
}</pre>Inside of a new {{path|localisation/english/*_l_english.yml}} file:<pre>l_english:
}</pre>
Inside of a new {{path|localisation/english/*_l_english.yml}} file:
<pre>l_english:
  test_trade_modifier: "Testing trade modifier"
  test_trade_modifier: "Testing trade modifier"
  test_diplomatic_modifier: "Testing diplomatic modifier"</pre>
  test_diplomatic_modifier: "Testing diplomatic modifier"</pre>
===Implementation===
=== Implementation ===
New opinion modifiers can only be added using the [[:en:Effect#add_opinion_modifier|add_opinion_modifier effect]] (or the similar [[:en:Effect#reverse_add_opinion_modifier|reverse_add_opinion_modifier]]) in any effect block, such as a [[:en:National_focus_modding#Effects|focus reward]], a [[:en:Country_creation#Country_history|country history file]], or an idea's [[:en:Idea_modding#Effects|on_add and on_remove]]. Similarly, already applied new opinion modifiers can only be removed with [[:en: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.
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:
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:
{| class="wikitable mw-collapsible"
!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
       }
     }
   }
}
|}
{{VisibleCollapse|
{{VisibleCollapse|
<pre>ideas = {
<pre>ideas = {
第322行: 第306行:
}</pre>
}</pre>
|Example code of a national spirit that uses opinion modifiers}}
|Example code of a national spirit that uses opinion modifiers}}
==List of 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:
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.
-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.
-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
-training_time_army. Localised as "Division training time", identical to training_time_army_factor. Categories: army, war_production
!-->
!-->
===Country scope===
 
==== General====
=== Country scope ===
 
==== General ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|General country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|General country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="monthly_population"
! width="5%" | Version added
|-id="monthly_population"
|monthly_population
|monthly_population
|Changes the monthly population gain in states owned by the country.
|Changes the monthly population gain in states owned by the country.
| <pre>monthly_population = 0.5</pre>
|<pre>monthly_population = 0.5</pre>
|Percentual.
|Percentual.
| Does not work with states.
|Does not work with states.
|1.0
|1.0
|- id="nuclear_production"
|-id="nuclear_production"
|nuclear_production
|nuclear_production
| Enables the production of nukes.
|Enables the production of nukes.
|<pre>nuclear_production = 1</pre>
|<pre>nuclear_production = 1</pre>
|Boolean (only 1).
|Boolean (only 1).
|
|
|1.0
|1.0
|- id="nuclear_production_factor"
|-id="nuclear_production_factor"
|nuclear_production_factor
|nuclear_production_factor
|Changes speed at which nukes are produced.
|Changes speed at which nukes are produced.
|<pre>nuclear_production_factor = 0.5</pre>
|<pre>nuclear_production_factor = 0.5</pre>
| Percentual.
|Percentual.
| Works in state scope, in which case it'll apply to the owner.
|Works in state scope, in which case it'll apply to the owner.
|1.0
|1.0
|- id="research_sharing_per_country_bonus"
|-id="research_sharing_per_country_bonus"
|research_sharing_per_country_bonus
|research_sharing_per_country_bonus
|Changes the bonus in research speed per country when technology sharing.
|Changes the bonus in research speed per country when technology sharing.
第367行: 第355行:
|
|
|1.3
|1.3
|- id="research_sharing_per_country_bonus_factor"
|-id="research_sharing_per_country_bonus_factor"
|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.
|Changes the bonus in research speed per country when technology sharing by a percentage.
第374行: 第362行:
|
|
|1.3
|1.3
|- id="research_speed_factor"
|-id="research_speed_factor"
|research_speed_factor
|research_speed_factor
|Changes the research speed.
|Changes the research speed.
|<pre>research_speed_factor = 0.5</pre>
|<pre>research_speed_factor = 0.5</pre>
|Percentual. 
|Percentual.
|
|
| 1.0
|1.0
|- id="local_resources_factor"
|-id="local_resources_factor"
|local_resources_factor
|local_resources_factor
|Resource extraction efficiency. Modifies the amount of available resources.
|Resource extraction efficiency. Modifies the amount of available resources.
第388行: 第376行:
|
|
|1.0
|1.0
|- id="surrender_limit"
|-id="surrender_limit"
|surrender_limit
|surrender_limit
|Changes the percentage of victory points the country needs to lose control of to capitulate.
|Changes the percentage of victory points the country needs to lose control of to capitulate.
第395行: 第383行:
|The larger, the more victory points are needed to capitulate a country.
|The larger, the more victory points are needed to capitulate a country.
|1.0
|1.0
|- id="max_surrender_limit_offset"
|-id="max_surrender_limit_offset"
|max_surrender_limit_offset 
|max_surrender_limit_offset
|Controls the maximum surrender progress of a nation.
|Controls the maximum surrender progress of a nation.
|<pre>max_surrender_limit_offset = 0.3</pre>
|<pre>max_surrender_limit_offset = 0.3</pre>
第402行: 第390行:
|For example, 0.4 means that the country cannot require more than 60% victory points to capitulate, no matter the surrender_limit.
|For example, 0.4 means that the country cannot require more than 60% victory points to capitulate, no matter the surrender_limit.
|1.9
|1.9
|- id="forced_surrender_limit"
|-id="forced_surrender_limit"
|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.
|Changes the percentage of victory points the country needs to lose control of to capitulate, bypassing the minimum or maximum.
第410行: 第398行:
|1.0
|1.0
|}
|}
====Politics====
 
==== Politics ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Political country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Political country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="min_export"
! width="5%" | Version added
|-id="min_export"
|min_export
|min_export
|Changes the amount of resources to market.
|Changes the amount of resources to market.
第427行: 第417行:
|
|
|1.0
|1.0
|- id="trade_opinion_factor"
|-id="trade_opinion_factor"
|trade_opinion_factor
|trade_opinion_factor
|Makes AI more likely to purchase resources from this country.
|Makes AI more likely to purchase resources from this country.
第434行: 第424行:
|
|
|1.0
|1.0
|- id="defensive_war_stability_factor"
|-id="defensive_war_stability_factor"
|defensive_war_stability_factor
|defensive_war_stability_factor
|Changes the penalty to the stability invoked by participating in a defensive war.
|Changes the penalty to the stability invoked by participating in a defensive war.
第441行: 第431行:
|
|
|1.0
|1.0
|- id="disabled_ideas"
|-id="disabled_ideas"
|disabled_ideas
|disabled_ideas
|Disables manually changing ideas (including ministers and laws).
|Disables manually changing ideas (including ministers and laws).
第448行: 第438行:
|
|
|1.9
|1.9
|- id="idea_cost_factor"
|-id="idea_cost_factor"
|<idea&#124;character slot>_cost_factor
|<idea&#124;character slot>_cost_factor
|Changes the cost in political power to add an idea or character within the specified slot.
|Changes the cost in political power to add an idea or character within the specified slot.
|<pre>political_advisor_cost_factor = 0.5</pre>
|<pre>political_advisor_cost_factor = 0.5</pre>
|Percentual.
|Percentual.
|Idea slots can be found in common/idea_tags. [[:en:Idea_modding#Modifying_cost_of_a_category|Requires an idea or a character of that category to be present in an earlier-evaluated file.]]
|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
|1.4
|- id="idea_type_cost_factor"
|-id="idea_type_cost_factor"
|<idea category type>_category_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.
|Changes the cost in political power to add an idea within any of the categories with the specified type.
第462行: 第452行:
|Idea category definitions can be found in {{path|common/idea_tags/*.txt}} files, a type is assigned with <code>type = army_spirit</code>.
|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
|1.10
|- id="<ledger&gt;_advisor_cost_factor"
|-id="<ledger>_advisor_cost_factor"
|<ledger>_advisor_cost_factor
|<ledger>_advisor_cost_factor
|Changes the cost in political power to add an advisor assigned the specified military ledger.
|Changes the cost in political power to add an advisor assigned the specified military ledger.
第469行: 第459行:
|Ledgers are assigned to categories and characters in common/idea_tags and common/ideas. Modifier works with air, army, and navy.
|Ledgers are assigned to categories and characters in common/idea_tags and common/ideas. Modifier works with air, army, and navy.
|1.11
|1.11
|- id="unit_leader_as_advisor_cp_cost_factor"
|-id="unit_leader_as_advisor_cp_cost_factor"
|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.
|Changes the cost in command power to turn a unit leader into an advisor.
第476行: 第466行:
|
|
|1.11
|1.11
|- id="improve_relations_maintain_cost_factor"
|-id="improve_relations_maintain_cost_factor"
|improve_relations_maintain_cost_factor
|improve_relations_maintain_cost_factor
|Changes the cost in political power to maintain improvement of relations.
|Changes the cost in political power to maintain improvement of relations.
第483行: 第473行:
|
|
|1.4
|1.4
|- id="female_random_country_leader_chance"
|-id="female_random_country_leader_chance"
| female_random_country_leader_chance
|female_random_country_leader_chance
|Changes the chance for a randomly-generated country leader to be female.
|Changes the chance for a randomly-generated country leader to be female.
|<pre>female_random_country_leader_chance = 0.3</pre>
|<pre>female_random_country_leader_chance = 0.3</pre>
| Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="offensive_war_stability_factor"
|-id="offensive_war_stability_factor"
|offensive_war_stability_factor
|offensive_war_stability_factor
|Modifies the stability penalty received from participating in an offensive war.
|Modifies the stability penalty received from participating in an offensive war.
第496行: 第486行:
|Percentual.
|Percentual.
|
|
| 1.0
|1.0
|- id="party_popularity_stability_factor"
|-id="party_popularity_stability_factor"
|party_popularity_stability_factor
|party_popularity_stability_factor
| Modifies the stability gained by the popularity of the ruling party.
|Modifies the stability gained by the popularity of the ruling party.
|<pre>party_popularity_stability_factor = 0.3</pre>
|<pre>party_popularity_stability_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="political_power_cost"
|-id="political_power_cost"
|political_power_cost
|political_power_cost
|Daily cost in political power.
|Daily cost in political power.
第511行: 第501行:
|
|
|1.0
|1.0
|- id="political_power_gain"
|-id="political_power_gain"
|political_power_gain
|political_power_gain
|Modifies daily gain in political power.
|Modifies daily gain in political power.
第518行: 第508行:
|
|
|1.0
|1.0
|- id="political_power_factor"
|-id="political_power_factor"
|political_power_factor
|political_power_factor
|Modifies daily gain in political power by a percentage.
|Modifies daily gain in political power by a percentage.
| <pre>political_power_factor = 0.3</pre>
|<pre>political_power_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="stability_factor"
|-id="stability_factor"
|stability_factor
|stability_factor
|Modifies stability of the country.
|Modifies stability of the country.
第532行: 第522行:
|
|
|1.0
|1.0
|- id="stability_weekly"
|-id="stability_weekly"
|stability_weekly
|stability_weekly
|Modifies weekly stability gain of the country.
|Modifies weekly stability gain of the country.
第539行: 第529行:
|
|
|1.0
|1.0
|- id="stability_weekly_factor"
|-id="stability_weekly_factor"
|stability_weekly_factor
|stability_weekly_factor
|Modifies weekly stability gain of the country by a percentage.
|Modifies weekly stability gain of the country by a percentage.
第546行: 第536行:
|
|
|1.0
|1.0
|- id="war_stability_factor"
|-id="war_stability_factor"
|war_stability_factor
|war_stability_factor
|Modifies the stability loss caused by being at war.
|Modifies the stability loss caused by being at war.
| <pre>war_stability_factor = 0.3</pre>
|<pre>war_stability_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
| 1.0
|1.0
|- id="war_support_factor"
|-id="war_support_factor"
|war_support_factor
|war_support_factor
| Modifies war support of the country.
|Modifies war support of the country.
|<pre>war_support_factor = 0.3</pre>
|<pre>war_support_factor = 0.3</pre>
| Flat.
|Flat.
|
|
|1.0
|1.0
|- id="war_support_weekly"
|-id="war_support_weekly"
|war_support_weekly
|war_support_weekly
| Modifies weekly war support gain of the country.
|Modifies weekly war support gain of the country.
| <pre>war_support_weekly = 0.01</pre>
|<pre>war_support_weekly = 0.01</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|- id="war_support_weekly_factor"
|-id="war_support_weekly_factor"
|war_support_weekly_factor
|war_support_weekly_factor
|Modifies weekly war support gain of the country by a percentage.
|Modifies weekly war support gain of the country by a percentage.
第574行: 第564行:
|
|
|1.0
|1.0
|- id="weekly_casualties_war_support"
|-id="weekly_casualties_war_support"
|weekly_casualties_war_support
|weekly_casualties_war_support
|Modifies weekly war support gain of the country depending on the casualties suffered by it.
|Modifies weekly war support gain of the country depending on the casualties suffered by it.
第581行: 第571行:
|
|
|1.12
|1.12
|- id="weekly_convoys_war_support"
|-id="weekly_convoys_war_support"
| 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.
|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> 
|<pre>weekly_convoys_war_support = 0.006</pre>
|Percentual.
|Percentual.
|
|
|1.12
|1.12
|- id="weekly_bombing_war_support"
|-id="weekly_bombing_war_support"
|weekly_bombing_war_support
|weekly_bombing_war_support
|Modifies weekly war support gain of the country depending on the enemy bombing of its states.
|Modifies weekly war support gain of the country depending on the enemy bombing of its states.
第595行: 第585行:
|
|
|1.12
|1.12
|- id="drift_defence_factor"
|-id="drift_defence_factor"
|drift_defence_factor
|drift_defence_factor
|Ideology drift defense.
|Ideology drift defense.
第602行: 第592行:
|
|
|1.0
|1.0
|- id="power_balance_daily"
|-id="power_balance_daily"
|power_balance_daily
|power_balance_daily
|Pushes the power balance by a specified amount on each day.
|Pushes the power balance by a specified amount on each day.
| <pre>power_balance_daily = 0.01</pre>
|<pre>power_balance_daily = 0.01</pre>
|Flat.
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|1.12
|- id="power_balance_weekly"
|-id="power_balance_weekly"
|power_balance_weekly
|power_balance_weekly
|Pushes the power balance by a specified amount on each week. 
|Pushes the power balance by a specified amount on each week.
|<pre>power_balance_weekly = 0.01</pre>
|<pre>power_balance_weekly = 0.01</pre>
|Flat.
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|1.12
|- id="ideology_drift"
|-id="ideology_drift"
|<ideology>_drift
|<ideology>_drift
|Daily gain of the specified ideology.
|Daily gain of the specified ideology.
|<pre>communism_drift = 0.03</pre> 
|<pre>communism_drift = 0.03</pre>
| Flat.
|Flat.
|
|
|1.0
|1.0
|- id="ideology_acceptance"
|-id="ideology_acceptance"
|<ideology>_acceptance
|<ideology>_acceptance
|Likelihood of AI to accept offers from countries of the specified ideology.
|Likelihood of AI to accept offers from countries of the specified ideology.
第631行: 第621行:
|1.0
|1.0
|}
|}
====Diplomacy====
 
==== Diplomacy ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Diplomatic country-scoped modifiers:}}
{| 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="10%" | Name
! width="25%" |Effects
! width="25%" | Effects
! width="25%" |Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="civil_war_involvement_tension"
|-id="civil_war_involvement_tension"
|civil_war_involvement_tension
|civil_war_involvement_tension
|Changes the world tension amount necessary to intervene in an ally's civil war.
|Changes the world tension amount necessary to intervene in an ally's civil war.
第648行: 第640行:
|
|
|1.0
|1.0
|- id="enemy_declare_war_tension"
|-id="enemy_declare_war_tension"
|enemy_declare_war_tension
|enemy_declare_war_tension
|Changes the world tension required for an enemy to justify a wargoal on us.
|Changes the world tension required for an enemy to justify a wargoal on us.
|<pre>enemy_declare_war_tension = 0.5</pre>
|<pre>enemy_declare_war_tension = 0.5</pre>
|Flat. 
|Flat.
|
|
|1.0
|1.0
|- id="enemy_justify_war_goal_time"
|-id="enemy_justify_war_goal_time"
|enemy_justify_war_goal_time
|enemy_justify_war_goal_time
|Changes the time required for an enemy to justify a wargoal on us.
|Changes the time required for an enemy to justify a wargoal on us.
第662行: 第654行:
|This also modifies the cost in political power.
|This also modifies the cost in political power.
|1.0
|1.0
|- id="faction_trade_opinion_factor"
|-id="faction_trade_opinion_factor"
|faction_trade_opinion_factor
|faction_trade_opinion_factor
|Changes the opinion gain gained by trade between faction members.
|Changes the opinion gain gained by trade between faction members.
第669行: 第661行:
|
|
|1.0
|1.0
|- id="generate_wargoal_tension"
|-id="generate_wargoal_tension"
|generate_wargoal_tension
|generate_wargoal_tension
|Changes the necessary tension for us to generate a wargoal.
|Changes the necessary tension for us to generate a wargoal.
第675行: 第667行:
|Flat.
|Flat.
|
|
|1.0 
|1.0
|- id="guarantee_cost"
|-id="guarantee_cost"
|guarantee_cost
|guarantee_cost
|Cost in political power for the country to guarantee an another country.
|Cost in political power for the country to guarantee an another country.
第683行: 第675行:
|
|
|1.4
|1.4
|- id="guarantee_tension"
|-id="guarantee_tension"
|guarantee_tension
|guarantee_tension
|Necessary world tension for the country to guarantee an another country.
|Necessary world tension for the country to guarantee an another country.
第690行: 第682行:
|
|
|1.0
|1.0
|- id="join_faction_tension"
|-id="join_faction_tension"
|join_faction_tension
|join_faction_tension
|Necessary world tension for the country to join a faction.
|Necessary world tension for the country to join a faction.
第697行: 第689行:
|
|
|1.0
|1.0
|- id="justify_war_goal_time"
|-id="justify_war_goal_time"
|justify_war_goal_time
|justify_war_goal_time
|The amount of time necessary to justify a wargoal.
|The amount of time necessary to justify a wargoal.
|<pre>justify_war_goal_time = 0.3</pre> 
|<pre>justify_war_goal_time = 0.3</pre>
|Percentual.
|Percentual.
|This also modifies the cost in political power. 
|This also modifies the cost in political power.
|1.0
|1.0
|- id="justify_war_goal_when_in_major_war_time"
|-id="justify_war_goal_when_in_major_war_time"
|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.
|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>
|<pre>justify_war_goal_when_in_major_war_time = 0.3</pre>
| Percentual.
|Percentual.
|This also modifies the cost in political power.
|This also modifies the cost in political power.
|1.0
|1.0
|- id="lend_lease_tension"
|-id="lend_lease_tension"
|lend_lease_tension
|lend_lease_tension
|Necessary world tension for the country to lend-lease.
|Necessary world tension for the country to lend-lease.
第718行: 第710行:
|
|
|1.0
|1.0
|- id="lend_lease_tension_with_overlord"
|-id="lend_lease_tension_with_overlord"
|lend_lease_tension_with_overlord
|lend_lease_tension_with_overlord
|Necessary world tension for the country to lend-lease to its overlord.
|Necessary world tension for the country to lend-lease to its overlord.
|<pre>lend_lease_tension_with_overlord = 0.3</pre>
|<pre>lend_lease_tension_with_overlord = 0.3</pre>
| Flat.
|Flat.
|
|
|1.13 
|1.13
|- id="opinion_gain_monthly"
|-id="opinion_gain_monthly"
|opinion_gain_monthly
|opinion_gain_monthly
|Changes opinion gain from the 'Improve relations' diplomatic action.
|Changes opinion gain from the 'Improve relations' diplomatic action.
|<pre>opinion_gain_monthly = 5</pre>
|<pre>opinion_gain_monthly = 5</pre>
| Flat.
|Flat.
|
|
|1.0
|1.0
|- id="opinion_gain_monthly_factor"
|-id="opinion_gain_monthly_factor"
|opinion_gain_monthly_factor
|opinion_gain_monthly_factor
| Changes opinion gain from the 'Improve relations' diplomatic action by a percentage.
|Changes opinion gain from the 'Improve relations' diplomatic action by a percentage.
|<pre>opinion_gain_monthly_factor = 0.3</pre>
|<pre>opinion_gain_monthly_factor = 0.3</pre>
|Percentual. 
|Percentual.
|
|
|1.0
|1.0
|- id="opinion_gain_monthly_same_ideology"
|-id="opinion_gain_monthly_same_ideology"
|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.
|Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology.
第746行: 第738行:
|
|
|1.0
|1.0
|- id="opinion_gain_monthly_same_ideology_factor"
|-id="opinion_gain_monthly_same_ideology_factor"
|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.
|Changes opinion gain from the 'Improve relations' diplomatic action for countries of the same ideology by a percentage.
第753行: 第745行:
|
|
|1.0
|1.0
|- id="request_lease_tension"
|-id="request_lease_tension"
| request_lease_tension
|request_lease_tension
|Necessary world tension for the country to request lend-lease.
|Necessary world tension for the country to request lend-lease.
|<pre>request_lease_tension = 0.3</pre>
|<pre>request_lease_tension = 0.3</pre>
第760行: 第752行:
|
|
|1.9
|1.9
|- id="annex_cost_factor"
|-id="annex_cost_factor"
|annex_cost_factor
|annex_cost_factor
|Modifies the cost in victory points to annex states in peace deals.
|Modifies the cost in victory points to annex states in peace deals.
第767行: 第759行:
|
|
|1.0
|1.0
|- id="puppet_cost_factor"
|-id="puppet_cost_factor"
|puppet_cost_factor
|puppet_cost_factor
|Modifies the cost in victory points per state to puppet countries in peace deals.
|Modifies the cost in victory points per state to puppet countries in peace deals.
|<pre>puppet_cost_factor = 0.1</pre> 
|<pre>puppet_cost_factor = 0.1</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="send_volunteer_divisions_required"
|-id="send_volunteer_divisions_required"
|send_volunteer_divisions_required
|send_volunteer_divisions_required
|Changes the number of divisions needed to send volunteers.
|Changes the number of divisions needed to send volunteers.
第781行: 第773行:
|
|
|1.0
|1.0
|- id="send_volunteer_factor"
|-id="send_volunteer_factor"
|send_volunteer_factor
|send_volunteer_factor
|Changes the number of divisions the country can send as volunteers by a percentage.
|Changes the number of divisions the country can send as volunteers by a percentage.
第788行: 第780行:
|
|
|1.0
|1.0
|- id="send_volunteer_size"
|-id="send_volunteer_size"
| send_volunteer_size
|send_volunteer_size
|Changes the number of divisions the country can send as volunteers.
|Changes the number of divisions the country can send as volunteers.
|<pre>send_volunteer_size = 5</pre>
|<pre>send_volunteer_size = 5</pre>
第795行: 第787行:
|
|
|1.0
|1.0
|- id="send_volunteers_tension"
|-id="send_volunteers_tension"
|send_volunteers_tension
|send_volunteers_tension
|Changes the world tension necessary for the country to send volunteers.
|Changes the world tension necessary for the country to send volunteers.
第802行: 第794行:
|
|
|1.0
|1.0
|- id="air_volunteer_cap"
|-id="air_volunteer_cap"
|air_volunteer_cap
|air_volunteer_cap
|Changes the amount of airforce you can send as volunteers.
|Changes the amount of airforce you can send as volunteers.
第809行: 第801行:
|
|
|1.5
|1.5
|- id="embargo_threshold_factor"
|-id="embargo_threshold_factor"
|embargo_threshold_factor
|embargo_threshold_factor
|Changes the necessary world tension level in order to be able to embargo a country.
|Changes the necessary world tension level in order to be able to embargo a country.
|<pre>embargo_threshold_factor = 0.2</pre> 
|<pre>embargo_threshold_factor = 0.2</pre>
| Percentual.
|Percentual.
|
|
|1.12
|1.12
|- id="embargo_cost_factor"
|-id="embargo_cost_factor"
|embargo_cost_factor
|embargo_cost_factor
|Changes the cost in political power to send an embargo.
|Changes the cost in political power to send an embargo.
第824行: 第816行:
|1.12
|1.12
|}
|}
====Autonomy====
 
==== Autonomy ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" | {{nowrap|Autonomy-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Autonomy-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="autonomy_gain"
|-id="autonomy_gain"
|autonomy_gain
|autonomy_gain
|Daily gain of autonomy.
|Daily gain of autonomy.
第841行: 第835行:
|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.
|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
|1.3
|- id="autonomy_gain_global_factor"
|-id="autonomy_gain_global_factor"
| autonomy_gain_global_factor
|autonomy_gain_global_factor
|Modifies all gain of autonomy by a subject.
|Modifies all gain of autonomy by a subject.
|<pre>autonomy_gain_global_factor = 0.5</pre>
|<pre>autonomy_gain_global_factor = 0.5</pre>
第848行: 第842行:
|
|
|1.4
|1.4
|- id="subjects_autonomy_gain"
|-id="subjects_autonomy_gain"
|subjects_autonomy_gain
|subjects_autonomy_gain
|Daily gain of autonomy in our subjects.
|Daily gain of autonomy in our subjects.
|<pre>subjects_autonomy_gain = 0.5</pre>
|<pre>subjects_autonomy_gain = 0.5</pre>
| Flat.
|Flat.
|
|
| 1.3
|1.3
|- id="autonomy_gain_ll_to_overlord"
|-id="autonomy_gain_ll_to_overlord"
|autonomy_gain_ll_to_overlord
|autonomy_gain_ll_to_overlord
|Modifies gain of autonomy from lend-leasing to the overworld.
|Modifies gain of autonomy from lend-leasing to the overworld.
|<pre>autonomy_gain_ll_to_overlord = 0.5</pre>
|<pre>autonomy_gain_ll_to_overlord = 0.5</pre>
| Flat.
|Flat.
|
|
|1.3
|1.3
|- id="autonomy_gain_ll_to_overlord_factor"
|-id="autonomy_gain_ll_to_overlord_factor"
|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.
|Modifies gain of autonomy from lend-leasing to the overlord by a percentage.
第869行: 第863行:
|
|
|1.3
|1.3
|- id="autonomy_gain_ll_to_subject"
|-id="autonomy_gain_ll_to_subject"
|autonomy_gain_ll_to_subject
|autonomy_gain_ll_to_subject
|Modifies loss of autonomy from lend-leasing to the subject.
|Modifies loss of autonomy from lend-leasing to the subject.
第876行: 第870行:
|
|
|1.3
|1.3
|- id="autonomy_gain_ll_to_subject_factor"
|-id="autonomy_gain_ll_to_subject_factor"
|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.
|Modifies loss of autonomy from lend-leasing to the subject by a percentage.
第883行: 第877行:
|
|
|1.3
|1.3
|- id="autonomy_gain_trade"
|-id="autonomy_gain_trade"
|autonomy_gain_trade
|autonomy_gain_trade
|Modifies gain of autonomy from the overlord trading with the subject.
|Modifies gain of autonomy from the overlord trading with the subject.
第890行: 第884行:
|
|
|1.3
|1.3
|- id="autonomy_gain_trade_factor"
|-id="autonomy_gain_trade_factor"
|autonomy_gain_trade_factor
|autonomy_gain_trade_factor
|Modifies gain of autonomy from the overlord trading with the subject by a percentage.
|Modifies gain of autonomy from the overlord trading with the subject by a percentage.
第897行: 第891行:
|
|
|1.3
|1.3
|- id="autonomy_gain_warscore"
|-id="autonomy_gain_warscore"
|autonomy_gain_warscore 
|autonomy_gain_warscore
|Modifies gain of autonomy from the subject gaining warscore.
|Modifies gain of autonomy from the subject gaining warscore.
|<pre>autonomy_gain_warscore = 0.5</pre>
|<pre>autonomy_gain_warscore = 0.5</pre>
第904行: 第898行:
|
|
|1.3
|1.3
|- id="autonomy_gain_warscore_factor"
|-id="autonomy_gain_warscore_factor"
|autonomy_gain_warscore_factor
|autonomy_gain_warscore_factor
|Modifies gain of autonomy from the subject gaining warscore by a percentage.
|Modifies gain of autonomy from the subject gaining warscore by a percentage.
第911行: 第905行:
|
|
|1.3
|1.3
|- id="autonomy_manpower_share"
|-id="autonomy_manpower_share"
|autonomy_manpower_share 
|autonomy_manpower_share
|Modifies the amount of manpower the overlord can use from the subject.
|Modifies the amount of manpower the overlord can use from the subject.
|<pre>autonomy_manpower_share = 0.5</pre>
|<pre>autonomy_manpower_share = 0.5</pre>
第918行: 第912行:
|
|
|1.3
|1.3
|- id="can_master_build_for_us"
|-id="can_master_build_for_us"
|can_master_build_for_us
|can_master_build_for_us
|Makes the overlord be able to build in the subject.
|Makes the overlord be able to build in the subject.
第925行: 第919行:
|
|
|1.3
|1.3
|- id="cic_to_overlord_factor"
|-id="cic_to_overlord_factor"
| cic_to_overlord_factor 
|cic_to_overlord_factor
|Modifies the amount of the subject's civilian industry that goes to the overlord. 
|Modifies the amount of the subject's civilian industry that goes to the overlord.
|<pre>cic_to_overlord_factor = 0.3</pre>
|<pre>cic_to_overlord_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.3
|1.3
|- id="mic_to_overlord_factor"
|-id="mic_to_overlord_factor"
| mic_to_overlord_factor
|mic_to_overlord_factor
|Modifies the amount of the subject's military industry that goes to the overlord.
|Modifies the amount of the subject's military industry that goes to the overlord.
|<pre>mic_to_overlord_factor = 0.3</pre>
|<pre>mic_to_overlord_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
| 1.3
|1.3
|- id="extra_trade_to_overlord_factor"
|-id="extra_trade_to_overlord_factor"
|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.
|Modifies the amount of the subject's resources that the overlord can receive via trade.
第946行: 第940行:
|
|
|1.3
|1.3
|- id="license_subject_master_purchase_cost"
|-id="license_subject_master_purchase_cost"
|license_subject_master_purchase_cost 
|license_subject_master_purchase_cost
|Modifies the cost of licensed production from the overlord.
|Modifies the cost of licensed production from the overlord.
|<pre>license_subject_master_purchase_cost = 0.3</pre>
|<pre>license_subject_master_purchase_cost = 0.3</pre>
第953行: 第947行:
|
|
|1.4
|1.4
|- id="master_build_autonomy_factor"
|-id="master_build_autonomy_factor"
|master_build_autonomy_factor
|master_build_autonomy_factor
|Modifies loss of autonomy from the overlord building in subject's states by a percentage.
|Modifies loss of autonomy from the overlord building in subject's states by a percentage.
第960行: 第954行:
|
|
|1.3
|1.3
|- id="master_ideology_drift"
|-id="master_ideology_drift"
|master_ideology_drift
|master_ideology_drift
|Changes daily gain of the overlord's ideology in the country.
|Changes daily gain of the overlord's ideology in the country.
第967行: 第961行:
|
|
|1.6
|1.6
|- id="overlord_trade_cost_factor"
|-id="overlord_trade_cost_factor"
|overlord_trade_cost_factor
|overlord_trade_cost_factor
|Modifies the cost of trade between the overlord and the subject in civilian factories.
|Modifies the cost of trade between the overlord and the subject in civilian factories.
第975行: 第969行:
|1.3
|1.3
|}
|}
====Governments in exile ====
 
==== Governments in exile ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Government-in-exile-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Government-in-exile-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="dockyard_donations"
! width="5%" | Version added
|-id="dockyard_donations"
|dockyard_donations
|dockyard_donations
|Amount of dockyards donated.
|Amount of dockyards donated.
第992行: 第988行:
|
|
|1.6
|1.6
|- id="industrial_factory_donations"
|-id="industrial_factory_donations"
|industrial_factory_donations
|industrial_factory_donations
|Amount of civilian factories donated.
|Amount of civilian factories donated.
第999行: 第995行:
|
|
|1.6
|1.6
|- id="military_factory_donations"
|-id="military_factory_donations"
|military_factory_donations
|military_factory_donations
|Amount of military factories donated. 
|Amount of military factories donated.
|<pre>military_factory_donations = 2</pre>
|<pre>military_factory_donations = 2</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|- id="exile_manpower_factor"
|-id="exile_manpower_factor"
|exile_manpower_factor
|exile_manpower_factor
|Amount of manpower given to the host country.
|Amount of manpower given to the host country.
| <pre>exile_manpower_factor = 0.5</pre>
|<pre>exile_manpower_factor = 0.5</pre>
| Percentual. 
|Percentual.
|
|
|1.6
|1.6
|- id="exiled_government_weekly_manpower"
|-id="exiled_government_weekly_manpower"
|exiled_government_weekly_manpower
|exiled_government_weekly_manpower
|Amount of weekly manpower given to the host country.
|Amount of weekly manpower given to the host country.
第1,020行: 第1,016行:
|
|
|1.11
|1.11
|- id="legitimacy_daily"
|-id="legitimacy_daily"
|legitimacy_daily
|legitimacy_daily
|Changes the amount of legitimacy gained daily.
|Changes the amount of legitimacy gained daily.
| <pre>legitimacy_daily = 1</pre>
|<pre>legitimacy_daily = 1</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|- id="legitimacy_gain_factor"
|-id="legitimacy_gain_factor"
|legitimacy_gain_factor
|legitimacy_gain_factor
|Changes the amount of legitimacy gained daily by a percentage. 
|Changes the amount of legitimacy gained daily by a percentage.
|<pre>legitimacy_gain_factor = 1</pre>
|<pre>legitimacy_gain_factor = 1</pre>
|Percentual.
|Percentual.
第1,035行: 第1,031行:
|1.9
|1.9
|}
|}
====Equipment====
 
==== Equipment ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Equipment-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Equipment-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="equipment_capture"
|-id="equipment_capture"
|equipment_capture
|equipment_capture
|Changes the combat equipment capture ratio.
|Changes the combat equipment capture ratio.
第1,051行: 第1,049行:
|Flat.
|Flat.
|
|
|1.0 
|1.0
|- id="equipment_capture_factor"
|-id="equipment_capture_factor"
|equipment_capture_factor
|equipment_capture_factor
|Modifies the combat equipment capture ratio.
|Modifies the combat equipment capture ratio.
第1,059行: 第1,057行:
|
|
|1.0
|1.0
|- id="equipment_conversion_speed"
|-id="equipment_conversion_speed"
|equipment_conversion_speed
|equipment_conversion_speed
|Changes the speed at which equipment is converted.
|Changes the speed at which equipment is converted.
第1,066行: 第1,064行:
|
|
|1.0
|1.0
|- id="equipment_upgrade_xp_cost"
|-id="equipment_upgrade_xp_cost"
|equipment_upgrade_xp_cost
|equipment_upgrade_xp_cost
|Changes the experience cost to upgrade military equipment.
|Changes the experience cost to upgrade military equipment.
|<pre>equipment_upgrade_xp_cost = 0.5 </pre>
|<pre>equipment_upgrade_xp_cost = 0.5 </pre>
|Percentual. 
|Percentual.
|
|
| 1.0
|1.0
|- id="license_purchase_cost"
|-id="license_purchase_cost"
|license_purchase_cost
|license_purchase_cost
|Changes the cost of licensed equipment by a percentage.
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost = 0.5 </pre> 
|<pre>license_purchase_cost = 0.5 </pre>
|Percentual.
|Percentual.
|Can be used as a targeted modifier.
|Can be used as a targeted modifier.
|1.4
|1.4
|- id="license_<equipment type>_cost_factor"
|-id="license_<equipment type>_cost_factor"
|license_purchase_cost_factor
|license_purchase_cost_factor
|Changes the cost of licensed equipment by a percentage.
|Changes the cost of licensed equipment by a percentage.
第1,087行: 第1,085行:
|Allowed equipment types are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|Allowed equipment types are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.4
|1.4
|- id="license_<category&gt;_purchase_cost"
|-id="license_<category>_purchase_cost"
| license_purchase_cost_factor
|license_purchase_cost_factor
|Changes the cost of licensed equipment by a percentage.
|Changes the cost of licensed equipment by a percentage.
| <pre>license_purchase_cost_factor = 0.5 </pre>
|<pre>license_purchase_cost_factor = 0.5 </pre>
|Percentual.
|Percentual.
|Allowed categories are air, armor, infantry, and naval. Can be used as a targeted modifier.
|Allowed categories are air, armor, infantry, and naval. Can be used as a targeted modifier.
|1.4
|1.4
|- id="license_tech_difference_speed"
|-id="license_tech_difference_speed"
|license_tech_difference_speed
|license_tech_difference_speed
|Changes the production penalty of licensed equipment by tech difference by a percentage. 
|Changes the production penalty of licensed equipment by tech difference by a percentage.
|<pre>license_tech_difference_speed = 0.5 </pre>
|<pre>license_tech_difference_speed = 0.5 </pre>
|Percentual.
|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. 
|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
|1.4
|- id="license_production_speed"
|-id="license_production_speed"
|license_production_speed
|license_production_speed
|Changes the production speed of licensed equipment by a percentage.
|Changes the production speed of licensed equipment by a percentage.
|<pre>license_production_speed = 0.5 </pre>
|<pre>license_production_speed = 0.5 </pre>
|Percentual. 
|Percentual.
|Can be used as a targeted modifier.
|Can be used as a targeted modifier.
|1.4
|1.4
|- id="license_<category&gt;_production_speed_factor"
|-id="license_<category>_production_speed_factor"
|license_<category>_production_speed_factor
|license_<category>_production_speed_factor
|Changes the production speed of licensed equipment by a percentage.
|Changes the production speed of licensed equipment by a percentage.
第1,115行: 第1,113行:
|Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.6
|1.6
|- id="production_cost_max_<ship type>"
|-id="production_cost_max_<ship type>"
|production_cost_max_<ship type> 
|production_cost_max_<ship type>
| Modifies the maximum cost of the ship type.
|Modifies the maximum cost of the ship type.
|<pre>production_cost_max_ship_hull_light = 0.3</pre>
|<pre>production_cost_max_ship_hull_light = 0.3</pre>
|Percentual.
|Percentual.
|Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine
|Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine
|1.6
|1.6
|- id="production_factory_efficiency_gain_factor"
|-id="production_factory_efficiency_gain_factor"
|production_factory_efficiency_gain_factor
|production_factory_efficiency_gain_factor
|Production efficiency growth.
|Production efficiency growth.
第1,129行: 第1,127行:
|
|
|1.0
|1.0
|- id="production_factory_max_efficiency_factor"
|-id="production_factory_max_efficiency_factor"
|production_factory_max_efficiency_factor
|production_factory_max_efficiency_factor
|Production efficiency cap.
|Production efficiency cap.
第1,136行: 第1,134行:
|
|
|1.0
|1.0
|- id="production_factory_start_efficiency_factor"
|-id="production_factory_start_efficiency_factor"
|production_factory_start_efficiency_factor
|production_factory_start_efficiency_factor
| Production efficiency base.
|Production efficiency base.
|<pre>production_factory_start_efficiency_factor = 0.5 </pre>
|<pre>production_factory_start_efficiency_factor = 0.5 </pre>
| Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="line_change_production_efficiency_factor"
|-id="line_change_production_efficiency_factor"
|line_change_production_efficiency_factor
|line_change_production_efficiency_factor
|Production efficiency retention.
|Production efficiency retention.
第1,150行: 第1,148行:
|
|
|1.0
|1.0
|- id="production_lack_of_resource_penalty_factor"
|-id="production_lack_of_resource_penalty_factor"
|production_lack_of_resource_penalty_factor
|production_lack_of_resource_penalty_factor
|Lack of resources penalty. 
|Lack of resources penalty.
|<pre>production_lack_of_resource_penalty_factor = 0.5 </pre>
|<pre>production_lack_of_resource_penalty_factor = 0.5 </pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="floating_harbor_duration"
|-id="floating_harbor_duration"
| floating_harbor_duration
|floating_harbor_duration
|Modifies the duration of floating harbours.
|Modifies the duration of floating harbours.
|<pre>floating_harbor_duration = 2</pre>
|<pre>floating_harbor_duration = 2</pre>
第1,164行: 第1,162行:
|
|
|1.11
|1.11
|- id="floating_harbor_range"
|-id="floating_harbor_range"
|floating_harbor_range
|floating_harbor_range
|Modifies the range of floating harbours.
|Modifies the range of floating harbours.
第1,171行: 第1,169行:
|
|
|1.11
|1.11
|- id="floating_harbor_supply"
|-id="floating_harbor_supply"
|floating_harbor_supply
|floating_harbor_supply
|Modifies the supply of floating harbours.
|Modifies the supply of floating harbours.
第1,178行: 第1,176行:
|
|
|1.11
|1.11
|- id="railway_gun_bombardment_factor"
|-id="railway_gun_bombardment_factor"
|railway_gun_bombardment_factor
|railway_gun_bombardment_factor
|Modifies the bombardment of railway guns.
|Modifies the bombardment of railway guns.
第1,186行: 第1,184行:
|1.11
|1.11
|}
|}
====Fuel and supply====
 
==== Fuel and supply ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Supply-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Supply-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="base_fuel_gain"
! width="5%" | Version added
|base_fuel_gain
|-id="base_fuel_gain"
| Changes base daily gain of fuel.
|base_fuel_gain
|Changes base daily gain of fuel.
|<pre>base_fuel_gain = 100</pre>
|<pre>base_fuel_gain = 100</pre>
| Flat.
|Flat.
|
|
|1.6
|1.6
|- id="base_fuel_gain_factor"
|-id="base_fuel_gain_factor"
|base_fuel_gain_factor
|base_fuel_gain_factor
|Changes base daily gain of fuel by a percentage.
|Changes base daily gain of fuel by a percentage.
第1,210行: 第1,210行:
|
|
|1.6
|1.6
|- id="fuel_cost"
|-id="fuel_cost"
|fuel_cost
|fuel_cost
|Changes daily cost of fuel.
|Changes daily cost of fuel.
|<pre>fuel_cost = 100</pre>
|<pre>fuel_cost = 100</pre>
|Flat. 
|Flat.
|
|
|1.6
|1.6
|- id="fuel_gain"
|-id="fuel_gain"
|fuel_gain
|fuel_gain
|Changes daily gain of fuel from our controlled oil.
|Changes daily gain of fuel from our controlled oil.
第1,224行: 第1,224行:
|
|
|1.6
|1.6
|- id="fuel_gain_factor"
|-id="fuel_gain_factor"
|fuel_gain_factor
|fuel_gain_factor
|Changes daily gain of fuel from our controlled oil by a percentage.
|Changes daily gain of fuel from our controlled oil by a percentage.
第1,231行: 第1,231行:
|
|
|1.6
|1.6
|- id="fuel_gain_from_states"
|-id="fuel_gain_from_states"
|fuel_gain_from_states 
|fuel_gain_from_states
|Changes daily gain of fuel.
|Changes daily gain of fuel.
|<pre>fuel_gain_from_states = 100</pre>
|<pre>fuel_gain_from_states = 100</pre>
|Flat. 
|Flat.
|Refineries use this modifier.
|Refineries use this modifier.
|1.6
|1.6
|- id="fuel_gain_factor_from_states"
|-id="fuel_gain_factor_from_states"
|fuel_gain_factor_from_states
|fuel_gain_factor_from_states
|Changes daily gain of fuel by a percentage.
|Changes daily gain of fuel by a percentage.
第1,245行: 第1,245行:
|Modifies fuel gain from refineries.
|Modifies fuel gain from refineries.
|1.6
|1.6
|- id="max_fuel"
|-id="max_fuel"
|max_fuel
|max_fuel
|Changes maximum amount of fuel you can have.
|Changes maximum amount of fuel you can have.
第1,252行: 第1,252行:
|
|
|1.6
|1.6
|- id="max_fuel_factor"
|-id="max_fuel_factor"
|max_fuel_factor
|max_fuel_factor
|Changes maximum amount of fuel you can have by a percentage.
|Changes maximum amount of fuel you can have by a percentage.
第1,259行: 第1,259行:
|
|
|1.6
|1.6
|- id="army_fuel_capacity_factor"
|-id="army_fuel_capacity_factor"
|army_fuel_capacity_factor
|army_fuel_capacity_factor
|Modifies how much fuel a single unit can store before running out.
|Modifies how much fuel a single unit can store before running out.
|<pre>army_fuel_capacity_factor = 0.3</pre>
|<pre>army_fuel_capacity_factor = 0.3</pre>
|Percentual. 
|Percentual.
|
|
|1.6
|1.6
|- id="army_fuel_consumption_factor"
|-id="army_fuel_consumption_factor"
|army_fuel_consumption_factor
|army_fuel_consumption_factor
|Modifies the rate at which the army consumes fuel.
|Modifies the rate at which the army consumes fuel.
第1,273行: 第1,273行:
|
|
|1.6
|1.6
|- id="air_fuel_consumption_factor"
|-id="air_fuel_consumption_factor"
|air_fuel_consumption_factor
|air_fuel_consumption_factor
|Modifies the rate at which the airforce consumes fuel.
|Modifies the rate at which the airforce consumes fuel.
第1,280行: 第1,280行:
|
|
|1.6
|1.6
|- id="navy_fuel_consumption_factor"
|-id="navy_fuel_consumption_factor"
|navy_fuel_consumption_factor 
|navy_fuel_consumption_factor
|Modifies the rate at which the navy consumes fuel.
|Modifies the rate at which the navy consumes fuel.
|<pre>navy_fuel_consumption_factor = 0.3</pre>
|<pre>navy_fuel_consumption_factor = 0.3</pre>
第1,287行: 第1,287行:
|
|
|1.6
|1.6
|- id="supply_factor"
|-id="supply_factor"
|supply_factor
|supply_factor
|Modifies the total amount of supply the military has.
|Modifies the total amount of supply the military has.
第1,294行: 第1,294行:
|
|
|1.11
|1.11
|- id="supply_combat_penalties_on_core_factor"
|-id="supply_combat_penalties_on_core_factor"
|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.
|Modifies the penalty given by low supply when the army is on a core state.
第1,301行: 第1,301行:
|
|
|1.11
|1.11
|- id="supply_consumption_factor"
|-id="supply_consumption_factor"
|supply_consumption_factor
|supply_consumption_factor
| Modifies the rate at which army consumes supply.
|Modifies the rate at which army consumes supply.
|<pre>supply_consumption_factor = 0.3</pre> 
|<pre>supply_consumption_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="no_supply_grace"
|-id="no_supply_grace"
|no_supply_grace
|no_supply_grace
|Modifies the grace period for units without supply.
|Modifies the grace period for units without supply.
第1,315行: 第1,315行:
|
|
|1.0
|1.0
|- id="out_of_supply_factor"
|-id="out_of_supply_factor"
|out_of_supply_factor
|out_of_supply_factor
|Reduces the penalty that units take when they run out of supplies.
|Reduces the penalty that units take when they run out of supplies.
第1,322行: 第1,322行:
|
|
|1.0
|1.0
|- id="attrition"
|-id="attrition"
|attrition
|attrition
| Modifies the army's attrition.
|Modifies the army's attrition.
|<pre>attrition = 0.3</pre>
|<pre>attrition = 0.3</pre>
|Percentual.
|Percentual.
|Can also be used in states or provinces.
|Can also be used in states or provinces.
|1.0
|1.0
|- id="unit_upkeep_attrition_factor"
|-id="unit_upkeep_attrition_factor"
|unit_upkeep_attrition_factor
|unit_upkeep_attrition_factor
| Modifies the unit upkeep. 
|Modifies the unit upkeep.
|<pre>unit_upkeep_attrition_factor = 0.3</pre>
|<pre>unit_upkeep_attrition_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="naval_attrition"
|-id="naval_attrition"
| naval_attrition
|naval_attrition
|Modifies attrition suffered by naval units.
|Modifies attrition suffered by naval units.
| <pre>naval_attrition = 0.3</pre>
|<pre>naval_attrition = 0.3</pre>
| Percentual.
|Percentual.
|
|
|1.6
|1.6
|- id="heat_attrition"
|-id="heat_attrition"
|heat_attrition
|heat_attrition
|Changes the attrition due to heat.
|Changes the attrition due to heat.
|<pre>heat_attrition = 0.5</pre> 
|<pre>heat_attrition = 0.5</pre>
|Flat.
|Flat.
|
|
| 1.3
|1.3
|- id="heat_attrition_factor"
|-id="heat_attrition_factor"
|heat_attrition_factor 
|heat_attrition_factor
|Changes the attrition due to heat by a percentage.
|Changes the attrition due to heat by a percentage.
|<pre>heat_attrition_factor = 0.5</pre>
|<pre>heat_attrition_factor = 0.5</pre>
第1,357行: 第1,357行:
|
|
|1.3
|1.3
|- id="winter_attrition"
|-id="winter_attrition"
|winter_attrition
|winter_attrition
|Changes the attrition due to winter.
|Changes the attrition due to winter.
第1,364行: 第1,364行:
|
|
|1.3
|1.3
|- id="winter_attrition_factor"
|-id="winter_attrition_factor"
|winter_attrition_factor
|winter_attrition_factor
|Changes the attrition due to winter by a percentage.
|Changes the attrition due to winter by a percentage.
第1,371行: 第1,371行:
|
|
|1.3
|1.3
|- id="extra_marine_supply_grace"
|-id="extra_marine_supply_grace"
|extra_marine_supply_grace 
|extra_marine_supply_grace
|Changes the supply grace given to marines.
|Changes the supply grace given to marines.
|<pre>extra_marine_supply_grace = 96</pre>
|<pre>extra_marine_supply_grace = 96</pre>
|Flat. 
|Flat.
|
|
|1.0
|1.0
|- id="extra_paratrooper_supply_grace"
|-id="extra_paratrooper_supply_grace"
|extra_paratrooper_supply_grace 
|extra_paratrooper_supply_grace
|Changes the supply grace given to paratroopers. 
|Changes the supply grace given to paratroopers.
|<pre>extra_paratrooper_supply_grace = 96</pre>
|<pre>extra_paratrooper_supply_grace = 96</pre>
| Flat.
|Flat.
|
|
|1.0
|1.0
|- id="special_forces_no_supply_grace"
|-id="special_forces_no_supply_grace"
| special_forces_no_supply_grace
|special_forces_no_supply_grace
|Changes the supply grace period for special forces.
|Changes the supply grace period for special forces.
|<pre>special_forces_no_supply_grace = 120</pre>
|<pre>special_forces_no_supply_grace = 120</pre>
第1,392行: 第1,392行:
|
|
|1.0
|1.0
|- id="special_forces_out_of_supply_factor"
|-id="special_forces_out_of_supply_factor"
|special_forces_out_of_supply_factor
|special_forces_out_of_supply_factor
|Changes the penalty for special forces out of supply.
|Changes the penalty for special forces out of supply.
第1,398行: 第1,398行:
|Percentual.
|Percentual.
|
|
|1.0 
|1.0
|- id="truck_attrition"
|-id="truck_attrition"
|truck_attrition
|truck_attrition
|Changes the attrition supply trucks suffer from.
|Changes the attrition supply trucks suffer from.
第1,406行: 第1,406行:
|
|
|1.11
|1.11
|- id="truck_attrition_factor"
|-id="truck_attrition_factor"
|truck_attrition_factor
|truck_attrition_factor
|Modifies the attrition supply trucks suffer from.
|Modifies the attrition supply trucks suffer from.
第1,414行: 第1,414行:
|1.11
|1.11
|}
|}
====Buildings====
 
==== Buildings ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Building-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Building-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="production_speed_buildings_factor"
! width="5%" | Version added
|-id="production_speed_buildings_factor"
|production_speed_buildings_factor
|production_speed_buildings_factor
|Changes the construction speed of all buildings.
|Changes the construction speed of all buildings.
第1,430行: 第1,432行:
|Percentual.
|Percentual.
|
|
| 1.0 
|1.0
|- id="production_speed_building_factor"
|-id="production_speed_building_factor"
|production_speed_<building>_factor
|production_speed_<building>_factor
|Changes the construction speed of a specific building.
|Changes the construction speed of a specific building.
第1,438行: 第1,440行:
|
|
|1.0
|1.0
|- id="production_cost_building_factor"
|-id="production_cost_building_factor"
|production_cost_<building>_factor
|production_cost_<building>_factor
|Changes the base cost of a specific building.
|Changes the base cost of a specific building.
第1,445行: 第1,447行:
|Localization is missing and must be added yourself.
|Localization is missing and must be added yourself.
|Unknown
|Unknown
|- id="civilian_factory_use"
|-id="civilian_factory_use"
|civilian_factory_use
|civilian_factory_use
|Uses the specified amount of civilian factory as a special project.
|Uses the specified amount of civilian factory as a special project.
|<pre>civilian_factory_use = 3</pre>
|<pre>civilian_factory_use = 3</pre>
|Flat.
|Flat.
|Requires either the {{icon|wtt|1}} DLC or the {{icon|lar|1}} DLC to have any effect.
|
|1.5
|1.5
|- id="consumer_goods_factor"
|-id="consumer_goods_factor"
|consumer_goods_factor
|consumer_goods_factor
|Modifies the percentage of factories used for consumer goods.
|Modifies the percentage of factories used for consumer goods.
| <pre>consumer_goods_factor = 0.1</pre>
|<pre>consumer_goods_factor = 0.1</pre>
|Multiplicative.
|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>.
|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
|1.0
|- id="consumer_goods_expected_value"
|-id="consumer_goods_expected_value"
| consumer_goods_expected_value
|consumer_goods_expected_value
|Sets the baseline percentage of expected consumer goods.
|Sets the baseline percentage of expected consumer goods.
|<pre>consumer_goods_expected_value = 0.1</pre>
|<pre>consumer_goods_expected_value = 0.1</pre>
第1,466行: 第1,468行:
|'''Only updates when the economy law of the country changes'''.
|'''Only updates when the economy law of the country changes'''.
|1.13
|1.13
|- id="conversion_cost_civ_to_mil_factor"
|-id="conversion_cost_civ_to_mil_factor"
|conversion_cost_civ_to_mil_factor
|conversion_cost_civ_to_mil_factor
|Changes the cost to convert civilian factories to military factories. 
|Changes the cost to convert civilian factories to military factories.
|<pre>conversion_cost_civ_to_mil_factor = 0.4</pre>
|<pre>conversion_cost_civ_to_mil_factor = 0.4</pre>
|Percentual.
|Percentual.
|
|
|1.5
|1.5
|- id="conversion_cost_mil_to_civ_factor"
|-id="conversion_cost_mil_to_civ_factor"
|conversion_cost_mil_to_civ_factor
|conversion_cost_mil_to_civ_factor
|Changes the cost to convert military factories to civilian factories.
|Changes the cost to convert military factories to civilian factories.
第1,480行: 第1,482行:
|
|
|1.5
|1.5
|- id="global_building_slots"
|-id="global_building_slots"
| global_building_slots
|global_building_slots
|Changes amount of building slots in our every state.
|Changes amount of building slots in our every state.
|<pre>global_building_slots = 1</pre>
|<pre>global_building_slots = 1</pre>
第1,487行: 第1,489行:
|
|
|1.0
|1.0
|- id="global_building_slots_factor"
|-id="global_building_slots_factor"
|global_building_slots_factor
|global_building_slots_factor
|Changes amount of building slots in our every state by a percentage.
|Changes amount of building slots in our every state by a percentage.
第1,494行: 第1,496行:
|
|
|1.0
|1.0
|- id="industrial_capacity_dockyard"
|-id="industrial_capacity_dockyard"
|industrial_capacity_dockyard
|industrial_capacity_dockyard
|Dockyard output.
|Dockyard output.
|<pre>industrial_capacity_dockyard = 0.3</pre>
|<pre>industrial_capacity_dockyard = 0.3</pre>
|Percentual. 
|Percentual.
|
|
| 1.3.3
|1.3.3
|- id="industrial_capacity_factory"
|-id="industrial_capacity_factory"
|industrial_capacity_factory
|industrial_capacity_factory
|Military factory output. 
|Military factory output.
|<pre>industrial_capacity_factory = 0.3</pre>
|<pre>industrial_capacity_factory = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="industry_air_damage_factor"
|-id="industry_air_damage_factor"
|industry_air_damage_factor
|industry_air_damage_factor
| Amount of damage our factories receive from air bombings.
|Amount of damage our factories receive from air bombings.
|<pre>industry_air_damage_factor = 0.3</pre>
|<pre>industry_air_damage_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="industry_free_repair_factor"
|-id="industry_free_repair_factor"
|industry_free_repair_factor 
|industry_free_repair_factor
|Changes the speed at which buildings repair themselves without factories assigned.
|Changes the speed at which buildings repair themselves without factories assigned.
|<pre>industry_free_repair_factor = 0.3</pre>
|<pre>industry_free_repair_factor = 0.3</pre>
第1,522行: 第1,524行:
|
|
|1.0
|1.0
|- id="industry_repair_factor"
|-id="industry_repair_factor"
|industry_repair_factor
|industry_repair_factor
|Changes the speed at which buildings are repaired.
|Changes the speed at which buildings are repaired.
第1,529行: 第1,531行:
|
|
|1.0
|1.0
|- id="production_oil_factor"
|-id="production_oil_factor"
|production_oil_factor
|production_oil_factor
|Synthetic oil gain.
|Synthetic oil gain.
|<pre>production_oil_factor = 0.5 </pre> 
|<pre>production_oil_factor = 0.5 </pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="repair_speed_buildingf_factor"
|-id="repair_speed_buildingf_factor"
|repair_speed_<building>_factor
|repair_speed_<building>_factor
|Changes the repair speed of a specific building.
|Changes the repair speed of a specific building.
第1,543行: 第1,545行:
|
|
|1.0
|1.0
|- id="supply_node_range"
|-id="supply_node_range"
|supply_node_range
|supply_node_range
|Increases the effective range of supply nodes.
|Increases the effective range of supply nodes.
第1,550行: 第1,552行:
|
|
|1.11
|1.11
|- id="static_anti_air_damage_factor"
|-id="static_anti_air_damage_factor"
|static_anti_air_damage_factor
|static_anti_air_damage_factor
|Modifies the damage done to planes by the anti-air buildings.
|Modifies the damage done to planes by the anti-air buildings.
第1,557行: 第1,559行:
|
|
|1.0
|1.0
|- id="static_anti_air_hit_chance_factor"
|-id="static_anti_air_hit_chance_factor"
|static_anti_air_hit_chance_factor
|static_anti_air_hit_chance_factor
|Modifies the chance for the anti-air buildings to hit enemy planes.
|Modifies the chance for the anti-air buildings to hit enemy planes.
第1,563行: 第1,565行:
|Percentual.
|Percentual.
|
|
| 1.0
|1.0
|- id="tech_air_damage_factor"
|-id="tech_air_damage_factor"
| tech_air_damage_factor
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|<pre>tech_air_damage_factor = 0.1</pre> 
|<pre>tech_air_damage_factor = 0.1</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="tech_air_damage_factor"
|-id="tech_air_damage_factor"
|tech_air_damage_factor
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|Modifies the damage done to the country's planes by enemy anti-air buildings.
第1,578行: 第1,580行:
|
|
|1.0
|1.0
|- id="cic_construction_boost"
|-id="cic_construction_boost"
|cic_construction_boost 
|cic_construction_boost
|Modifies the base construction speed from civilian factories.
|Modifies the base construction speed from civilian factories.
|<pre>cic_construction_boost = 0.1</pre>
|<pre>cic_construction_boost = 0.1</pre>
第1,585行: 第1,587行:
|
|
|1.13
|1.13
|- id="cic_construction_boost_factor"
|-id="cic_construction_boost_factor"
|cic_construction_boost_factor
|cic_construction_boost_factor
|Modifies the modifier to the base construction speed from civilian factories.
|Modifies the modifier to the base construction speed from civilian factories.
| <pre>cic_construction_boost_factor = 0.1</pre> 
|<pre>cic_construction_boost_factor = 0.1</pre>
|Percentual.
|Percentual.
|
|
| 1.13
|1.13
|- id="land_bunker_effectiveness_factor"
|-id="land_bunker_effectiveness_factor"
|land_bunker_effectiveness_factor 
|land_bunker_effectiveness_factor
|Modifies the effectiveness of land forts in defence.
|Modifies the effectiveness of land forts in defence.
|<pre>land_bunker_effectiveness_factor = 0.1</pre>
|<pre>land_bunker_effectiveness_factor = 0.1</pre>
第1,599行: 第1,601行:
|
|
|1.13
|1.13
|- id="coastal_bunker_effectiveness_factor"
|-id="coastal_bunker_effectiveness_factor"
|coastal_bunker_effectiveness_factor
|coastal_bunker_effectiveness_factor
|Modifies the effectiveness of coastal forts in defence.
|Modifies the effectiveness of coastal forts in defence.
第1,607行: 第1,609行:
|1.13
|1.13
|}
|}
====Resistance and compliance====
 
==== Resistance and compliance ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Resistance-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Resistance-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="compliance_growth_on_our_occupied_states"
|-id="compliance_growth_on_our_occupied_states"
|compliance_growth_on_our_occupied_states
|compliance_growth_on_our_occupied_states
|Changes the compliance growth speed on the country's controlled states.
|Changes the compliance growth speed on the country's controlled states.
|<pre>compliance_growth_on_our_occupied_states = 0.5</pre>
|<pre>compliance_growth_on_our_occupied_states = 0.5</pre>
|Percentual. 
|Percentual.
|
|
|1.9
|1.9
|- id="no_compliance_gain"
|-id="no_compliance_gain"
|no_compliance_gain
|no_compliance_gain
|Disables the compliance gain on our controlled states. 
|Disables the compliance gain on our controlled states.
|<pre>no_compliance_gain = 1</pre>
|<pre>no_compliance_gain = 1</pre>
|Boolean (only 1).
|Boolean (only 1).
| Can also be used in state scope.
|Can also be used in state scope.
|1.9
|1.9
|- id="required_garrison_factor"
|-id="required_garrison_factor"
| required_garrison_factor
|required_garrison_factor
|Changes the required garrison in our occupied states.
|Changes the required garrison in our occupied states.
|<pre>required_garrison_factor = 0.5</pre>
|<pre>required_garrison_factor = 0.5</pre>
| Percentual.
|Percentual.
|Can also be used in state scope.
|Can also be used in state scope. 
|1.9
|1.9
|- id="resistance_activity"
|-id="resistance_activity"
|resistance_activity
|resistance_activity
|Changes the chance for resistance activity to occur on our occupied states.
|Changes the chance for resistance activity to occur on our occupied states.
第1,645行: 第1,649行:
|
|
|1.9
|1.9
|- id="resistance_damage_to_garrison_on_our_occupied_states"
|-id="resistance_damage_to_garrison_on_our_occupied_states"
|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.
|Changes the resistance damage to the garrison in our occupied states.
第1,652行: 第1,656行:
|
|
|1.9
|1.9
|- id="resistance_decay_on_our_occupied_states"
|-id="resistance_decay_on_our_occupied_states"
|resistance_decay_on_our_occupied_states
|resistance_decay_on_our_occupied_states
|Changes the resistance decay in our occupied states. 
|Changes the resistance decay in our occupied states.
|<pre>resistance_decay_on_our_occupied_states = 0.5</pre>
|<pre>resistance_decay_on_our_occupied_states = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.9
|1.9
|- id="resistance_growth_on_our_occupied_states"
|-id="resistance_growth_on_our_occupied_states"
|resistance_growth_on_our_occupied_states
|resistance_growth_on_our_occupied_states
|Changes the resistance growth speed in our occupied states.
|Changes the resistance growth speed in our occupied states.
|<pre>resistance_growth_on_our_occupied_states = 0.5</pre>
|<pre>resistance_growth_on_our_occupied_states = 0.5</pre>
| Percentual.
|Percentual.
|
|
|1.9
|1.9
|- id="resistance_target_on_our_occupied_states"
|-id="resistance_target_on_our_occupied_states"
|resistance_target_on_our_occupied_states 
|resistance_target_on_our_occupied_states
|Changes the resistance target in our occupied states.
|Changes the resistance target in our occupied states.
|<pre>resistance_target_on_our_occupied_states = 0.5</pre>
|<pre>resistance_target_on_our_occupied_states = 0.5</pre>
第1,675行: 第1,679行:
|-
|-
|resistance_target
|resistance_target
|Changes the resistance target in foreign states occupied by us 
|Changes the resistance target in foreign states occupied by us
| <pre>resistance_target = 0.5</pre>
|<pre>resistance_target = 0.5</pre>
|Percentual
|Percentual
|
|
|1.9
|1.9
|}
|}
====Intelligence====
 
==== Intelligence ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Intelligence-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Intelligence-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="agency_upgrade_time"
! width="5%" | Version added
|agency_upgrade_time
|-id="agency_upgrade_time"
|agency_upgrade_time
|Changes the time it takes to upgrade the agency
|Changes the time it takes to upgrade the agency
|<pre>agency_upgrade_time = 0.5</pre>
|<pre>agency_upgrade_time = 0.5</pre>
第1,698行: 第1,704行:
|
|
|1.9
|1.9
|- id="decryption"
|-id="decryption"
|decryption
|decryption
|Changes the decription capability of the country. 
|Changes the decription capability of the country.
|<pre>decryption = 1</pre>
|<pre>decryption = 1</pre>
|Flat.
|Flat.
|Only works with the {{icon|lar|1}} DLC disabled.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|- id="decryption_factor"
|-id="decryption_factor"
|decryption_factor
|decryption_factor
|Changes the decription capability of the country by a percentage.
|Changes the decription capability of the country by a percentage.
第1,712行: 第1,718行:
|Only works with the {{icon|lar|1}} DLC disabled.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|- id="encryption"
|-id="encryption"
|encryption
|encryption
|Changes the encryption capability of the country.
|Changes the encryption capability of the country.
|<pre>encryption = 1</pre>
|<pre>encryption = 1</pre>
| Flat.
|Flat.
|Only works with the {{icon|lar|1}} DLC disabled.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0 
|1.0
|- id="encryption_factor"
|-id="encryption_factor"
|encryption_factor 
|encryption_factor
|Changes the encryption capability of the country by a percentage.
|Changes the encryption capability of the country by a percentage.
|<pre>encryption_factor = 0.5</pre>
|<pre>encryption_factor = 0.5</pre>
第1,726行: 第1,732行:
|Only works with the {{icon|lar|1}} DLC disabled.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|- id="<type&gt;_intel_decryption_bonus"
|-id="<type>_intel_decryption_bonus"
|<type>_intel_decryption_bonus
|<type>_intel_decryption_bonus
|Adds a cipher bonus to the specified intel.
|Adds a cipher bonus to the specified intel.
第1,733行: 第1,739行:
|Types are: airforce, army, civilian, navy.
|Types are: airforce, army, civilian, navy.
|1.9
|1.9
|- id="<type&gt;_intel_factor"
|-id="<type>_intel_factor"
|<type>_intel_factor
|<type>_intel_factor
|Modifies the intelligence you receive of the specified type.
|Modifies the intelligence you receive of the specified type.
|<pre>navy_intel_factor = 0.5</pre>
|<pre>navy_intel_factor = 0.5</pre>
| Percentual.
|Percentual.
|Types are: airforce, army, civilian, navy.
|Types are: airforce, army, civilian, navy.
|1.9
|1.9
|- id="<type&gt;_intel_to_others"
|-id="<type>_intel_to_others"
|<type>_intel_to_others
|<type>_intel_to_others
|Changes the amount of intel other countries will receive of the specified type.
|Changes the amount of intel other countries will receive of the specified type.
| <pre>civilian_intel_to_others = 0.5</pre>
|<pre>civilian_intel_to_others = 0.5</pre>
|Percentual.
|Percentual.
|Types are: airforce, army, civilian, navy. 
|Types are: airforce, army, civilian, navy.
|1.9
|1.9
|- id="female_random_operative_chance"
|-id="female_random_operative_chance"
|female_random_operative_chance
|female_random_operative_chance
|Changes the chance for a randomly-generated operative to be female.
|Changes the chance for a randomly-generated operative to be female.
|<pre>female_random_operative_chance = 0.3</pre>
|<pre>female_random_operative_chance = 0.3</pre>
| Percentual.
|Percentual.
|
|
|1.9.1
|1.9.1
|- id="foreign_subversive_activites"
|-id="foreign_subversive_activites"
|foreign_subversive_activites
|foreign_subversive_activites
|Changes efficiency of foreign subversive activities.
|Changes efficiency of foreign subversive activities.
第1,760行: 第1,766行:
|Percentual.
|Percentual.
|
|
|1.9 
|1.9
|- id="intel_network_gain"
|-id="intel_network_gain"
|intel_network_gain
|intel_network_gain
|Changes gain of intel network strength.
|Changes gain of intel network strength.
|<pre>intel_network_gain = 1</pre>
|<pre>intel_network_gain = 1</pre>
|Flat. 
|Flat.
|Can also be used in state scope.
|Can also be used in state scope.
|1.9
|1.9
|- id="intel_network_gain_factor"
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|intel_network_gain_factor
|Changes gain of intel network strength by a percentage.
|Changes gain of intel network strength by a percentage.
|<pre>intel_network_gain_factor = 0.5</pre>
|<pre>intel_network_gain_factor = 0.5</pre>
| Percentual.
|Percentual.
|Can also be used in state scope.
|Can also be used in state scope.
|1.9
|1.9
|- id="subversive_activites_upkeep"
|-id="subversive_activites_upkeep"
|subversive_activites_upkeep
|subversive_activites_upkeep
| Changes the cost of subversive activities.
|Changes the cost of subversive activities.
|<pre>subversive_activites_upkeep = 0.5</pre>
|<pre>subversive_activites_upkeep = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="operation_cost"
|-id="operation_cost"
|operation_cost
|operation_cost
|Changes the cost of operations. 
|Changes the cost of operations.
|<pre>operation_cost = 0.5</pre>
|<pre>operation_cost = 0.5</pre>
|Percentual.
|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.
|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
|1.9
|- id="operation_outcome"
|-id="operation_outcome"
|operation_outcome
|operation_outcome
|Changes the efficiency of operations.
|Changes the efficiency of operations.
第1,796行: 第1,802行:
|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.
|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
|1.9
|- id="operation_risk"
|-id="operation_risk"
|operation_risk
|operation_risk
|Changes the risk of operations.
|Changes the risk of operations.
|<pre>operation_risk = 0.5</pre>
|<pre>operation_risk = 0.5</pre>
|Percentual.
|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.
|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
|1.9
|- id="<operation&gt;_cost"
|-id="<operation>_cost"
|<operation>_cost
|<operation>_cost
|Changes the cost of the specified operation.
|Changes the cost of the specified operation.
|<pre>operation_infiltrate_cost = 0.5</pre>
|<pre>operation_infiltrate_cost = 0.5</pre>
|Percentual.
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block. 
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block.
|1.9 
|1.9
|- id="<operation&gt;_outcome"
|-id="<operation>_outcome"
|<operation>_outcome
|<operation>_outcome
|Changes the efficiency of the specified operation.
|Changes the efficiency of the specified operation.
|<pre>operation_coup_government_outcome = 0.5</pre>
|<pre>operation_coup_government_outcome = 0.5</pre>
|Percentual.
|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.
|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
|1.9
|- id="<operation&gt;_risk"
|-id="<operation>_risk"
| <operation>_risk
|<operation>_risk
|Changes the risk of the specified operation.
|Changes the risk of the specified operation.
|<pre>operation_make_resistance_contacts_risk = 0.5</pre>
|<pre>operation_make_resistance_contacts_risk = 0.5</pre>
第1,824行: 第1,830行:
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block.
|1.9
|1.9
|- id="<mission&gt;_factor"
|-id="<mission>_factor"
|<mission>_factor
|<mission>_factor
|Modifies the effect of the specified mission. 
|Modifies the effect of the specified mission.
|<pre>boost_ideology_mission_factor = 0.5</pre>
|<pre>boost_ideology_mission_factor = 0.5</pre>
|Percentual. 
|Percentual.
|Types are: boost_ideology_mission, boost_resistance, control_trade_mission, diplomatic_pressure_mission, propaganda_mission, root_out_resistance_effectiveness.
|Types are: boost_ideology_mission, boost_resistance, control_trade_mission, diplomatic_pressure_mission, propaganda_mission, root_out_resistance_effectiveness.
|1.9
|1.9
|- id="commando_trait_chance_factor"
|-id="commando_trait_chance_factor"
|commando_trait_chance_factor
|commando_trait_chance_factor
|Modifies the chance for an operative to get the commando trait when hired.
|Modifies the chance for an operative to get the commando trait when hired.
第1,838行: 第1,844行:
|
|
|1.9
|1.9
|- id="crypto_department_enabled"
|-id="crypto_department_enabled"
|crypto_department_enabled
|crypto_department_enabled
|Enables the crypto department.
|Enables the crypto department.
第1,845行: 第1,851行:
|
|
|1.9
|1.9
|- id="crypto_strength"
|-id="crypto_strength"
|crypto_strength
|crypto_strength
|Modifies the cryptology level.
|Modifies the cryptology level.
第1,852行: 第1,858行:
|{{icon|lar|1}} DLC enabled.
|{{icon|lar|1}} DLC enabled.
|1.9
|1.9
|- id="decryption_power"
|-id="decryption_power"
|decryption_power
|decryption_power
|Modifies the decryption power.
|Modifies the decryption power.
第1,858行: 第1,864行:
|Flat.
|Flat.
|{{icon|lar|1}} DLC enabled.
|{{icon|lar|1}} DLC enabled.
|1.9 
|1.9
|- id="decryption_power_factor"
|-id="decryption_power_factor"
|decryption_power_factor
|decryption_power_factor
|Modifies the decryption power by a percentage.
|Modifies the decryption power by a percentage.
第1,866行: 第1,872行:
|{{icon|lar|1}} DLC enabled.
|{{icon|lar|1}} DLC enabled.
|1.9
|1.9
|- id="defense_impact_on_blueprint_stealing"
|-id="defense_impact_on_blueprint_stealing"
|defense_impact_on_blueprint_stealing
|defense_impact_on_blueprint_stealing
|Modifies the impact of enemy defense on the blueprint stealing operation.
|Modifies the impact of enemy defense on the blueprint stealing operation.
第1,873行: 第1,879行:
|
|
|1.9
|1.9
|- id="intel_from_combat_factor"
|-id="intel_from_combat_factor"
|intel_from_combat_factor
|intel_from_combat_factor
|Modifies the intelligence gained from combat.
|Modifies the intelligence gained from combat.
第1,879行: 第1,885行:
|Percentual.
|Percentual.
|
|
| 1.9 
|1.9
|- id="intel_from_operatives_factor"
|-id="intel_from_operatives_factor"
|intel_from_operatives_factor
|intel_from_operatives_factor
|Modifies the intelligence gained from operatives and infiltrated assets.
|Modifies the intelligence gained from operatives and infiltrated assets.
| <pre>intel_from_operatives_factor = 0.3</pre>
|<pre>intel_from_operatives_factor = 0.3</pre>
|Percentual. 
|Percentual.
|
|
|1.9
|1.9
|- id="intel_network_gain"
|-id="intel_network_gain"
| intel_network_gain
|intel_network_gain
|Modifies the intelligence network gain.
|Modifies the intelligence network gain.
|<pre>intel_network_gain = 0.3</pre>
|<pre>intel_network_gain = 0.3</pre>
第1,894行: 第1,900行:
|
|
|1.9
|1.9
|- id="intel_network_gain_factor"
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|intel_network_gain_factor
|Modifies the intelligence network gain by a percentage. 
|Modifies the intelligence network gain by a percentage.
|<pre>intel_network_gain_factor = 0.3</pre>
|<pre>intel_network_gain_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
| 1.9
|1.9
|- id="intelligence_agency_defense"
|-id="intelligence_agency_defense"
|intelligence_agency_defense
|intelligence_agency_defense
|Modifies the counter intelligence.
|Modifies the counter intelligence.
第1,908行: 第1,914行:
|
|
|1.9
|1.9
|- id="root_out_resistance_effectiveness_factor"
|-id="root_out_resistance_effectiveness_factor"
|root_out_resistance_effectiveness_factor
|root_out_resistance_effectiveness_factor
|Modifies the effectiveness of rooting out resistance.
|Modifies the effectiveness of rooting out resistance.
第1,916行: 第1,922行:
|1.9
|1.9
|}
|}
====Operatives====
 
==== Operatives ====
These can be used in both the country scope and operative scope, such as traits, unless specified otherwise.
These can be used in both the country scope and operative scope, such as traits, unless specified otherwise.
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{| 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:}}
|+ style="text-align: center;" width = "100%" |{{nowrap|Operative-related country-scoped modifiers:}}<br/>
! width="10%" |Name
! width="10%" | Name
! width="25%" |Effects
! width="25%" | Effects
! width="25%" |Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="own_operative_capture_chance_factor"
|-id="own_operative_capture_chance_factor"
|own_operative_capture_chance_factor
|own_operative_capture_chance_factor
|Changes the chance for our operatives to be captured.
|Changes the chance for our operatives to be captured.
第1,933行: 第1,940行:
|
|
|1.9
|1.9
|- id="own_operative_detection_chance"
|-id="own_operative_detection_chance"
| own_operative_detection_chance
|own_operative_detection_chance
|Changes the chance for our operatives to be detected.
|Changes the chance for our operatives to be detected.
|<pre>own_operative_detection_chance = 10</pre>
|<pre>own_operative_detection_chance = 10</pre>
|Flat.
|Flat.
|
|
| 1.9
|1.9
|- id="own_operative_detection_chance_factor"
|-id="own_operative_detection_chance_factor"
|own_operative_detection_chance_factor
|own_operative_detection_chance_factor
|Changes the chance for our operatives to be detected by a percentage. 
|Changes the chance for our operatives to be detected by a percentage.
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.9
|1.9
|- id="own_operative_forced_into_hiding_time_factor"
|-id="own_operative_forced_into_hiding_time_factor"
|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.
|Changes the chance for our operatives to be forced into hiding by a percentage.
第1,954行: 第1,961行:
|
|
|1.9
|1.9
|- id="own_operative_harmed_time_factor"
|-id="own_operative_harmed_time_factor"
|own_operative_harmed_time_factor
|own_operative_harmed_time_factor
|Changes the chance for our operatives to be harmed by a percentage.
|Changes the chance for our operatives to be harmed by a percentage.
第1,961行: 第1,968行:
|
|
|1.9
|1.9
|- id="own_operative_intel_extraction_rate"
|-id="own_operative_intel_extraction_rate"
|own_operative_intel_extraction_rate
|own_operative_intel_extraction_rate
|Changes the rate at which our operatives extract enemy intel. 
|Changes the rate at which our operatives extract enemy intel.
|<pre>own_operative_intel_extraction_rate = 0.5</pre>
|<pre>own_operative_intel_extraction_rate = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.9
|1.9
|- id="enemy_operative_capture_chance_factor"
|-id="enemy_operative_capture_chance_factor"
|enemy_operative_capture_chance_factor
|enemy_operative_capture_chance_factor
|Changes the chance for an enemy operative to be captured.
|Changes the chance for an enemy operative to be captured.
|<pre>enemy_operative_capture_chance_factor = 0.5</pre> 
|<pre>enemy_operative_capture_chance_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
| 1.9
|1.9
|- id="enemy_operative_detection_chance"
|-id="enemy_operative_detection_chance"
|enemy_operative_detection_chance
|enemy_operative_detection_chance
|Changes the chance for an enemy operative to be detected.
|Changes the chance for an enemy operative to be detected.
|<pre>enemy_operative_detection_chance = 10</pre>
|<pre>enemy_operative_detection_chance = 10</pre>
| Flat.
|Flat.
|
|
|1.9
|1.9
|- id="enemy_operative_detection_chance_factor"
|-id="enemy_operative_detection_chance_factor"
|enemy_operative_detection_chance_factor
|enemy_operative_detection_chance_factor
|Changes the chance for an enemy operative to be detected by a percentage.
|Changes the chance for an enemy operative to be detected by a percentage.
第1,989行: 第1,996行:
|
|
|1.9
|1.9
|- id="enemy_operative_forced_into_hiding_time_factor"
|-id="enemy_operative_forced_into_hiding_time_factor"
|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.
|Changes the chance for an enemy operative to be forced into hiding by a percentage.
第1,996行: 第2,003行:
|
|
|1.9
|1.9
|- id="enemy_operative_harmed_time_factor"
|-id="enemy_operative_harmed_time_factor"
| enemy_operative_harmed_time_factor
|enemy_operative_harmed_time_factor
|Changes the chance for an enemy operative to be harmed by a percentage.
|Changes the chance for an enemy operative to be harmed by a percentage.
|<pre>enemy_operative_harmed_time_factor = 0.5</pre>
|<pre>enemy_operative_harmed_time_factor = 0.5</pre>
第2,003行: 第2,010行:
|
|
|1.9
|1.9
|- id="enemy_operative_intel_extraction_rate"
|-id="enemy_operative_intel_extraction_rate"
|enemy_operative_intel_extraction_rate
|enemy_operative_intel_extraction_rate
|Changes the rate at which the enemy operatives extract our intel.
|Changes the rate at which the enemy operatives extract our intel.
|<pre>enemy_operative_intel_extraction_rate = 0.5</pre>
|<pre>enemy_operative_intel_extraction_rate = 0.5</pre>
|Percentual. 
|Percentual.
|
|
|1.9
|1.9
|- id="enemy_spy_negative_status_factor"
|-id="enemy_spy_negative_status_factor"
|enemy_spy_negative_status_factor
|enemy_spy_negative_status_factor
|Changes the chance an enemy spy can receive a negative status.
|Changes the chance an enemy spy can receive a negative status.
| <pre>enemy_spy_negative_status_factor = 0.5</pre>
|<pre>enemy_spy_negative_status_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.9
|1.9
|- id="enemy_operative_recruitment_chance"
|-id="enemy_operative_recruitment_chance"
|enemy_operative_recruitment_chance
|enemy_operative_recruitment_chance
|Modifies the chance to recruit an enemy operative.
|Modifies the chance to recruit an enemy operative.
第2,023行: 第2,030行:
|Percentual.
|Percentual.
|Cannot be used in operative scope.
|Cannot be used in operative scope.
|1.9 
|1.9
|- id="new_operative_slot_bonus"
|-id="new_operative_slot_bonus"
|new_operative_slot_bonus
|new_operative_slot_bonus
|Modifies the operative recruitment choices. 
|Modifies the operative recruitment choices.
| <pre>new_operative_slot_bonus = 1</pre>
|<pre>new_operative_slot_bonus = 1</pre>
|Flat.
|Flat.
|Cannot be used in operative scope.
|Cannot be used in operative scope.
|1.9
|1.9
|- id="occupied_operative_recruitment_chance"
|-id="occupied_operative_recruitment_chance"
|occupied_operative_recruitment_chance
|occupied_operative_recruitment_chance
|Modifies the chance to get an operative from occupied territory.
|Modifies the chance to get an operative from occupied territory.
第2,037行: 第2,044行:
|Percentual.
|Percentual.
|Cannot be used in operative scope.
|Cannot be used in operative scope.
|1.9 
|1.9
|- id="operative_death_on_capture_chance"
|-id="operative_death_on_capture_chance"
|operative_death_on_capture_chance
|operative_death_on_capture_chance
|Modifies the chance for the country's operative to die on being captured.
|Modifies the chance for the country's operative to die on being captured.
第2,045行: 第2,052行:
|Cannot be used in operative scope.
|Cannot be used in operative scope.
|1.9
|1.9
|- id="operative_slot"
|-id="operative_slot"
|operative_slot
|operative_slot
|Modifies the amount of operative slots.
|Modifies the amount of operative slots.
第2,053行: 第2,060行:
|1.9
|1.9
|}
|}
====AI====
 
==== AI ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|AI-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|AI-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
! width="25%" |Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="ai_badass_factor"
|-id="ai_badass_factor"
|ai_badass_factor
|ai_badass_factor
|AI's threat perception.
|AI's threat perception.
第2,070行: 第2,079行:
|
|
|1.0
|1.0
|- id="ai_call_ally_desire_factor"
|-id="ai_call_ally_desire_factor"
|ai_call_ally_desire_factor
|ai_call_ally_desire_factor
|Chance for AI to call allies.
|Chance for AI to call allies.
| <pre>ai_call_ally_desire_factor = 0.5</pre> 
|<pre>ai_call_ally_desire_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="ai_desired_divisions_factor"
|-id="ai_desired_divisions_factor"
|ai_desired_divisions_factor 
|ai_desired_divisions_factor
|The amount of divisions AI seeks to produce.
|The amount of divisions AI seeks to produce.
| <pre>ai_desired_divisions_factor = 0.5</pre>
|<pre>ai_desired_divisions_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="ai_focus_aggressive_factor"
|-id="ai_focus_aggressive_factor"
| ai_focus_aggressive_factor
|ai_focus_aggressive_factor
|AI's focus on offense.
|AI's focus on offense.
|<pre>ai_focus_aggressive_factor = 0.5</pre>
|<pre>ai_focus_aggressive_factor = 0.5</pre>
第2,091行: 第2,100行:
|
|
|1.0
|1.0
|- id="ai_focus_defense_factor"
|-id="ai_focus_defense_factor"
|ai_focus_defense_factor
|ai_focus_defense_factor
|AI's focus on defense. 
|AI's focus on defense.
|<pre>ai_focus_defense_factor = 0.5</pre>
|<pre>ai_focus_defense_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="ai_focus_aviation_factor"
|-id="ai_focus_aviation_factor"
|ai_focus_aviation_factor 
|ai_focus_aviation_factor
|AI's focus on aviation.
|AI's focus on aviation.
|<pre>ai_focus_aviation_factor = 0.5</pre>
|<pre>ai_focus_aviation_factor = 0.5</pre>
第2,105行: 第2,114行:
|
|
|1.0
|1.0
|- id="ai_focus_military_advancements_factor"
|-id="ai_focus_military_advancements_factor"
|ai_focus_military_advancements_factor
|ai_focus_military_advancements_factor
|AI's focus on advanced military technologies.
|AI's focus on advanced military technologies.
|<pre>ai_focus_military_advancements_factor = 0.5</pre> 
|<pre>ai_focus_military_advancements_factor = 0.5</pre>
|Percentual. 
|Percentual.
|
|
|1.0
|1.0
|- id="ai_focus_military_equipment_factor"
|-id="ai_focus_military_equipment_factor"
|ai_focus_military_equipment_factor
|ai_focus_military_equipment_factor
|AI's focus on advanced military equipment.
|AI's focus on advanced military equipment.
第2,119行: 第2,128行:
|
|
|1.0
|1.0
|- id="ai_focus_naval_air_factor"
|-id="ai_focus_naval_air_factor"
|ai_focus_naval_air_factor
|ai_focus_naval_air_factor
|AI's focus on building naval airforce.
|AI's focus on building naval airforce.
第2,126行: 第2,135行:
|
|
|1.0
|1.0
|- id="ai_focus_naval_factor"
|-id="ai_focus_naval_factor"
|ai_focus_naval_factor
|ai_focus_naval_factor
|AI's focus on building a navy.
|AI's focus on building a navy.
第2,132行: 第2,141行:
|Percentual.
|Percentual.
|
|
|1.0 
|1.0
|- id="ai_focus_peaceful_factor"
|-id="ai_focus_peaceful_factor"
|ai_focus_peaceful_factor
|ai_focus_peaceful_factor
|AI's focus on peaceful research and policies.
|AI's focus on peaceful research and policies.
第2,140行: 第2,149行:
|
|
|1.0
|1.0
|- id="ai_focus_war_production_factor"
|-id="ai_focus_war_production_factor"
|ai_focus_war_production_factor
|ai_focus_war_production_factor
|AI's focus on wartime production.
|AI's focus on wartime production.
第2,147行: 第2,156行:
|
|
|1.0
|1.0
|- id="ai_get_ally_desire_factor"
|-id="ai_get_ally_desire_factor"
|ai_get_ally_desire_factor
|ai_get_ally_desire_factor
|AI's desire to be in or expand a faction. 
|AI's desire to be in or expand a faction.
|<pre>ai_get_ally_desire_factor = 0.5</pre>
|<pre>ai_get_ally_desire_factor = 0.5</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="ai_join_ally_desire_factor"
|-id="ai_join_ally_desire_factor"
|ai_join_ally_desire_factor
|ai_join_ally_desire_factor
|AI's desire to join the wars led by allies.
|AI's desire to join the wars led by allies.
|<pre>ai_join_ally_desire_factor = 0.5</pre>
|<pre>ai_join_ally_desire_factor = 0.5</pre>
|Percentual. 
|Percentual.
|
|
|1.0
|1.0
|- id="ai_license_acceptance"
|-id="ai_license_acceptance"
|ai_license_acceptance
|ai_license_acceptance
| AI's chance to agree licensing equipment.
|AI's chance to agree licensing equipment.
|<pre>ai_license_acceptance = 0.5</pre> 
|<pre>ai_license_acceptance = 0.5</pre>
|Percentual.
|Percentual.
|Can be used as a targeted modifier.
|Can be used as a targeted modifier.
|1.4
|1.4
|}
|}
====Military outside of combat====
 
==== Military outside of combat ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Military-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Military-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="command_power_gain"
! width="5%" | Version added
|command_power_gain
|-id="command_power_gain"
| Changes the daily gain of command power.
|command_power_gain
|Changes the daily gain of command power.
|<pre>command_power_gain = 0.5</pre>
|<pre>command_power_gain = 0.5</pre>
|Flat.
|Flat.
|
|
|1.5
|1.5
|- id="command_power_gain_mult"
|-id="command_power_gain_mult"
|command_power_gain_mult
|command_power_gain_mult
|Changes the daily gain of command power by a percentage.
|Changes the daily gain of command power by a percentage.
|<pre>command_power_gain_mult = 0.5</pre>
|<pre>command_power_gain_mult = 0.5</pre>
| Percentual.
|Percentual.
|
|
|1.5
|1.5
|- id="conscription"
|-id="conscription"
|conscription
|conscription
|Changes the recruitable percentage of the total population.
|Changes the recruitable percentage of the total population.
第2,200行: 第2,211行:
|
|
|1.0
|1.0
|- id="conscription_factor"
|-id="conscription_factor"
| conscription_factor
|conscription_factor
|Changes the recruitable percentage of the total population by a percent. 
|Changes the recruitable percentage of the total population by a percent.
|<pre>conscription_factor = 0.3</pre>
|<pre>conscription_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="experience_gain_army"
|-id="experience_gain_army"
| experience_gain_army
|experience_gain_army
|Modifies the daily gain of army experience.
|Modifies the daily gain of army experience.
|<pre>experience_gain_army = 0.5</pre>
|<pre>experience_gain_army = 0.5</pre>
第2,214行: 第2,225行:
|
|
|1.0
|1.0
|- id="experience_gain_army_factor"
|-id="experience_gain_army_factor"
|experience_gain_army_factor
|experience_gain_army_factor
|Modifies the gain of army experience by a percentage.
|Modifies the gain of army experience by a percentage.
第2,221行: 第2,232行:
|
|
|1.0
|1.0
|- id="experience_gain_navy"
|-id="experience_gain_navy"
|experience_gain_navy
|experience_gain_navy
|Modifies the daily gain of naval experience.
|Modifies the daily gain of naval experience.
第2,228行: 第2,239行:
|
|
|1.0
|1.0
|- id="experience_gain_navy_factor"
|-id="experience_gain_navy_factor"
|experience_gain_navy_factor
|experience_gain_navy_factor
|Modifies the gain of naval experience by a percentage.
|Modifies the gain of naval experience by a percentage.
第2,235行: 第2,246行:
|
|
|1.0
|1.0
|- id="experience_gain_air"
|-id="experience_gain_air"
|experience_gain_air
|experience_gain_air
|Modifies the daily gain of air experience.
|Modifies the daily gain of air experience.
第2,242行: 第2,253行:
|
|
|1.0
|1.0
|- id="experience_gain_air_factor"
|-id="experience_gain_air_factor"
|experience_gain_air_factor
|experience_gain_air_factor
|Modifies the daily gain of air experience by a percentage.
|Modifies the daily gain of air experience by a percentage.
第2,249行: 第2,260行:
|
|
|1.0
|1.0
|- id="land_equipment_upgrade_xp_cost"
|-id="land_equipment_upgrade_xp_cost"
|land_equipment_upgrade_xp_cost
|land_equipment_upgrade_xp_cost
|Changes the experience cost to upgrade land army equipment.
|Changes the experience cost to upgrade land army equipment.
第2,256行: 第2,267行:
|
|
|1.0
|1.0
|- id="land_reinforce_rate"
|-id="land_reinforce_rate"
|land_reinforce_rate
|land_reinforce_rate
|Changes the rate at which reinforcements to divisions arrive.
|Changes the rate at which reinforcements to divisions arrive.
第2,263行: 第2,274行:
|
|
|1.0
|1.0
|- id="max_command_power"
|-id="max_command_power"
|max_command_power
|max_command_power
|Changes maximum command power.
|Changes maximum command power.
|<pre>max_command_power = 20</pre> 
|<pre>max_command_power = 20</pre>
|Flat.
|Flat.
|
|
|1.5
|1.5
|- id="max_command_power_mult"
|-id="max_command_power_mult"
| max_command_power_mult
|max_command_power_mult
|Changes maximum command power by a percentage.
|Changes maximum command power by a percentage.
|<pre>max_command_power_mult = 0.3 </pre>
|<pre>max_command_power_mult = 0.3 </pre>
|Percentual.
|Percentual.
|
|
| 1.5
|1.5
|- id="weekly_manpower"
|-id="weekly_manpower"
|weekly_manpower
|weekly_manpower
|Amount of manpower gained each week.
|Amount of manpower gained each week.
第2,284行: 第2,295行:
|
|
|1.6
|1.6
|- id="naval_equipment_upgrade_xp_cost"
|-id="naval_equipment_upgrade_xp_cost"
|naval_equipment_upgrade_xp_cost
|naval_equipment_upgrade_xp_cost
|Changes the naval experience cost to upgrade equipment.
|Changes the naval experience cost to upgrade equipment.
第2,291行: 第2,302行:
|
|
|1.0
|1.0
|- id="refit_ic_cost"
|-id="refit_ic_cost"
|refit_ic_cost
|refit_ic_cost
| The IC cost to refit naval equipment.
|The IC cost to refit naval equipment.
|<pre>refit_ic_cost = 20</pre>
|<pre>refit_ic_cost = 20</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|- id="refit_speed"
|-id="refit_speed"
|refit_speed
|refit_speed
|The speed at which naval equipment is refitted. 
|The speed at which naval equipment is refitted.
|<pre>refit_speed = 0.5</pre>
|<pre>refit_speed = 0.5</pre>
| Percentual.
|Percentual.
|
|
|1.6
|1.6
|- id="air_equipment_upgrade_xp_cost"
|-id="air_equipment_upgrade_xp_cost"
|air_equipment_upgrade_xp_cost
|air_equipment_upgrade_xp_cost
|Changes the air experience cost to upgrade equipment.
|Changes the air experience cost to upgrade equipment.
第2,312行: 第2,323行:
|
|
|1.0
|1.0
|- id="training_time_factor"
|-id="training_time_factor"
|training_time_factor
|training_time_factor
| Modifies the training time for both army and navy.
|Modifies the training time for both army and navy.
|<pre>training_time_factor = 0.3</pre>
|<pre>training_time_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0 
|1.0
|- id="minimum_training_level"
|-id="minimum_training_level"
|minimum_training_level
|minimum_training_level
|Changes training level necessary for the unit to deploy.
|Changes training level necessary for the unit to deploy.
第2,326行: 第2,337行:
|
|
|1.0
|1.0
|- id="max_training"
|-id="max_training"
|max_training
|max_training
|Modifies the required experience to achieve full training.
|Modifies the required experience to achieve full training.
第2,333行: 第2,344行:
|<!--Please test this in-game!-->
|<!--Please test this in-game!-->
|1.0
|1.0
|- id="training_time_army_factor"
|-id="training_time_army_factor"
|training_time_army_factor
|training_time_army_factor
|Modifies the training time for the army.
|Modifies the training time for the army.
第2,340行: 第2,351行:
|
|
|1.0
|1.0
|- id="special_forces_training_time_factor"
|-id="special_forces_training_time_factor"
|special_forces_training_time_factor
|special_forces_training_time_factor
|Changes the time it takes to train special forces.
|Changes the time it takes to train special forces.
| <pre>special_forces_training_time_factor = 0.3</pre>
|<pre>special_forces_training_time_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="land_air_naval_doctrine_cost_factor"
|-id="land_air_naval_doctrine_cost_factor"
|<land/air/naval>_doctrine_cost_factor
|<land/air/naval>_doctrine_cost_factor
|Changes the cost of buying a new doctrine of the specified type.
|Changes the cost of buying a new doctrine of the specified type.
第2,353行: 第2,364行:
|Percentual.
|Percentual.
|
|
| 1.11
|1.11
|- id="doctrine_cost_factor"
|-id="doctrine_cost_factor"
|<doctrine category>_cost_factor
|<doctrine category>_cost_factor
|Modifies the cost of buying a new doctrine of the specified category.
|Modifies the cost of buying a new doctrine of the specified category.
第2,360行: 第2,371行:
|Percentual.
|Percentual.
|Doctrines are defined in {{path|common/technologies/*.txt}}.
|Doctrines are defined in {{path|common/technologies/*.txt}}.
| 1.11
|1.11
|- id="choose_preferred_tactics_cost"
|-id="choose_preferred_tactics_cost"
|choose_preferred_tactics_cost
|choose_preferred_tactics_cost
|Changes the cost to choose a preferred tactic.
|Changes the cost to choose a preferred tactic.
第2,368行: 第2,379行:
|
|
|1.11
|1.11
|- id="command_abilities_cost_factor"
|-id="command_abilities_cost_factor"
|command_abilities_cost_factor
|command_abilities_cost_factor
| Changes the cost to choose a command ability.
|Changes the cost to choose a command ability.
|<pre>command_abilities_cost_factor = -0.3</pre>
|<pre>command_abilities_cost_factor = -0.3</pre>
|Percentual.
|Percentual.
|
|
|1.11
|1.11
|- id="transport_capacity"
|-id="transport_capacity"
|transport_capacity
|transport_capacity
|Modifies how many convoys units require to be transported over sea.
|Modifies how many convoys units require to be transported over sea.
|<pre>transport_capacity = 0.3</pre>
|<pre>transport_capacity = 0.3</pre>
| Percentual.
|Percentual.
|
|
|1.0
|1.0
|- id="paratroopers_special_forces_contribution_factor"
|-id="paratroopers_special_forces_contribution_factor"
|paratroopers_special_forces_contribution_factor
|paratroopers_special_forces_contribution_factor
|Modifies how much paratroopers contribute to the limit of special forces on a template.
|Modifies how much paratroopers contribute to the limit of special forces on a template.
|<pre>paratroopers_special_forces_contribution_factor = 0.3</pre> 
|<pre>paratroopers_special_forces_contribution_factor = 0.3</pre>
|Percentual.
|Percentual.
|
|
|1.13
|1.13
|- id="marines_special_forces_contribution_factor"
|-id="marines_special_forces_contribution_factor"
|marines_special_forces_contribution_factor
|marines_special_forces_contribution_factor
|Modifies how much marines contribute to the limit of special forces on a template.
|Modifies how much marines contribute to the limit of special forces on a template.
第2,395行: 第2,406行:
|Percentual.
|Percentual.
|
|
| 1.13
|1.13
|- id="mountaineers_special_forces_contribution_factor"
|-id="mountaineers_special_forces_contribution_factor"
|mountaineers_special_forces_contribution_factor
|mountaineers_special_forces_contribution_factor
|Modifies how much mountaineers contribute to the limit of special forces on a template.
|Modifies how much mountaineers contribute to the limit of special forces on a template.
第2,403行: 第2,414行:
|
|
|1.13
|1.13
|- id="special_forces_cap_flat"
|-id="special_forces_cap_flat"
|special_forces_cap_flat
|special_forces_cap_flat
|Modifies how many special forces sub-units can be put into a single template.
|Modifies how many special forces sub-units can be put into a single template.
第2,410行: 第2,421行:
|
|
|1.13
|1.13
|- id="additional_brigade_column_size"
|-id="additional_brigade_column_size"
|additional_brigade_column_size
|additional_brigade_column_size
|Changes the amount of maximum unlocked slots on each brigade column in division templates.
|Changes the amount of maximum unlocked slots on each brigade column in division templates.
第2,417行: 第2,428行:
|
|
|1.13
|1.13
|- id="unit_design_cost_factor"
|-id="unit_design_cost_factor"
|unit_<unit type>_design_cost_factor
|unit_<unit type>_design_cost_factor
|Modifies how much experience it costs to add a brigade of the specified type to a template.
|Modifies how much experience it costs to add a brigade of the specified type to a template.
第2,424行: 第2,435行:
|Brigades are defined in {{path|common/units/*.txt}}
|Brigades are defined in {{path|common/units/*.txt}}
|1.11
|1.11
|- id="equipment_design_cost_factor"
|-id="equipment_design_cost_factor"
|<equipment archetype>_design_cost_factor
|<equipment archetype>_design_cost_factor
|Modifies how much experience it costs to add upgrades or modules to a specified equipment archetype.
|Modifies how much experience it costs to add upgrades or modules to a specified equipment archetype.
第2,431行: 第2,442行:
|Equipment archetypes are defined in {{path|common/units/equipment/*.txt}}
|Equipment archetypes are defined in {{path|common/units/equipment/*.txt}}
|1.11
|1.11
|- id="module_design_cost_factor"
|-id="module_design_cost_factor"
|module_<module type>_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.
|Modifies how much experience it costs to add a module of the specified type to equipment.
第2,439行: 第2,450行:
|1.11
|1.11
|}
|}
====MIOs====
 
{{SVersion|1.13}}These are modifiers related to [[:en:Military_industrial_organisation|military industrial organisation]]s.
==== MIOs ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|MIO-related country-scoped modifiers:}}
These are modifiers related to [[military industrial organisation]]s.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|MIO-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="military_industrial_organization_research_bonus"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="military_industrial_organization_research_bonus"
|military_industrial_organization_research_bonus
|military_industrial_organization_research_bonus
|Modifies the research bonus granted by MIOs.
|Modifies the research bonus granted by MIOs.
第2,456行: 第2,470行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_design_team_assign_cost"
|-id="military_industrial_organization_design_team_assign_cost"
|military_industrial_organization_design_team_assign_cost
|military_industrial_organization_design_team_assign_cost
|Modifies the political power cost to assign a design team.
|Modifies the political power cost to assign a design team.
第2,463行: 第2,477行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_design_team_change_cost"
|-id="military_industrial_organization_design_team_change_cost"
|military_industrial_organization_design_team_change_cost
|military_industrial_organization_design_team_change_cost
|Modifies the political power cost to change a design team.
|Modifies the political power cost to change a design team.
第2,470行: 第2,484行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_industrial_manufacturer_assign_cost"
|-id="military_industrial_organization_industrial_manufacturer_assign_cost"
|military_industrial_organization_industrial_manufacturer_assign_cost
|military_industrial_organization_industrial_manufacturer_assign_cost
|Modifies the political power cost to assign an industrial manufacturer.
|Modifies the political power cost to assign an industrial manufacturer.
第2,477行: 第2,491行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_task_capacity"
|-id="military_industrial_organization_task_capacity"
|military_industrial_organization_task_capacity
|military_industrial_organization_task_capacity
|Modifies the amount of tasks possible to assign to the MIO.
|Modifies the amount of tasks possible to assign to the MIO.
第2,484行: 第2,498行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_size_up_requirement"
|-id="military_industrial_organization_size_up_requirement"
|military_industrial_organization_size_up_requirement
|military_industrial_organization_size_up_requirement
|Modifies the requirement to size up a MIO.
|Modifies the requirement to size up a MIO.
第2,491行: 第2,505行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_funds_gain"
|-id="military_industrial_organization_funds_gain"
|military_industrial_organization_funds_gain
|military_industrial_organization_funds_gain
|Modifies the amount of funds gained by the MIO.
|Modifies the amount of funds gained by the MIO.
第2,498行: 第2,512行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_policy_cost"
|-id="military_industrial_organization_policy_cost"
|military_industrial_organization_policy_cost
|military_industrial_organization_policy_cost
|Modifies the political power cost to assign a MIO policy.
|Modifies the political power cost to assign a MIO policy.
第2,505行: 第2,519行:
|
|
|1.13
|1.13
|- id="military_industrial_organization_policy_cooldown"
|-id="military_industrial_organization_policy_cooldown"
|military_industrial_organization_policy_cooldown
|military_industrial_organization_policy_cooldown
|Modifies the cooldown between how often it's possible to change policies.
|Modifies the cooldown between how often it's possible to change policies.
第2,513行: 第2,527行:
|1.13
|1.13
|}
|}
====Unit leaders====
 
{{SVersion|1.13}}These are modifiers related to unit leaders in the country scope, rather than being in the unit leader scope.
==== Unit leaders ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|Unit leader-related country-scoped modifiers:}}
These are modifiers related to unit leaders in the country scope, rather than being in the unit leader scope.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="female_random_army_leader_chance"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="female_random_army_leader_chance"
|female_random_army_leader_chance
|female_random_army_leader_chance
|Changes the chance for a randomly-generated army leader to be female.
|Changes the chance for a randomly-generated army leader to be female.
第2,530行: 第2,547行:
|
|
|1.9.1
|1.9.1
|- id="assign_army_leader_cp_cost"
|-id="assign_army_leader_cp_cost"
|assign_army_leader_cp_cost
|assign_army_leader_cp_cost
|Modifies the cost to assign an army leader to an army.
|Modifies the cost to assign an army leader to an army.
第2,537行: 第2,554行:
|
|
|1.11
|1.11
|- id="army_leader_cost_factor"
|-id="army_leader_cost_factor"
|army_leader_cost_factor
|army_leader_cost_factor
|The cost in political power to recruit an unit leader for the land army.
|The cost in political power to recruit an unit leader for the land army.
第2,544行: 第2,561行:
|
|
|1.3
|1.3
|- id="army_leader_start_level"
|-id="army_leader_start_level"
|army_leader_start_level
|army_leader_start_level
|Bonus to the starting level of generic unit leaders.
|Bonus to the starting level of generic unit leaders.
第2,551行: 第2,568行:
|
|
|1.5
|1.5
|- id="army_leader_start_attack_level"
|-id="army_leader_start_attack_level"
|army_leader_start_attack_level
|army_leader_start_attack_level
|Bonus to the starting level of attack in generic unit leaders.
|Bonus to the starting level of attack in generic unit leaders.
第2,558行: 第2,575行:
|
|
|1.5
|1.5
|- id="army_leader_start_defense_level"
|-id="army_leader_start_defense_level"
|army_leader_start_defense_level
|army_leader_start_defense_level
|Bonus to the starting level of defense in generic unit leaders.
|Bonus to the starting level of defense in generic unit leaders.
第2,565行: 第2,582行:
|
|
|1.5
|1.5
|- id="army_leader_start_logistics_level"
|-id="army_leader_start_logistics_level"
|army_leader_start_logistics_level
|army_leader_start_logistics_level
|Bonus to the starting level of logistics in generic unit leaders.
|Bonus to the starting level of logistics in generic unit leaders.
第2,572行: 第2,589行:
|
|
|1.5
|1.5
|- id="army_leader_start_planning_level"
|-id="army_leader_start_planning_level"
|army_leader_start_planning_level
|army_leader_start_planning_level
|Bonus to the starting level of planning in generic unit leaders.
|Bonus to the starting level of planning in generic unit leaders.
第2,579行: 第2,596行:
|
|
|1.5
|1.5
|- id="military_leader_cost_factor"
|-id="military_leader_cost_factor"
|military_leader_cost_factor
|military_leader_cost_factor
|The cost in political power to recruit an unit leader.
|The cost in political power to recruit an unit leader.
第2,586行: 第2,603行:
|
|
|1.3
|1.3
|- id="female_random_admiral_chance"
|-id="female_random_admiral_chance"
|female_random_admiral_chance
|female_random_admiral_chance
|Changes the chance for a randomly-generated admiral to be female.
|Changes the chance for a randomly-generated admiral to be female.
第2,593行: 第2,610行:
|
|
|1.9.1
|1.9.1
|- id="assign_navy_leader_cp_cost"
|-id="assign_navy_leader_cp_cost"
|assign_navy_leader_cp_cost
|assign_navy_leader_cp_cost
|Modifies the cost to assign a navy leader to a navy.
|Modifies the cost to assign a navy leader to a navy.
第2,600行: 第2,617行:
|
|
|1.11
|1.11
|- id="navy_leader_cost_factor"
|-id="navy_leader_cost_factor"
|navy_leader_cost_factor
|navy_leader_cost_factor
|The cost in political power to recruit an unit leader for the land navy.
|The cost in political power to recruit an unit leader for the land navy.
第2,607行: 第2,624行:
|
|
|1.3
|1.3
|- id="navy_leader_start_level"
|-id="navy_leader_start_level"
|navy_leader_start_level
|navy_leader_start_level
|Bonus to the starting level of generic unit leaders.
|Bonus to the starting level of generic unit leaders.
第2,614行: 第2,631行:
|
|
|1.9
|1.9
|- id="navy_leader_start_attack_level"
|-id="navy_leader_start_attack_level"
|navy_leader_start_attack_level
|navy_leader_start_attack_level
|Bonus to the starting level of attack in generic unit leaders.
|Bonus to the starting level of attack in generic unit leaders.
第2,621行: 第2,638行:
|
|
|1.9
|1.9
|- id="navy_leader_start_coordination_level"
|-id="navy_leader_start_coordination_level"
|navy_leader_start_coordination_level
|navy_leader_start_coordination_level
|Bonus to the starting level of coordination in generic unit leaders.
|Bonus to the starting level of coordination in generic unit leaders.
第2,628行: 第2,645行:
|
|
|1.9
|1.9
|- id="navy_leader_start_defense_level"
|-id="navy_leader_start_defense_level"
|navy_leader_start_defense_level
|navy_leader_start_defense_level
|Bonus to the starting level of defense in generic unit leaders.
|Bonus to the starting level of defense in generic unit leaders.
第2,635行: 第2,652行:
|
|
|1.9
|1.9
|- id="navy_leader_start_maneuvering_level"
|-id="navy_leader_start_maneuvering_level"
|navy_leader_start_maneuvering_level
|navy_leader_start_maneuvering_level
|Bonus to the starting level of maneuvering in generic unit leaders.
|Bonus to the starting level of maneuvering in generic unit leaders.
第2,642行: 第2,659行:
|
|
|1.9
|1.9
|- id="grant_medal_cost_factor"
|-id="grant_medal_cost_factor"
|grant_medal_cost_factor
|grant_medal_cost_factor
|Changes the cost in command power to grant a medal to a division commander.
|Changes the cost in command power to grant a medal to a division commander.
第2,649行: 第2,666行:
|
|
|1.12
|1.12
|- id="field_officer_promotion_penalty"
|-id="field_officer_promotion_penalty"
|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.
|Changes the experience penalty applied to the divisions when a commander is promoted to a field marshal.
第2,656行: 第2,673行:
|
|
|1.12
|1.12
|- id="female_divisional_commander_chance"
|-id="female_divisional_commander_chance"
|female_divisional_commander_chance
|female_divisional_commander_chance
|Changes the chance to get a female divisional commander.
|Changes the chance to get a female divisional commander.
第2,664行: 第2,681行:
|1.12
|1.12
|}
|}
====General combat====
 
{{SVersion|1.13}}Note that most of these modifiers are not only in country scope but also in unit leader and navy leader scopes.
==== General combat ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|Combat-related country-scoped modifiers:}}
Note that most of these modifiers are not only in country scope but also in unit leader and navy leader scopes.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Combat-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="offence"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="offence"
|offence
|offence
|Modifies the attack value of our military, navy, and airforce.
|Modifies the attack value of our military, navy, and airforce.
第2,681行: 第2,701行:
|
|
|1.0
|1.0
|- id="defence"
|-id="defence"
|defence
|defence
|Modifies the defence value of our military, navy, and airforce.
|Modifies the defence value of our military, navy, and airforce.
第2,688行: 第2,708行:
|
|
|1.0
|1.0
|- id="tactic_preferred_weight_factor"
|-id="tactic_preferred_weight_factor"
|<Tactic>_preferred_weight_factor
|<Tactic>_preferred_weight_factor
|Modifies the chance for a commander to choose the specified tactic.
|Modifies the chance for a commander to choose the specified tactic.
第2,696行: 第2,716行:
|1.6
|1.6
|}
|}
====Land combat====
 
{{SVersion|1.13}}Note that most of these modifiers are not only in country scope but also in unit leader scope.
==== Land combat ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|Land combat-related country-scoped modifiers:}}
Note that most of these modifiers are not only in country scope but also in unit leader scope.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Land combat-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="acclimatization_cold_climate_gain_factor"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="acclimatization_cold_climate_gain_factor"
|acclimatization_cold_climate_gain_factor
|acclimatization_cold_climate_gain_factor
|Cold acclimatization gain factor.
|Cold acclimatization gain factor.
第2,713行: 第2,736行:
|
|
|1.0
|1.0
|- id="acclimatization_hot_climate_gain_factor"
|-id="acclimatization_hot_climate_gain_factor"
|acclimatization_hot_climate_gain_factor
|acclimatization_hot_climate_gain_factor
|Hot acclimatization gain factor.
|Hot acclimatization gain factor.
第2,720行: 第2,743行:
|
|
|1.0
|1.0
|- id="air_superiority_bonus_in_combat"
|-id="air_superiority_bonus_in_combat"
|air_superiority_bonus_in_combat
|air_superiority_bonus_in_combat
|The bonus in combat given from having air superiority.
|The bonus in combat given from having air superiority.
第2,727行: 第2,750行:
|
|
|1.0
|1.0
|- id="army_attack_factor"
|-id="army_attack_factor"
|army_attack_factor
|army_attack_factor
|The bonus to land army's attack.
|The bonus to land army's attack.
第2,734行: 第2,757行:
|
|
|1.0
|1.0
|- id="army_core_attack_factor"
|-id="army_core_attack_factor"
|army_core_attack_factor
|army_core_attack_factor
|The bonus to land army's attack on core territory.
|The bonus to land army's attack on core territory.
第2,741行: 第2,764行:
|
|
|1.0
|1.0
|- id="army_attack_against_major_factor"
|-id="army_attack_against_major_factor"
|army_attack_against_major_factor
|army_attack_against_major_factor
|The bonus to land army's attack against a major country.
|The bonus to land army's attack against a major country.
第2,748行: 第2,771行:
|
|
|1.11
|1.11
|- id="army_attack_against_minor_factor"
|-id="army_attack_against_minor_factor"
|army_attack_against_minor_factor
|army_attack_against_minor_factor
|The bonus to land army's attack against a non-major country.
|The bonus to land army's attack against a non-major country.
第2,755行: 第2,778行:
|
|
|1.11
|1.11
|- id="army_attack_speed_factor"
|-id="army_attack_speed_factor"
|army_attack_speed_factor
|army_attack_speed_factor
|The bonus to speed at which the land army attacks.
|The bonus to speed at which the land army attacks.
第2,762行: 第2,785行:
|
|
|1.0
|1.0
|- id="army_breakthrough_against_major_factor"
|-id="army_breakthrough_against_major_factor"
|army_breakthrough_against_major_factor
|army_breakthrough_against_major_factor
|The bonus to land army's breakthrough against a major country.
|The bonus to land army's breakthrough against a major country.
第2,769行: 第2,792行:
|
|
|1.11
|1.11
|- id="army_breakthrough_against_minor_factor"
|-id="army_breakthrough_against_minor_factor"
|army_breakthrough_against_minor_factor
|army_breakthrough_against_minor_factor
|The bonus to land army's breakthrough against a non-major country.
|The bonus to land army's breakthrough against a non-major country.
第2,776行: 第2,799行:
|
|
|1.11
|1.11
|- id="army_defence_factor"
|-id="army_defence_factor"
|army_defence_factor
|army_defence_factor
|The bonus to land army's defence.
|The bonus to land army's defence.
第2,783行: 第2,806行:
|
|
|1.0
|1.0
|- id="army_defence_against_major_factor"
|-id="army_defence_against_major_factor"
|army_defence_against_major_factor
|army_defence_against_major_factor
|The bonus to land army's defence against a major country.
|The bonus to land army's defence against a major country.
第2,790行: 第2,813行:
|
|
|1.11
|1.11
|- id="army_defence_against_minor_factor"
|-id="army_defence_against_minor_factor"
|army_defence_against_minor_factor
|army_defence_against_minor_factor
|The bonus to land army's defence against a non-major country.
|The bonus to land army's defence against a non-major country.
第2,797行: 第2,820行:
|
|
|1.11
|1.11
|- id="army_core_defence_factor"
|-id="army_core_defence_factor"
|army_core_defence_factor
|army_core_defence_factor
|The bonus to land army's defence on core territory.
|The bonus to land army's defence on core territory.
第2,804行: 第2,827行:
|
|
|1.0
|1.0
|- id="army_speed_factor"
|-id="army_speed_factor"
|army_speed_factor
|army_speed_factor
|The bonus to land army's speed.
|The bonus to land army's speed.
第2,811行: 第2,834行:
|
|
|1.0
|1.0
|- id="army_strength_factor"
|-id="army_strength_factor"
|army_strength_factor
|army_strength_factor
|The bonus to land army's strength.
|The bonus to land army's strength.
第2,818行: 第2,841行:
|
|
|1.11
|1.11
|- id="<unit type>_attack_factor"
|-id="<unit type>_attack_factor"
|<unit type>_attack_factor
|<unit type>_attack_factor
|The bonus to specified unit type's attack.
|The bonus to specified unit type's attack.
第2,825行: 第2,848行:
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|1.0
|- id="<unit type>_defence_factor"
|-id="<unit type>_defence_factor"
|<unit type>_defence_factor
|<unit type>_defence_factor
|The bonus to the specified unit type's defence.
|The bonus to the specified unit type's defence.
第2,832行: 第2,855行:
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|1.0
|- id="<unit type>_speed_factor"
|-id="<unit type>_speed_factor"
|<unit type>_speed_factor
|<unit type>_speed_factor
|The bonus to specified unit type's speed.
|The bonus to specified unit type's speed.
第2,839行: 第2,862行:
|Allowed unit types are army_armor and cavalry. Cavalry_speed_factor is currently broken and not recognized by the game.
|Allowed unit types are army_armor and cavalry. Cavalry_speed_factor is currently broken and not recognized by the game.
|1.0
|1.0
|- id="army_morale"
|-id="army_morale"
|army_morale
|army_morale
|Modifies the division recovery rate.
|Modifies the division recovery rate.
第2,846行: 第2,869行:
|
|
|1.0
|1.0
|- id="army_morale_factor"
|-id="army_morale_factor"
|army_morale_factor
|army_morale_factor
|Modifies the division recovery rate by a percentage.
|Modifies the division recovery rate by a percentage.
第2,853行: 第2,876行:
|
|
|1.0
|1.0
|- id="army_org"
|-id="army_org"
|army_org
|army_org
|Modifies the army's organisation.
|Modifies the army's organisation.
第2,860行: 第2,883行:
|
|
|1.0
|1.0
|- id="army_org_factor"
|-id="army_org_factor"
|army_org_factor
|army_org_factor
|Modifies the army's organisation by a percentage.
|Modifies the army's organisation by a percentage.
第2,867行: 第2,890行:
|
|
|1.0
|1.0
|- id="army_org_regain"
|-id="army_org_regain"
|army_org_regain
|army_org_regain
|Modifies the army's organisation regain speed by a percentage.
|Modifies the army's organisation regain speed by a percentage.
第2,874行: 第2,897行:
|
|
|1.5.1
|1.5.1
|- id="breakthrough_factor"
|-id="breakthrough_factor"
|breakthrough_factor
|breakthrough_factor
|Modifies the army's breakthrough.
|Modifies the army's breakthrough.
第2,881行: 第2,904行:
|
|
|1.0
|1.0
|- id="cas_damage_reduction"
|-id="cas_damage_reduction"
|cas_damage_reduction
|cas_damage_reduction
|Reguces the damage dealt by close air support.
|Reguces the damage dealt by close air support.
第2,888行: 第2,911行:
|
|
|1.0
|1.0
|- id="combat_width_factor"
|-id="combat_width_factor"
|combat_width_factor
|combat_width_factor
|Changes our own combat width.
|Changes our own combat width.
第2,895行: 第2,918行:
|
|
|1.0
|1.0
|- id="coordination_bonus"
|-id="coordination_bonus"
|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.
|Changes the bonus to coordination, that is how much damage is done to the primary target instead of being spread out.
第2,902行: 第2,925行:
|
|
|1.11
|1.11
|- id="dig_in_speed"
|-id="dig_in_speed"
|dig_in_speed
|dig_in_speed
|Changes entrenchment speed.
|Changes entrenchment speed.
第2,909行: 第2,932行:
|
|
|1.0
|1.0
|- id="dig_in_speed_factor"
|-id="dig_in_speed_factor"
|dig_in_speed_factor
|dig_in_speed_factor
|Changes entrenchment speed by a percentage.
|Changes entrenchment speed by a percentage.
第2,916行: 第2,939行:
|
|
|1.0
|1.0
|- id="experience_gain_army_unit"
|-id="experience_gain_army_unit"
|experience_gain_army_unit
|experience_gain_army_unit
|Changes experience gain by the army divisions.
|Changes experience gain by the army divisions.
第2,923行: 第2,946行:
|
|
|1.0
|1.0
|- id="experience_gain_army_unit_factor"
|-id="experience_gain_army_unit_factor"
|experience_gain_army_unit_factor
|experience_gain_army_unit_factor
|Changes experience gain by the army divisions by a percentage.
|Changes experience gain by the army divisions by a percentage.
第2,930行: 第2,953行:
|
|
|1.0
|1.0
|- id="experience_loss_factor"
|-id="experience_loss_factor"
|experience_loss_factor
|experience_loss_factor
|Changes the loss in divisions' experience in combat.
|Changes the loss in divisions' experience in combat.
第2,937行: 第2,960行:
|
|
|1.0
|1.0
|- id="initiative_factor"
|-id="initiative_factor"
|initiative_factor
|initiative_factor
|Modifies the initiative.
|Modifies the initiative.
第2,944行: 第2,967行:
|
|
|1.11
|1.11
|- id="land_night_attack"
|-id="land_night_attack"
|land_night_attack
|land_night_attack
|Changes the penalty due to attacking at night.
|Changes the penalty due to attacking at night.
第2,951行: 第2,974行:
|
|
|1.0
|1.0
|- id="max_dig_in"
|-id="max_dig_in"
|max_dig_in
|max_dig_in
|Changes the maximum entrenchment.
|Changes the maximum entrenchment.
第2,958行: 第2,981行:
|Can also apply in state scope.
|Can also apply in state scope.
|1.0
|1.0
|- id="max_dig_in_factor"
|-id="max_dig_in_factor"
|max_dig_in_factor
|max_dig_in_factor
|Changes the maximum entrenchment by a percentage.
|Changes the maximum entrenchment by a percentage.
第2,965行: 第2,988行:
|Can also apply in state scope.
|Can also apply in state scope.
|1.0
|1.0
|- id="max_planning"
|-id="max_planning"
|max_planning
|max_planning
|Changes the maximum planning.
|Changes the maximum planning.
第2,972行: 第2,995行:
|
|
|1.0
|1.0
|- id="max_planning_factor"
|-id="max_planning_factor"
|max_planning_factor
|max_planning_factor
|Changes the maximum planning by a percentage.
|Changes the maximum planning by a percentage.
第2,979行: 第3,002行:
|
|
|1.9
|1.9
|- id="pocket_penalty"
|-id="pocket_penalty"
|pocket_penalty
|pocket_penalty
|Reduces the penalty that troops take when they are encircled.
|Reduces the penalty that troops take when they are encircled.
第2,986行: 第3,009行:
|
|
|1.0
|1.0
|- id="recon_factor"
|-id="recon_factor"
|recon_factor
|recon_factor
|Changes reconnaisance.
|Changes reconnaisance.
第2,993行: 第3,016行:
|
|
|1.0
|1.0
|- id="recon_factor_while_entrenched"
|-id="recon_factor_while_entrenched"
|recon_factor_while_entrenched
|recon_factor_while_entrenched
|Changes reconnaisance for entrenched divisions.
|Changes reconnaisance for entrenched divisions.
第3,000行: 第3,023行:
|
|
|1.0
|1.0
|- id="special_forces_cap"
|-id="special_forces_cap"
|special_forces_cap
|special_forces_cap
|Changes the maximum amount of special forces by a percentage.
|Changes the maximum amount of special forces by a percentage.
第3,007行: 第3,030行:
|
|
|1.0
|1.0
|- id="special_forces_min"
|-id="special_forces_min"
|special_forces_min
|special_forces_min
|Changes the maximum amount of special forces.
|Changes the maximum amount of special forces.
第3,014行: 第3,037行:
|
|
|1.0
|1.0
|- id="terrain_penalty_reduction"
|-id="terrain_penalty_reduction"
|terrain_penalty_reduction
|terrain_penalty_reduction
|Decreases the penalties given by terrain.
|Decreases the penalties given by terrain.
|<pre>terrain_penalty_reduction = 0.3</pre>
|<pre>terrain_penalty_reduction = 0.3</pre>
|Percentual.
|Percentual.
|
|Only works in the unit_leader scope despite the modifier being present in vanilla national spirits at the time of writing.
|1.0
|1.0
|- id="org_loss_at_low_org_factor"
|-id="org_loss_at_low_org_factor"
|org_loss_at_low_org_factor
|org_loss_at_low_org_factor
|Modifies the organisation loss for units when they have low organisation.
|Modifies the organisation loss for units when they have low organisation.
第3,028行: 第3,051行:
|
|
|1.0
|1.0
|- id="org_loss_when_moving"
|-id="org_loss_when_moving"
|org_loss_when_moving
|org_loss_when_moving
|Modifies the organisation loss for units when they are moving.
|Modifies the organisation loss for units when they are moving.
第3,035行: 第3,058行:
|
|
|1.0
|1.0
|- id="planning_speed"
|-id="planning_speed"
|planning_speed
|planning_speed
|Modifies the planning speed.
|Modifies the planning speed.
第3,042行: 第3,065行:
|Works in state scope.
|Works in state scope.
|1.0
|1.0
|- id="experience_gain_unit_combat_factor"
|-id="experience_gain_unit_combat_factor"
|experience_gain_<unit type>_combat_factor
|experience_gain_<unit type>_combat_factor
|Modifies the experience gain in combat for the unit type.
|Modifies the experience gain in combat for the unit type.
第3,049行: 第3,072行:
|Units are defined in {{path|common/units/*.txt}} files.
|Units are defined in {{path|common/units/*.txt}} files.
|1.11
|1.11
|- id="experience_gain_unit_training_factor"
|-id="experience_gain_unit_training_factor"
|experience_gain_<unit type>_training_factor
|experience_gain_<unit type>_training_factor
|Modifies the experience gain in training for the unit type.
|Modifies the experience gain in training for the unit type.
第3,057行: 第3,080行:
|1.11
|1.11
|}
|}
====Naval invasions====
 
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
==== Naval invasions ====
|+ style="text-align: center;" width="100%" |{{nowrap|Invasion-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Invasion-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="naval_invasion_prep_speed"
! width="5%" | Version added
|-id="naval_invasion_prep_speed"
|naval_invasion_prep_speed
|naval_invasion_prep_speed
|Modifies the speed at which a naval invasion is prepared.
|Modifies the speed at which a naval invasion is prepared.
第3,073行: 第3,097行:
|Can be a targeted modifier or in unit leader scope.
|Can be a targeted modifier or in unit leader scope.
|1.0
|1.0
|- id="naval_invasion_capacity"
|-id="naval_invasion_capacity"
|naval_invasion_capacity
|naval_invasion_capacity
|Modifies the amount of divisions that can have a naval invasion plan going on at the same time.
|Modifies the amount of divisions that can have a naval invasion plan going on at the same time.
第3,080行: 第3,104行:
|
|
|1.0
|1.0
|- id="naval_invasion_penalty"
|-id="naval_invasion_penalty"
|naval_invasion_penalty
|naval_invasion_penalty
|Modifies the penalty for naval invasions.
|Modifies the penalty for naval invasions.
第3,087行: 第3,111行:
|Is the opposite of amphibious_invasion_defence. Can also apply in state scope.
|Is the opposite of amphibious_invasion_defence. Can also apply in state scope.
|1.0
|1.0
|- id="naval_invasion_planning_bonus_speed"
|-id="naval_invasion_planning_bonus_speed"
|naval_invasion_planning_bonus_speed
|naval_invasion_planning_bonus_speed
|Modifies the speed at which the planning bonus is accumulated during a naval invasion preparation.
|Modifies the speed at which the planning bonus is accumulated during a naval invasion preparation.
第3,094行: 第3,118行:
|
|
|1.11
|1.11
|- id="amphibious_invasion"
|-id="amphibious_invasion"
|amphibious_invasion
|amphibious_invasion
|Modifies the speed of units during naval invasions.
|Modifies the speed of units during naval invasions.
第3,101行: 第3,125行:
|
|
|1.6
|1.6
|- id="amphibious_invasion_defence"
|-id="amphibious_invasion_defence"
|amphibious_invasion_defence
|amphibious_invasion_defence
|Modifies the penalty given by naval invasions.
|Modifies the penalty given by naval invasions.
第3,108行: 第3,132行:
|Is the opposite of naval_invasion_penalty. Can also apply in state scope.
|Is the opposite of naval_invasion_penalty. Can also apply in state scope.
|1.6
|1.6
|- id="invasion_preparation"
|-id="invasion_preparation"
|invasion_preparation
|invasion_preparation
|Modifies the required preparation needed to execute a naval invasion.
|Modifies the required preparation needed to execute a naval invasion.
第3,116行: 第3,140行:
|1.6
|1.6
|}
|}
====Naval combat====
 
{{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.
==== Naval combat ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|Naval combat-related country-scoped modifiers:}}
Note that most of these modifiers are not only in country scope but also in navy leader scope as well as within equipment modules.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Naval combat-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="convoy_escort_efficiency"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="convoy_escort_efficiency"
|convoy_escort_efficiency
|convoy_escort_efficiency
|Modifies the efficiency of the convoy escort mission.
|Modifies the efficiency of the convoy escort mission.
第3,133行: 第3,160行:
|
|
|1.6
|1.6
|- id="convoy_raiding_efficiency_factor"
|-id="convoy_raiding_efficiency_factor"
|convoy_raiding_efficiency_factor
|convoy_raiding_efficiency_factor
|Modifies the efficiency of the convoy raiding mission.
|Modifies the efficiency of the convoy raiding mission.
第3,140行: 第3,167行:
|
|
|1.6
|1.6
|- id="convoy_retreat_speed"
|-id="convoy_retreat_speed"
|convoy_retreat_speed
|convoy_retreat_speed
|Modifies the speed of convoys retreating.
|Modifies the speed of convoys retreating.
第3,147行: 第3,174行:
|
|
|1.6
|1.6
|- id="critical_receive_chance"
|-id="critical_receive_chance"
|critical_receive_chance
|critical_receive_chance
|Changes the chance for the enemy to get a critical hit on us in naval combat.
|Changes the chance for the enemy to get a critical hit on us in naval combat.
第3,154行: 第3,181行:
|
|
|1.6
|1.6
|- id="experience_gain_navy_unit"
|-id="experience_gain_navy_unit"
|experience_gain_navy_unit
|experience_gain_navy_unit
|Modifies the daily gain of experience by the ships.
|Modifies the daily gain of experience by the ships.
第3,161行: 第3,188行:
|
|
|1.6
|1.6
|- id="experience_gain_navy_unit_factor"
|-id="experience_gain_navy_unit_factor"
|experience_gain_navy_unit_factor
|experience_gain_navy_unit_factor
|Modifies the gain of experience by the ships by a percentage.
|Modifies the gain of experience by the ships by a percentage.
第3,168行: 第3,195行:
|
|
|1.6
|1.6
|- id="mines_planting_by_fleets_factor"
|-id="mines_planting_by_fleets_factor"
|mines_planting_by_fleets_factor
|mines_planting_by_fleets_factor
|Modifies the efficiency of the mine planting mission.
|Modifies the efficiency of the mine planting mission.
第3,175行: 第3,202行:
|
|
|1.6
|1.6
|- id="mines_sweeping_by_fleets_factor"
|-id="mines_sweeping_by_fleets_factor"
|mines_sweeping_by_fleets_factor
|mines_sweeping_by_fleets_factor
|Modifies the efficiency of the mine sweeping mission.
|Modifies the efficiency of the mine sweeping mission.
第3,182行: 第3,209行:
|
|
|1.6
|1.6
|- id="naval_accidents_chance"
|-id="naval_accidents_chance"
|naval_accidents_chance
|naval_accidents_chance
|Modifies the chance for a ship to be accidentally sunk or damaged.
|Modifies the chance for a ship to be accidentally sunk or damaged.
第3,189行: 第3,216行:
|
|
|1.6
|1.6
|- id="navy_anti_air_attack"
|-id="navy_anti_air_attack"
|navy_anti_air_attack
|navy_anti_air_attack
|Modifies the attack against enemy airplanes for the country's ships.
|Modifies the attack against enemy airplanes for the country's ships.
第3,196行: 第3,223行:
|
|
|1.6
|1.6
|- id="navy_anti_air_attack_factor"
|-id="navy_anti_air_attack_factor"
|navy_anti_air_attack_factor
|navy_anti_air_attack_factor
|Modifies the attack against enemy airplanes for the country's ships by a percentage.
|Modifies the attack against enemy airplanes for the country's ships by a percentage.
第3,203行: 第3,230行:
|
|
|1.6
|1.6
|- id="naval_coordination"
|-id="naval_coordination"
|naval_coordination
|naval_coordination
|Modifies how quickly the fleet can gather or disperse when a target is found or when switching missions.
|Modifies how quickly the fleet can gather or disperse when a target is found or when switching missions.
第3,210行: 第3,237行:
|
|
|1.6
|1.6
|- id="naval_critical_effect_factor"
|-id="naval_critical_effect_factor"
|naval_critical_effect_factor
|naval_critical_effect_factor
|Modifies the effects of sustained critical hits on our ships.
|Modifies the effects of sustained critical hits on our ships.
第3,217行: 第3,244行:
|
|
|1.6
|1.6
|- id="naval_critical_score_chance_factor"
|-id="naval_critical_score_chance_factor"
|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.
|Modifies the chance for us to get a critical hit on the enemy in naval combat.
第3,224行: 第3,251行:
|
|
|1.6
|1.6
|- id="naval_damage_factor"
|-id="naval_damage_factor"
|naval_damage_factor
|naval_damage_factor
|Modifies the damage dealt by our ships.
|Modifies the damage dealt by our ships.
第3,231行: 第3,258行:
|
|
|1.6
|1.6
|- id="naval_defense_factor"
|-id="naval_defense_factor"
|naval_defense_factor
|naval_defense_factor
|Modifies the damage received by our ships.
|Modifies the damage received by our ships.
第3,238行: 第3,265行:
|
|
|1.6
|1.6
|- id="naval_detection"
|-id="naval_detection"
|naval_detection
|naval_detection
|Modifies the chance for our ships to detect submarines.
|Modifies the chance for our ships to detect submarines.
第3,245行: 第3,272行:
|
|
|1.6
|1.6
|- id="naval_enemy_fleet_size_ratio_penalty_factor"
|-id="naval_enemy_fleet_size_ratio_penalty_factor"
|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.
|Modifies the penalty the enemy receives for having a larger amount of ships than us.
第3,252行: 第3,279行:
|
|
|1.6
|1.6
|- id="naval_enemy_positioning_in_initial_attack"
|-id="naval_enemy_positioning_in_initial_attack"
|naval_enemy_positioning_in_initial_attack
|naval_enemy_positioning_in_initial_attack
|Modifies the positioning of the enemy during the initial naval attack.
|Modifies the positioning of the enemy during the initial naval attack.
第3,259行: 第3,286行:
|
|
|1.11
|1.11
|- id="naval_enemy_retreat_chance"
|-id="naval_enemy_retreat_chance"
|naval_enemy_retreat_chance
|naval_enemy_retreat_chance
|Modifies the chance for the enemy to retreat.
|Modifies the chance for the enemy to retreat.
第3,266行: 第3,293行:
|
|
|1.6
|1.6
|- id="naval_has_potf_in_combat_attack"
|-id="naval_has_potf_in_combat_attack"
|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.
|Modifies the attack of the navy when fighting together with the pride of the fleet.
第3,273行: 第3,300行:
|
|
|1.6
|1.6
|- id="naval_has_potf_in_combat_defense"
|-id="naval_has_potf_in_combat_defense"
|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.
|Modifies the defense of the navy when fighting together with the pride of the fleet.
第3,280行: 第3,307行:
|
|
|1.6
|1.6
|- id="naval_hit_chance"
|-id="naval_hit_chance"
|naval_hit_chance
|naval_hit_chance
|Modifies the chance for the naval attacks to land.
|Modifies the chance for the naval attacks to land.
第3,287行: 第3,314行:
|
|
|1.6
|1.6
|- id="naval_mine_hit_chance"
|-id="naval_mine_hit_chance"
|naval_mine_hit_chance
|naval_mine_hit_chance
|Modifies the chance for a naval mine to hit.
|Modifies the chance for a naval mine to hit.
第3,294行: 第3,321行:
|
|
|1.6
|1.6
|- id="naval_mines_damage_factor"
|-id="naval_mines_damage_factor"
|naval_mines_damage_factor
|naval_mines_damage_factor
|Modifies the damage naval mines deal to enemy ships.
|Modifies the damage naval mines deal to enemy ships.
第3,301行: 第3,328行:
|
|
|1.6
|1.6
|- id="naval_mines_effect_reduction"
|-id="naval_mines_effect_reduction"
|naval_mines_effect_reduction
|naval_mines_effect_reduction
|Modifies the damage enemy naval mines deal.
|Modifies the damage enemy naval mines deal.
第3,308行: 第3,335行:
|
|
|1.6
|1.6
|- id="naval_morale"
|-id="naval_morale"
|naval_morale
|naval_morale
|Modifies the navy recovery rate.
|Modifies the navy recovery rate.
第3,315行: 第3,342行:
|
|
|1.6
|1.6
|- id="naval_morale_factor"
|-id="naval_morale_factor"
|naval_morale_factor
|naval_morale_factor
|Modifies the navy recovery rate by a percentage.
|Modifies the navy recovery rate by a percentage.
第3,322行: 第3,349行:
|
|
|1.6
|1.6
|- id="naval_night_attack"
|-id="naval_night_attack"
|naval_night_attack
|naval_night_attack
|Modifies the damage dealt by the country's ships at night.
|Modifies the damage dealt by the country's ships at night.
第3,329行: 第3,356行:
|
|
|1.11
|1.11
|- id="naval_retreat_chance"
|-id="naval_retreat_chance"
|naval_retreat_chance
|naval_retreat_chance
|Modifies the chance for the country's ships to retreat.
|Modifies the chance for the country's ships to retreat.
第3,336行: 第3,363行:
|
|
|1.6
|1.6
|- id="naval_retreat_chance_after_initial_combat"
|-id="naval_retreat_chance_after_initial_combat"
|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.
|Modifies the chance for the country's ships to retreat after initial combat.
第3,343行: 第3,370行:
|
|
|1.11
|1.11
|- id="naval_retreat_speed"
|-id="naval_retreat_speed"
|naval_retreat_speed
|naval_retreat_speed
|Modifies the speed at which the country's ships retreat.
|Modifies the speed at which the country's ships retreat.
第3,350行: 第3,377行:
|
|
|1.6
|1.6
|- id="naval_retreat_speed_after_initial_combat"
|-id="naval_retreat_speed_after_initial_combat"
|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.
|Modifies the speed at which the country's ships to retreat after initial combat.
第3,357行: 第3,384行:
|
|
|1.11
|1.11
|- id="naval_speed_factor"
|-id="naval_speed_factor"
|naval_speed_factor
|naval_speed_factor
|Modifies the speed of the country's ships.
|Modifies the speed of the country's ships.
第3,364行: 第3,391行:
|
|
|1.6
|1.6
|- id="navy_org"
|-id="navy_org"
|navy_org
|navy_org
|Modifies the navy's organisation.
|Modifies the navy's organisation.
第3,371行: 第3,398行:
|
|
|1.0
|1.0
|- id="navy_org_factor"
|-id="navy_org_factor"
|navy_org_factor
|navy_org_factor
|Modifies the navy's organisation by a percentage.
|Modifies the navy's organisation by a percentage.
第3,378行: 第3,405行:
|
|
|1.0
|1.0
|- id="navy_max_range"
|-id="navy_max_range"
|navy_max_range
|navy_max_range
|Modifies the navy's maximum range.
|Modifies the navy's maximum range.
第3,385行: 第3,412行:
|
|
|1.0
|1.0
|- id="navy_max_range_factor"
|-id="navy_max_range_factor"
|navy_max_range_factor
|navy_max_range_factor
|Modifies the navy's maximum range by a percentage.
|Modifies the navy's maximum range by a percentage.
第3,392行: 第3,419行:
|
|
|1.0
|1.0
|- id="naval_torpedo_cooldown_factor"
|-id="naval_torpedo_cooldown_factor"
|naval_torpedo_cooldown_factor
|naval_torpedo_cooldown_factor
|Modifies the rate at which the country's ships can fire torpedos.
|Modifies the rate at which the country's ships can fire torpedos.
第3,399行: 第3,426行:
|
|
|1.6
|1.6
|- id="naval_torpedo_hit_chance_factor"
|-id="naval_torpedo_hit_chance_factor"
|naval_torpedo_hit_chance_factor
|naval_torpedo_hit_chance_factor
|Modifies the likelihood for country's torpedos to hit enemy ships.
|Modifies the likelihood for country's torpedos to hit enemy ships.
第3,406行: 第3,433行:
|
|
|1.6
|1.6
|- id="naval_torpedo_reveal_chance_factor"
|-id="naval_torpedo_reveal_chance_factor"
|naval_torpedo_reveal_chance_factor
|naval_torpedo_reveal_chance_factor
|Modifies the chance that the country's submarines reveal themselves when firing torpedos.
|Modifies the chance that the country's submarines reveal themselves when firing torpedos.
第3,413行: 第3,440行:
|
|
|1.6
|1.6
|- id="naval_torpedo_screen_penetration_factor"
|-id="naval_torpedo_screen_penetration_factor"
|naval_torpedo_screen_penetration_factor
|naval_torpedo_screen_penetration_factor
|Modifies the rate at which the country's torpedos penalise enemy screening.
|Modifies the rate at which the country's torpedos penalise enemy screening.
第3,420行: 第3,447行:
|
|
|1.6
|1.6
|- id="naval_torpedo_damage_reduction_factor"
|-id="naval_torpedo_damage_reduction_factor"
|naval_torpedo_damage_reduction_factor
|naval_torpedo_damage_reduction_factor
|Modifies the damage at which enemy torpedos damage the country's ships.
|Modifies the damage at which enemy torpedos damage the country's ships.
第3,427行: 第3,454行:
|
|
|1.12
|1.12
|- id="naval_torpedo_enemy_critical_chance_factor"
|-id="naval_torpedo_enemy_critical_chance_factor"
|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.
|Modifies the chance for an enemy torpedo to get a cricical hit against the country's ships.
第3,434行: 第3,461行:
|
|
|1.12
|1.12
|- id="naval_light_gun_hit_chance_factor"
|-id="naval_light_gun_hit_chance_factor"
|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.
|Modifies the chance for the country's naval light guns to hit enemy ships.
第3,441行: 第3,468行:
|
|
|1.12
|1.12
|- id="naval_heavy_gun_hit_chance_factor"
|-id="naval_heavy_gun_hit_chance_factor"
|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.
|Modifies the chance for the country's naval heavy guns to hit enemy ships.
第3,448行: 第3,475行:
|
|
|1.12
|1.12
|- id="navy_capital_ship_attack_factor"
|-id="navy_capital_ship_attack_factor"
|navy_capital_ship_attack_factor
|navy_capital_ship_attack_factor
|Modifies the attack of the country's capital ships.
|Modifies the attack of the country's capital ships.
第3,455行: 第3,482行:
|
|
|1.6
|1.6
|- id="navy_capital_ship_defence_factor"
|-id="navy_capital_ship_defence_factor"
|navy_capital_ship_defence_factor
|navy_capital_ship_defence_factor
|Modifies the defence of the country's capital ships.
|Modifies the defence of the country's capital ships.
第3,462行: 第3,489行:
|
|
|1.6
|1.6
|- id="navy_screen_attack_factor"
|-id="navy_screen_attack_factor"
|navy_screen_attack_factor
|navy_screen_attack_factor
|Modifies the attack of the country's screening ships.
|Modifies the attack of the country's screening ships.
第3,469行: 第3,496行:
|
|
|1.6
|1.6
|- id="navy_screen_defence_factor"
|-id="navy_screen_defence_factor"
|navy_screen_defence_factor
|navy_screen_defence_factor
|Modifies the defence of the country's screening ships.
|Modifies the defence of the country's screening ships.
第3,476行: 第3,503行:
|
|
|1.6
|1.6
|- id="navy_submarine_attack_factor"
|-id="navy_submarine_attack_factor"
|navy_submarine_attack_factor
|navy_submarine_attack_factor
|Modifies the attack of the country's submarines.
|Modifies the attack of the country's submarines.
第3,483行: 第3,510行:
|
|
|1.6
|1.6
|- id="navy_submarine_defence_factor"
|-id="navy_submarine_defence_factor"
|navy_submarine_defence_factor
|navy_submarine_defence_factor
|Modifies the defence of the country's submarines.
|Modifies the defence of the country's submarines.
第3,490行: 第3,517行:
|
|
|1.6
|1.6
|- id="navy_submarine_detection_factor"
|-id="navy_submarine_detection_factor"
|navy_submarine_detection_factor
|navy_submarine_detection_factor
|Modifies the country's detection of enemy submarines.
|Modifies the country's detection of enemy submarines.
第3,497行: 第3,524行:
|
|
|1.6
|1.6
|- id="navy_visibility"
|-id="navy_visibility"
|navy_visibility
|navy_visibility
|Modifies the visibility of the country's navy.
|Modifies the visibility of the country's navy.
第3,504行: 第3,531行:
|
|
|1.6
|1.6
|- id="navy_weather_penalty"
|-id="navy_weather_penalty"
|navy_weather_penalty
|navy_weather_penalty
|Modifies the penalty the country's navy gets during poor weather.
|Modifies the penalty the country's navy gets during poor weather.
第3,511行: 第3,538行:
|
|
|1.11
|1.11
|- id="night_spotting_chance"
|-id="night_spotting_chance"
|night_spotting_chance
|night_spotting_chance
|Modifies the chance for the country's navy to spot the enemy at night.
|Modifies the chance for the country's navy to spot the enemy at night.
第3,518行: 第3,545行:
|
|
|1.11
|1.11
|- id="positioning"
|-id="positioning"
|positioning
|positioning
|Modifies the positioning of the country's navy.
|Modifies the positioning of the country's navy.
第3,525行: 第3,552行:
|
|
|1.6
|1.6
|- id="repair_speed_factor"
|-id="repair_speed_factor"
|repair_speed_factor
|repair_speed_factor
|Modifies the speed at which the dockyards repair the navy.
|Modifies the speed at which the dockyards repair the navy.
第3,532行: 第3,559行:
|
|
|1.6
|1.6
|- id="screening_efficiency"
|-id="screening_efficiency"
|screening_efficiency
|screening_efficiency
|Modifies the efficiency screen ships operate.
|Modifies the efficiency screen ships operate.
第3,539行: 第3,566行:
|
|
|1.6
|1.6
|- id="screening_without_screens"
|-id="screening_without_screens"
|screening_without_screens
|screening_without_screens
|Modifies the base screening without any screen ships assigned.
|Modifies the base screening without any screen ships assigned.
第3,546行: 第3,573行:
|
|
|1.11
|1.11
|- id="ships_at_battle_start"
|-id="ships_at_battle_start"
|ships_at_battle_start
|ships_at_battle_start
|Modifies the number of ships at first contact.
|Modifies the number of ships at first contact.
第3,553行: 第3,580行:
|
|
|1.6
|1.6
|- id="spotting_chance"
|-id="spotting_chance"
|spotting_chance
|spotting_chance
|Modifies the chance to spot enemy ships.
|Modifies the chance to spot enemy ships.
第3,560行: 第3,587行:
|
|
|1.6
|1.6
|- id="strike_force_movement_org_loss"
|-id="strike_force_movement_org_loss"
|strike_force_movement_org_loss
|strike_force_movement_org_loss
|Modifies the organisation loss from movement during the strike force mission.
|Modifies the organisation loss from movement during the strike force mission.
第3,567行: 第3,594行:
|
|
|1.6
|1.6
|- id="sub_retreat_speed"
|-id="sub_retreat_speed"
|sub_retreat_speed
|sub_retreat_speed
|Modifies the retreat speed of submarines.
|Modifies the retreat speed of submarines.
第3,574行: 第3,601行:
|
|
|1.6
|1.6
|- id="submarine_attack"
|-id="submarine_attack"
|submarine_attack
|submarine_attack
|Modifies the attack of submarines.
|Modifies the attack of submarines.
第3,582行: 第3,609行:
|1.6
|1.6
|}
|}
====Carriers and their planes====
 
==== Carriers and their planes ====
{{SVersion|1.13}}
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Carrier-related country-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Carrier-related country-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="navy_carrier_air_agility_factor"
! width="5%" | Version added
|-id="navy_carrier_air_agility_factor"
|navy_carrier_air_agility_factor
|navy_carrier_air_agility_factor
|Modifies the agility of airplanes executing tasks from carriers.
|Modifies the agility of airplanes executing tasks from carriers.
第3,599行: 第3,628行:
|
|
|1.6
|1.6
|- id="navy_carrier_air_attack_factor"
|-id="navy_carrier_air_attack_factor"
|navy_carrier_air_attack_factor
|navy_carrier_air_attack_factor
|Modifies the attack of airplanes executing tasks from carriers.
|Modifies the attack of airplanes executing tasks from carriers.
第3,606行: 第3,635行:
|
|
|1.6
|1.6
|- id="navy_carrier_air_targetting_factor"
|-id="navy_carrier_air_targetting_factor"
|navy_carrier_air_targetting_factor
|navy_carrier_air_targetting_factor
|Modifies the targeting of airplanes executing tasks from carriers.
|Modifies the targeting of airplanes executing tasks from carriers.
第3,613行: 第3,642行:
|
|
|1.6
|1.6
|- id="air_carrier_night_penalty_reduction_factor"
|-id="air_carrier_night_penalty_reduction_factor"
|air_carrier_night_penalty_reduction_factor
|air_carrier_night_penalty_reduction_factor
|Modifies the reduction of the night penalty for air carriers.
|Modifies the reduction of the night penalty for air carriers.
第3,620行: 第3,649行:
|
|
|1.0
|1.0
|- id="carrier_capacity_penalty_reduction"
|-id="carrier_capacity_penalty_reduction"
|carrier_capacity_penalty_reduction
|carrier_capacity_penalty_reduction
|Modifies the penalty given by overcrowding a carrier with planes.
|Modifies the penalty given by overcrowding a carrier with planes.
第3,627行: 第3,656行:
|
|
|1.6
|1.6
|- id="carrier_traffic"
|-id="carrier_traffic"
|carrier_traffic
|carrier_traffic
|Modifies the traffic of carriers.
|Modifies the traffic of carriers.
第3,634行: 第3,663行:
|
|
|1.6
|1.6
|- id="sortie_efficiency"
|-id="sortie_efficiency"
|sortie_efficiency
|sortie_efficiency
|Modifies the speed when refueling and rearming planes on the carrier during the battle.
|Modifies the speed when refueling and rearming planes on the carrier during the battle.
第3,641行: 第3,670行:
|
|
|1.6
|1.6
|- id="carrier_sortie_hours_delay"
|-id="carrier_sortie_hours_delay"
|carrier_sortie_hours_delay
|carrier_sortie_hours_delay
|Modifies the delay in hours for refueling and rearming planes on the carrier.
|Modifies the delay in hours for refueling and rearming planes on the carrier.
第3,648行: 第3,677行:
|
|
|1.12
|1.12
|- id="carrier_night_traffic"
|-id="carrier_night_traffic"
|carrier_night_traffic
|carrier_night_traffic
|Modifies the traffic of carriers at night.
|Modifies the traffic of carriers at night.
第3,655行: 第3,684行:
|
|
|1.11
|1.11
|- id="fighter_sortie_efficiency"
|-id="fighter_sortie_efficiency"
|fighter_sortie_efficiency
|fighter_sortie_efficiency
|Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
|Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
第3,663行: 第3,692行:
|1.6
|1.6
|}
|}
====Air combat====
 
{{SVersion|1.13}}Note that most of these modifiers are not only in country scope but also in ace scope.
==== Air combat ====
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{{SVersion|1.13}}
|+ style="text-align: center;" width="100%" |{{nowrap|Air-related country-scoped modifiers:}}
Note that most of these modifiers are not only in country scope but also in ace scope.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Air-related country-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="air_accidents_factor"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="air_accidents_factor"
|air_accidents_factor
|air_accidents_factor
|Modifies the chance for air accidents to happen.
|Modifies the chance for air accidents to happen.
第3,680行: 第3,712行:
|
|
|1.0
|1.0
|- id="air_ace_bonuses_factor"
|-id="air_ace_bonuses_factor"
|air_ace_bonuses_factor
|air_ace_bonuses_factor
|Modifies the bonuses the aces grant.
|Modifies the bonuses the aces grant.
第3,687行: 第3,719行:
|
|
|1.11
|1.11
|- id="air_ace_generation_chance_factor"
|-id="air_ace_generation_chance_factor"
|air_ace_generation_chance_factor
|air_ace_generation_chance_factor
|Modifies the chance for aces to appear.
|Modifies the chance for aces to appear.
第3,694行: 第3,726行:
|
|
|1.11
|1.11
|- id="ace_effectiveness_factor"
|-id="ace_effectiveness_factor"
|ace_effectiveness_factor
|ace_effectiveness_factor
|Modifies the effectiveness of aces
|Modifies the effectiveness of aces
第3,701行: 第3,733行:
|
|
|1.0
|1.0
|- id="air_agility_factor"
|-id="air_agility_factor"
|air_agility_factor
|air_agility_factor
|Modifies the agility of the country's airplanes.
|Modifies the agility of the country's airplanes.
第3,708行: 第3,740行:
|
|
|1.0
|1.0
|- id="air_attack_factor"
|-id="air_attack_factor"
|air_attack_factor
|air_attack_factor
|Modifies the attack of the country's airplanes.
|Modifies the attack of the country's airplanes.
第3,715行: 第3,747行:
|
|
|1.0
|1.0
|- id="air_defence_factor"
|-id="air_defence_factor"
|air_defence_factor
|air_defence_factor
|Modifies the defence of the country's airplanes.
|Modifies the defence of the country's airplanes.
第3,722行: 第3,754行:
|
|
|1.0
|1.0
|- id="air_interception_detect_factor"
|-id="air_interception_detect_factor"
|air_interception_detect_factor
|air_interception_detect_factor
|Modifies the chance of detecting an enemy plane while on interception mission.
|Modifies the chance of detecting an enemy plane while on interception mission.
第3,729行: 第3,761行:
|
|
|1.0
|1.0
|- id="naval_strike_targetting_factor"
|-id="naval_strike_targetting_factor"
|naval_strike_targetting_factor
|naval_strike_targetting_factor
|Modifies the ability of planes to target their objectives when executing naval strikes.
|Modifies the ability of planes to target their objectives when executing naval strikes.
第3,736行: 第3,768行:
|
|
|1.0
|1.0
|- id="port_strike"
|-id="port_strike"
|port_strike
|port_strike
|Modifies the damage done by planes on the port strike mission.
|Modifies the damage done by planes on the port strike mission.
第3,743行: 第3,775行:
|
|
|1.0
|1.0
|- id="air_close_air_support_org_damage_factor"
|-id="air_close_air_support_org_damage_factor"
|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.
|Modifies the damage to division organisation by planes on the close air support mission.
第3,750行: 第3,782行:
|
|
|1.11
|1.11
|- id="air_bombing_targetting"
|-id="air_bombing_targetting"
|air_bombing_targetting
|air_bombing_targetting
|Modifies targetting for ground bombing.
|Modifies targetting for ground bombing.
第3,757行: 第3,789行:
|
|
|1.0
|1.0
|- id="air_cas_efficiency"
|-id="air_cas_efficiency"
|air_cas_efficiency
|air_cas_efficiency
|Modifies efficiency of close-air-support.
|Modifies efficiency of close-air-support.
第3,764行: 第3,796行:
|
|
|1.0
|1.0
|- id="air_cas_present_factor"
|-id="air_cas_present_factor"
|air_cas_present_factor
|air_cas_present_factor
|Modifies impact of close-air-support in land combat.
|Modifies impact of close-air-support in land combat.
第3,771行: 第3,803行:
|
|
|1.0
|1.0
|- id="air_escort_efficiency"
|-id="air_escort_efficiency"
|air_escort_efficiency
|air_escort_efficiency
|Modifies ability of planes in dogfights.
|Modifies ability of planes in dogfights.
第3,778行: 第3,810行:
|
|
|1.0
|1.0
|- id="air_home_defence_factor"
|-id="air_home_defence_factor"
|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)
|Modifies the defence of airplanes when defending states in the home region (Connected to the country's capital by land)
第3,785行: 第3,817行:
|
|
|1.11
|1.11
|- id="air_intercept_efficiency"
|-id="air_intercept_efficiency"
|air_intercept_efficiency
|air_intercept_efficiency
|Modifies the efficiency of air interception.
|Modifies the efficiency of air interception.
第3,792行: 第3,824行:
|
|
|1.0
|1.0
|- id="air_manpower_requirement_factor"
|-id="air_manpower_requirement_factor"
|air_manpower_requirement_factor
|air_manpower_requirement_factor
|Modifies the manpower required to deploy an airplane.
|Modifies the manpower required to deploy an airplane.
第3,799行: 第3,831行:
|
|
|1.11
|1.11
|- id="air_maximum_speed_factor"
|-id="air_maximum_speed_factor"
|air_maximum_speed_factor
|air_maximum_speed_factor
|Modifies the maximum speed of the airforce.
|Modifies the maximum speed of the airforce.
第3,806行: 第3,838行:
|
|
|1.0
|1.0
|- id="air_mission_efficiency"
|-id="air_mission_efficiency"
|air_mission_efficiency
|air_mission_efficiency
|Modifies the efficiency of airplanes in missions.
|Modifies the efficiency of airplanes in missions.
第3,813行: 第3,845行:
|
|
|1.0
|1.0
|- id="air_mission_xp_gain_factor"
|-id="air_mission_xp_gain_factor"
|air_mission_xp_gain_factor
|air_mission_xp_gain_factor
|Modifies the experience gain for airplanes for doing missions.
|Modifies the experience gain for airplanes for doing missions.
第3,820行: 第3,852行:
|
|
|1.0
|1.0
|- id="air_nav_efficiency"
|-id="air_nav_efficiency"
|air_nav_efficiency
|air_nav_efficiency
|Modifies the efficiency of airplanes doing port strike and naval bombing missions.
|Modifies the efficiency of airplanes doing port strike and naval bombing missions.
第3,827行: 第3,859行:
|
|
|1.0
|1.0
|- id="air_night_penalty"
|-id="air_night_penalty"
|air_night_penalty
|air_night_penalty
|Modifies the penalty the airforce receives while at night.
|Modifies the penalty the airforce receives while at night.
第3,834行: 第3,866行:
|
|
|1.0
|1.0
|- id="air_power_projection_factor"
|-id="air_power_projection_factor"
|air_power_projection_factor
|air_power_projection_factor
|Modifies the power projection given out by the airplanes.
|Modifies the power projection given out by the airplanes.
第3,841行: 第3,873行:
|
|
|1.0
|1.0
|- id="air_range_factor"
|-id="air_range_factor"
|air_range_factor
|air_range_factor
|Modifies the range of the airplanes.
|Modifies the range of the airplanes.
第3,848行: 第3,880行:
|
|
|1.0
|1.0
|- id="air_strategic_bomber_bombing_factor"
|-id="air_strategic_bomber_bombing_factor"
|air_strategic_bomber_bombing_factor
|air_strategic_bomber_bombing_factor
|Modifies the efficiency of the strategic bombing mission.
|Modifies the efficiency of the strategic bombing mission.
第3,855行: 第3,887行:
|
|
|1.0
|1.0
|- id="air_strategic_bomber_night_penalty"
|-id="air_strategic_bomber_night_penalty"
|air_strategic_bomber_night_penalty
|air_strategic_bomber_night_penalty
|Modifies the penalty for the strategic bombing mission while at night.
|Modifies the penalty for the strategic bombing mission while at night.
第3,862行: 第3,894行:
|
|
|1.0
|1.0
|- id="air_superiority_detect_factor"
|-id="air_superiority_detect_factor"
|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.
|Modifies the chance to detect enemy planes while on the air superiority mission. Displays as Fighter Detection.
第3,869行: 第3,901行:
|
|
|1.0
|1.0
|- id="air_superiority_efficiency"
|-id="air_superiority_efficiency"
|air_superiority_efficiency
|air_superiority_efficiency
|Modifies the efficiency of the air superiority mission.
|Modifies the efficiency of the air superiority mission.
第3,876行: 第3,908行:
|
|
|1.0
|1.0
|- id="air_training_xp_gain_factor"
|-id="air_training_xp_gain_factor"
|air_training_xp_gain_factor
|air_training_xp_gain_factor
|Modifies the air experience gain from training.
|Modifies the air experience gain from training.
第3,883行: 第3,915行:
|
|
|1.6
|1.6
|- id="air_untrained_pilots_penalty_factor"
|-id="air_untrained_pilots_penalty_factor"
|air_untrained_pilots_penalty_factor
|air_untrained_pilots_penalty_factor
|Modifies the penalty given to airplanes which don't have enough experience.
|Modifies the penalty given to airplanes which don't have enough experience.
第3,890行: 第3,922行:
|
|
|1.6
|1.6
|- id="air_weather_penalty"
|-id="air_weather_penalty"
|air_weather_penalty
|air_weather_penalty
|Modifies the penalty the airplanes receive because of weather.
|Modifies the penalty the airplanes receive because of weather.
第3,897行: 第3,929行:
|
|
|1.0
|1.0
|- id="air_wing_xp_loss_when_killed_factor"
|-id="air_wing_xp_loss_when_killed_factor"
|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.
|Modifies the experience loss of airplanes due to airplanes being shot down.
第3,904行: 第3,936行:
|
|
|1.0
|1.0
|- id="army_bonus_air_superiority_factor"
|-id="army_bonus_air_superiority_factor"
|army_bonus_air_superiority_factor
|army_bonus_air_superiority_factor
|Modifies the bonus to land combat from air superiority.
|Modifies the bonus to land combat from air superiority.
第3,911行: 第3,943行:
|
|
|1.0
|1.0
|- id="enemy_army_bonus_air_superiority_factor"
|-id="enemy_army_bonus_air_superiority_factor"
|enemy_army_bonus_air_superiority_factor
|enemy_army_bonus_air_superiority_factor
|Modifies the effect to land combat from enemy air superiority.
|Modifies the effect to land combat from enemy air superiority.
第3,918行: 第3,950行:
|
|
|1.0
|1.0
|- id="ground_attack_factor"
|-id="ground_attack_factor"
|ground_attack_factor
|ground_attack_factor
|Modifies the bonus to airplane attack on enemy divisions by a percentage.
|Modifies the bonus to airplane attack on enemy divisions by a percentage.
第3,925行: 第3,957行:
|
|
|1.0
|1.0
|- id="mines_planting_by_air_factor"
|-id="mines_planting_by_air_factor"
|mines_planting_by_air_factor
|mines_planting_by_air_factor
|Modifies efficiency of airplanes planting mines.
|Modifies efficiency of airplanes planting mines.
第3,932行: 第3,964行:
|
|
|1.0
|1.0
|- id="mines_sweeping_by_air_factor"
|-id="mines_sweeping_by_air_factor"
|mines_sweeping_by_air_factor
|mines_sweeping_by_air_factor
|Modifies efficiency of airplanes sweeping mines.
|Modifies efficiency of airplanes sweeping mines.
第3,939行: 第3,971行:
|
|
|1.0
|1.0
|- id="strategic_bomb_visibility"
|-id="strategic_bomb_visibility"
|strategic_bomb_visibility
|strategic_bomb_visibility
|Modifies the chance for the enemy to detect our strategic bombers.
|Modifies the chance for the enemy to detect our strategic bombers.
第3,946行: 第3,978行:
|
|
|1.0
|1.0
|- id="rocket_attack_factor"
|-id="rocket_attack_factor"
|rocket_attack_factor
|rocket_attack_factor
|Modifies the attack given to rockets.
|Modifies the attack given to rockets.
第3,954行: 第3,986行:
|1.0
|1.0
|}
|}
====Targeted modifiers====
{{SVersion|1.13}}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; [[:en:Modifiers#relation_modifiers|relation modifiers]].


A <code>targeted_modifier</code> block is structured as such:<pre>targeted_modifier = {
==== Targeted modifiers ====
    tag = FROM
{{SVersion|1.13}}
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/>
A <code>targeted_modifier</code> block is structured as such:
<pre>targeted_modifier = {
    tag = FROM   # this can also take a variable that stores a scope
    attack_bonus_against = 0.1
    attack_bonus_against = 0.1
    defense_bonus_against = 0.1
    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>.
}</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>.
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width="100%" |{{nowrap|Targeted modifiers:}}
|+ style="text-align: center;" width = "100%" |{{nowrap|Targeted modifiers:}}<br/>
! width="10%" |Name
! width="10%" | Name
! width="25%" |Effects
! width="25%" | Effects
! width="25%" |Examples
! width="25%" | Examples
! width="20%" |Modifier type
! width="20%" | Modifier type
! width="15%" |Notes
! width="15%" | Notes
! width="5%" |Version added
! width="5%" | Version added
|- id="extra_trade_to_target_factor"
|-id="extra_trade_to_target_factor"
|extra_trade_to_target_factor
|extra_trade_to_target_factor
|Adds extra produced recourses available for trade to target country.
|Adds extra produced recourses available for trade to target country.
第3,977行: 第4,011行:
|
|
|1.5
|1.5
|- id="generate_wargoal_tension_against"
|-id="generate_wargoal_tension_against"
|generate_wargoal_tension_against
|generate_wargoal_tension_against
|Changes world tension necessary for us to justify against the target country.
|Changes world tension necessary for us to justify against the target country.
第3,984行: 第4,018行:
|
|
|1.5
|1.5
|- id="cic_to_target_factor"
|-id="cic_to_target_factor"
|cic_to_target_factor
|cic_to_target_factor
|Gives a portion of the country's civilian industry to the specified target.
|Gives a portion of the country's civilian industry to the specified target.
第3,991行: 第4,025行:
|
|
|1.5
|1.5
|- id="mic_to_target_factor"
|-id="mic_to_target_factor"
|mic_to_target_factor
|mic_to_target_factor
|Gives a portion of the country's military industry to the specified target.
|Gives a portion of the country's military industry to the specified target.
第3,998行: 第4,032行:
|
|
|1.5
|1.5
|- id="trade_cost_for_target_factor"
|-id="trade_cost_for_target_factor"
|trade_cost_for_target_factor
|trade_cost_for_target_factor
|The cost for the targeted country to purchase this country's resources.
|The cost for the targeted country to purchase this country's resources.
第4,005行: 第4,039行:
|
|
|1.5
|1.5
|- id="targeted_legitimacy_daily"
|-id="targeted_legitimacy_daily"
|targeted_legitimacy_daily
|targeted_legitimacy_daily
|Changes daily gain of legitimacy of the target country.
|Changes daily gain of legitimacy of the target country.
第4,012行: 第4,046行:
|
|
|1.6
|1.6
|- id="attack_bonus_against"
|-id="attack_bonus_against"
|attack_bonus_against
|attack_bonus_against
|Gives an attack bonus against the armies of the specified country.
|Gives an attack bonus against the armies of the specified country.
第4,019行: 第4,053行:
|Due to a bug, this will not apply to units that are defending.
|Due to a bug, this will not apply to units that are defending.
|1.5
|1.5
|- id="attack_bonus_against_cores"
|-id="attack_bonus_against_cores"
|attack_bonus_against_cores
|attack_bonus_against_cores
|Gives an attack bonus against the armies of the specified country on its core territory.
|Gives an attack bonus against the armies of the specified country on its core territory.
第4,026行: 第4,060行:
|
|
|1.5
|1.5
|- id="breakthrough_bonus_against"
|-id="breakthrough_bonus_against"
|breakthrough_bonus_against
|breakthrough_bonus_against
|Gives a breakthrough bonus against the armies of the specified country.
|Gives a breakthrough bonus against the armies of the specified country.
第4,033行: 第4,067行:
|
|
|1.5
|1.5
|- id="defense_bonus_against"
|-id="defense_bonus_against"
|defense_bonus_against
|defense_bonus_against
|Gives a defense bonus against the armies of the specified country.
|Gives a defense bonus against the armies of the specified country.
第4,041行: 第4,075行:
|1.5
|1.5
|}
|}
===State scope===
 
Several country-scoped modifiers (such as a portion of those in the [[:en:Modifiers#Land_combat|land combat section]]) unlisted here can go into state scope. A large portion of state-scoped modifiers can go into province scope.
=== State scope ===
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
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.
|+ style="text-align: center;" width="100%" |{{nowrap|State-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|State-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="army_speed_factor_for_controller"
! width="5%" | Version added
|-id="army_speed_factor_for_controller"
|army_speed_factor_for_controller
|army_speed_factor_for_controller
|Changes the division speed for the controller of the state.
|Changes the division speed for the controller of the state.
第4,058行: 第4,093行:
|
|
|1.0
|1.0
|- id="attrition_for_controller"
|-id="attrition_for_controller"
|attrition_for_controller
|attrition_for_controller
|Changes the attrition for the controller of the state.
|Changes the attrition for the controller of the state.
第4,065行: 第4,100行:
|
|
|1.0
|1.0
|- id="equipment_capture_for_controller"
|-id="equipment_capture_for_controller"
|equipment_capture_for_controller
|equipment_capture_for_controller
|Changes the equipment capture ratio by the state's controller.
|Changes the equipment capture ratio by the state's controller.
第4,072行: 第4,107行:
|
|
|1.13
|1.13
|- id="equipment_capture_factor_for_controller"
|-id="equipment_capture_factor_for_controller"
|equipment_capture_factor_for_controller
|equipment_capture_factor_for_controller
|Modifies the equipment capture ratio by the state's controller.
|Modifies the equipment capture ratio by the state's controller.
第4,079行: 第4,114行:
|
|
|1.13
|1.13
|- id="enemy_army_speed_factor"
|-id="enemy_army_speed_factor"
|enemy_army_speed_factor
|enemy_army_speed_factor
|Modifies the speed of divisions at war with the state's owner.
|Modifies the speed of divisions at war with the state's owner.
第4,086行: 第4,121行:
|
|
|1.13
|1.13
|- id="enemy_local_supplies"
|-id="enemy_local_supplies"
|enemy_local_supplies
|enemy_local_supplies
|Modifies the supply of divisions at war with the state's owner.
|Modifies the supply of divisions at war with the state's owner.
第4,093行: 第4,128行:
|
|
|1.13
|1.13
|- id="enemy_attrition"
|-id="enemy_attrition"
|enemy_attrition
|enemy_attrition
|Modifies the attrition of divisions at war with the state's owner.
|Modifies the attrition of divisions at war with the state's owner.
第4,100行: 第4,135行:
|
|
|1.13
|1.13
|- id="enemy_truck_attrition_factor"
|-id="enemy_truck_attrition_factor"
|enemy_truck_attrition_factor
|enemy_truck_attrition_factor
|Modifies the truck attrition of divisions at war with the state's owner.
|Modifies the truck attrition of divisions at war with the state's owner.
第4,107行: 第4,142行:
|
|
|1.13
|1.13
|- id="compliance_gain"
|-id="compliance_gain"
|compliance_gain
|compliance_gain
|Changes the compliance gain in the current state.
|Changes the compliance gain in the current state.
第4,114行: 第4,149行:
|Can also go into country scope. Can also be used as a targeted modifier.
|Can also go into country scope. Can also be used as a targeted modifier.
|1.9
|1.9
|- id="compliance_growth"
|-id="compliance_growth"
|compliance_growth
|compliance_growth
|Changes the compliance growth speed in the current state.
|Changes the compliance growth speed in the current state.
第4,121行: 第4,156行:
|Can also go into country scope.
|Can also go into country scope.
|1.9
|1.9
|- id="country_resource_<resource&gt;"
|-id="country_resource_<resource>"
|country_resource_<resource>
|country_resource_<resource>
|Directly modifies the country's resource stockpile.
|Directly modifies the country's resource stockpile.
第4,128行: 第4,163行:
|Can also go into country scope.
|Can also go into country scope.
|1.0
|1.0
|- id="country_resource_cost_<resource&gt;"
|-id="country_resource_cost_<resource>"
|country_resource_cost_<resource>
|country_resource_cost_<resource>
|Directly modifies the country's resource stockpile.
|Directly modifies the country's resource stockpile.
第4,135行: 第4,170行:
|Can also go into country scope.
|Can also go into country scope.
|1.0
|1.0
|- id="disable_strategic_redeployment"
|-id="disable_strategic_redeployment"
|disable_strategic_redeployment
|disable_strategic_redeployment
|Disables strategic redeployment in the state.
|Disables strategic redeployment in the state.
第4,142行: 第4,177行:
|
|
|1.9
|1.9
|- id="disable_strategic_redeployment_for_controller"
|-id="disable_strategic_redeployment_for_controller"
|disable_strategic_redeployment_for_controller
|disable_strategic_redeployment_for_controller
|Disables strategic redeployment in the state for the controller.
|Disables strategic redeployment in the state for the controller.
第4,149行: 第4,184行:
|
|
|1.9
|1.9
|- id="enemy_intel_network_gain_factor_over_occupied_tag"
|-id="enemy_intel_network_gain_factor_over_occupied_tag"
|enemy_intel_network_gain_factor_over_occupied_tag
|enemy_intel_network_gain_factor_over_occupied_tag
|Modifies enemy intel network strength gain.
|Modifies enemy intel network strength gain.
第4,156行: 第4,191行:
|
|
|1.9
|1.9
|- id="local_building_slots"
|-id="local_building_slots"
|local_building_slots
|local_building_slots
|Modifies amount of building slots.
|Modifies amount of building slots.
第4,163行: 第4,198行:
|
|
|1.9
|1.9
|- id="local_building_slots_factor"
|-id="local_building_slots_factor"
|local_building_slots_factor
|local_building_slots_factor
|Modifies amount of building slots by a percentage.
|Modifies amount of building slots by a percentage.
第4,170行: 第4,205行:
|
|
|1.9
|1.9
|- id="local_factories"
|-id="local_factories"
|local_factories
|local_factories
|Modifies amount of available factories in the state.
|Modifies amount of available factories in the state.
第4,177行: 第4,212行:
|
|
|1.9
|1.9
|- id="local_factory_sabotage"
|-id="local_factory_sabotage"
|local_factory_sabotage
|local_factory_sabotage
|Modifies chance for factory sabotage.
|Modifies chance for factory sabotage.
第4,184行: 第4,219行:
|
|
|1.9
|1.9
|- id="local_intel_to_enemies"
|-id="local_intel_to_enemies"
|local_intel_to_enemies
|local_intel_to_enemies
|Modifies amount of intel to enemies.
|Modifies amount of intel to enemies.
第4,191行: 第4,226行:
|
|
|1.9
|1.9
|- id="local_manpower"
|-id="local_manpower"
|local_manpower
|local_manpower
|Modifies amount of available manpower.
|Modifies amount of available manpower.
第4,198行: 第4,233行:
|
|
|1.4
|1.4
|- id="local_non_core_manpower"
|-id="local_non_core_manpower"
|local_non_core_manpower
|local_non_core_manpower
|Modifies amount of available non-core manpower.
|Modifies amount of available non-core manpower.
第4,205行: 第4,240行:
|
|
|1.3.3
|1.3.3
|- id="local_org_regain"
|-id="local_org_regain"
|local_org_regain
|local_org_regain
|Modifies how much organisation is regained after combat.
|Modifies how much organisation is regained after combat.
第4,212行: 第4,247行:
|Can be used in provinces and strategic regions.
|Can be used in provinces and strategic regions.
|1.0
|1.0
|- id="local_resources"
|-id="local_resources"
|local_resources
|local_resources
|Modifies amount of available resources.
|Modifies amount of available resources.
第4,219行: 第4,254行:
|
|
|1.9
|1.9
|- id="local_supplies"
|-id="local_supplies"
|local_supplies
|local_supplies
|Modifies amount of available supplies.
|Modifies amount of available supplies.
第4,226行: 第4,261行:
|
|
|1.9
|1.9
|- id="local_supplies_for_controller"
|-id="local_supplies_for_controller"
|local_supplies_for_controller
|local_supplies_for_controller
|Modifies amount of available supplies for the controller.
|Modifies amount of available supplies for the controller.
第4,233行: 第4,268行:
|
|
|1.9
|1.9
|- id="local_supply_impact_factor"
|-id="local_supply_impact_factor"
|local_supply_impact_factor
|local_supply_impact_factor
|Modifies the impact that the state's local supplies have.
|Modifies the impact that the state's local supplies have.
第4,240行: 第4,275行:
|
|
|1.12
|1.12
|- id="local_non_core_supply_impact_factor"
|-id="local_non_core_supply_impact_factor"
|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.
|Modifies the impact that the state's local supplies have if the state is not cored by the controller of provinces within.
第4,247行: 第4,282行:
|
|
|1.12
|1.12
|- id="mobilization_speed"
|-id="mobilization_speed"
|mobilization_speed
|mobilization_speed
|Modifies the mobilisation speed.
|Modifies the mobilisation speed.
第4,254行: 第4,289行:
|
|
|1.9
|1.9
|- id="non_core_manpower"
|-id="non_core_manpower"
|non_core_manpower
|non_core_manpower
|Modifies the amount of recruited non-core manpower.
|Modifies the amount of recruited non-core manpower.
第4,261行: 第4,296行:
|
|
|1.9
|1.9
|- id="max_fuel_building"
|-id="max_fuel_building"
|max_fuel_building
|max_fuel_building
|Modifies the amount of fuel capacity, in thousands, given to the state controller from the building.
|Modifies the amount of fuel capacity, in thousands, given to the state controller from the building.
第4,268行: 第4,303行:
|Does not have to be in a building.
|Does not have to be in a building.
|1.0
|1.0
|- id="recruitable_population"
|-id="recruitable_population"
|recruitable_population
|recruitable_population
|Modifies the amount of recruited manpower.
|Modifies the amount of recruited manpower.
第4,275行: 第4,310行:
|
|
|1.9
|1.9
|- id="recruitable_population_factor"
|-id="recruitable_population_factor"
|recruitable_population_factor
|recruitable_population_factor
|Modifies the amount of recruited manpower by a percentage.
|Modifies the amount of recruited manpower by a percentage.
第4,282行: 第4,317行:
|
|
|1.9
|1.9
|- id="resistance_damage_to_garrison"
|-id="resistance_damage_to_garrison"
|resistance_damage_to_garrison
|resistance_damage_to_garrison
|Modifies the amount of resistance damage to the garrison.
|Modifies the amount of resistance damage to the garrison.
第4,289行: 第4,324行:
|
|
|1.9
|1.9
|- id="resistance_decay"
|-id="resistance_decay"
|resistance_decay
|resistance_decay
|Modifies the speed of resistance decay.
|Modifies the speed of resistance decay.
第4,296行: 第4,331行:
|
|
|1.9
|1.9
|- id="resistance_garrison_penetration_chance"
|-id="resistance_garrison_penetration_chance"
|resistance_garrison_penetration_chance
|resistance_garrison_penetration_chance
|Modifies the chance for the garrison to be penetrated.
|Modifies the chance for the garrison to be penetrated.
第4,303行: 第4,338行:
|
|
|1.9
|1.9
|- id="resistance_growth"
|-id="resistance_growth"
|resistance_growth
|resistance_growth
|Modifies the speed of the resistance growth.
|Modifies the speed of the resistance growth.
第4,310行: 第4,345行:
|
|
|1.9
|1.9
|- id="resistance_target"
|-id="resistance_target"
|resistance_target
|resistance_target
|Modifies the target of the resistance growth.
|Modifies the target of the resistance growth.
第4,317行: 第4,352行:
|
|
|1.9
|1.9
|- id="starting_compliance"
|-id="starting_compliance"
|starting_compliance
|starting_compliance
|Modifies the base compliance value.
|Modifies the base compliance value.
第4,324行: 第4,359行:
|
|
|1.9
|1.9
|- id="state_production_speed_<building&gt;_factor"
|-id="state_production_speed_<building>_factor"
|state_production_speed_<building>_factor
|state_production_speed_<building>_factor
|Modifies the building speed of the specified building in the state.
|Modifies the building speed of the specified building in the state.
第4,331行: 第4,366行:
|Use state_production_speed_buildings_factor for it to apply to all buildings. (added in 1.9)
|Use state_production_speed_buildings_factor for it to apply to all buildings. (added in 1.9)
|1.9.1
|1.9.1
|- id="state_repair_speed_<building&gt;_factor"
|-id="state_repair_speed_<building>_factor"
|state_repair_speed_<building>_factor
|state_repair_speed_<building>_factor
|Modifies the repair speed of the specified building in the state.
|Modifies the repair speed of the specified building in the state.
第4,338行: 第4,373行:
|
|
|1.9.1
|1.9.1
|- id="state_resource_<resource&gt;"
|-id="state_resource_<resource>"
|state_resource_<resource>
|state_resource_<resource>
|Modifies the amount of the specified resource in the state.
|Modifies the amount of the specified resource in the state.
第4,345行: 第4,380行:
|
|
|1.0
|1.0
|- id="state_resources_factor"
|-id="state_resources_factor"
|state_resources_factor
|state_resources_factor
|Modifies the amount of resources in a state.
|Modifies the amount of resources in a state.
第4,352行: 第4,387行:
|
|
|1.9
|1.9
|- id="state_resource_cost_<resource&gt;"
|-id="state_resource_cost_<resource>"
|state_resource_cost_<resource>
|state_resource_cost_<resource>
|Modifies the amount of the specified resource in the state.
|Modifies the amount of the specified resource in the state.
第4,359行: 第4,394行:
|
|
|1.9
|1.9
|- id="temporary_state_resource_<resource&gt;"
|-id="temporary_state_resource_<resource>"
|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.
|Modifies the amount of the specified resource in the state as an added modifier after the base one.
第4,366行: 第4,401行:
|
|
|1.0
|1.0
|- id="enemy_operative_detection_chance_over_occupied_tag"
|-id="enemy_operative_detection_chance_over_occupied_tag"
|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.
|Offsets the chance for an enemy operative to be detected for the tag that occupies this state.
第4,373行: 第4,408行:
|
|
|1.9
|1.9
|- id="enemy_operative_detection_chance_factor_over_occupied_tag"
|-id="enemy_operative_detection_chance_factor_over_occupied_tag"
|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.
|Modifies the chance for an enemy operative to be detected for the tag that occupies this state.
第4,381行: 第4,416行:
|1.9
|1.9
|}
|}
===Unit leader scope===
 
=== Unit leader scope ===
 
Note that most modifiers in land and naval combat sections also apply.
Note that most modifiers in land and naval combat sections also apply.
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Unit leader-scoped modifiers:}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="10%" |Name
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-scoped modifiers:}}<br/>
! width="25%" |Effects
! width="10%" | Name
! width="25%" |Examples
! width="25%" | Effects
! width="20%" |Modifier type
! width="25%" | Examples
! width="15%" |Notes
! width="20%" | Modifier type
! width="5%" |Version added
! width="15%" | Notes
|- id="cannot_use_abilities"
! width="5%" | Version added
|-id="cannot_use_abilities"
|cannot_use_abilities
|cannot_use_abilities
|Disables using abilities.
|Disables using abilities.
第4,398行: 第4,436行:
|
|
|1.5
|1.5
|- id="dont_lose_dig_in_on_attack"
|-id="dont_lose_dig_in_on_attack"
|dont_lose_dig_in_on_attack
|dont_lose_dig_in_on_attack
|Disables losing the entrechment bonus during attack.
|Disables losing the entrechment bonus during attack.
第4,405行: 第4,443行:
|
|
|1.5
|1.5
|- id="exiled_divisions_attack_factor"
|-id="exiled_divisions_attack_factor"
|exiled_divisions_attack_factor
|exiled_divisions_attack_factor
|Modifies the attack of divisions led by this unit leader if they're exiled.
|Modifies the attack of divisions led by this unit leader if they're exiled.
第4,412行: 第4,450行:
|
|
|1.6
|1.6
|- id="exiled_divisions_defense_factor"
|-id="exiled_divisions_defense_factor"
|exiled_divisions_defense_factor
|exiled_divisions_defense_factor
|Modifies the defence of divisions led by this unit leader if they're exiled.
|Modifies the defence of divisions led by this unit leader if they're exiled.
第4,419行: 第4,457行:
|
|
|1.6
|1.6
|- id="own_exiled_divisions_attack_factor"
|-id="own_exiled_divisions_attack_factor"
|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.
|Modifies the attack of divisions led by this unit leader if they're exiled and belong to the same country.
第4,426行: 第4,464行:
|
|
|1.6
|1.6
|- id="own_exiled_divisions_defense_factor"
|-id="own_exiled_divisions_defense_factor"
|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.
|Modifies the defence of divisions led by this unit leader if they're exiled and belong to the same country.
第4,433行: 第4,471行:
|
|
|1.6
|1.6
|- id="experience_gain_factor"
|-id="experience_gain_factor"
|experience_gain_factor
|experience_gain_factor
|Modifies the experience gained by the unit leader.
|Modifies the experience gained by the unit leader.
第4,440行: 第4,478行:
|
|
|1.5
|1.5
|- id="fortification_collateral_chance"
|-id="fortification_collateral_chance"
|fortification_collateral_chance
|fortification_collateral_chance
|Chance for combat to damage enemy forts.
|Chance for combat to damage enemy forts.
第4,447行: 第4,485行:
|
|
|1.5
|1.5
|- id="fortification_damage"
|-id="fortification_damage"
|fortification_damage
|fortification_damage
|Damage enemy forts receive from combat.
|Damage enemy forts receive from combat.
第4,454行: 第4,492行:
|
|
|1.5
|1.5
|- id="max_commander_army_size"
|-id="max_commander_army_size"
|max_commander_army_size
|max_commander_army_size
|Modifies amount of divisions that can be led by the army leader without penalty.
|Modifies amount of divisions that can be led by the army leader without penalty.
第4,461行: 第4,499行:
|
|
|1.5
|1.5
|- id="max_army_group_size"
|-id="max_army_group_size"
|max_army_group_size
|max_army_group_size
|Modifies amount of army groups that can be led by the field marshal without penalty.
|Modifies amount of army groups that can be led by the field marshal without penalty.
第4,468行: 第4,506行:
|
|
|1.5
|1.5
|- id="paradrop_organization_factor"
|-id="paradrop_organization_factor"
|paradrop_organization_factor
|paradrop_organization_factor
|The amount of organisation paratroopers will have after paradropping.
|The amount of organisation paratroopers will have after paradropping.
第4,475行: 第4,513行:
|
|
|1.5
|1.5
|- id="paratrooper_aa_defense"
|-id="paratrooper_aa_defense"
|paratrooper_aa_defense
|paratrooper_aa_defense
|The strength of anti-air against paratroopers.
|The strength of anti-air against paratroopers.
第4,482行: 第4,520行:
|
|
|1.5
|1.5
|- id="paratrooper_weight_factor"
|-id="paratrooper_weight_factor"
|paratrooper_weight_factor
|paratrooper_weight_factor
|Paratrooper transport space factor.
|Paratrooper transport space factor.
第4,489行: 第4,527行:
|Can also be used in country scope.
|Can also be used in country scope.
|1.13
|1.13
|- id="promote_cost_factor"
|-id="promote_cost_factor"
|promote_cost_factor
|promote_cost_factor
|The cost to promote the unit leader.
|The cost to promote the unit leader.
第4,496行: 第4,534行:
|
|
|1.5
|1.5
|- id="reassignment_duration_factor"
|-id="reassignment_duration_factor"
|reassignment_duration_factor
|reassignment_duration_factor
|The length of the reassignment penalty.
|The length of the reassignment penalty.
第4,503行: 第4,541行:
|
|
|1.5
|1.5
|- id="river_crossing_factor"
|-id="river_crossing_factor"
|river_crossing_factor
|river_crossing_factor
|The effects of the river crossing penalty.
|The effects of the river crossing penalty.
第4,510行: 第4,548行:
|
|
|1.5
|1.5
|- id="sickness_chance"
|-id="sickness_chance"
|sickness_chance
|sickness_chance
|The chance for the unit leader to get sick.
|The chance for the unit leader to get sick.
第4,517行: 第4,555行:
|
|
|1.5
|1.5
|- id="skill_bonus_factor"
|-id="skill_bonus_factor"
|skill_bonus_factor
|skill_bonus_factor
|The bonus the unit leader receives from their skillset.
|The bonus the unit leader receives from their skillset.
第4,524行: 第4,562行:
|
|
|1.5
|1.5
|- id="trait_xp_gain_factor"
|-id="trait_xp_gain_factor"
|trait_<trait>_xp_gain_factor
|trait_<trait>_xp_gain_factor
|Modifies the experience gain towards the specified trait.
|Modifies the experience gain towards the specified trait.
第4,531行: 第4,569行:
|
|
|1.11
|1.11
|- id="terrain_trait_xp_gain_factor"
|-id="terrain_trait_xp_gain_factor"
|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).
|Modifies the experience gain towards all terrain traits (With the type of either basic_terrain_trait or assignable_terrain_trait).
第4,538行: 第4,576行:
|
|
|1.5
|1.5
|- id="wounded_chance_factor"
|-id="wounded_chance_factor"
|wounded_chance_factor
|wounded_chance_factor
|The chance for the unit leader to get wounded.
|The chance for the unit leader to get wounded.
第4,545行: 第4,583行:
|
|
|1.5
|1.5
|- id="shore_bombardment_bonus"
|-id="shore_bombardment_bonus"
|shore_bombardment_bonus
|shore_bombardment_bonus
|Modifies the penalty given by the shore bombardment on divisions.
|Modifies the penalty given by the shore bombardment on divisions.
第4,553行: 第4,591行:
|1.5
|1.5
|}
|}
===Strategic region scope===
 
This is limited to [[:en:Modifiers#static_modifiers|static modifiers]] defined for weather.
=== Strategic region scope ===
{| class="wikitable sortable mw-collapsible" width="100%" style="display: inline-block; padding: 5px"
 
|+ style="text-align: center;" width="100%" |{{nowrap|Strategic region-scoped modifiers:}}
This is limited to [[#static modifiers|static modifiers]] defined for weather.
! width="10%" |Name
 
! width="25%" |Effects
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
! width="25%" |Examples
|+ style="text-align: center;" width = "100%" |{{nowrap|Strategic region-scoped modifiers:}}<br/>
! width="20%" |Modifier type
! width="10%" | Name
! width="15%" |Notes
! width="25%" | Effects
! width="5%" |Version added
! width="25%" | Examples
|- id="air_accidents"
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="air_accidents"
|air_accidents
|air_accidents
|Base chance for an air accident to happen.
|Base chance for an air accident to happen.
第4,570行: 第4,611行:
|
|
|1.0
|1.0
|- id="air_detection"
|-id="air_detection"
|air_detection
|air_detection
|Base chance for air detection.
|Base chance for air detection.
第4,577行: 第4,618行:
|
|
|1.0
|1.0
|- id="naval_strike"
|-id="naval_strike"
|naval_strike
|naval_strike
|Base efficiency for naval strikes.
|Base efficiency for naval strikes.
第4,584行: 第4,625行:
|
|
|1.0
|1.0
|- id="navy_casualty_on_sink"
|-id="navy_casualty_on_sink"
|navy_casualty_on_sink
|navy_casualty_on_sink
|Modifies the casualties when ships are sunk in this region.
|Modifies the casualties when ships are sunk in this region.
第4,591行: 第4,632行:
|
|
|1.6
|1.6
|- id="navy_casualty_on_hit"
|-id="navy_casualty_on_hit"
|navy_casualty_on_hit
|navy_casualty_on_hit
|Modifies the casualties when ships are damaged in this region.
|Modifies the casualties when ships are damaged in this region.
第4,599行: 第4,640行:
|1.6
|1.6
|}
|}
==Notes and references==
== 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%.}}{{Version|1.10}}
{{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}}
[[分类: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%.