修正:修订间差异

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


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


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


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


*[[国策]] - If the Focus gives an idea with modifiers in it, or unlocks hidden research (such as with Jungle Training from TfV India).比如那些给予带有修正的民族精神,或者解锁隐藏研究的国策(例如印度的丛林训练)
Unlike ideas, '''there is no way to reload definitions of dynamic modifiers''' via debug mode or console, any changes to their definitions require a game restart to apply in-game. Additionally, due to the daily refresh of the variable check, these are more poorly optimised than ideas are. Due to this, when it's feasible to not use variables for a country-scoped dynamic modifier, it's both easier and more optimised [[Idea modding|to use national spirits instead.]]
*[[State_types|State types]]
*[[Research|Research]]研究 - Ex. Doctrines.比如陆海空军学说,以及那些带有修正的科技(如离散型工业)
*[[Terrain|Terrain]]地形 - All terrains give different bonuses that can be changed.所有的地形都会给予不同的效果。
*[[Events|Events]]事件 - If the Event gives an idea with modifiers in it, or unlocks hidden research. 比如那些给予带有修正的民族精神,或者解锁隐藏研究的事件。
*[[Ideas|Ideas]]民族精神 - National Spirits.那些带有修正的民族精神。
*[[Advisors|Advisors]]顾问 - Works the same as Ideas, and can have the same modifiers.顾问与民族精神的生效方式是相同的,存在期间就可以给予相同形式的修正。
*[[Laws|Laws]] 法案 - Works the same as Ideas, and can have the same modifiers.法案与民族精神的生效方式也是相同的,存在期间就可以给予相同形式的修正。
*Stability稳定度 Defines - Can both be added as the negative effect (sub-50% Stability) or positive effect (pro-50% Stability)一般来说,在高于50%时,会给予正面效果,反之亦然。
*War Support战争支持度 Defines - Can both be added as the negative effect (sub-50% War Support) or positive effect (pro-50% War Support )一般来说,在高于50%时,会给予正面效果,反之亦然。


== Country scope对国家层面生效 ==
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 <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> [[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.
=== 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.
* '''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 <code>equipment_bonus</code> or <code>research_bonus</code> are impossible to use inside of dynamic modifiers.
=== Example ===
<pre>dynamic_modifier_name = {
   icon = GFX_idea_unknown
   enable = { always = yes }
   remove_trigger = {
     NOT = {
       has_variable = var_name
     }
   }
   political_power_gain = var_name # Variable value
   weekly_manpower = 1000 # Constant value
   stability_factor = GER.stability_var # Checks specifically GER's variable, regardless of where the modifier is applied
}</pre>


=== General总体 ===
=== Adding a dynamic modifier ===
{{SVersion|1.10}}
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.


{| class="wikitable sortable" width="100%"
Within GUI, a dynamic modifier will take up these places if visible:
* For a country, a dynamic modifier will show up in the list of national spirits, appearing after the regular spirits.
* For a state, a dynamic modifier will show up in the special section for them in the bottom of the selected state view, marked with <code>dynamic_modifiers_grid</code> in {{path|interface/countrystateview.gui}}.
 
When adding a dynamic modifier, it is also possible to make it be timed or make it use a different scope as the variable's base. For example, the following code will apply dynamic_modifier_name to GER for 30 days, but the variables will be read off POL:
<pre>GER = {
   add_dynamic_modifier = {
     modifier = dynamic_modifier_name
     scope = POL  # The modifier itself will be applied to GER, but the variables will be read off POL.
     days = 30
   }
}</pre>In particular, assuming that dynamic_modifier_name is the example dynamic modifier created previously, if you do <code>set_variable = { POL.var_name = 0.3 }</code>, then the dynamic modifier assigned to GER as the result of this effect will give 0.3 daily political power gain. However, if the dynamic modifier scopes into ROOT for the variable as <code>political_power_gain = ROOT.var_name</code>, then <code>set_variable = { GER.var_name = 0.3 }</code> would be done.
 
A dynamic modifier is removed via [[Effect#remove_dynamic_modifier|remove_dynamic_modifier]], phrased similarly to add_dynamic_modifier: <code>remove_dynamic_modifier = { modifier = dynamic_modifier_name }</code>. If, when added, the dynamic modifier had a scope assigned to it, the scope will have to be specified when removing it as well.
 
'''Modifiers that use variables will not show up in the tooltip of add_dynamic_modifier''', while those that are set to a static value will. While this may make the dynamic modifier appear broken when only reading the tooltip, this will not be actually the case once it gets added. In this case, [[Effect#custom_effect_tooltip|the tooltip of the effect can be changed]], with [[Scopes#hidden_effect|the effect adding the dynamic modifier hidden]].
 
== Static modifiers ==
Static modifiers are stored in {{path|common/modifiers/*.txt}} files, where each code block within is a modifier block with the name being the ID of the static modifier. There are 5 main categories of static modifiers:
 
=== Global modifiers ===
Global modifiers are applied by the hard-coded game features. Their names mustn't be changed, as the code uses them internally, but their effects can be edited. Examples of global modifiers are the penalty for non-core states or the effects of stability and war support.
 
=== Difficulty modifiers ===
These are applied within {{path|common/difficulty_settings/*.txt}} files. This is used in the menu to strengthen specific countries at the game's start within game rules. If there are no difficulty settings defined, the menu will not be possible to open.<br/>
Each difficulty setting is defined as a <code>difficulty_setting = { ... }</code> block, which must lie within an overarching <code>difficulty_settings = { ... }</code> block. The following arguments can go into difficulty settings:
* <code>key = localisation_key</code> is the [[localisation]] key used as the name of the difficulty setting as it shows up in the game rules menu/
* <code>modifier = static_modifier</code> sets the static modifier to be used by this difficulty setting.
* <code>countries = { ... }</code> is a whitespace-separated list of country tags for which the difficulty setting applies.
* <code>multiplier = 2.0</code> is a value by which the static modifier gets multiplied at the max value. As there are 5 levels for each difficulty rule, including 0, this gets split into quarters for each level, with the second being a quarter, the third being a half, and the fourth being three quarters.
An example of a difficulty setting file is the following:
<pre>difficulty_settings = {
   difficulty_setting = {
     key = difficulty_weaken_GER
     modifier = weaken_country
     countries = { GER }
     multiplier = 2.0
   }
   difficulty_setting = {
     key = difficulty_weaken_SOV
     modifier = weaken_country
     countries = { SOV UKR BLR }
     multiplier = 2.0
   }
}</pre>
=== Relation modifiers ===
Not to be confused with opinion modifiers. The relation modifiers apply a targeted modifier from one country towards an another one, automatically removed when the trigger is met. ROOT is the country that the modifier is applied to and FROM is the target. An example would be:
<pre>test_relation_modifier = {
valid_relation_trigger = {
FROM = {
has_government = ROOT # same ruling party as ROOT
}
}
compliance_gain = 0.2 # FROM's states have 20% more compliance gain when controlled by ROOT
}</pre>They can be added by the add_relation_modifier effect, used as such:
<pre>add_relation_modifier = {
target = TAG
modifier = test_relation_modifier
}</pre>remove_relation_modifier, which works similarly, can remove them.
 
=== Province modifiers ===
Province modifiers apply a modifier to a specific province rather than a state. They can be applied via the add_province_modifier effect, and removed with remove_province_modifier. More info on how to use these can be seen in the [[Effects|effects]] page.<br/>An example definition looks like<pre>mod_modifier = {
army_speed_factor = -0.5
army_defence_factor = 0.5
dig_in_speed_factor = 0.5
}</pre>Many state-scope modifiers will work in province scope as well. In order to make the GFX in GUI, you first need to edit {{path|interface/countrystateview.gui}}. The icon must be defined inside custom_icon_container, similarly to other examples. An example definition looks like
<pre>iconType = {
name = "<modifier name>_icon"
spriteType = "GFX_modifiers_<modifier name>_icon"
position = { x = 0 y = 0 }
Orientation = "UPPER_LEFT"
}</pre>The spriteType you have defined needs to be defined in {{path|interface/*.gfx}} similarly to this example:
<pre>spriteType = {
name = "GFX_modifiers_<modifier name>_icon"
textureFile = "gfx/interface/modifiers_<modifier name>_icon.dds"
}</pre>
=== Balance of power modifiers ===
Balance of power modifiers typically include within of themselves the [[#power_balance_daily|power_balance_daily]] and/or [[#power_balance_weekly|power_balance_weekly]] modifiers in order to gradually tip the balance towards one side. For example,
<pre>my_bop_modifier = {
   power_balance_weekly = -0.01 # Changes by 1% each week to the left, in the range of -1 to 1.
}</pre>
Balance of power modifiers are added via [[Effect#add_power_balance_modifier|the add_power_balance_modifier effect]] as such:
<pre>add_power_balance_modifier = {
   id = my_bop   # The ID of the balance of power
   modifier = my_bop_modifier # The modifier to add
}</pre>[[Effect#remove_power_balance_modifier|The remove_power_balance_modifier effect]], with the same syntax, or [[Effect#remove_all_power_balance_modifiers|remove_all_power_balance_modifiers]] can be used to remove these from the country.
 
== Modifier definitions ==
Modifier definitions allow the creation of a custom modifier, which can be accessed as a variable when you wish to use it. After being defined, they function entirely like a new variable, being possible to read as a variable with the same <code>modifier@modifier_name</code> procedure. They will not have any effect by default and function only as a way to change the variable's value in an additive way with modifier blocks.<br/>
Each modifier token is defined within {{path|common/modifier_definitions/*.txt}} files as a separate code block, where the name of the code block serves as the ID of the modifier definition. There are the following arguments that can go inside of it:
* <code>color_type = good</code> decides the colour of the modifier's value itself. There are three values, <code>good</code>, <code>bad</code>, and <code>neutral</code>. <code>neutral</code> is permamently yellow, while <code>good</code> turns the positive values {{green|green}} and negative values {{red|red}}. <code>bad</code> is the reversal of <code>good</code>.
* <code>value_type = percentage</code> decides the way the number will show up in the tooltip. There are the following values this argument can be set to:
** <code>number</code> will make the exact value of the modifier show up. 0.02 will show up like "Modifier definition: 0.02".
** <code>percentage</code> will make the modifier show up as a percentage on the scale from 0 to 1. 0.2 will show up like "Modifier token: 20%".
** <code>percentage_in_hundred</code> will make the modifier show up as a percentage on the scale from 0 to 100. 10 will show up like "Modifier token: 10%".
** <code>yes_no</code> shows up as a boolean: anything larger than 1 will shows up as <code>yes</code>, while 0 will show up as <code>no</code>.
* <code>precision = 1</code> decides how many numbers will be shown after the period in the tooltip. For example, if it is set to 1, the tooltip will show 0.341 as if it was 0.3. Note that the game inherently does not support more than 3 decimal numbers, so it cannot be larger than 3.
* <code>postfix</code> decides what will be added after the value of the modifier in the tooltip. Allowed values are 'none' (Default), 'days', 'hours', and 'daily'.
* <code>category</code> decides on the category of the modifier. By default, the category is 'all', which makes it be in every single category. Certain tooltips will only show modifiers if they belong to a certain category. It is possible to set multiple categories for the same modifier definition by defining them one after another.
: The allowed values are 'none', 'all', 'country', 'state', 'unit_leader', 'army', 'naval', 'air', 'peace', 'politics', 'ai', 'defensive', 'aggressive', 'war_production', 'military_advancements', 'military_equipment', 'autonomy', 'government_in_exile', and 'intelligence_agency'.
 
The modifier definition's ID is also used as the [[localisation]] key needed to change the name of the modifier depending on the currently turned on language.
=== Examples ===
<pre>modifier_definition_example = {
color_type = good
value_type = number
precision = 1
postfix = daily
category = country
category = state
}
modifier_definition_example_2 = {
   color_type = bad
   value_type = percentage
}</pre>
=== Using in variables ===
The function of modifier definitions is to modify the value of a game variable, which can be read by other variables. You can set a variable to be equal to the sum of all values of the same modifier token in the current scope by doing <code>set_variable = { var_name = modifier@modifier_token_name }</code>. This example will set var_name to be equal to the total value of modifier_token_name.
 
Note that, unlike countries and states, unit leaders use leader_modifier@modifier_definition_name or unit_modifier@modifier_definition_name in their scopes.
 
Example usage of making a modifier token create civilian factories in random core states monthly, in any [[on action]] file:
{{VisibleCollapse|
<pre>on_actions = {
   on_monthly = {
     effect = {
       if = {
         limit = {
           check_variable = { modifier@modifier_definition_example > 0 }
         }
         for_loop_effect = {
           start = 0
           end = modifier@modifier_definition_example
           random_owned_controlled_state = {
             limit = {
               is_core_of = ROOT
               free_building_slots = {
                 building = industrial_complex
                 size > 0
                 include_locked = no
               }
             }
             add_building_construction = {
               type = industrial_complex
               level = 1
               instant_build = yes
             }
           }
         }
       }
     }
   }
}</pre>|Example}}
 
== Opinion modifiers ==
Despite their name, opinion modifiers are not related to modifiers in any way, instead they are used to modify the diplomatic or economic relations between a pair of countries.
 
The opinion modifiers are made in any {{path|common/opinion_modifiers/*.txt}} file as an entry in the <code>opinion_modifiers = { ... }</code> block, with the name of the entry being the ID of the opinion modifier. In case of there being several entries with the same ID, the one that was [[Modding#Loading files|evaluated later based on the filename and order in files]] will take priority, meaning that copying a base game file is never necessary in a mod.
 
There are the following attributes that are used in opinion modifiers:
* <code>trade = yes</code> is used to decide whether the opinion modifier changes the diplomatic relations or the trade opinion from one country to another. If unset, defaults to being false making it diplomatic.
* <code>value = -10</code> is the value of the modifier that decides by how much the diplomatic or trade opinion should change once the opinion modifier is added.
* <code>decay = 1</code> details the speed at which the opinion modifier trends towards zero monthly. Optional, defaults to the modifier not changing if unset.
* <code>days = 10</code> | <code>months = 2</code> | <code>years = 1</code> decides the time for how much the opinion modifier should last before it will get automatically removed. A month is interpreted as exactly 30 days, while a year is 365. Optional, the modifier will be permanent if neither is set.
* <code>min_trust = 10</code> | <code>max_trust = -10</code> detail the minimum and maximum value that the opinion modifier can change to. As the only non-hardcoded way to change the value of an existing opinion modifier is through decay, this can be used to limit how far it can apply.
 
The [[localisation]] is created in any {{path|localisation/english/*_l_english.yml}} file encoded in UTF-8 using the byte order mark (aka UTF-8-BOM), with the localisation key being the name of the modifier.
=== Examples ===
Inside of a new {{path|common/opinion_modifiers/*.txt}} file:
<pre>opinion_modifiers = {
   test_trade_modifier = {
     trade = yes
     value = -100   # Provides -100 trade opinion for 2 months
     months = 2
   }
   test_diplomatic_modifier = {
     value = 20    # Provides +20 diplomatic opinion that decays by 0.5 per month
     decay = 0.5
   }
}</pre>
Inside of a new {{path|localisation/english/*_l_english.yml}} file:
<pre>l_english:
test_trade_modifier: "Testing trade modifier"
test_diplomatic_modifier: "Testing diplomatic modifier"</pre>
=== Implementation ===
New opinion modifiers can only be added using the [[Effect#add_opinion_modifier|add_opinion_modifier effect]] (or the similar [[Effect#reverse_add_opinion_modifier|reverse_add_opinion_modifier]]) in any effect block, such as a [[National focus modding#Effects|focus reward]], a [[Country creation#Country history|country history file]], or an idea's [[Idea modding#Effects|on_add and on_remove]]. Similarly, already applied new opinion modifiers can only be removed with [[Effect#remove_opinion_modifier|remove_opinion_modifier]]. When <code>add_opinion_modifier</code> is used to apply an opinion modifier, only the country where the effect is executed will change its opinion towards the target.
 
There is no way to use a modifier block to directly apply an opinion modifier, but it can be simulated by adding or removing an opinion modifier at the same time the modifier block's effects are. For example, this national spirit would simulate applying an opinion modifier towards every other country that has the idea:
{{VisibleCollapse|
<pre>ideas = {
   country = {
     idea_opinion_modifier = {
       on_add = { # Note: Doesn't work if the idea is added within country history or a bookmark's effect.
         every_other_country = { # If it's added in country history, then replicate the effects there as well.
           limit = {
             has_idea = idea_opinion_modifier
           }
           add_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
           reverse_add_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
         }
       }
       on_remove = {
         every_other_country = {
           limit = {
             has_idea = idea_opinion_modifier
           }
           remove_opinion_modifier = {
             target = ROOT
             modifier = test_diplomatic_modifier
           }
           ROOT = {
             remove_opinion_modifier = {
               target = PREV
               modifier = test_diplomatic_modifier
             }
           }
         }
       }
       modifier = {
         custom_modifier_tooltip = add_opinion_modifier_tt # Since on_add/on_remove aren't shown to the player
       }
     }
   }
}</pre>
|Example code of a national spirit that uses opinion modifiers}}
== List of modifiers ==
The list of modifiers may be outdated. A complete, but unsorted, list of modifiers can be found in {{path|documentation/modifiers_documentation.html}} or {{path|documentation/modifiers_documentation.md}}.
<!-- These are present in modifiers_documentation, but don't have any usage in-game and aren't clear on what they do in localisation:
-armor_factor. Localised as "Armor". Categories: army, defensive.
-ground_attack. Localised as "Ground Attack". Categories: air, aggressive. Not to be confused with ground_attack_factor.
-training_time_army. Localised as "Division training time", identical to training_time_army_factor. Categories: army, war_production
!-->
 
=== Country scope ===
 
==== General ====
{{SVersion|1.13}}
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|General country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="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="monthly_population"
|monthly_population
|monthly_population
| 增加国家所有的省份每月的人口增长。(似乎木大)
|Changes the monthly population gain in states owned by the country.
|<pre>monthly_population = 0.5</pre>
|<pre>monthly_population = 0.5</pre>
|Percentual (0.01 being 1%).百分比
|Percentual.
|
|Does not work with states.
|1.0
|1.0
|-
|-id="nuclear_production"
|nuclear_production
|nuclear_production
| 允许核弹生产
|Enables the production of nukes.
|<pre>nuclear_production = 1</pre>
|<pre>nuclear_production = 1</pre>
|Boolean. 布尔
|Boolean (only 1).
|
|
|1.0
|1.0
|-
|-id="nuclear_production_factor"
|nuclear_production_factor
|nuclear_production_factor
| 增加制造核武器的速度。参考idea:BUL_buhovo_uranium_mines
|Changes speed at which nukes are produced.
|<pre>nuclear_production_factor = 0.5</pre>
|<pre>nuclear_production_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Works in state scope, in which case it'll apply to the owner.
|1.0
|1.0
|-
|-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.
|<pre>research_sharing_per_country_bonus = 0.5</pre>
|<pre>research_sharing_per_country_bonus = 0.5</pre>
|Flat. 数值
|Flat.
|
|
|1.3
|1.3
|-
|-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.
|<pre>research_sharing_per_country_bonus_factor = 0.5</pre>
|<pre>research_sharing_per_country_bonus_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-id="research_speed_factor"
|research_speed_factor
|research_speed_factor
| 增加研究速度。参考idea:ENG_colonial_elite
|Changes the research speed.
|<pre>research_speed_factor = 0.5</pre>
|<pre>research_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|}
|-id="local_resources_factor"
 
|local_resources_factor
=== Politics 政治 ===
|Resource extraction efficiency. Modifies the amount of available resources.
{{SVersion|1.10}}
|<pre>local_resources_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="surrender_limit"
|surrender_limit
|Changes the percentage of victory points the country needs to lose control of to capitulate.
|<pre>surrender_limit = 0.1</pre>
|Percentual.
|The larger, the more victory points are needed to capitulate a country.
|1.0
|-id="max_surrender_limit_offset"
|max_surrender_limit_offset
|Controls the maximum surrender progress of a nation.
|<pre>max_surrender_limit_offset = 0.3</pre>
|Flat.
|For example, 0.4 means that the country cannot require more than 60% victory points to capitulate, no matter the surrender_limit.
|1.9
|-id="forced_surrender_limit"
|forced_surrender_limit
|Changes the percentage of victory points the country needs to lose control of to capitulate, bypassing the minimum or maximum.
|<pre>forced_surrender_limit = 0.1</pre>
|Percentual.
|The larger, the more victory points are needed to capitulate a country. Applied after the minimum and maximum are applied, leading to making it possible to have it below {{hover|MIN_SURRENDER_LIMIT &#61; 0.2 in common/defines/00_defines.lua|20%}} or above the maximum defined with max_surrender_limit_offset.
|1.0
|}
 
==== Politics ====
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Political country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第84行: 第409行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="min_export"
|min_export
|Changes the amount of resources to market.
|<pre>min_export = 0.5</pre>
|Flat.
|
|1.0
|-id="trade_opinion_factor"
|trade_opinion_factor
|Makes AI more likely to purchase resources from this country.
|<pre>trade_opinion_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="defensive_war_stability_factor"
|defensive_war_stability_factor
|defensive_war_stability_factor
| 对参加防御性战争所带来的稳定的修正。参考idea:USA_war_powers_act
|Changes the penalty to the stability invoked by participating in a defensive war.
|<pre>defensive_war_stability_factor = 0.5</pre>
|<pre>defensive_war_stability_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="disabled_ideas"
|disabled_ideas
|disabled_ideas
| 禁止手动改变ideas( 包括顾问和法律) 。参考idea:SPR_political_violence
|Disables manually changing ideas (including ministers and laws).
|<pre>disabled_ideas = 1</pre>
|<pre>disabled_ideas = 1</pre>
|Boolean.
|Boolean (only 1).
|
|
|1.9
|1.9
|-
|-id="idea_cost_factor"
|<idea category>_cost_factor
|<idea&#124;character slot>_cost_factor
| 增加添加一个特定的类别idea的政治点数(PP)花费。参考idea:PRC_power_struggles
|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 (0.01 being 1%).
|Percentual.
|idea类别可以在common/idea_tags 中找到。还包括improve_relations_maintain。
|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.0
|1.4
|-
|-id="idea_type_cost_factor"
|<idea category type>_category_type_cost_factor
|Changes the cost in political power to add an idea within any of the categories with the specified type.
|<pre>air_spirit_category_type_cost_factor = 0.5</pre>
|Percentual.
|Idea category definitions can be found in {{path|common/idea_tags/*.txt}} files, a type is assigned with <code>type = army_spirit</code>.
|1.10
|-id="<ledger>_advisor_cost_factor"
|<ledger>_advisor_cost_factor
|Changes the cost in political power to add an advisor assigned the specified military ledger.
|<pre>air_advisor_cost_factor = 0.5</pre>
|Percentual.
|Ledgers are assigned to categories and characters in common/idea_tags and common/ideas. Modifier works with air, army, and navy.
|1.11
|-id="unit_leader_as_advisor_cp_cost_factor"
|unit_leader_as_advisor_cp_cost_factor
|Changes the cost in command power to turn a unit leader into an advisor.
|<pre>unit_leader_as_advisor_cp_cost_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="improve_relations_maintain_cost_factor"
|improve_relations_maintain_cost_factor
|Changes the cost in political power to maintain improvement of relations.
|<pre>improve_relations_maintain_cost_factor = 0.5</pre>
|Percentual.
|
|1.4
|-id="female_random_country_leader_chance"
|female_random_country_leader_chance
|female_random_country_leader_chance
| 增加随机产生的国家领导人为女性的几率。
|Changes the chance for a randomly-generated country leader to be female.
|<pre>female_random_country_leader_chance = 0.3</pre>
|<pre>female_random_country_leader_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="offensive_war_stability_factor"
|max_surrender_limit_offset
|offensive_war_stability_factor
|Minimum Surrender Limit.最小投降极限。
|Modifies the stability penalty received from participating in an offensive war.
参考idea:SPA_death_before_surrender
|<pre>max_surrender_limit_offset = 0.3</pre>
|Flat.
|
|1.0
|-
|offensive_war_stability_factor
|对参加进攻性战争所带来的稳定的修正。参考idea:USA_war_powers_act
|<pre>offensive_war_stability_factor = 0.3</pre>
|<pre>offensive_war_stability_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="party_popularity_stability_factor"
|party_popularity_stability_factor
|party_popularity_stability_factor
|Modifier 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 (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="political_power_cost"
|political_power_cost
|political_power_cost
| 每日PP花费。参考idea:GER_mefo_bills_1
|Daily cost in political power.
|<pre>political_power_cost = 0.3</pre>
|<pre>political_power_cost = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="political_power_gain"
|political_power_gain
|political_power_gain
| 每日PP获得。参考idea:CHI_executive_yuan
|Modifies daily gain in political power.
|<pre>political_power_gain = 0.3</pre>
|<pre>political_power_gain = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="political_power_factor"
|political_power_factor
|political_power_factor
| 以百分比修正每日PP的获得。参考idea:PRC_government_corruption
|Modifies daily gain in political power by a percentage.
|<pre>political_power_factor = 0.3</pre>
|<pre>political_power_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="stability_factor"
|stability_factor
|stability_factor
|Modifies stability of the country. (用于变更国家的 稳定度)参考idea:CHI_grain_tax
|Modifies stability of the country.
|<pre>stability_factor = 0.3</pre>
|<pre>stability_factor = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="stability_weekly"
|stability_weekly
|stability_weekly
|Modifies weekly stability gain of the country. (用于变更国家的 每周稳定度增长)参考idea:FRA_constitutional_revision
|Modifies weekly stability gain of the country.
|<pre>stability_weekly = 0.01</pre>
|<pre>stability_weekly = 0.01</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-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.
|<pre>stability_weekly_factor = 0.3</pre>
|<pre>stability_weekly_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-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 (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="war_support_factor"
|war_support_factor
|war_support_factor
|Modifies war support of the country. 修正国家的战争支持度。参考idea:PRC_low_popular_support
|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"
|war_support_weekly
|war_support_weekly
|Modifies weekly war support gain of the country. 修正每周获得的战争支持度。参考idea:HOL_volk_en_vaderland
|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"
|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.
|<pre>war_support_weekly_factor = 0.3</pre>
|<pre>war_support_weekly_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="weekly_casualties_war_support"
|weekly_casualties_war_support
|Modifies weekly war support gain of the country depending on the casualties suffered by it.
|<pre>weekly_casualties_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="weekly_convoys_war_support"
|weekly_convoys_war_support
|Modifies weekly war support gain of the country depending on the amount of its convoys that have been sunk.
|<pre>weekly_convoys_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="weekly_bombing_war_support"
|weekly_bombing_war_support
|Modifies weekly war support gain of the country depending on the enemy bombing of its states.
|<pre>weekly_bombing_war_support = 0.006</pre>
|Percentual.
|
|1.12
|-id="drift_defence_factor"
|drift_defence_factor
|drift_defence_factor
|Ideology drift defense. 意识形态变化抵制力度。参考idea:sour_loser
|Ideology drift defense.
|<pre>drift_defence_factor = 0.3</pre>
|<pre>drift_defence_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="power_balance_daily"
|power_balance_daily
|Pushes the power balance by a specified amount on each day.
|<pre>power_balance_daily = 0.01</pre>
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|-id="power_balance_weekly"
|power_balance_weekly
|Pushes the power balance by a specified amount on each week.
|<pre>power_balance_weekly = 0.01</pre>
|Flat.
|Positive values result in it being pushed right, while negatives result in it being pushed left.
|1.12
|-id="ideology_drift"
|<ideology>_drift
|<ideology>_drift
|Daily gain of the specified ideology. 特定意识形态的每日支持度增长。参考idea:GER_align_hungary(fascism_drift = 0.2)
|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"
|<ideology>_acceptance
|<ideology>_acceptance
|Likelihood of AI to accept offers from countries of the specified ideology.AI对特定意识形态外交接纳度。参考idea:GER_align_hungary(fascism_acceptance = 85)
|Likelihood of AI to accept offers from countries of the specified ideology.
|<pre>fascism_acceptance = 50</pre>
|<pre>fascism_acceptance = 50</pre>
|Flat.
|Flat.
第228行: 第622行:
|}
|}


=== Trade贸易 ===
==== Diplomacy ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| 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
第237行: 第632行:
! 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"
|min_export
|civil_war_involvement_tension
|Increases the amount of resources to market.
|Changes the world tension amount necessary to intervene in an ally's civil war.
增加可出口资源
|<pre>civil_war_involvement_tension = 0.5</pre>
|<pre>min_export = 0.5</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="enemy_declare_war_tension"
|trade_opinion_factor
|enemy_declare_war_tension
|Makes AI more likely to purchase resources from this country.
|Changes the world tension required for an enemy to justify a wargoal on us.
使AI更乐于从此国购买资源
|<pre>trade_opinion_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|
|1.0
|}
 
=== Diplomacy外交 ===
{{SVersion|1.10}}
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|civil_war_involvement_tension
|改变干预盟友内战所需的世界紧张度。
|<pre>civil_war_involvement_tension = 0.5</pre>
|Flat.
|
|1.0
|-
|enemy_declare_war_tension
|增加敌人对我们发动战争的理由所需的世界紧张局势。
|<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"
|enemy_justify_war_goal_time
|enemy_justify_war_goal_time
| 增加了敌人正当化对我们的战争目标所需的时间。
|Changes the time required for an enemy to justify a wargoal on us.
|<pre>enemy_declare_war_tension = 0.5</pre>
|<pre>enemy_justify_war_goal_time = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|This also modifies the cost in political power.
|1.0
|1.0
|-
|-id="faction_trade_opinion_factor"
|faction_trade_opinion_factor
|faction_trade_opinion_factor
| 增加派系成员之间交易所获得的好感。
|Changes the opinion gain gained by trade between faction members.
|<pre>faction_trade_opinion_factor = 0.5</pre>
|<pre>faction_trade_opinion_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="generate_wargoal_tension"
|generate_wargoal_tension
|generate_wargoal_tension
| 增加我们产生战争目标所需的紧张度。
|Changes the necessary tension for us to generate a wargoal.
|<pre>generate_wargoal_tension = 0.3</pre>
|<pre>generate_wargoal_tension = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="guarantee_cost"
|guarantee_cost
|guarantee_cost
| 该国为保证另一个国家而付出的政治点。
|Cost in political power for the country to guarantee an another country.
|<pre>guarantee_cost = 0.3</pre>
|<pre>guarantee_cost = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.4
|-
|-id="guarantee_tension"
|guarantee_tension
|guarantee_tension
| 一个国家必须保证另一个国家的世界紧度。
|Necessary world tension for the country to guarantee an another country.
|<pre>guarantee_tension = 0.3</pre>
|<pre>guarantee_tension = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="join_faction_tension"
|join_faction_tension
|join_faction_tension
| 该国加入派系所需的世界紧张度。
|Necessary world tension for the country to join a faction.
|<pre>join_faction_tension = 0.3</pre>
|<pre>join_faction_tension = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="justify_war_goal_time"
|justify_war_goal_time
|justify_war_goal_time
| 正当化战争目标所需的时间。
|The amount of time necessary to justify a wargoal.
|<pre>justify_war_goal_time = 0.3</pre>
|<pre>justify_war_goal_time = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|This also modifies the cost in political power.
|1.0
|1.0
|-
|-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.
|<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 (0.01 being 1%).
|Percentual.
|
|This also modifies the cost in political power.
|1.0
|1.0
|-
|-id="lend_lease_tension"
|lend_lease_tension
|lend_lease_tension
| 租借法案所需的世界紧张局势。
|Necessary world tension for the country to lend-lease.
|<pre>lend_lease_tension = 0.3</pre>
|<pre>lend_lease_tension = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="lend_lease_tension_with_overlord"
|lend_lease_tension_with_overlord
|Necessary world tension for the country to lend-lease to its overlord.
|<pre>lend_lease_tension_with_overlord = 0.3</pre>
|Flat.
|
|1.13
|-id="opinion_gain_monthly"
|opinion_gain_monthly
|opinion_gain_monthly
| 增加从“改善关系”外交行动中获得的好感。
|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"
|opinion_gain_monthly_factor
|opinion_gain_monthly_factor
| 百分比修正“改善关系”外交行动的好感增加。
|Changes opinion gain from the 'Improve relations' diplomatic action by a percentage.
|<pre>opinion_gain_monthly_factor = 0.3</pre>
|<pre>opinion_gain_monthly_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="opinion_gain_monthly_same_ideology"
|opinion_gain_monthly_same_ideology
|opinion_gain_monthly_same_ideology
|Increases 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.
|<pre>opinion_gain_monthly_same_ideology = 5</pre>
|<pre>opinion_gain_monthly_same_ideology = 5</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="opinion_gain_monthly_same_ideology_factor"
|opinion_gain_monthly_same_ideology_factor
|opinion_gain_monthly_same_ideology_factor
|Increases 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.
|<pre>opinion_gain_monthly_same_ideology_factor = 0.3</pre>
|<pre>opinion_gain_monthly_same_ideology_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-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>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.9
|-id="annex_cost_factor"
|annex_cost_factor
|Modifies the cost in victory points to annex states in peace deals.
|<pre>annex_cost_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="puppet_cost_factor"
|puppet_cost_factor
|Modifies the cost in victory points per state to puppet countries in peace deals.
|<pre>puppet_cost_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="send_volunteer_divisions_required"
|send_volunteer_divisions_required
|Changes the number of divisions needed to send volunteers.
|<pre>send_volunteer_divisions_required = -0.3</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="send_volunteer_factor"
|surrender_limit
|send_volunteer_factor
|Increases the percentage of victory points the country needs to lose control of to capitulate. 以百分比增加国家需要失去控制才能投降的胜利点。
|Changes the number of divisions the country can send as volunteers by a percentage.
|<pre>surrender_limit = 0.1</pre>
|<pre>send_volunteer_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.0
|-id="send_volunteer_size"
|send_volunteer_size
|Changes the number of divisions the country can send as volunteers.
|<pre>send_volunteer_size = 5</pre>
|Flat.
|
|1.0
|-id="send_volunteers_tension"
|send_volunteers_tension
|Changes the world tension necessary for the country to send volunteers.
|<pre>send_volunteers_tension = -0.1</pre>
|Flat.
|
|
|1.0
|1.0
|-id="air_volunteer_cap"
|air_volunteer_cap
|Changes the amount of airforce you can send as volunteers.
|<pre>air_volunteer_cap = 100</pre>
|Flat.
|
|1.5
|-id="embargo_threshold_factor"
|embargo_threshold_factor
|Changes the necessary world tension level in order to be able to embargo a country.
|<pre>embargo_threshold_factor = 0.2</pre>
|Percentual.
|
|1.12
|-id="embargo_cost_factor"
|embargo_cost_factor
|Changes the cost in political power to send an embargo.
|<pre>embargo_cost_factor = 0.3</pre>
|Percentual.
|
|1.12
|}
|}


=== Autonomy 自治 ===
==== Autonomy ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Autonomy-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第396行: 第827行:
! 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"
|autonomy_gain
|autonomy_gain
| 每日获得的自主权.
|Daily gain of autonomy.
|<pre>autonomy_gain = 0.5</pre>
|<pre>autonomy_gain = 0.5</pre>
| 加法
|Flat.
|A positive number increase total autonomy, meaning the SUBJECT can be free faster. A negative number decrease total autonomy, meaning the OVERLORD can annex the manpower-slaves faster.
|1.3
|-id="autonomy_gain_global_factor"
|autonomy_gain_global_factor
|Modifies all gain of autonomy by a subject.
|<pre>autonomy_gain_global_factor = 0.5</pre>
|Percentual.
|
|
|1.3
|1.4
|-
|-id="subjects_autonomy_gain"
|subjects_autonomy_gain
|subjects_autonomy_gain
|Daily gain of autonomy in our subjects.
|Daily gain of autonomy in our subjects.
我们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"
|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"
|autonomy_gain_ll_to_overlord_factor
|autonomy_gain_ll_to_overlord_factor
|Modifies gain of autonomy from lend-leasing to the overworld by a percentage.
|Modifies gain of autonomy from lend-leasing to the overlord by a percentage.
将租借到主世界的自主权收益修改一个百分比
|<pre>autonomy_gain_ll_to_overlord_factor = 0.5</pre>
|<pre>autonomy_gain_ll_to_overlord_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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.
修改从借贷租赁到主体的自主权丧失
|<pre>autonomy_gain_ll_to_subject = 0.5</pre>
|<pre>autonomy_gain_ll_to_subject = 0.5</pre>
|Flat.
|Flat.
|
|
|1.3
|1.3
|-
|-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.
将借贷给主体的自主权丧失按百分比修改
|<pre>autonomy_gain_ll_to_subject_factor = 0.5</pre>
|<pre>autonomy_gain_ll_to_subject_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-id="autonomy_gain_trade"
|autonomy_gain_trade
|autonomy_gain_trade
|Modifies gain of autonomy from the overworld trading with the subject.
|Modifies gain of autonomy from the overlord trading with the subject.
修改从与主体进行主世界交易中获得的自主权
|<pre>autonomy_gain_trade = 0.5</pre>
|<pre>autonomy_gain_trade = 0.5</pre>
|Flat.
|Flat.
|
|
|1.3
|1.3
|-
|-id="autonomy_gain_trade_factor"
|autonomy_gain_trade_factor
|autonomy_gain_trade_factor
|Modifies gain of autonomy from the overworld trading with the subject by a percentage.
|Modifies gain of autonomy from the overlord trading with the subject by a percentage.
将主体在主世界交易中获得的自主权提高一定百分比
|<pre>autonomy_gain_trade_factor = 0.5</pre>
|<pre>autonomy_gain_trade_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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_trade = 0.5</pre>
|Flat.
|Flat.
|
|
|1.3
|1.3
|-
|-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.
将获得战争分数的对象获得的自主性提高一个百分点
|<pre>autonomy_gain_warscore_factor = 0.5</pre>
|<pre>autonomy_gain_warscore_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-id="autonomy_manpower_share"
|autonomy_manpower_share
|autonomy_manpower_share
| 修改宗主国可以从傀儡国中使用的人力数量
|Modifies the amount of manpower the overlord can use from the subject.
|<pre>autonomy_manpower_share = 0.5</pre>
|<pre>autonomy_manpower_share = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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.
|<pre>can_master_build_for_us = 1</pre>
|<pre>can_master_build_for_us = 1</pre>
|Boolean.
|Boolean (only 1).
|
|
|1.3
|1.3
|-
|-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.
|<pre>cic_to_overlord_factor = 0.3</pre>
|<pre>cic_to_overlord_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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.
|<pre>mic_to_overlord_factor = 0.3</pre>
|<pre>mic_to_overlord_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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.
|<pre>extra_trade_to_overlord_factor = 0.3</pre>
|<pre>extra_trade_to_overlord_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-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.
|<pre>license_subject_master_purchase_cost = 0.3</pre>
|<pre>license_subject_master_purchase_cost = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.4
|1.4
|-
|-id="master_build_autonomy_factor"
|master_build_autonomy_factor
|master_build_autonomy_factor
|Modifies loss of autonomy from the overworld building in subject's states by a percentage.
|Modifies loss of autonomy from the overlord building in subject's states by a percentage.
将主体状态中主世界建筑的自主性丧失提高一定百分比
|<pre>master_build_autonomy_factor = 0.3</pre>
|<pre>master_build_autonomy_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|-
|-id="master_ideology_drift"
|master_ideology_drift
|master_ideology_drift
| 增加宗主国的意识形态在该国的每日收益
|Changes daily gain of the overlord's ideology in the country.
|<pre>master_ideology_drift = 0.03</pre>
|<pre>master_ideology_drift = 0.03</pre>
|Flat.
|Flat.
|
|
|1.0
|1.6
|-
|-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.
修改民用工厂中霸主与主体之间的贸易成本
|<pre>overlord_trade_cost_factor = -0.3</pre>
|<pre>overlord_trade_cost_factor = -0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.3
|1.3
|}
|}


==== Governments in exile ====
{{SVersion|1.13}}


=== Governments in Exile流亡政府 ===
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
{{SVersion|1.10}}
|+ style="text-align: center;" width = "100%" |{{nowrap|Government-in-exile-related country-scoped modifiers:}}<br/>
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第553行: 第980行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="dockyard_donations"
|dockyard_donations
|dockyard_donations
|Amount of dockyards donated. 捐赠的造船厂数量。
|Amount of dockyards donated.
|<pre>dockyard_donations = 2</pre>
|<pre>dockyard_donations = 2</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|-
|-id="industrial_factory_donations"
|industrial_factory_donations
|industrial_factory_donations
|Amount of civilian factories donated. 捐赠的民用工厂数量。
|Amount of civilian factories donated.
|<pre>industrial_factory_donations = 2</pre>
|<pre>industrial_factory_donations = 2</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|-
|-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"
|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 (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="exiled_government_weekly_manpower"
|exiled_government_weekly_manpower
|Amount of weekly manpower given to the host country.
|<pre>exiled_government_weekly_manpower = 100</pre>
|Percentual.
|
|1.11
|-id="legitimacy_daily"
|legitimacy_daily
|legitimacy_daily
|Increases 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"
|legitimacy_gain_factor
|legitimacy_gain_factor
|Increases 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 (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.9
|}
|}


=== Equipment 装备 ===
==== Equipment ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Equipment-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第607行: 第1,042行:
! 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"
|equipment_capture
|equipment_capture
|Increases the amount of equipment captured in combat. 以数值形式修正战斗中缴获的装备。
|Changes the combat equipment capture ratio.
|<pre>equipment_capture = 100</pre>
|<pre>equipment_capture = 0.2</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="equipment_capture_factor"
|equipment_capture_factor
|equipment_capture_factor
|Increases the amount of equipment captured in combat by a percentage. 以百分比形式修正战斗中缴获的装备。
|Modifies the combat equipment capture ratio.
|<pre>equipment_capture_factor = 0.5 </pre>
|<pre>equipment_capture_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="equipment_conversion_speed"
|equipment_conversion_speed
|equipment_conversion_speed
|Increases the speed at which equipment is converted. 修正装备改装速度。
|Changes the speed at which equipment is converted.
|<pre>equipment_conversion_speed = 0.5 </pre>
|<pre>equipment_conversion_speed = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="equipment_upgrade_xp_cost"
|equipment_upgrade_xp_cost
|equipment_upgrade_xp_cost
|Increases 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 (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="license_purchase_cost"
|license_purchase_cost
|license_purchase_cost
|Increases the cost of licensed equipment. 以数值形式修正生产许可花费。
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost = 10 </pre>
|<pre>license_purchase_cost = 0.5 </pre>
|Flat.
|Percentual.
| 还允许将类别指定为 <category>license__purchase_cost。允许的类别包括空军、anti_tank_eq、装甲、artillery_eq、infantry_eq、步兵、light_tank_eq和海军
|Can be used as a targeted modifier.
|1.4
|-id="license_<equipment type>_cost_factor"
|license_purchase_cost_factor
|Changes the cost of licensed equipment by a percentage.
|<pre>license_purchase_cost_factor = 0.5 </pre>
|Percentual.
|Allowed equipment types are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.4
|1.4
|-
|-id="license_<category>_purchase_cost"
|license_purchase_cost_factor
|license_purchase_cost_factor
|Increases 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 (0.01 being 1%).
|Percentual.
| 还允许将类别指定为 <category>license__purchase_cost_factor。允许的类别包括空军、anti_tank_eq、装甲、artillery_eq、infantry_eq、步兵、light_tank_eq和海军
|Allowed categories are air, armor, infantry, and naval. Can be used as a targeted modifier.
|1.4
|-id="license_tech_difference_speed"
|license_tech_difference_speed
|Changes the production penalty of licensed equipment by tech difference by a percentage.
|<pre>license_tech_difference_speed = 0.5 </pre>
|Percentual.
|Also allows specifying category as license_<category>_tech_difference_speed_factor. Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. That's added in 1.6. Can be used as a targeted modifier.
|1.4
|1.4
|-
|-id="license_production_speed"
|license_tech_difference_speed_factor
|license_production_speed
|Increases the production penalty of licensed equipment by tech difference by a percentage. 修正生产许可证的科技差距惩罚
|Changes the production speed of licensed equipment by a percentage.
|<pre>license_tech_difference_speed_factor = 0.5 </pre>
|<pre>license_production_speed = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
| 还允许将类别指定为 <category>license__purchase_cost_factor。允许的类别包括空军、anti_tank_eq、装甲、artillery_eq、infantry_eq、步兵、light_tank_eq和海军
|Can be used as a targeted modifier.
|1.4
|1.4
|-
|-id="license_<category>_production_speed_factor"
|license_<category>_production_speed_factor
|Changes the production speed of licensed equipment by a percentage.
|<pre>license_infantry_eq_production_speed_factor = 0.5 </pre>
|Percentual.
|Allowed categories are anti_tank_eq, artillery_eq, infantry_eq, and light_tank_eq. Can be used as a targeted modifier.
|1.6
|-id="production_cost_max_<ship type>"
|production_cost_max_<ship type>
|Modifies the maximum cost of the ship type.
|<pre>production_cost_max_ship_hull_light = 0.3</pre>
|Percentual.
|Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine
|1.6
|-id="production_factory_efficiency_gain_factor"
|production_factory_efficiency_gain_factor
|production_factory_efficiency_gain_factor
|Production efficiency growth. 修正生产效率增长。
|Production efficiency growth.
|<pre>production_factory_efficiency_gain_factor = 0.5 </pre>
|<pre>production_factory_efficiency_gain_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="production_factory_max_efficiency_factor"
|production_factory_max_efficiency_factor
|production_factory_max_efficiency_factor
|Production efficiency cap. 修正生产效率上限。
|Production efficiency cap.
|<pre>production_factory_max_efficiency_factor = 0.5 </pre>
|<pre>production_factory_max_efficiency_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-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 (0.01 being 1%).
|Percentual.
|
|1.0
|-id="line_change_production_efficiency_factor"
|line_change_production_efficiency_factor
|Production efficiency retention.
|<pre>line_change_production_efficiency_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-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 (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="floating_harbor_duration"
|refit_ic_cost
|floating_harbor_duration
|Modifies the IC cost for refitting equipment. 修正装备改装的生产花费。
|Modifies the duration of floating harbours.
|<pre>refit_ic_cost = 0.5 </pre>
|<pre>floating_harbor_duration = 2</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.11
|-
|-id="floating_harbor_range"
|refit_speed
|floating_harbor_range
|Modifies the speed of refitting equipment. 修正装备改装速度。
|Modifies the range of floating harbours.
|<pre>refit_speed = 0.5 </pre>
|<pre>floating_harbor_range = 2</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|1.11
|-id="floating_harbor_supply"
|floating_harbor_supply
|Modifies the supply of floating harbours.
|<pre>floating_harbor_supply = 2</pre>
|Flat.
|
|1.11
|-id="railway_gun_bombardment_factor"
|railway_gun_bombardment_factor
|Modifies the bombardment of railway guns.
|<pre>railway_gun_bombardment_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.11
|}
|}


=== Military军事 ===
==== Fuel and supply ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Supply-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第710行: 第1,195行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="base_fuel_gain"
|command_power_gain
|base_fuel_gain
|Increases the daily gain of command power.
|Changes base daily gain of fuel.
增加每日获得的指挥点数
|<pre>base_fuel_gain = 100</pre>
|<pre>command_power_gain = 0.5</pre>
|Flat.
| 加法
|
|
|1.5
|1.6
|-
|-id="base_fuel_gain_factor"
|command_power_gain_mult
|base_fuel_gain_factor
|Increases the daily gain of command power by a percentage. 按百分比增加每日获得的指挥点数。
|Changes base daily gain of fuel by a percentage.
|<pre>command_power_gain = 0.5</pre>
|<pre>base_fuel_gain_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.6
|-
|-id="fuel_cost"
|conscription
|fuel_cost
|Increases the recruitable percentage of the total population. 增加适役人口的百分比。(你可以理解为调整了征兵年龄,比如从18-45岁适役改为16-45岁适役)
|Changes daily cost of fuel.
|<pre>conscription = 0.02</pre>
|<pre>fuel_cost = 100</pre>
|Flat.
|Flat.
|
|
|1.0
|1.6
|-
|-id="fuel_gain"
|conscription_factor
|fuel_gain
|Increases the recruitable percentage of the total population by a percent. 增加已适役人口数量百分比。(你可以理解为取消了某些免服兵役的特权,比如要求教士参军)
|Changes daily gain of fuel from our controlled oil.
|<pre>conscription_factor = 0.3</pre>
|<pre>fuel_gain = 100</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.6
|-
|-id="fuel_gain_factor"
|experience_gain_<unit type>_combat_factor
|fuel_gain_factor
|Increases the experience gain in combat by the specified unit type. 增加指定单位类型的战斗经验获取。
|Changes daily gain of fuel from our controlled oil by a percentage.
|<pre>experience_gain_infantry_combat_factor = 0.3</pre>
|<pre>fuel_gain_factor = 100</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="fuel_gain_from_states"
|experience_gain_<unit type>_training_factor
|fuel_gain_from_states
|Increases the experience gain in training by the specified unit type. 增加指定单位类型的训练经验获取。
|Changes daily gain of fuel.
|<pre>experience_gain_infantry_training_factor = 0.3</pre>
|<pre>fuel_gain_from_states = 100</pre>
|Percentual (0.01 being 1%).
|Flat.
|Refineries use this modifier.
|1.6
|-id="fuel_gain_factor_from_states"
|fuel_gain_factor_from_states
|Changes daily gain of fuel by a percentage.
|<pre>fuel_gain_factor_from_states = 0.5</pre>
|Percentual.
|Modifies fuel gain from refineries.
|1.6
|-id="max_fuel"
|max_fuel
|Changes maximum amount of fuel you can have.
|<pre>max_fuel = 100</pre>
|Flat.
|
|
|1.0
|1.6
|-
|-id="max_fuel_factor"
|experience_loss_factor
|max_fuel_factor
|Changes the loss in division's experience in combat. 改变师在战斗中的经验损失。
|Changes maximum amount of fuel you can have by a percentage.
|<pre>experience_loss_factor = 0.3</pre>
|<pre>max_fuel_factor = 0.3 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="army_fuel_capacity_factor"
|female_random_army_leader_chance
|army_fuel_capacity_factor
|Increases the chance for a randomly-generated army leader to be female. 增加随机生成的军队领袖为女性的几率。
|Modifies how much fuel a single unit can store before running out.
|<pre>female_random_army_leader_chance = 0.3</pre>
|<pre>army_fuel_capacity_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="army_fuel_consumption_factor"
|land_equipment_upgrade_xp_cost
|army_fuel_consumption_factor
|Increases the experience cost to upgrade land army equipment. 增加升级陆军装备的经验成本。
|Modifies the rate at which the army consumes fuel.
|<pre>land_equipment_upgrade_xp_cost = 0.3</pre>
|<pre>army_fuel_consumption_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.6
|-id="air_fuel_consumption_factor"
|air_fuel_consumption_factor
|Modifies the rate at which the airforce consumes fuel.
|<pre>air_fuel_consumption_factor = 0.5</pre>
|Percentual.
|
|1.6
|-id="navy_fuel_consumption_factor"
|navy_fuel_consumption_factor
|Modifies the rate at which the navy consumes fuel.
|<pre>navy_fuel_consumption_factor = 0.3</pre>
|Percentual.
|
|1.6
|-id="supply_factor"
|supply_factor
|Modifies the total amount of supply the military has.
|<pre>supply_factor = 0.3</pre>
|Percentual.
|
|1.11
|-id="supply_combat_penalties_on_core_factor"
|supply_combat_penalties_on_core_factor
|Modifies the penalty given by low supply when the army is on a core state.
|<pre>supply_combat_penalties_on_core_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.11
|-
|-id="supply_consumption_factor"
|land_reinforce_rate
|supply_consumption_factor
|Increases the rate at which reinforcements to divisions arrive. 提高师的增援率。
|Modifies the rate at which army consumes supply.
|<pre>land_reinforce_rate = 0.3</pre>
|<pre>supply_consumption_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="no_supply_grace"
|max_command_power
|no_supply_grace
|Increases maximum command power. 增加最大指挥点。
|Modifies the grace period for units without supply.
|<pre>max_command_power = 20</pre>
|<pre>no_supply_grace = 120</pre>
|Flat.
|Flat.
|
|
|1.5
|1.0
|-
|-id="out_of_supply_factor"
|max_command_power_mult
|out_of_supply_factor
|Increases maximum command power by a percentage. 按百分比增加最大指挥点。
|Reduces the penalty that units take when they run out of supplies.
|<pre>max_command_power_mult = 0.3 </pre>
|<pre>out_of_supply_factor = 0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.0
|-
|-id="attrition"
|minimum_training_level
|attrition
|Increases training level necessary for the unit to deploy. 提高部队部署所需的训练水平。
|Modifies the army's attrition.
|<pre>minimum_training_level = 0.3 </pre>
|<pre>attrition = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can also be used in states or provinces.
|1.0
|-id="unit_upkeep_attrition_factor"
|unit_upkeep_attrition_factor
|Modifies the unit upkeep.
|<pre>unit_upkeep_attrition_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="naval_attrition"
|weekly_manpower
|naval_attrition
|Amount of manpower gained each week. 每周获得的人力数量。
|Modifies attrition suffered by naval units.
|<pre>weekly_manpower = 1000 </pre>
|<pre>naval_attrition = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.6
|1.6
|-
|-id="heat_attrition"
|army_leader_cost_factor
|heat_attrition
|The cost in political power to recruit an unit leader for the land army. 招募一名陆军将领的政治点数成本。
|Changes the attrition due to heat.
|<pre>army_leader_cost_factor = 0.5 </pre>
|<pre>heat_attrition = 0.5</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.5
|1.3
|-
|-id="heat_attrition_factor"
|army_leader_start_level
|heat_attrition_factor
|Bonus to the starting level of generic unit leaders. 对陆军上将的初始等级加成。
|Changes the attrition due to heat by a percentage.
|<pre>army_leader_start_level = 1 </pre>
|<pre>heat_attrition_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="winter_attrition"
|winter_attrition
|Changes the attrition due to winter.
|<pre>winter_attrition = 0.5</pre>
|Flat.
|Flat.
|
|
|1.5
|1.3
|-
|-id="winter_attrition_factor"
|army_leader_start_attack_level
|winter_attrition_factor
|Bonus to the starting level of attack in generic unit leaders. 对陆军上将的初始攻击等级加成。
|Changes the attrition due to winter by a percentage.
|<pre>army_leader_start_attack_level = 1 </pre>
|<pre>winter_attrition_factor = 0.5</pre>
|Percentual.
|
|1.3
|-id="extra_marine_supply_grace"
|extra_marine_supply_grace
|Changes the supply grace given to marines.
|<pre>extra_marine_supply_grace = 96</pre>
|Flat.
|Flat.
|
|
|1.5
|1.0
|-
|-id="extra_paratrooper_supply_grace"
|army_leader_start_defense_level
|extra_paratrooper_supply_grace
|Bonus to the starting level of defense in generic unit leaders. 对陆军上将的初始防御等级加成。
|Changes the supply grace given to paratroopers.
|<pre>army_leader_start_defense_level = 1 </pre>
|<pre>extra_paratrooper_supply_grace = 96</pre>
|Flat.
|Flat.
|
|
|1.5
|1.0
|-
|-id="special_forces_no_supply_grace"
|army_leader_start_planning_level
|special_forces_no_supply_grace
|Bonus to the starting level of planning in generic unit leaders. 对陆军上将的初始计划等级加成。
|Changes the supply grace period for special forces.
|<pre>army_leader_start_planning_level = 1 </pre>
|<pre>special_forces_no_supply_grace = 120</pre>
|Flat.
|Flat.
|
|
|1.5
|1.0
|-
|-id="special_forces_out_of_supply_factor"
|army_leader_start_logistics_level
|special_forces_out_of_supply_factor
|Bonus to the starting level of logistics in generic unit leaders. 对陆军上将的初始后勤等级加成。
|Changes the penalty for special forces out of supply.
|<pre>army_leader_start_logistics_level = 1 </pre>
|<pre>special_forces_out_of_supply_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="truck_attrition"
|truck_attrition
|Changes the attrition supply trucks suffer from.
|<pre>truck_attrition = 3</pre>
|Flat.
|Flat.
|
|
|1.5
|1.11
|-
|-id="truck_attrition_factor"
|military_leader_cost_factor
|truck_attrition_factor
|The cost in political power to recruit an unit leader. 招募将领的政治点数成本。
|Modifies the attrition supply trucks suffer from.
|<pre>military_leader_cost_factor = 0.5 </pre>
|<pre>truck_attrition_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.11
|}
|}


=== Navy海军 ===
==== Buildings ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Building-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第870行: 第1,425行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="production_speed_buildings_factor"
|female_random_admiral_chance
|production_speed_buildings_factor
|Increases the chance for a randomly-generated admiral to be female. 增加随机生成的海军上将为女性的几率。
|Changes the construction speed of all buildings.
|<pre>female_random_admiral_chance = 0.3</pre>
|<pre>production_speed_buildings_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="production_speed_building_factor"
|naval_equipment_upgrade_xp_cost
|production_speed_<building>_factor
|Increases the naval experience cost to upgrade equipment. 增加了装备升级的海军经验成本。
|Changes the construction speed of a specific building.
|<pre>naval_equipment_upgrade_xp_cost = 0.3</pre>
|<pre>production_speed_industrial_complex_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="production_cost_building_factor"
|navy_refit_ic_cost
|production_cost_<building>_factor
|The IC cost to refit naval equipment. 改装海军装备的工业成本。
|Changes the base cost of a specific building.
|<pre>navy_refit_ic_cost = 20</pre>
|<pre>production_cost_industrial_complex_factor = -0.1</pre>
|Percentual.
|Localization is missing and must be added yourself.
|Unknown
|-id="civilian_factory_use"
|civilian_factory_use
|Uses the specified amount of civilian factory as a special project.
|<pre>civilian_factory_use = 3</pre>
|Flat.
|Flat.
|
|1.6
|-
|navy_refit_speed
|The speed at whcih naval equipment is refitted.改装海军装备的速度。
|<pre>navy_refit_speed = 0.5</pre>
|Percentual (0.01 being 1%).
|
|1.6
|-
|navy_leader_cost_factor
|The cost in political power to recruit an unit leader for the land navy.为海军招募单位领导人的政治点数成本
|<pre>navy_leader_cost_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|
|
|1.5
|1.5
|-
|-id="consumer_goods_factor"
|navy_leader_start_level
|consumer_goods_factor
|Bonus to the starting level of generic unit leaders. 对海军上将的初始等级加成。
|Modifies the percentage of factories used for consumer goods.
|<pre>navy_leader_start_level = 1 </pre>
|<pre>consumer_goods_factor = 0.1</pre>
|Multiplicative.
|The modifier adds multiplicatively. For example, <code>consumer_goods_factor = 0.5</code> and <code>consumer_goods_factor = -0.5</code> will, in total, multiply the consumer goods value by <math>(1 - 0.5)(1 + 0.5) = 0.5\cdot 1.5 = 0.75</math>.
|1.0
|-id="consumer_goods_expected_value"
|consumer_goods_expected_value
|Sets the baseline percentage of expected consumer goods.
|<pre>consumer_goods_expected_value = 0.1</pre>
|Flat.
|Flat.
|'''Only updates when the economy law of the country changes'''.
|1.13
|-id="conversion_cost_civ_to_mil_factor"
|conversion_cost_civ_to_mil_factor
|Changes the cost to convert civilian factories to military factories.
|<pre>conversion_cost_civ_to_mil_factor = 0.4</pre>
|Percentual.
|
|
|1.5
|1.5
|-
|-id="conversion_cost_mil_to_civ_factor"
|navy_leader_start_attack_level
|conversion_cost_mil_to_civ_factor
|Bonus to the starting level of attack in generic unit leaders. 对海军上将的初始攻击等级加成。
|Changes the cost to convert military factories to civilian factories.
|<pre>navy_leader_start_attack_level = 1 </pre>
|<pre>conversion_cost_mil_to_civ_factor = 0.4</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.5
|-
|-id="global_building_slots"
|navy_leader_start_defense_level
|global_building_slots
|Bonus to the starting level of defense in generic unit leaders. 对海军上将的初始防御等级加成。
|Changes amount of building slots in our every state.
|<pre>navy_leader_start_defense_level = 1 </pre>
|<pre>global_building_slots = 1</pre>
|Flat.
|Flat.
|
|
|1.5
|1.0
|-
|-id="global_building_slots_factor"
|navy_leader_start_coordination_level
|global_building_slots_factor
|Bonus to the starting level of coordination in generic unit leaders. 对海军上将的初始协调等级加成。
|Changes amount of building slots in our every state by a percentage.
|<pre>navy_leader_start_coordination_level = 1 </pre>
|<pre>global_building_slots_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.0
|-
|-id="industrial_capacity_dockyard"
|navy_leader_start_maneuvering_level
|industrial_capacity_dockyard
|Bonus to the starting level of maneuvering in generic unit leaders. 对海军上将的初始机动等级加成。
|Dockyard output.
|<pre>navy_leader_start_maneuvering_level = 1 </pre>
|<pre>industrial_capacity_dockyard = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.3.3
|}
|-id="industrial_capacity_factory"
 
|industrial_capacity_factory
=== Airforce空军 ===
|Military factory output.
{{SVersion|1.10}}
|<pre>industrial_capacity_factory = 0.3</pre>
 
|Percentual.
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|air_equipment_upgrade_xp_cost
|Increases the air experience cost to upgrade equipment.
|<pre>air_equipment_upgrade_xp_cost = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.0
|-
|-id="industry_air_damage_factor"
|air_volunteer_cap
|industry_air_damage_factor
|Increases the amount of airforce you can send as volunteers. 增加你派遣的航空志愿队的数量
|Amount of damage our factories receive from air bombings.
|<pre>air_volunteer_cap = 100</pre>
|<pre>industry_air_damage_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.0
|-
|-id="industry_free_repair_factor"
|experience_gain_<plane type>_combat_factor
|industry_free_repair_factor
|Increases the experience gain in combat by the specified plane type. 增加指定飞机类型的战斗经验。
|Changes the speed at which buildings repair themselves without factories assigned.
|<pre>experience_gain_fighter_combat_factor = 0.3</pre>
|<pre>industry_free_repair_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="industry_repair_factor"
|experience_gain_<plane type>_training_factor
|industry_repair_factor
|Increases the experience gain in training by the specified plane type. 增加指定飞机类型的训练经验。
|Changes the speed at which buildings are repaired.
|<pre>experience_gain_fighter_training_factor = 0.3</pre>
|<pre>industry_repair_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|}
|-id="production_oil_factor"
|production_oil_factor
|Synthetic oil gain.
|<pre>production_oil_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="repair_speed_buildingf_factor"
|repair_speed_<building>_factor
|Changes the repair speed of a specific building.
|<pre>repair_speed_arms_factory_factor = 0.5 </pre>
|Percentual.
|
|1.0
|-id="supply_node_range"
|supply_node_range
|Increases the effective range of supply nodes.
|<pre>supply_node_range = 0.1</pre>
|Percentual.
|
|1.11
|-id="static_anti_air_damage_factor"
|static_anti_air_damage_factor
|Modifies the damage done to planes by the anti-air buildings.
|<pre>static_anti_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="static_anti_air_hit_chance_factor"
|static_anti_air_hit_chance_factor
|Modifies the chance for the anti-air buildings to hit enemy planes.
|<pre>static_anti_air_hit_chance_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="tech_air_damage_factor"
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|<pre>tech_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="tech_air_damage_factor"
|tech_air_damage_factor
|Modifies the damage done to the country's planes by enemy anti-air buildings.
|<pre>tech_air_damage_factor = 0.1</pre>
|Percentual.
|
|1.0
|-id="cic_construction_boost"
|cic_construction_boost
|Modifies the base construction speed from civilian factories.
|<pre>cic_construction_boost = 0.1</pre>
|Flat.
|
|1.13
|-id="cic_construction_boost_factor"
|cic_construction_boost_factor
|Modifies the modifier to the base construction speed from civilian factories.
|<pre>cic_construction_boost_factor = 0.1</pre>
|Percentual.
|
|1.13
|-id="land_bunker_effectiveness_factor"
|land_bunker_effectiveness_factor
|Modifies the effectiveness of land forts in defence.
|<pre>land_bunker_effectiveness_factor = 0.1</pre>
|Percentual.
|
|1.13
|-id="coastal_bunker_effectiveness_factor"
|coastal_bunker_effectiveness_factor
|Modifies the effectiveness of coastal forts in defence.
|<pre>coastal_bunker_effectiveness_factor = 0.1</pre>
|Percentual.
|
|1.13
|}


=== Fuel燃料 ===
==== Resistance and compliance ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Resistance-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第992行: 第1,620行:
! 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"
|base_fuel_gain
|compliance_growth_on_our_occupied_states
|Increases base daily gain of fuel. 以数值形式增加你每天获得的燃料基础值。
|Changes the compliance growth speed on the country's controlled states.
|<pre>base_fuel_gain = 100</pre>
|<pre>compliance_growth_on_our_occupied_states = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.6
|1.9
|-
|-id="no_compliance_gain"
|base_fuel_gain_factor
|no_compliance_gain
|Increases base daily gain of fuel by a percentage. 以百分比形式增加你每天获得的燃料基础值。
|Disables the compliance gain on our controlled states.
|<pre>base_fuel_gain_factor = 0.5</pre>
|<pre>no_compliance_gain = 1</pre>
|Percentual (0.01 being 1%).
|Boolean (only 1).
|Can also be used in state scope.
|1.9
|-id="required_garrison_factor"
|required_garrison_factor
|Changes the required garrison in our occupied states.
|<pre>required_garrison_factor = 0.5</pre>
|Percentual.
|Can also be used in state scope.
|1.9
|-id="resistance_activity"
|resistance_activity
|Changes the chance for resistance activity to occur on our occupied states.
|<pre>resistance_activity = 0.5</pre>
|Percentual.
|
|
|1.6
|1.9
|-
|-id="resistance_damage_to_garrison_on_our_occupied_states"
|fuel_cost
|resistance_damage_to_garrison_on_our_occupied_states
|Increases daily cost of fuel. 以数值形式增加你每天的燃料消耗
|Changes the resistance damage to the garrison in our occupied states.
|<pre>fuel_cost = 100</pre>
|<pre>resistance_damage_to_garrison_on_our_occupied_states = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.6
|1.9
|-
|-id="resistance_decay_on_our_occupied_states"
|fuel_gain
|resistance_decay_on_our_occupied_states
|Increases daily gain of fuel. 以数值形式增加你每天获得的燃料总值。
|Changes the resistance decay in our occupied states.
|<pre>fuel_gain = 100</pre>
|<pre>resistance_decay_on_our_occupied_states = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.6
|1.9
|-
|-id="resistance_growth_on_our_occupied_states"
|fuel_gain_factor
|resistance_growth_on_our_occupied_states
|Increases daily gain of fuel by a percentage. 以百分比形式增加你每天获得的燃料总值。
|Changes the resistance growth speed in our occupied states.
|<pre>fuel_gain_factor = 100</pre>
|<pre>resistance_growth_on_our_occupied_states = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.9
|-
|-id="resistance_target_on_our_occupied_states"
|fuel_gain_from_states
|resistance_target_on_our_occupied_states
|Increases daily gain of fuel from our controlled oil. 以数值形式增加你在已控制地区获得的燃料。
|Changes the resistance target in our occupied states.
|<pre>fuel_gain_from_states = 100</pre>
|<pre>resistance_target_on_our_occupied_states = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.6
|1.9
|-
|-
|fuel_gain_from_states_factor
|resistance_target
|Increases daily gain of fuel from our controlled oil by a percentage.以百分比形式增加你在已控制地区获得的燃料。
|Changes the resistance target in foreign states occupied by us
|<pre>fuel_gain_from_states_factor = 0.5</pre>
|<pre>resistance_target = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual
|
|
|1.6
|1.9
|-
|max_fuel
|Increases maximum amount of fuel you can have.以数值形式增加你的燃料最大值。
|<pre>max_fuel = 100</pre>
|Flat.
|
|1.6
|-
|max_fuel_factor
|Increases maximum amount of fuel you can have by a percentage.以百分比形式增加你的燃料最大值。
|<pre>max_fuel_factor = 0.3 </pre>
|Percentual (0.01 being 1%).
|
|1.6
|}
|}


=== Buildings建筑 ===
==== Intelligence ====
{{SVersion|1.10}}
{{SVersion|1.13}}


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Intelligence-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第1,067行: 第1,696行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="agency_upgrade_time"
|civilian_factory_use
|agency_upgrade_time
| 使用指定数量的民用工厂在特殊项目中使用.
|Changes the time it takes to upgrade the agency
|<pre>civilian_factory_use = 3</pre>
|<pre>agency_upgrade_time = 0.5</pre>
|Percentual.
|
|1.9
|-id="decryption"
|decryption
|Changes the decription capability of the country.
|<pre>decryption = 1</pre>
|Flat.
|Flat.
|Only has an effect with the Waking the Tiger DLC.
|Only works with the {{icon|lar|1}} DLC disabled.
|1.5
|1.0
|-
|-id="decryption_factor"
|consumer_goods_factor
|decryption_factor
| 改变用于生活消费品的工厂的百分比.
|Changes the decription capability of the country by a percentage.
|<pre>consumer_goods_factor = 0.1</pre>
|<pre>decryption_factor = 0.5</pre>
|Flat.
|Percentual.
|
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|-
|-id="encryption"
|conversion_cost_civ_to_mil_factor
|encryption
|更改将民用工厂转换为军用工厂的成本.
|Changes the encryption capability of the country.
|<pre>conversion_cost_civ_to_mil_factor = 0.4</pre>
|<pre>encryption = 1</pre>
|Percentual (0.01 being 1%).
|
|1.5
|-
|conversion_cost_mil_to_civ_factor
|更改将军用工厂转换为民用工厂的成本.
|<pre>conversion_cost_mil_to_civ_factor = 0.4</pre>
|Percentual (0.01 being 1%).
|
|1.5
|-
|global_building_slots
|增加我们每个省份的建筑插槽数量
|<pre>global_building_slots = 1</pre>
|Flat.
|Flat.
|
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|-
|-id="encryption_factor"
|global_building_slots_factor
|encryption_factor
|Increases amount of building slots in our every state by a percentage.
|Changes the encryption capability of the country by a percentage.
|<pre>global_building_slots_factor = 0.3</pre>
|<pre>encryption_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Only works with the {{icon|lar|1}} DLC disabled.
|1.0
|1.0
|-
|-id="<type>_intel_decryption_bonus"
|industrial_capacity_dockyard
|<type>_intel_decryption_bonus
|Dockyard output. 海军船坞产出
|Adds a cipher bonus to the specified intel.
|<pre>industrial_capacity_dockyard = 0.3</pre>
|<pre>civilian_intel_decryption_bonus = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="<type>_intel_factor"
|<type>_intel_factor
|Modifies the intelligence you receive of the specified type.
|<pre>navy_intel_factor = 0.5</pre>
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="<type>_intel_to_others"
|<type>_intel_to_others
|Changes the amount of intel other countries will receive of the specified type.
|<pre>civilian_intel_to_others = 0.5</pre>
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-id="female_random_operative_chance"
|female_random_operative_chance
|Changes the chance for a randomly-generated operative to be female.
|<pre>female_random_operative_chance = 0.3</pre>
|Percentual.
|
|
|1.0
|1.9.1
|-
|-id="foreign_subversive_activites"
|industrial_capacity_factory
|foreign_subversive_activites
|Military factory output. 军工厂产出
|Changes efficiency of foreign subversive activities.
|<pre>industrial_capacity_factory = 0.3</pre>
|<pre>foreign_subversive_activites = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.9
|-
|-id="intel_network_gain"
|industry_air_damage_factor
|intel_network_gain
| 我们的工厂从空袭中受到的损失修正
|Changes gain of intel network strength.
|<pre>industry_air_damage_factor = 0.3</pre>
|<pre>intel_network_gain = 1</pre>
|Percentual (0.01 being 1%).
|Flat.
|Can also be used in state scope.
|1.9
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|Changes gain of intel network strength by a percentage.
|<pre>intel_network_gain_factor = 0.5</pre>
|Percentual.
|Can also be used in state scope.
|1.9
|-id="subversive_activites_upkeep"
|subversive_activites_upkeep
|Changes the cost of subversive activities.
|<pre>subversive_activites_upkeep = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="operation_cost"
|industry_free_repair_factor
|operation_cost
| 在没有分配工厂的情况下提高建筑物自我修复的速度.
|Changes the cost of operations.
|<pre>industry_free_repair_factor = 0.3</pre>
|<pre>operation_cost = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block. This one is used by each base game operation to modify the operation cost.
|1.9
|-id="operation_outcome"
|operation_outcome
|Changes the efficiency of operations.
|<pre>operation_outcome = 0.5</pre>
|Percentual.
|Dynamically created by operations with the <code>outcome_modifiers = { ... }</code> block. This one is used by {{hover|As of 1.11.10, operation_targeted_sabotage_industry and operation_targeted_sabotage_infrastructure use operation_risk to modify the outcome chance and operation_outcome to modify the risk rather than the other way around|each base game operation}} to modify the operation's outcome chance.
|1.9
|-id="operation_risk"
|operation_risk
|Changes the risk of operations.
|<pre>operation_risk = 0.5</pre>
|Percentual.
|Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block. This one is used by {{hover|As of 1.11.10, operation_targeted_sabotage_industry and operation_targeted_sabotage_infrastructure use operation_risk to modify the outcome chance and operation_outcome to modify the risk rather than the other way around|each base game operation}} to modify the operation risk.
|1.9
|-id="<operation>_cost"
|<operation>_cost
|Changes the cost of the specified operation.
|<pre>operation_infiltrate_cost = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>cost_modifiers = { ... }</code> block.
|1.9
|-id="<operation>_outcome"
|<operation>_outcome
|Changes the efficiency of the specified operation.
|<pre>operation_coup_government_outcome = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>outcome_modifiers = { ... }</code> block. Note that target_sabotage uses target_sabotage_factor rather than target_sabotage_outcome.
|1.9
|-id="<operation>_risk"
|<operation>_risk
|Changes the risk of the specified operation.
|<pre>operation_make_resistance_contacts_risk = 0.5</pre>
|Percentual.
|Operations are defined in {{path|common/operations/*.txt}}. Dynamically created by operations with the <code>risk_modifiers = { ... }</code> block.
|1.9
|-id="<mission>_factor"
|<mission>_factor
|Modifies the effect of the specified mission.
|<pre>boost_ideology_mission_factor = 0.5</pre>
|Percentual.
|Types are: boost_ideology_mission, boost_resistance, control_trade_mission, diplomatic_pressure_mission, propaganda_mission, root_out_resistance_effectiveness.
|1.9
|-id="commando_trait_chance_factor"
|commando_trait_chance_factor
|Modifies the chance for an operative to get the commando trait when hired.
|<pre>commando_trait_chance_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.9
|-
|-id="crypto_department_enabled"
|industry_repair_factor
|crypto_department_enabled
| 建筑物的修复速度修正
|Enables the crypto department.
|<pre>industry_repair_factor = 0.3</pre>
|<pre>crypto_department_enabled = 1</pre>
|Percentual (0.01 being 1%).
|Boolean (only 1).
|
|
|1.0
|1.9
|-
|-id="crypto_strength"
|line_change_production_efficiency_factor
|crypto_strength
| 生产效率保持修正
|Modifies the cryptology level.
|<pre>line_change_production_efficiency_factor = 0.3</pre>
|<pre>crypto_strength = 1</pre>
|Percentual (0.01 being 1%).
|Flat.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="decryption_power"
|decryption_power
|Modifies the decryption power.
|<pre>decryption_power = 1</pre>
|Flat.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="decryption_power_factor"
|decryption_power_factor
|Modifies the decryption power by a percentage.
|<pre>decryption_power_factor = 0.3</pre>
|Percentual.
|{{icon|lar|1}} DLC enabled.
|1.9
|-id="defense_impact_on_blueprint_stealing"
|defense_impact_on_blueprint_stealing
|Modifies the impact of enemy defense on the blueprint stealing operation.
|<pre>defense_impact_on_blueprint_stealing = 0.3</pre>
|Percentual.
|
|
|1.0
|1.9
|-
|-id="intel_from_combat_factor"
|production_oil_factor
|intel_from_combat_factor
|Synthetic oil gain. 合成燃料场产出
|Modifies the intelligence gained from combat.
|<pre>production_oil_factor = 0.5 </pre>
|<pre>intel_from_combat_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.9
|-
|-id="intel_from_operatives_factor"
|production_speed_<building>_factor
|intel_from_operatives_factor
|Increases construction speed of a specific building. 增加建造某类建筑的速度
|Modifies the intelligence gained from operatives and infiltrated assets.
|<pre>production_speed_industrial_complex_factor = 0.5 </pre>
|<pre>intel_from_operatives_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.9
|-
|-id="intel_network_gain"
|repair_speed_<building>_factor
|intel_network_gain
| 特定建筑物的修复速度修正
|Modifies the intelligence network gain.
|<pre>repair_speed_arms_factory_factor = 0.5 </pre>
|<pre>intel_network_gain = 0.3</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|1.9
|-id="intel_network_gain_factor"
|intel_network_gain_factor
|Modifies the intelligence network gain by a percentage.
|<pre>intel_network_gain_factor = 0.3</pre>
|Percentual.
|
|1.9
|-id="intelligence_agency_defense"
|intelligence_agency_defense
|Modifies the counter intelligence.
|<pre>intelligence_agency_defense = 0.3</pre>
|Flat.
|
|1.9
|-id="root_out_resistance_effectiveness_factor"
|root_out_resistance_effectiveness_factor
|Modifies the effectiveness of rooting out resistance.
|<pre>root_out_resistance_effectiveness_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.9
|}
|}


=== Resistance and Compliance抵抗与顺从 ===
==== Operatives ====
{{SVersion|1.10}}
These can be used in both the country scope and operative scope, such as traits, unless specified otherwise.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
{| class="wikitable sortable" width="100%"
|+ 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
第1,184行: 第1,932行:
! 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"
|compliance_growth_on_our_occupied_states
|own_operative_capture_chance_factor
|Increases the compliance growth speed on the country's controlled states. 增加我国被占领地区顺从增长速度。
|Changes the chance for our operatives to be captured.
|<pre>compliance_growth_on_our_occupied_states = 0.5</pre>
|<pre>own_operative_capture_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="own_operative_detection_chance"
|no_compliance_gain
|own_operative_detection_chance
|Disables compliance gain on our controlled states. 我国占领地区无顺从度增长。
|Changes the chance for our operatives to be detected.
|<pre>no_compliance_gain = 1</pre>
|<pre>own_operative_detection_chance = 10</pre>
|Boolean.
|Flat.
|Can also be used in state scope.
|
|1.9
|1.9
|-
|-id="own_operative_detection_chance_factor"
|occupation_cost
|own_operative_detection_chance_factor
|Increases the cost of keeping another nation under occupation. 增加占领花费(疑似作废)
|Changes the chance for our operatives to be detected by a percentage.
|<pre>occupation_cost = 0.5</pre>
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="own_operative_forced_into_hiding_time_factor"
|required_garrison_factor
|own_operative_forced_into_hiding_time_factor
|Increases the required garrison in our occupied states. 增加我国被占领地区驻军需求。
|Changes the chance for our operatives to be forced into hiding by a percentage.
|<pre>required_garrison_factor = 0.5</pre>
|<pre>own_operative_forced_into_hiding_time_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can also be used in state scope
|
|1.9
|-id="own_operative_harmed_time_factor"
|own_operative_harmed_time_factor
|Changes the chance for our operatives to be harmed by a percentage.
|<pre>own_operative_harmed_time_factor = 0.5</pre>
|Percentual.
|
|1.9
|1.9
|-
|-id="own_operative_intel_extraction_rate"
|resistance_damage_to_garrison_on_our_occupied_states
|own_operative_intel_extraction_rate
|Increases the resistance damage to the garrison in our occupied states. 增加我国被占领地区对驻军的伤害。
|Changes the rate at which our operatives extract enemy intel.
|<pre>resistance_damage_to_garrison_on_our_occupied_states = 0.5</pre>
|<pre>own_operative_intel_extraction_rate = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="enemy_operative_capture_chance_factor"
|resistance_decay_on_our_occupied_states
|enemy_operative_capture_chance_factor
|Increases the resistance decay in our occupied states. 增加我国被占领地区的抵抗度衰退。
|Changes the chance for an enemy operative to be captured.
|<pre>resistance_decay_on_our_occupied_states = 0.5</pre>
|<pre>enemy_operative_capture_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="enemy_operative_detection_chance"
|resistance_growth_on_our_occupied_states
|enemy_operative_detection_chance
|Increases the resistance growth speed in our occupied states. 增加我国被占领地区的抵抗度增长。
|Changes the chance for an enemy operative to be detected.
|<pre>resistance_growth_on_our_occupied_states = 0.5</pre>
|<pre>enemy_operative_detection_chance = 10</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.9
|-
|-id="enemy_operative_detection_chance_factor"
|resistance_target_on_our_occupied_states
|enemy_operative_detection_chance_factor
|Increases the resistance target in our occupied states. 增加我国被占领地区的占领目标。
|Changes the chance for an enemy operative to be detected by a percentage.
|<pre>resistance_target_on_our_occupied_states = 0.5</pre>
|<pre>enemy_operative_detection_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|}
|-id="enemy_operative_forced_into_hiding_time_factor"
 
|enemy_operative_forced_into_hiding_time_factor
=== Intelligence情报机关 ===
|Changes the chance for an enemy operative to be forced into hiding by a percentage.
{{SVersion|1.10}}
|<pre>enemy_operative_forced_into_hiding_time_factor = 0.5</pre>
 
|Percentual.
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|agency_upgrade_time
|升级间谍机构所需的时间修正
|<pre>agency_upgrade_time = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.9
|-
|-id="enemy_operative_harmed_time_factor"
|civilian_intel_to_others
|enemy_operative_harmed_time_factor
| 对其他国家泄露的民用工业情报数量。
|Changes the chance for an enemy operative to be harmed by a percentage.
|<pre>civilian_intel_to_others = 10</pre>
|<pre>enemy_operative_harmed_time_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.9
|1.9
|-
|-id="enemy_operative_intel_extraction_rate"
|army_intel_to_others
|enemy_operative_intel_extraction_rate
| 对其他国家泄露的陆军情报数量。
|Changes the rate at which the enemy operatives extract our intel.
|<pre>army_intel_to_others = 10</pre>
|<pre>enemy_operative_intel_extraction_rate = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.9
|1.9
|-
|-id="enemy_spy_negative_status_factor"
|navy_intel_to_others
|enemy_spy_negative_status_factor
| 对其他国家泄露的海军情报数量。
|Changes the chance an enemy spy can receive a negative status.
|<pre>navy_intel_to_others = 10</pre>
|<pre>enemy_spy_negative_status_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.9
|1.9
|-
|-id="enemy_operative_recruitment_chance"
|airforce_intel_to_others
|enemy_operative_recruitment_chance
| 对其他国家泄露的空军情报数量。
|Modifies the chance to recruit an enemy operative.
|<pre>airforce_intel_to_others = 10</pre>
|<pre>enemy_operative_recruitment_chance = 0.3</pre>
|Percentual.
|Cannot be used in operative scope.
|1.9
|-id="new_operative_slot_bonus"
|new_operative_slot_bonus
|Modifies the operative recruitment choices.
|<pre>new_operative_slot_bonus = 1</pre>
|Flat.
|Flat.
|
|Cannot be used in operative scope.
|1.9
|-id="occupied_operative_recruitment_chance"
|occupied_operative_recruitment_chance
|Modifies the chance to get an operative from occupied territory.
|<pre>occupied_operative_recruitment_chance = 0.3</pre>
|Percentual.
|Cannot be used in operative scope.
|1.9
|1.9
|-
|-id="operative_death_on_capture_chance"
|decryption
|operative_death_on_capture_chance
|Increases the decription capability of the country. 以数值形式增加解密能力。
|Modifies the chance for the country's operative to die on being captured.
|<pre>decryption = 1</pre>
|<pre>operative_death_on_capture_chance = 0.3</pre>
|Percentual.
|Cannot be used in operative scope.
|1.9
|-id="operative_slot"
|operative_slot
|Modifies the amount of operative slots.
|<pre>operative_slot = 1</pre>
|Flat.
|Flat.
|Cannot be used in operative scope.
|1.9
|}
==== AI ====
{{SVersion|1.13}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|AI-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="ai_badass_factor"
|ai_badass_factor
|AI's threat perception.
|<pre>ai_badass_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="ai_call_ally_desire_factor"
|decryption_factor
|ai_call_ally_desire_factor
| 按百分比提高国家的解密能力
|Chance for AI to call allies.
|<pre>decryption_factor = 0.5</pre>
|<pre>ai_call_ally_desire_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="ai_desired_divisions_factor"
|encryption
|ai_desired_divisions_factor
| 提高国家的加密能力
|The amount of divisions AI seeks to produce.
|<pre>decryption = 1</pre>
|<pre>ai_desired_divisions_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="ai_focus_aggressive_factor"
|encryption_factor
|ai_focus_aggressive_factor
|Increases the encryption capability of the country by a percentage. 以百分比形式增加加密能力
|AI's focus on offense.
|<pre>encryption_factor = 0.5</pre>
|<pre>ai_focus_aggressive_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.0
|-id="ai_focus_defense_factor"
|ai_focus_defense_factor
|AI's focus on defense.
|<pre>ai_focus_defense_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="ai_focus_aviation_factor"
|ai_focus_aviation_factor
|AI's focus on aviation.
|<pre>ai_focus_aviation_factor = 0.5</pre>
|Percentual.
|
|1.0
|-id="ai_focus_military_advancements_factor"
|ai_focus_military_advancements_factor
|AI's focus on advanced military technologies.
|<pre>ai_focus_military_advancements_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="ai_focus_military_equipment_factor"
|enemy_operative_capture_chance_factor
|ai_focus_military_equipment_factor
|Increases the chance for an enemy operative to be captured.增加敌方特工被俘的几率。
|AI's focus on advanced military equipment.
|<pre>enemy_operative_capture_chance_factor = 0.5</pre>
|<pre>ai_focus_military_equipment_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can be used in unit leader scope.
|
|1.9
|1.0
|-
|-id="ai_focus_naval_air_factor"
|enemy_operative_detection_chance
|ai_focus_naval_air_factor
|Increases the chance for an enemy operative to be detected.以数值形式增加敌方特工被发现的几率。
|AI's focus on building naval airforce.
|<pre>enemy_operative_detection_chance = 10</pre>
|<pre>ai_focus_naval_air_factor = 0.5</pre>
|Flat.
|Percentual.
|Can be used in unit leader scope.
|1.9
|-
|enemy_operative_detection_chance_factor
|Increases the chance for an enemy operative to be forced into hiding by a percentage. 以百分比形式增加敌方特工被迫躲藏的几率。
|<pre>enemy_operative_detection_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|enemy_operative_harmed_time_factor
|Increases the chance for an enemy operative to be harmed by a percentage.以百分比形式增加敌方特工受伤几率。
|<pre>enemy_operative_harmed_time_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|enemy_operative_intel_extraction_rate
|Increases the rate at which the enemy operatives extract our intel.提高敌方特工获取我们情报的速度。
|<pre>enemy_operative_intel_extraction_rate = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|enemy_spy_negative_status_factor
|Increases the chance an enemy spy can receive a negative status. 增加敌方间谍获得负面状态的几率。
|<pre>enemy_spy_negative_status_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can also be used in state scope.
|1.9
|-
|female_random_operative_chance
|Increases the chance for a randomly-generated operative to be female.增加招募到女性特工的几率。
|<pre>female_random_operative_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.0
|-
|-id="ai_focus_naval_factor"
|foreign_subversive_activites
|ai_focus_naval_factor
|Increases efficiency of foreign subversive activities. 提高外国颠覆活动的效率。
|AI's focus on building a navy.
|<pre>foreign_subversive_activites = 0.3</pre>
|<pre>ai_focus_naval_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="ai_focus_peaceful_factor"
|intel_network_gain
|ai_focus_peaceful_factor
|Increases gain of intel network strength.以数值形式增加情报网的建立速度。
|AI's focus on peaceful research and policies.
|<pre>intel_network_gain = 1</pre>
|<pre>ai_focus_peaceful_factor = 0.5</pre>
|Flat.
|Percentual.
|Can also be used in state scope.
|
|1.9
|1.0
|-
|-id="ai_focus_war_production_factor"
|intel_network_gain_factor
|ai_focus_war_production_factor
|Increases gain of intel network strength by a percentage. 以百分比形式增加情报网的建立速度。
|AI's focus on wartime production.
|<pre>intel_network_gain_factor = 0.5</pre>
|<pre>ai_focus_war_production_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can also be used in state scope.
|
|1.9
|1.0
|-
|-id="ai_get_ally_desire_factor"
|own_operative_capture_chance_factor
|ai_get_ally_desire_factor
|Increases the chance for our operatives to be captured. 增加我方特工被俘的几率。
|AI's desire to be in or expand a faction.
|<pre>own_operative_capture_chance_factor = 0.5</pre>
|<pre>ai_get_ally_desire_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can be used in unit leader scope.
|
|1.9
|1.0
|-
|-id="ai_join_ally_desire_factor"
|own_operative_detection_chance
|ai_join_ally_desire_factor
|Increases the chance for our operatives to be detected.以数值形式增加我方特工被发现的几率。
|AI's desire to join the wars led by allies.
|<pre>own_operative_detection_chance = 10</pre>
|<pre>ai_join_ally_desire_factor = 0.5</pre>
|Flat.
|Percentual.
|Can be used in unit leader scope.
|1.9
|-
|own_operative_detection_chance_factor
|Increases the chance for our operatives to be detected by a percentage.以百分比形式增加我方特工被发现的几率。
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|own_operative_detection_chance_factor
|Increases the chance for our operatives to be forced into hiding by a percentage. 增加我方特工被迫隐藏的几率。
|<pre>own_operative_detection_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|own_operative_harmed_time_factor
|Increases the chance for our operatives to be harmed by a percentage.以百分比形式增加我方特工受伤的几率。
|<pre>own_operative_harmed_time_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|own_operative_intel_extraction_rate
|Increases the rate at which our operatives extract enemy intel.提高我们的特工获取敌方情报的速度。
|<pre>own_operative_intel_extraction_rate = 0.5</pre>
|Percentual (0.01 being 1%).
|Can be used in unit leader scope.
|1.9
|-
|subversive_activites_upkeep
|Increases the cost of subversive activities. 增加颠覆活动的成本。
|<pre>subversive_activites_upkeep = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.0
|-
|-id="ai_license_acceptance"
|operation_cost
|ai_license_acceptance
|Increases the cost of operations. 增加所有行动成本。
|AI's chance to agree licensing equipment.
|<pre>operation_cost = 0.5</pre>
|<pre>ai_license_acceptance = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Can be used as a targeted modifier.
|1.9
|1.4
|-
|}
|operation_outcome
 
|Increases the efficiency of operations. 增加所有行动效率。
==== Military outside of combat ====
|<pre>operation_outcome = 0.5</pre>
{{SVersion|1.13}}
|Percentual (0.01 being 1%).
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Military-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="command_power_gain"
|command_power_gain
|Changes the daily gain of command power.
|<pre>command_power_gain = 0.5</pre>
|Flat.
|
|1.5
|-id="command_power_gain_mult"
|command_power_gain_mult
|Changes the daily gain of command power by a percentage.
|<pre>command_power_gain_mult = 0.5</pre>
|Percentual.
|
|
|1.9
|1.5
|-
|-id="conscription"
|operation_risk
|conscription
|Increases the risk of operations. 增加所有行动危险性。
|Changes the recruitable percentage of the total population.
|<pre>operation_risk = 0.5</pre>
|<pre>conscription = 0.02</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.0
|-
|-id="conscription_factor"
|<operation>_cost
|conscription_factor
|Increases the cost of the specified operation. 增加指定活动的成本
|Changes the recruitable percentage of the total population by a percent.
|<pre>operation_infiltrate_cost = 0.5</pre>
|<pre>conscription_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="experience_gain_army"
|<operation>_outcome
|experience_gain_army
|Increases the efficiency of the specified operation.增加指定行动效率。
|Modifies the daily gain of army experience.
|<pre>operation_coup_government_outcome = 0.5</pre>
|<pre>experience_gain_army = 0.5</pre>
|Percentual (0.01 being 1%).
|Flat.
|Note that target_sabotage uses target_sabotage_factor rather than target_sabotage_outcome.
|1.9
|-
|<operation>_risk
|Increases the risk of the specified operation. 增加指定行动危险性。
|<pre>operation_make_resistance_contacts_risk = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.0
|-
|-id="experience_gain_army_factor"
|<type>_intel_decryption_bonus
|experience_gain_army_factor
|Adds a cipher bonus to the specified intel.破译的民政密码加成
|Modifies the gain of army experience by a percentage.
|<pre>civilian_intel_decryption_bonus = 50</pre>
|<pre>experience_gain_army_factor = 0.5</pre>
|Percentual (1 being 1%).
|Percentual.
|Types are: airforce, army, civilian, navy.
|1.9
|-
|<type>_intel_factor
|Modifies the intelligence you receive of the specified type.修改你收到的指定情报数量。
|<pre>navy_intel_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Types are: airforce, army, civilian, navy.
|1.9
|-
|<mission>_factor
|Modifies the effect of the specified mission.修改指定任务成果。
|<pre>boost_ideology_mission_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|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.修改特工在被雇佣时获得特战专家的几率。
|<pre>commando_trait_chance_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.0
|-
|-id="experience_gain_navy"
|crypto_department_enabled
|experience_gain_navy
|Enables the crypto department. 启用加密部门
|Modifies the daily gain of naval experience.
|<pre>crypto_department_enabled = 1</pre>
|<pre>experience_gain_navy = 0.02</pre>
|Boolean.
|Flat.
|
|
|1.9
|1.0
|-
|-id="experience_gain_navy_factor"
|crypto_strength
|experience_gain_navy_factor
|Modifies the cryptology level. 修改加密等级。
|Modifies the gain of naval experience by a percentage.
|<pre>crypto_strength = 1</pre>
|<pre>experience_gain_navy_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.9
|1.0
|-
|-id="experience_gain_air"
|decryption_power
|experience_gain_air
|Modifies the decryption power. 以数值形式修改加密强度。
|Modifies the daily gain of air experience.
|<pre>decryption_power = 1</pre>
|<pre>experience_gain_air = 0.05</pre>
|Flat.
|Flat.
|
|
|1.9
|1.0
|-
|-id="experience_gain_air_factor"
|decryption_power_factor
|experience_gain_air_factor
|Modifies the decryption power by a percentage. 以百分比形式修改加密强度
|Modifies the daily gain of air experience by a percentage.
|<pre>decryption_power_factor = 0.3</pre>
|<pre>experience_gain_air_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="land_equipment_upgrade_xp_cost"
|defense_impact_on_blueprint_stealing
|land_equipment_upgrade_xp_cost
|Modifies the impact of enemy defense on the blueprint stealing operation. 修改敌方间谍防御对蓝图窃取操作的影响。
|Changes the experience cost to upgrade land army equipment.
|<pre>defense_impact_on_blueprint_stealing = 0.3</pre>
|<pre>land_equipment_upgrade_xp_cost = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="land_reinforce_rate"
|enemy_operative_recruitment_chance
|land_reinforce_rate
|Modifies the chance to recruit an enemy operative. 修改招募敌方特工的机会。
|Changes the rate at which reinforcements to divisions arrive.
|<pre>enemy_operative_recruitment_chance = 0.3</pre>
|<pre>land_reinforce_rate = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="max_command_power"
|intel_from_operatives_factor
|max_command_power
|Modifies the intelligence gained from operatives and infiltrated assets. 从特工和线人处获得的情报
|Changes maximum command power.
|<pre>intel_from_operatives_factor = 0.3</pre>
|<pre>max_command_power = 20</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.5
|-
|-id="max_command_power_mult"
|intelligence_agency_defense
|max_command_power_mult
|Modifies the counter intelligence. 修改反间谍等级。
|Changes maximum command power by a percentage.
|<pre>intelligence_agency_defense = 0.3</pre>
|<pre>max_command_power_mult = 0.3 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.5
|-
|-id="weekly_manpower"
|new_operative_slot_bonus
|weekly_manpower
|Modifies the operative recruitment choices. 修改特工招募池数量。
|Amount of manpower gained each week.
|<pre>new_operative_slot_bonus = 1</pre>
|<pre>weekly_manpower = 1000 </pre>
|Flat.
|Flat.
|
|
|1.9
|1.6
|-
|-id="naval_equipment_upgrade_xp_cost"
|occupied_operative_recruitment_chance
|naval_equipment_upgrade_xp_cost
|Modifies the chance to get an operative from occupied territory. 修改从被占领土获得特工的机会。
|Changes the naval experience cost to upgrade equipment.
|<pre>occupied_operative_recruitment_chance = 0.3</pre>
|<pre>naval_equipment_upgrade_xp_cost = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|-
|-id="refit_ic_cost"
|operative_death_on_capture_chance
|refit_ic_cost
|Modifies the chance for our operative to die on being captured. 修改你的特工被俘时死亡效率。
|The IC cost to refit naval equipment.
|<pre>operative_death_on_capture_chance = 0.3</pre>
|<pre>refit_ic_cost = 20</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.6
|-
|-id="refit_speed"
|operative_slot
|refit_speed
|Modifies the amount of operative slots. 修改你能招募的特工数量。
|The speed at which naval equipment is refitted.
|<pre>operative_slot = 1</pre>
|<pre>refit_speed = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.9
|1.6
|-
|-id="air_equipment_upgrade_xp_cost"
|root_out_resistance_effectiveness_factor
|air_equipment_upgrade_xp_cost
|Modifies the effectiveness of rooting out resistance. 修改根除抵抗的效率。
|Changes the air experience cost to upgrade equipment.
|<pre>root_out_resistance_effectiveness_factor = 0.3</pre>
|<pre>air_equipment_upgrade_xp_cost = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.0
|}
|-id="training_time_factor"
 
|training_time_factor
=== AI ===
|Modifies the training time for both army and navy.
{{SVersion|1.10}}
|<pre>training_time_factor = 0.3</pre>
 
|Percentual.
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|ai_badass_factor
|AI's threat perception.
|<pre>ai_badass_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.0
|-
|-id="minimum_training_level"
|ai_call_ally_desire_factor
|minimum_training_level
|Chance for AI to call allies.
|Changes training level necessary for the unit to deploy.
|<pre>ai_call_ally_desire_factor = 0.5</pre>
|<pre>minimum_training_level = 0.3 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="max_training"
|ai_desired_divisions_factor
|max_training
|The amount of divisions AI seeks to produce.
|Modifies the required experience to achieve full training.
|<pre>ai_desired_divisions_factor = 0.5</pre>
|<pre>max_training = -0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|<!--Please test this in-game!-->
|1.0
|-id="training_time_army_factor"
|training_time_army_factor
|Modifies the training time for the army.
|<pre>training_time_army_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="special_forces_training_time_factor"
|ai_focus_aggressive_factor
|special_forces_training_time_factor
|AI's focus on offense.
|Changes the time it takes to train special forces.
|<pre>ai_focus_aggressive_factor = 0.5</pre>
|<pre>special_forces_training_time_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="land_air_naval_doctrine_cost_factor"
|ai_focus_defense_factor
|<land/air/naval>_doctrine_cost_factor
|AI's focus on defense.
|Changes the cost of buying a new doctrine of the specified type.
|<pre>ai_focus_defense_factor = 0.5</pre>
|<pre>land_doctrine_cost_factor = -0.05</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.11
|-
|-id="doctrine_cost_factor"
|ai_focus_aviation_factor
|<doctrine category>_cost_factor
|AI's focus on aviation.
|Modifies the cost of buying a new doctrine of the specified category.
|<pre>ai_focus_aviation_factor = 0.5</pre>
|<pre>cat_mobile_warfare_cost_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Doctrines are defined in {{path|common/technologies/*.txt}}.
|1.11
|-id="choose_preferred_tactics_cost"
|choose_preferred_tactics_cost
|Changes the cost to choose a preferred tactic.
|<pre>choose_preferred_tactics_cost = 5</pre>
|Flat.
|
|1.11
|-id="command_abilities_cost_factor"
|command_abilities_cost_factor
|Changes the cost to choose a command ability.
|<pre>command_abilities_cost_factor = -0.3</pre>
|Percentual.
|
|
|1.0
|1.11
|-
|-id="transport_capacity"
|ai_focus_military_advancements_factor
|transport_capacity
|AI's focus on advanced military technologies.
|Modifies how many convoys units require to be transported over sea.
|<pre>ai_focus_military_advancements_factor = 0.5</pre>
|<pre>transport_capacity = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="paratroopers_special_forces_contribution_factor"
|ai_focus_naval_air_factor
|paratroopers_special_forces_contribution_factor
|AI's focus on building naval airforce.
|Modifies how much paratroopers contribute to the limit of special forces on a template.
|<pre>ai_focus_naval_air_factor = 0.5</pre>
|<pre>paratroopers_special_forces_contribution_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.13
|-
|-id="marines_special_forces_contribution_factor"
|ai_focus_naval_factor
|marines_special_forces_contribution_factor
|AI's focus on building a navy.
|Modifies how much marines contribute to the limit of special forces on a template.
|<pre>ai_focus_naval_factor = 0.5</pre>
|<pre>marines_special_forces_contribution_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.13
|-
|-id="mountaineers_special_forces_contribution_factor"
|ai_focus_peaceful_factor
|mountaineers_special_forces_contribution_factor
|AI's focus on peaceful research and policies.
|Modifies how much mountaineers contribute to the limit of special forces on a template.
|<pre>ai_focus_peaceful_factor = 0.5</pre>
|<pre>mountaineers_special_forces_contribution_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.13
|-
|-id="special_forces_cap_flat"
|ai_focus_war_production_factor
|special_forces_cap_flat
|AI's focus on wartime production.
|Modifies how many special forces sub-units can be put into a single template.
|<pre>ai_focus_war_production_factor = 0.5</pre>
|<pre>special_forces_cap_flat = 10</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.13
|-
|-id="additional_brigade_column_size"
|ai_get_ally_desire_factor
|additional_brigade_column_size
|AI's desire to be in or expand a faction.
|Changes the amount of maximum unlocked slots on each brigade column in division templates.
|<pre>ai_get_ally_desire_factor = 0.5</pre>
|<pre>additional_brigade_column_size = 1</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.13
|-
|-id="unit_design_cost_factor"
|ai_join_ally_desire_factor
|unit_<unit type>_design_cost_factor
|AI's desire to join the wars led by allies.
|Modifies how much experience it costs to add a brigade of the specified type to a template.
|<pre>ai_join_ally_desire_factor = 0.5</pre>
|<pre>unit_artillery_brigade_design_cost_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Brigades are defined in {{path|common/units/*.txt}}
|1.0
|1.11
|-
|-id="equipment_design_cost_factor"
|ai_license_acceptance
|<equipment archetype>_design_cost_factor
|AI's chance to agree licensing equipment.
|Modifies how much experience it costs to add upgrades or modules to a specified equipment archetype.
|<pre>ai_license_acceptance = 0.5</pre>
|<pre>strat_bomber_equipment_design_cost_factor = 0.3</pre><pre>ship_hull_heavy_design_cost_factor = -0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Equipment archetypes are defined in {{path|common/units/equipment/*.txt}}
|1.4
|1.11
|-id="module_design_cost_factor"
|module_<module type>_design_cost_factor
|Modifies how much experience it costs to add a module of the specified type to equipment.
|<pre>module_tank_torsion_bar_suspension_design_cost_factor = 0.3</pre>
|Percentual.
|Modules are defined in {{path|common/units/equipment/modules/*.txt}}
|1.11
|}
|}


=== General Combat通用战斗 ===
==== MIOs ====
{{SVersion|1.10}}
{{SVersion|1.13}}
Note that most of these modifiers are not only in country scope but also in unit leader and navy leader scopes.
These are modifiers related to [[military industrial organisation]]s.


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|MIO-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第1,718行: 第2,462行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="military_industrial_organization_research_bonus"
|offence
|military_industrial_organization_research_bonus
|Modifies the attack value of our military, navy, and airforce.
|Modifies the research bonus granted by MIOs.
|<pre>offence = 0.5</pre>
|<pre>military_industrial_organization_research_bonus = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.13
|-id="military_industrial_organization_design_team_assign_cost"
|military_industrial_organization_design_team_assign_cost
|Modifies the political power cost to assign a design team.
|<pre>military_industrial_organization_design_team_assign_cost = 30</pre>
|Flat.
|
|
|1.0
|1.13
|-
|-id="military_industrial_organization_design_team_change_cost"
|defence
|military_industrial_organization_design_team_change_cost
|Modifies the defence value of our military, navy, and airforce.
|Modifies the political power cost to change a design team.
|<pre>defence = 0.5</pre>
|<pre>military_industrial_organization_design_team_change_cost = 20</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.13
|}
|-id="military_industrial_organization_industrial_manufacturer_assign_cost"
|military_industrial_organization_industrial_manufacturer_assign_cost
|Modifies the political power cost to assign an industrial manufacturer.
|<pre>military_industrial_organization_industrial_manufacturer_assign_cost = 10</pre>
|Flat.
|
|1.13
|-id="military_industrial_organization_task_capacity"
|military_industrial_organization_task_capacity
|Modifies the amount of tasks possible to assign to the MIO.
|<pre>military_industrial_organization_task_capacity = 2</pre>
|Flat.
|
|1.13
|-id="military_industrial_organization_size_up_requirement"
|military_industrial_organization_size_up_requirement
|Modifies the requirement to size up a MIO.
|<pre>military_industrial_organization_size_up_requirement = 2</pre>
|Flat.
|
|1.13
|-id="military_industrial_organization_funds_gain"
|military_industrial_organization_funds_gain
|Modifies the amount of funds gained by the MIO.
|<pre>military_industrial_organization_funds_gain = 0.3</pre>
|Percentual.
|
|1.13
|-id="military_industrial_organization_policy_cost"
|military_industrial_organization_policy_cost
|Modifies the political power cost to assign a MIO policy.
|<pre>military_industrial_organization_policy_cost = 20</pre>
|Flat.
|
|1.13
|-id="military_industrial_organization_policy_cooldown"
|military_industrial_organization_policy_cooldown
|Modifies the cooldown between how often it's possible to change policies.
|<pre>military_industrial_organization_policy_cooldown = 5</pre>
|Flat.
|
|1.13
|}


=== Land Combat陆战 ===
==== Unit leaders ====
{{SVersion|1.10}}
{{SVersion|1.13}}
Note that most of these modifiers are not only in country scope but also in unit leader scope.
These are modifiers related to unit leaders in the country scope, rather than being in the unit leader scope.


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第1,745行: 第2,539行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="female_random_army_leader_chance"
|acclimatization_cold_climate_gain_factor
|female_random_army_leader_chance
|Cold acclimatization gain factor.
|Changes the chance for a randomly-generated army leader to be female.
|<pre>acclimatization_cold_climate_gain_factor = 0.5</pre>
|<pre>female_random_army_leader_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.9.1
|-
|-id="assign_army_leader_cp_cost"
|acclimatization_hot_climate_gain_factor
|assign_army_leader_cp_cost
|Hot acclimatization gain factor.
|Modifies the cost to assign an army leader to an army.
|<pre>acclimatization_hot_climate_gain_factor = 0.5</pre>
|<pre>assign_army_leader_cp_cost = -5</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.11
|-
|-id="army_leader_cost_factor"
|air_superiority_bonus_in_combat
|army_leader_cost_factor
|The bonus air combat gives in combat.
|The cost in political power to recruit an unit leader for the land army.
|<pre>air_superiority_bonus_in_combat = 0.5</pre>
|<pre>army_leader_cost_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.3
|-
|-id="army_leader_start_level"
|army_attack_factor
|army_leader_start_level
|The bonus to land army's attack.
|Bonus to the starting level of generic unit leaders.
|<pre>army_attack_factor = 0.5</pre>
|<pre>army_leader_start_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|1.5
|-id="army_leader_start_attack_level"
|army_leader_start_attack_level
|Bonus to the starting level of attack in generic unit leaders.
|<pre>army_leader_start_attack_level = 1 </pre>
|Flat.
|
|
|1.0
|1.5
|-
|-id="army_leader_start_defense_level"
|army_defence_factor
|army_leader_start_defense_level
|The bonus to land army's defence.
|Bonus to the starting level of defense in generic unit leaders.
|<pre>army_defence_factor = 0.5</pre>
|<pre>army_leader_start_defense_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.5
|-
|-id="army_leader_start_logistics_level"
|army_speed_factor
|army_leader_start_logistics_level
|The bonus to land army's speed.
|Bonus to the starting level of logistics in generic unit leaders.
|<pre>army_speed_factor = 0.5</pre>
|<pre>army_leader_start_logistics_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.5
|-
|-id="army_leader_start_planning_level"
|<unit type>_attack_factor
|army_leader_start_planning_level
|The bonus to specified unit type's attack.
|Bonus to the starting level of planning in generic unit leaders.
|<pre>cavalry_attack_factor = 0.5</pre>
|<pre>army_leader_start_planning_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|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.
|<pre>army_artillery_defence_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|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.
|<pre>army_armor_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Allowed unit types are army_armor and cavalry.
|1.0
|-
|army_fuel_capacity_factor
|The capacity of fuel by the army.
|<pre>army_fuel_capacity_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.5
|-
|-id="military_leader_cost_factor"
|army_fuel_consumption_factor
|military_leader_cost_factor
|The consumption of fuel by the army.
|The cost in political power to recruit an unit leader.
|<pre>army_fuel_consumption_factor = 0.3</pre>
|<pre>military_leader_cost_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.3
|-
|-id="female_random_admiral_chance"
|army_morale
|female_random_admiral_chance
|Modifies the army's morale.
|Changes the chance for a randomly-generated admiral to be female.
|<pre>army_morale = 10</pre>
|<pre>female_random_admiral_chance = 0.3</pre>
|Percentual.
|
|1.9.1
|-id="assign_navy_leader_cp_cost"
|assign_navy_leader_cp_cost
|Modifies the cost to assign a navy leader to a navy.
|<pre>assign_navy_leader_cp_cost = -5</pre>
|Flat.
|Flat.
|
|
|1.0
|1.11
|-
|-id="navy_leader_cost_factor"
|army_morale_factor
|navy_leader_cost_factor
|Modifies the army's morale by a percentage.
|The cost in political power to recruit an unit leader for the land navy.
|<pre>army_morale_factor = 0.3</pre>
|<pre>navy_leader_cost_factor = 0.5 </pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.3
|-
|-id="navy_leader_start_level"
|army_org
|navy_leader_start_level
|Modifies the army's organisation.
|Bonus to the starting level of generic unit leaders.
|<pre>army_org = 10</pre>
|<pre>navy_leader_start_level = 1 </pre>
|Flat.
|Flat.
|
|
|1.0
|1.9
|-
|-id="navy_leader_start_attack_level"
|army_org_factor
|navy_leader_start_attack_level
|Modifies the army's organisation by a percentage.
|Bonus to the starting level of attack in generic unit leaders.
|<pre>army_org_factor = 0.3</pre>
|<pre>navy_leader_start_attack_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.9
|-
|-id="navy_leader_start_coordination_level"
|army_org_regain
|navy_leader_start_coordination_level
|Modifies the army's organisation regain speed by a percentage.
|Bonus to the starting level of coordination in generic unit leaders.
|<pre>army_org_regain = 0.3</pre>
|<pre>navy_leader_start_coordination_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|1.9
|-id="navy_leader_start_defense_level"
|navy_leader_start_defense_level
|Bonus to the starting level of defense in generic unit leaders.
|<pre>navy_leader_start_defense_level = 1 </pre>
|Flat.
|
|
|1.0
|1.9
|-
|-id="navy_leader_start_maneuvering_level"
|attrition
|navy_leader_start_maneuvering_level
|Modifies the army's attrition.
|Bonus to the starting level of maneuvering in generic unit leaders.
|<pre>attrition = 0.3</pre>
|<pre>navy_leader_start_maneuvering_level = 1 </pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.9
|-
|-id="grant_medal_cost_factor"
|breakthrough_factor
|grant_medal_cost_factor
|Modifies the army's breakthrough.
|Changes the cost in command power to grant a medal to a division commander.
|<pre>breakthrough_factor = 0.3</pre>
|<pre>grant_medal_cost_factor = 0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.12
|-
|-id="field_officer_promotion_penalty"
|cas_damage_reduction
|field_officer_promotion_penalty
|Reguces the damage dealt by close air support.
|Changes the experience penalty applied to the divisions when a commander is promoted to a field marshal.
|<pre>cas_damage_reduction = 0.3</pre>
|<pre>field_officer_promotion_penalty = 0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.12
|-
|-id="female_divisional_commander_chance"
|dig_in_speed
|female_divisional_commander_chance
|Increases entrenchment speed.
|Changes the chance to get a female divisional commander.
|<pre>dig_in_speed = 2</pre>
|<pre>female_divisional_commander_chance = 0.2</pre>
|Flat.
|Flat.
|If no generic female portraits are defined within {{path|portraits/*.txt}} files, there will be a silhouette.
|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.
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Combat-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="offence"
|offence
|Modifies the attack value of our military, navy, and airforce.
|<pre>offence = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="defence"
|dig_in_speed_factor
|defence
|Increases entrenchment speed by a percentage.
|Modifies the defence value of our military, navy, and airforce.
|<pre>dig_in_speed = 0.5</pre>
|<pre>defence = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.0
|-
|experience_gain_army
|Increases experience gain by the army.
|<pre>experience_gain_army = 0.5</pre>
|Flat.
|
|
|1.0
|1.0
|-
|-id="tactic_preferred_weight_factor"
|experience_gain_army_factor
|<Tactic>_preferred_weight_factor
|Increases experience gain by the army by a percentage.
|Modifies the chance for a commander to choose the specified tactic.
|<pre>experience_gain_army_factor = 0.5</pre>
|<pre>tactic_ambush_preferred_weight_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Combat tactics are defined in {{path|common/combat_tactics.txt}}.
|1.0
|1.6
|-
|}
|experience_gain_army_unit
 
|Increases experience gain by the army divisions.
==== Land combat ====
|<pre>experience_gain_army_unit = 0.5</pre>
{{SVersion|1.13}}
|Flat.
Note that most of these modifiers are not only in country scope but also in unit leader scope.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Land combat-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="acclimatization_cold_climate_gain_factor"
|acclimatization_cold_climate_gain_factor
|Cold acclimatization gain factor.
|<pre>acclimatization_cold_climate_gain_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="acclimatization_hot_climate_gain_factor"
|experience_gain_army_unit_factor
|acclimatization_hot_climate_gain_factor
|Increases experience gain by the army divisions by a percentage.
|Hot acclimatization gain factor.
|<pre>experience_gain_army_unit_factor = 0.5</pre>
|<pre>acclimatization_hot_climate_gain_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_superiority_bonus_in_combat"
|extra_marine_supply_grace
|air_superiority_bonus_in_combat
|Increases the supply grace given to marines.
|The bonus in combat given from having air superiority.
|<pre>extra_marine_supply_grace = 96</pre>
|<pre>air_superiority_bonus_in_combat = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_attack_factor"
|extra_paratrooper_supply_grace
|army_attack_factor
|Increases the supply grace given to paratroopers.
|The bonus to land army's attack.
|<pre>extra_paratrooper_supply_grace = 96</pre>
|<pre>army_attack_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_core_attack_factor"
|heat_attrition
|army_core_attack_factor
|Increases the attrition due to heat.
|The bonus to land army's attack on core territory.
|<pre>heat_attrition = 0.5</pre>
|<pre>army_core_attack_factor = 0.1</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_attack_against_major_factor"
|heat_attrition_factor
|army_attack_against_major_factor
|Increases the attrition due to heat by a percentage.
|The bonus to land army's attack against a major country.
|<pre>heat_attrition_factor = 0.5</pre>
|<pre>army_attack_against_major_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.11
|-id="army_attack_against_minor_factor"
|army_attack_against_minor_factor
|The bonus to land army's attack against a non-major country.
|<pre>army_attack_against_minor_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_attack_speed_factor"
|army_attack_speed_factor
|The bonus to speed at which the land army attacks.
|<pre>army_attack_speed_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_breakthrough_against_major_factor"
|winter_attrition
|army_breakthrough_against_major_factor
|Increases the attrition due to winter.
|The bonus to land army's breakthrough against a major country.
|<pre>winter_attrition = 0.5</pre>
|<pre>army_breakthrough_against_major_factor = 0.5</pre>
|Flat.
|Percentual.
|
|1.11
|-id="army_breakthrough_against_minor_factor"
|army_breakthrough_against_minor_factor
|The bonus to land army's breakthrough against a non-major country.
|<pre>army_breakthrough_against_minor_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_defence_factor"
|army_defence_factor
|The bonus to land army's defence.
|<pre>army_defence_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_defence_against_major_factor"
|winter_attrition_factor
|army_defence_against_major_factor
|Increases the attrition due to winter by a percentage.
|The bonus to land army's defence against a major country.
|<pre>winter_attrition_factor = 0.5</pre>
|<pre>army_defence_against_major_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.11
|-id="army_defence_against_minor_factor"
|army_defence_against_minor_factor
|The bonus to land army's defence against a non-major country.
|<pre>army_defence_against_minor_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="army_core_defence_factor"
|army_core_defence_factor
|The bonus to land army's defence on core territory.
|<pre>army_core_defence_factor = 0.1</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_speed_factor"
|land_night_attack
|army_speed_factor
|Increases the penalty due to attacking at night.
|The bonus to land army's speed.
|<pre>land_night_attack = 0.5</pre>
|<pre>army_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_strength_factor"
|max_dig_in
|army_strength_factor
|Increases the maximum entrenchment.
|The bonus to land army's strength.
|<pre>max_dig_in = 20</pre>
|<pre>army_strength_factor = 0.5</pre>
|Flat.
|Percentual.
|Can also apply in state scope.
|
|1.11
|-id="<unit type>_attack_factor"
|<unit type>_attack_factor
|The bonus to specified unit type's attack.
|<pre>cavalry_attack_factor = 0.5</pre>
|Percentual.
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|-id="<unit type>_defence_factor"
|<unit type>_defence_factor
|The bonus to the specified unit type's defence.
|<pre>army_artillery_defence_factor = 0.5</pre>
|Percentual.
|Allowed unit types are army_armor, army_artillery, army_infantry, cavalry, mechanized, motorized, special_forces
|1.0
|1.0
|-
|-id="<unit type>_speed_factor"
|max_dig_in_factor
|<unit type>_speed_factor
|Increases the maximum entrenchment by a percentage.
|The bonus to specified unit type's speed.
|<pre>max_dig_in_factor = 0.5</pre>
|<pre>army_armor_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Can also apply in state scope.
|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"
|max_planning
|army_morale
|Increases the maximum planning.
|Modifies the division recovery rate.
|<pre>max_planning = 20</pre>
|<pre>army_morale = 10</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="army_morale_factor"
|max_planning_factor
|army_morale_factor
|Increases the maximum planning by a percentage.
|Modifies the division recovery rate by a percentage.
|<pre>max_planning_factor = 0.5</pre>
|<pre>army_morale_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_org"
|pocket_penalty
|army_org
|Reduces the penalty that troops take when they are encircled.
|Modifies the army's organisation.
|<pre>pocket_penalty = 0.2</pre>
|<pre>army_org = 10</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.0
|-
|-id="army_org_factor"
|recon_factor
|army_org_factor
|Increases reconnaisance.
|Modifies the army's organisation by a percentage.
|<pre>recon_factor = 0.2</pre>
|<pre>army_org_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="army_org_regain"
|recon_factor_while_entrenched
|army_org_regain
|Increases reconnaisance for entrenched divisions.
|Modifies the army's organisation regain speed by a percentage.
|<pre>recon_factor_while_entrenched = 0.2</pre>
|<pre>army_org_regain = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.5.1
|-id="breakthrough_factor"
|breakthrough_factor
|Modifies the army's breakthrough.
|<pre>breakthrough_factor = 0.3</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="cas_damage_reduction"
|special_forces_cap
|cas_damage_reduction
|Increases the maximum amount of special forces by a percentage.
|Reguces the damage dealt by close air support.
|<pre>special_forces_cap = 0.5</pre>
|<pre>cas_damage_reduction = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="combat_width_factor"
|special_forces_min
|combat_width_factor
|Increases the maximum amount of special forces.
|Changes our own combat width.
|<pre>special_forces_min = 250</pre>
|<pre>combat_width_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="coordination_bonus"
|special_forces_no_supply_grace
|coordination_bonus
|Increases the supply grace period for special forces.
|Changes the bonus to coordination, that is how much damage is done to the primary target instead of being spread out.
|<pre>special_forces_no_supply_grace = 120</pre>
|<pre>coordination_bonus = 0.3</pre>
|Percentual.
|
|1.11
|-id="dig_in_speed"
|dig_in_speed
|Changes entrenchment speed.
|<pre>dig_in_speed = 2</pre>
|Flat.
|Flat.
|
|
|1.0
|1.0
|-
|-id="dig_in_speed_factor"
|special_forces_out_of_supply_factor
|dig_in_speed_factor
|Increases the penalty for special forces out of supply.
|Changes entrenchment speed by a percentage.
|<pre>special_forces_out_of_supply_factor = 0.3</pre>
|<pre>dig_in_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="experience_gain_army_unit"
|special_forces_training_time_factor
|experience_gain_army_unit
|Increases the time it takes to train special forces.
|Changes experience gain by the army divisions.
|<pre>special_forces_training_time_factor = 0.3</pre>
|<pre>experience_gain_army_unit = 0.5</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.0
|-
|-id="experience_gain_army_unit_factor"
|terrain_penalty_reduction
|experience_gain_army_unit_factor
|Decreases the penalties given by terrain.
|Changes experience gain by the army divisions by a percentage.
|<pre>terrain_penalty_reduction = 0.3</pre>
|<pre>experience_gain_army_unit_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="experience_loss_factor"
|unit_upkeep_attrition_factor
|experience_loss_factor
|Modifies the unit upkeep.
|Changes the loss in divisions' experience in combat.
|<pre>unit_upkeep_attrition_factor = 0.3</pre>
|<pre>experience_loss_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="initiative_factor"
|no_supply_grace
|initiative_factor
|Modifies the grace period for units without supply.
|Modifies the initiative.
|<pre>no_supply_grace = 120</pre>
|<pre>initiative_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.11
|-
|-id="land_night_attack"
|org_loss_when_moving
|land_night_attack
|Modifies the organisation loss for units when they are moving.
|Changes the penalty due to attacking at night.
|<pre>org_loss_when_moving = 0.2</pre>
|<pre>land_night_attack = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="max_dig_in"
|out_of_supply_factor
|max_dig_in
|Reduces the penalty that units take when they run out of supplies.
|Changes the maximum entrenchment.
|<pre>out_of_supply_factor = 0.2</pre>
|<pre>max_dig_in = 20</pre>
|Percentual (0.01 being 1%).
|Flat.
|Can also apply in state scope.
|1.0
|-id="max_dig_in_factor"
|max_dig_in_factor
|Changes the maximum entrenchment by a percentage.
|<pre>max_dig_in_factor = 0.5</pre>
|Percentual.
|Can also apply in state scope.
|1.0
|-id="max_planning"
|max_planning
|Changes the maximum planning.
|<pre>max_planning = 20</pre>
|Flat.
|
|
|1.0
|1.0
|-
|-id="max_planning_factor"
|planning_speed
|max_planning_factor
|Modifies the planning speed.
|Changes the maximum planning by a percentage.
|<pre>planning_speed = 0.2</pre>
|<pre>max_planning_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.9
|-id="pocket_penalty"
|pocket_penalty
|Reduces the penalty that troops take when they are encircled.
|<pre>pocket_penalty = 0.2</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="recon_factor"
|supply_consumption_factor
|recon_factor
|Modifies the rate at which army consumes supply.
|Changes reconnaisance.
|<pre>supply_consumption_factor = 0.3</pre>
|<pre>recon_factor = 0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="recon_factor_while_entrenched"
|training_time_factor
|recon_factor_while_entrenched
|Modifies the training time.
|Changes reconnaisance for entrenched divisions.
|<pre>training_time_factor = 0.3</pre>
|<pre>recon_factor_while_entrenched = 0.2</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.0
|-id="special_forces_cap"
|special_forces_cap
|Changes the maximum amount of special forces by a percentage.
|<pre>special_forces_cap = 0.5</pre>
|Percentual.
|
|1.0
|-id="special_forces_min"
|special_forces_min
|Changes the maximum amount of special forces.
|<pre>special_forces_min = 250</pre>
|Flat.
|
|1.0
|-id="terrain_penalty_reduction"
|terrain_penalty_reduction
|Decreases the penalties given by terrain.
|<pre>terrain_penalty_reduction = 0.3</pre>
|Percentual.
|Only works in the unit_leader scope despite the modifier being present in vanilla national spirits at the time of writing.
|1.0
|-id="org_loss_at_low_org_factor"
|org_loss_at_low_org_factor
|Modifies the organisation loss for units when they have low organisation.
|<pre>org_loss_at_low_org_factor = 0.2</pre>
|Percentual.
|
|1.0
|-id="org_loss_when_moving"
|org_loss_when_moving
|Modifies the organisation loss for units when they are moving.
|<pre>org_loss_when_moving = 0.2</pre>
|Percentual.
|
|
|1.0
|1.0
|-id="planning_speed"
|planning_speed
|Modifies the planning speed.
|<pre>planning_speed = 0.2</pre>
|Percentual.
|Works in state scope.
|1.0
|-id="experience_gain_unit_combat_factor"
|experience_gain_<unit type>_combat_factor
|Modifies the experience gain in combat for the unit type.
|<pre>experience_gain_artillery_combat_factor = 0.3</pre>
|Percentual.
|Units are defined in {{path|common/units/*.txt}} files.
|1.11
|-id="experience_gain_unit_training_factor"
|experience_gain_<unit type>_training_factor
|Modifies the experience gain in training for the unit type.
|<pre>experience_gain_destroyer_training_factor = 0.3</pre>
|Percentual.
|Units are defined in {{path|common/units/*.txt}} files.
|1.11
|}
|}


=== Naval combat海战 ===
==== Naval invasions ====
{{SVersion|1.10}}
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
Note that most of these modifiers are not only in country scope but also in navy leader scope.
|+ style="text-align: center;" width = "100%" |{{nowrap|Invasion-related country-scoped modifiers:}}<br/>
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第2,122行: 第3,089行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="naval_invasion_prep_speed"
|naval_invasion_prep_speed
|Modifies the speed at which a naval invasion is prepared.
|<pre>naval_invasion_prep_speed = 10</pre>
|Flat.
|Can be a targeted modifier or in unit leader scope.
|1.0
|-id="naval_invasion_capacity"
|naval_invasion_capacity
|Modifies the amount of divisions that can have a naval invasion plan going on at the same time.
|<pre>naval_invasion_capacity = 10</pre>
|Flat.
|
|1.0
|-id="naval_invasion_penalty"
|naval_invasion_penalty
|Modifies the penalty for naval invasions.
|<pre>naval_invasion_penalty = 0.3</pre>
|Percentual.
|Is the opposite of amphibious_invasion_defence. Can also apply in state scope.
|1.0
|-id="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.
|<pre>naval_invasion_planning_bonus_speed = 0.3</pre>
|Percentual.
|
|1.11
|-id="amphibious_invasion"
|amphibious_invasion
|amphibious_invasion
|Modifies the speed of units during naval invasions.
|Modifies the speed of units during naval invasions.
|<pre>amphibious_invasion = 0.5</pre>
|<pre>amphibious_invasion = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="amphibious_invasion_defence"
|amphibious_invasion_defence
|amphibious_invasion_defence
|Modifies the penalty given by naval invasions.
|Modifies the penalty given by naval invasions.
|<pre>amphibious_invasion_defence = 0.5</pre>
|<pre>amphibious_invasion_defence = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|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"
|carrier_capacity_penalty_reduction
|invasion_preparation
|Modifies the penalty given by overcrowding a carrier with planes.
|Modifies the required preparation needed to execute a naval invasion.
|<pre>carrier_capacity_penalty_reduction = 0.5</pre>
|<pre>invasion_preparation = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Is the opposite of naval_invasion_prep_speed. Can be used in unit leader scope.
|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.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Naval combat-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="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.
|<pre>convoy_escort_efficiency = 0.5</pre>
|<pre>convoy_escort_efficiency = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>convoy_raiding_efficiency_factor = 0.5</pre>
|<pre>convoy_raiding_efficiency_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="convoy_retreat_speed"
|convoy_retreat_speed
|convoy_retreat_speed
|Modifies the speed of convoys retreating.
|Modifies the speed of convoys retreating.
|<pre>convoy_retreat_speed = 0.5</pre>
|<pre>convoy_retreat_speed = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="critical_receive_chance"
|critical_receive_chance
|critical_receive_chance
|Increases 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.
|<pre>critical_receive_chance = 0.5</pre>
|<pre>critical_receive_chance = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="experience_gain_navy_unit"
|experience_gain_navy
|Modifies the daily gain of naval experience.
|<pre>experience_gain_navy = 0.02</pre>
|Flat.
|
|1.6
|-
|experience_gain_navy_factor
|Modifies the gain of naval experience by a percentage.
|<pre>experience_gain_navy_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|
|1.6
|-
|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.
第2,193行: 第3,188行:
|
|
|1.6
|1.6
|-
|-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.
|<pre>experience_gain_navy_unit_factor = 0.3</pre>
|<pre>experience_gain_navy_unit_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="mines_planting_by_fleets_factor"
|fighter_sortie_efficiency
|Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
|<pre>fighter_sortie_efficiency = 0.3</pre>
|Percentual (0.01 being 1%).
|
|1.6
|-
|invasion_preparation
|Modifies the preparation speed of naval invasions.
|<pre>invasion_preparation = 0.3</pre>
|Percentual (0.01 being 1%).
|
|1.6
|-
|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.
|<pre>mines_planting_by_fleets_factor = 0.3</pre>
|<pre>mines_planting_by_fleets_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>mines_sweeping_by_fleets_factor = 0.3</pre>
|<pre>mines_sweeping_by_fleets_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_accidents_chance = 0.3</pre>
|<pre>naval_accidents_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_anti_air_attack"
|naval_attrition
|navy_anti_air_attack
|Modifies attrition suffered by naval units.
|Modifies the attack against enemy airplanes for the country's ships.
|<pre>naval_attrition = 0.3</pre>
|<pre>navy_anti_air_attack = 5</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|1.6
|-id="navy_anti_air_attack_factor"
|navy_anti_air_attack_factor
|Modifies the attack against enemy airplanes for the country's ships by a percentage.
|<pre>navy_anti_air_attack_factor = 0.3</pre>
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_coordination = 0.3</pre>
|<pre>naval_coordination = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_critical_effect_factor = 0.3</pre>
|<pre>naval_critical_effect_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_critical_score_chance_factor = 0.3</pre>
|<pre>naval_critical_score_chance_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_damage_factor"
|naval_damage_factor
|naval_damage_factor
|Modifies the damage dealt by our ships.
|Modifies the damage dealt by our ships.
|<pre>naval_damage_factor = 0.3</pre>
|<pre>naval_damage_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_defense_factor"
|naval_defense_factor
|naval_defense_factor
|Modifies the damage received by our ships.
|Modifies the damage received by our ships.
|<pre>naval_damage_factor = 0.3</pre>
|<pre>naval_defense_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_detection = 0.3</pre>
|<pre>naval_detection = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_enemy_fleet_size_ratio_penalty_factor = 0.3</pre>
|<pre>naval_enemy_fleet_size_ratio_penalty_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_enemy_positioning_in_initial_attack"
|naval_enemy_positioning_in_initial_attack
|Modifies the positioning of the enemy during the initial naval attack.
|<pre>naval_enemy_positioning_in_initial_attack = 3</pre>
|Flat.
|
|1.11
|-id="naval_enemy_retreat_chance"
|naval_enemy_retreat_chance
|naval_enemy_retreat_chance
|Modifies the chance for the enemy to retreat.
|Modifies the chance for the enemy to retreat.
|<pre>naval_enemy_retreat_chance = 0.3</pre>
|<pre>naval_enemy_retreat_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_has_potf_in_combat_attack = 0.3</pre>
|<pre>naval_has_potf_in_combat_attack = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_has_potf_in_combat_defense = 0.3</pre>
|<pre>naval_has_potf_in_combat_defense = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_hit_chance = 0.3</pre>
|<pre>naval_hit_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_mine_hit_chance"
|naval_invasion_capacity
|Modifies the amount of divisions that can have a naval invasion plan going on at the same time.
|<pre>naval_invasion_capacity = 10</pre>
|Flat.
|
|1.6
|-
|naval_invasion_penalty
|Modifies the penalty for naval invasions.
|<pre>naval_invasion_penalty = 0.3</pre>
|Percentual (0.01 being 1%).
|Is the opposite of amphibious_invasion_defence. Can also apply in state scope.
|1.6
|-
|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.
|<pre>naval_mine_hit_chance = 0.3</pre>
|<pre>naval_mine_hit_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_mines_damage_factor = 0.3</pre>
|<pre>naval_mines_damage_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>naval_mines_effect_reduction = 0.3</pre>
|<pre>naval_mines_effect_reduction = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_morale"
|naval_morale
|naval_morale
|Modifies the morale value for our ships.
|Modifies the navy recovery rate.
|<pre>naval_morale = 15</pre>
|<pre>naval_morale = 15</pre>
|Flat.
|Flat.
|
|
|1.6
|1.6
|-
|-id="naval_morale_factor"
|naval_morale_factor
|naval_morale_factor
|Modifies the morale value for our ships by a percentage.
|Modifies the navy recovery rate by a percentage.
|<pre>naval_morale_factor = 0.3</pre>
|<pre>naval_morale_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_night_attack"
|naval_night_attack
|Modifies the damage dealt by the country's ships at night.
|<pre>naval_night_attack = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_retreat_chance"
|naval_retreat_chance
|naval_retreat_chance
|Modifies the chance for our ships to retreat.
|Modifies the chance for the country's ships to retreat.
|<pre>naval_retreat_chance = 0.3</pre>
|<pre>naval_retreat_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_retreat_chance_after_initial_combat"
|naval_retreat_chance_after_initial_combat
|Modifies the chance for the country's ships to retreat after initial combat.
|<pre>naval_retreat_chance_after_initial_combat = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_retreat_speed"
|naval_retreat_speed
|naval_retreat_speed
|Modifies the speed at which our ships retreat.
|Modifies the speed at which the country's ships retreat.
|<pre>naval_retreat_speed = 0.3</pre>
|<pre>naval_retreat_speed = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_retreat_speed_after_initial_combat"
|naval_retreat_speed_after_initial_combat
|Modifies the speed at which the country's ships to retreat after initial combat.
|<pre>naval_retreat_speed_after_initial_combat = 0.3</pre>
|Percentual.
|
|1.11
|-id="naval_speed_factor"
|naval_speed_factor
|naval_speed_factor
|Modifies the speed of our ships.
|Modifies the speed of the country's ships.
|<pre>naval_speed_factor = 0.3</pre>
|<pre>naval_speed_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_org"
|navy_org
|Modifies the navy's organisation.
|<pre>navy_org = 10</pre>
|Flat.
|
|1.0
|-id="navy_org_factor"
|navy_org_factor
|Modifies the navy's organisation by a percentage.
|<pre>navy_org_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="navy_max_range"
|navy_max_range
|Modifies the navy's maximum range.
|<pre>navy_max_range = 10</pre>
|Flat.
|
|1.0
|-id="navy_max_range_factor"
|navy_max_range_factor
|Modifies the navy's maximum range by a percentage.
|<pre>navy_max_range_factor = 0.3</pre>
|Percentual.
|
|1.0
|-id="naval_torpedo_cooldown_factor"
|naval_torpedo_cooldown_factor
|naval_torpedo_cooldown_factor
|Modifies the rate at which our ships can fire torpedos.
|Modifies the rate at which the country's ships can fire torpedos.
|<pre>naval_torpedo_cooldown_factor = 0.3</pre>
|<pre>naval_torpedo_cooldown_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_torpedo_hit_chance_factor"
|naval_torpedo_hit_chance_factor
|naval_torpedo_hit_chance_factor
|Modifies the rate at which our torpedos can hit enemy ships.
|Modifies the likelihood for country's torpedos to hit enemy ships.
|<pre>naval_torpedo_hit_chance_factor = 0.3</pre>
|<pre>naval_torpedo_hit_chance_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.6
|-id="naval_torpedo_reveal_chance_factor"
|naval_torpedo_reveal_chance_factor
|Modifies the chance that the country's submarines reveal themselves when firing torpedos.
|<pre>naval_torpedo_reveal_chance_factor = 0.3</pre>
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_torpedo_screen_penetration_factor"
|naval_torpedo_screen_penetration_factor
|naval_torpedo_screen_penetration_factor
|Modifies the rate at which our torpedos penalise enemy screening.
|Modifies the rate at which the country's torpedos penalise enemy screening.
|<pre>naval_torpedo_screen_penetration_factor = 0.3</pre>
|<pre>naval_torpedo_screen_penetration_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="naval_torpedo_damage_reduction_factor"
|naval_torpedo_damage_reduction_factor
|Modifies the damage at which enemy torpedos damage the country's ships.
|<pre>naval_torpedo_damage_reduction_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_torpedo_enemy_critical_chance_factor"
|naval_torpedo_enemy_critical_chance_factor
|Modifies the chance for an enemy torpedo to get a cricical hit against the country's ships.
|<pre>naval_torpedo_enemy_critical_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_light_gun_hit_chance_factor"
|naval_light_gun_hit_chance_factor
|Modifies the chance for the country's naval light guns to hit enemy ships.
|<pre>naval_light_gun_hit_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="naval_heavy_gun_hit_chance_factor"
|naval_heavy_gun_hit_chance_factor
|Modifies the chance for the country's naval heavy guns to hit enemy ships.
|<pre>naval_heavy_gun_hit_chance_factor = 0.3</pre>
|Percentual.
|
|1.12
|-id="navy_capital_ship_attack_factor"
|navy_capital_ship_attack_factor
|navy_capital_ship_attack_factor
|Modifies the attack of our capital ships.
|Modifies the attack of the country's capital ships.
|<pre>navy_capital_ship_attack_factor = 0.3</pre>
|<pre>navy_capital_ship_attack_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_capital_ship_defence_factor"
|navy_carrier_air_agility_factor
|navy_capital_ship_defence_factor
|Modifies the agility of airplanes executing tasks from carriers.
|Modifies the defence of the country's capital ships.
|<pre>navy_carrier_air_agility_factor = 0.3</pre>
|<pre>navy_capital_ship_defence_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_screen_attack_factor"
|navy_carrier_air_attack_factor
|navy_screen_attack_factor
|Modifies the attack of airplanes executing tasks from carriers.
|Modifies the attack of the country's screening ships.
|<pre>navy_carrier_air_attack_factor = 0.3</pre>
|<pre>navy_screen_attack_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_screen_defence_factor"
|navy_carrier_air_targetting_factor
|navy_screen_defence_factor
|Modifies the targeting of airplanes executing tasks from carriers.
|Modifies the defence of the country's screening ships.
|<pre>navy_carrier_air_targetting_factor = 0.3</pre>
|<pre>navy_screen_defence_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_submarine_attack_factor"
|navy_screen_attack_factor
|navy_submarine_attack_factor
|Modifies the attack of our screening ships.
|Modifies the attack of the country's submarines.
|<pre>navy_screen_attack_factor = 0.3</pre>
|<pre>navy_submarine_attack_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_submarine_defence_factor"
|navy_submarine_attack_factor
|navy_submarine_defence_factor
|Modifies the attack of our submarines.
|Modifies the defence of the country's submarines.
|<pre>navy_submarine_attack_factor = 0.3</pre>
|<pre>navy_submarine_defence_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_submarine_detection_factor"
|navy_submarine_attack_factor
|navy_submarine_detection_factor
|Modifies the attack of our submarines.
|Modifies the country's detection of enemy submarines.
|<pre>navy_submarine_attack_factor = 0.3</pre>
|<pre>navy_submarine_detection_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_visibility"
|navy_visibility
|navy_visibility
|Modifies the visibility of our navy.
|Modifies the visibility of the country's navy.
|<pre>navy_visibility = 0.3</pre>
|<pre>navy_visibility = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="navy_weather_penalty"
|navy_weather_penalty
|Modifies the penalty the country's navy gets during poor weather.
|<pre>navy_weather_penalty = 0.3</pre>
|Percentual.
|
|1.11
|-id="night_spotting_chance"
|night_spotting_chance
|Modifies the chance for the country's navy to spot the enemy at night.
|<pre>night_spotting_chance = 0.3</pre>
|Percentual.
|
|1.11
|-id="positioning"
|positioning
|positioning
|Modifies the positioning of our navy.
|Modifies the positioning of the country's navy.
|<pre>positioning = 0.3</pre>
|<pre>positioning = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="repair_speed_factor"
|production_cost_max_<ship type>
|Modifies the maximum cost of the ship type.
|<pre>production_cost_max_ship_hull_light = 0.3</pre>
|Percentual (0.01 being 1%).
|Allowed ship types in base game: convoy, ship_hull_carrier, ship_hull_cruiser, ship_hull_heavy, ship_hull_light, ship_hull_submarine
|1.6
|-
|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.
|<pre>repair_speed_factor = 0.3</pre>
|<pre>repair_speed_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="screening_efficiency"
|screening_efficiency
|screening_efficiency
|Modifies the efficiency screen ships operate.
|Modifies the efficiency screen ships operate.
|<pre>screening_efficiency = 0.3</pre>
|<pre>screening_efficiency = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="screening_without_screens"
|screening_without_screens
|Modifies the base screening without any screen ships assigned.
|<pre>screening_without_screens = 0.3</pre>
|Percentual.
|
|1.11
|-id="ships_at_battle_start"
|ships_at_battle_start
|ships_at_battle_start
|Modifies the number of ships at first contact.
|Modifies the number of ships at first contact.
|<pre>ships_at_battle_start = 0.3</pre>
|<pre>ships_at_battle_start = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="spotting_chance"
|sortie_efficiency
|Modifies the speed when refueling and rearming planes on the carrier during the battle.
|<pre>sortie_efficiency = 0.3</pre>
|Percentual (0.01 being 1%).
|
|1.6
|-
|spotting_chance
|spotting_chance
|Modifies the chance to spot enemy ships.
|Modifies the chance to spot enemy ships.
|<pre>spotting_chance = 0.3</pre>
|<pre>spotting_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-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.
|<pre>strike_force_movement_org_loss = 0.3</pre>
|<pre>strike_force_movement_org_loss = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="sub_retreat_speed"
|sub_retreat_speed
|sub_retreat_speed
|Modifies the retreat speed of submarines.
|Modifies the retreat speed of submarines.
|<pre>sub_retreat_speed = 0.3</pre>
|<pre>sub_retreat_speed = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.6
|-
|-id="submarine_attack"
|submarine_attack
|submarine_attack
|Modifies the attack of submarines.
|Modifies the attack of submarines.
|<pre>submarine_attack = 0.3</pre>
|<pre>submarine_attack = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.6
|-
|transport_capacity
|Modifies how many convoys units require.
|<pre>transport_capacity = 0.3</pre>
|Percentual (0.01 being 1%).
|
|
|1.6
|1.6
|}
|}


=== Air combat空战 ===
==== Carriers and their planes ====
{{SVersion|1.10}}
{{SVersion|1.13}}
Note that most of these modifiers are not only in country scope but also in ace scope.


{| class="wikitable sortable" width="100%"
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Carrier-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Effects
第2,555行: 第3,620行:
! width="20%" | Modifier type
! width="20%" | Modifier type
! width="15%" | Notes
! width="15%" | Notes
! width="5%" | Version Added
! width="5%" | Version added
|-
|-id="navy_carrier_air_agility_factor"
|air_accidents_factor
|navy_carrier_air_agility_factor
|Modifies the chance for air accidents to happen.
|Modifies the agility of airplanes executing tasks from carriers.
|<pre>air_accidents_factor = 0.5</pre>
|<pre>navy_carrier_air_agility_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="navy_carrier_air_attack_factor"
|air_ace_generation_chance_factor
|navy_carrier_air_attack_factor
|Modifies the chance for aces to appear. 空军王牌出现概率
|Modifies the attack of airplanes executing tasks from carriers.
|<pre>air_ace_generation_chance_factor = 0.5</pre>
|<pre>navy_carrier_air_attack_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="navy_carrier_air_targetting_factor"
|air_agility_factor
|navy_carrier_air_targetting_factor
|Modifies the agility of the country's airplanes.
|Modifies the targeting of airplanes executing tasks from carriers.
|<pre>air_agility_factor = 0.5</pre>
|<pre>navy_carrier_air_targetting_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="air_carrier_night_penalty_reduction_factor"
|air_attack_factor
|air_carrier_night_penalty_reduction_factor
|Modifies the attack of the country's airplanes.
|Modifies the reduction of the night penalty for air carriers.
|<pre>air_attack_factor = 0.5</pre>
|<pre>air_carrier_night_penalty_reduction_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="carrier_capacity_penalty_reduction"
|air_defence_factor
|carrier_capacity_penalty_reduction
|Modifies the defence of the country's airplanes.
|Modifies the penalty given by overcrowding a carrier with planes.
|<pre>air_defence_factor = 0.5</pre>
|<pre>carrier_capacity_penalty_reduction = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="carrier_traffic"
|air_<mission>_agility_factor
|carrier_traffic
|Modifies the agility of the country's airplanes when on the specified mission.
|Modifies the traffic of carriers.
|<pre>air_air_superiority_agility_factor = 0.5</pre>
|<pre>carrier_traffic = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Allowed missions are: air_superiority, close_air_support, interception, strategic_bomber, paradrop, and naval_strike. Note that with naval strike, it's just naval_strike_agility_factor without air_.
|1.0
|-
|air_<mission>_attack_factor
|Modifies the attack of the country's airplanes when on the specified mission.
|<pre>air_interception_defence_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Allowed missions are: air_superiority, close_air_support, interception, strategic_bomber, paradrop, and naval_strike. Note that with naval strike, it's just naval_strike_attack_factor without air_.
|1.0
|-
|air_<mission>_defence_factor
|Modifies the defence of the country's airplanes when on the specified mission.
|<pre>air_strategic_bomber_defence_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Allowed missions are: air_superiority, close_air_support, interception, strategic_bomber, paradrop, and naval_strike. Note that with naval strike, it's just naval_strike_defence_factor without air_.
|1.0
|-
|air_bombing_targetting
|Modifies targetting for ground bombing.
|<pre>air_bombing_targetting = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.6
|-
|-id="sortie_efficiency"
|air_cas_efficiency
|sortie_efficiency
|Modifies efficiency of close-air-support.
|Modifies the speed when refueling and rearming planes on the carrier during the battle.
|<pre>air_cas_efficiency = 0.5</pre>
|<pre>sortie_efficiency = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|-id="carrier_sortie_hours_delay"
|air_cas_present_factor
|carrier_sortie_hours_delay
|Modifies impact of close-air-support in land combat.
|Modifies the delay in hours for refueling and rearming planes on the carrier.
|<pre>air_cas_present_factor = 0.5</pre>
|<pre>carrier_sortie_hours_delay = 2</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.0
|1.12
|-
|-id="carrier_night_traffic"
|air_escort_efficiency
|carrier_night_traffic
|Modifies ability of planes in dogfights.
|Modifies the traffic of carriers at night.
|<pre>air_escort_efficiency = 0.5</pre>
|<pre>carrier_night_traffic = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.11
|-
|-id="fighter_sortie_efficiency"
|air_fuel_consumption_factor
|fighter_sortie_efficiency
|Modifies the rate at which the airforce consumes fuel.
|Modifies the speed when refueling and rearming fighter planes on the carrier during the battle.
|<pre>air_fuel_consumption_factor = 0.5</pre>
|<pre>fighter_sortie_efficiency = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.6
|-
|}
|air_intercept_efficiency
 
|Modifies the efficiency of air interception.
==== Air combat ====
|<pre>air_intercept_efficiency = 0.5</pre>
{{SVersion|1.13}}
|Percentual (0.01 being 1%).
Note that most of these modifiers are not only in country scope but also in ace scope.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Air-related country-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="air_accidents_factor"
|air_accidents_factor
|Modifies the chance for air accidents to happen.
|<pre>air_accidents_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_ace_bonuses_factor"
|air_maximum_speed_factor
|air_ace_bonuses_factor
|Modifies the maximum speed of the airforce.
|Modifies the bonuses the aces grant.
|<pre>air_maximum_speed_factor = 0.5</pre>
|<pre>air_ace_bonuses_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.11
|-id="air_ace_generation_chance_factor"
|air_ace_generation_chance_factor
|Modifies the chance for aces to appear.
|<pre>air_ace_generation_chance_factor = 0.5</pre>
|Percentual.
|
|
|1.0
|1.11
|-
|-id="ace_effectiveness_factor"
|air_mission_efficiency
|ace_effectiveness_factor
|Modifies the efficiency of airplanes in missions.
|Modifies the effectiveness of aces
|<pre>air_mission_efficiency = 0.5</pre>
|<pre>ace_effectiveness_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_agility_factor"
|air_mission_xp_gain_factor
|air_agility_factor
|Modifies the experience gain for airplanes for doing missions.
|Modifies the agility of the country's airplanes.
|<pre>air_mission_xp_gain_factor = 0.5</pre>
|<pre>air_agility_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_attack_factor"
|air_mission_xp_gain_factor
|air_attack_factor
|Modifies the experience gain for airplanes for doing missions.
|Modifies the attack of the country's airplanes.
|<pre>air_mission_xp_gain_factor = 0.5</pre>
|<pre>air_attack_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_defence_factor"
|air_nav_efficiency
|air_defence_factor
|Modifies the efficiency of airplanes doing port strike and naval bombing missions.
|Modifies the defence of the country's airplanes.
|<pre>air_nav_efficiency = 0.5</pre>
|<pre>air_defence_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_interception_detect_factor"
|air_night_penalty
|air_interception_detect_factor
|Modifies the penalty the airforce receives while at night.
|Modifies the chance of detecting an enemy plane while on interception mission.
|<pre>air_night_penalty = 0.5</pre>
|<pre>air_interception_detect_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="naval_strike_targetting_factor"
|air_night_penalty
|naval_strike_targetting_factor
|Modifies the penalty the airforce receives while at night.
|Modifies the ability of planes to target their objectives when executing naval strikes.
|<pre>air_night_penalty = 0.5</pre>
|<pre>naval_strike_targetting_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="port_strike"
|air_range_factor
|port_strike
|Modifies the range of the airplanes.
|Modifies the damage done by planes on the port strike mission.
|<pre>air_range_factor = 0.5</pre>
|<pre>port_strike = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_close_air_support_org_damage_factor"
|air_strategic_bomber_bombing_factor
|air_close_air_support_org_damage_factor
|Modifies the efficiency of the strategic bombing mission.
|Modifies the damage to division organisation by planes on the close air support mission.
|<pre>air_strategic_bomber_bombing_factor = 0.5</pre>
|<pre>air_close_air_support_org_damage_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.11
|-
|-id="air_bombing_targetting"
|air_strategic_bomber_night_penalty
|air_bombing_targetting
|Modifies the penalty for the strategic bombing mission while at night.
|Modifies targetting for ground bombing.
|<pre>air_strategic_bomber_night_penalty = 0.5</pre>
|<pre>air_bombing_targetting = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_cas_efficiency"
|air_superiority_detect_factor
|air_cas_efficiency
|Modifies the chance to detect enemy planes while on the air superiority mission.
|Modifies efficiency of close-air-support.
|<pre>air_superiority_detect_factor = 0.5</pre>
|<pre>air_cas_efficiency = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_cas_present_factor"
|air_superiority_efficiency
|air_cas_present_factor
|Modifies the efficiency of the air superiority mission.
|Modifies impact of close-air-support in land combat.
|<pre>air_superiority_efficiency = 0.5</pre>
|<pre>air_cas_present_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_escort_efficiency"
|air_training_xp_gain_factor
|air_escort_efficiency
|Modifies the air experience gain from training.
|Modifies ability of planes in dogfights.
|<pre>air_training_xp_gain_factor = 0.5</pre>
|<pre>air_escort_efficiency = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.6
|1.0
|-
|-id="air_home_defence_factor"
|air_weather_penalty
|air_home_defence_factor
|Modifies the penalty the airplanes receive because of weather.
|Modifies the defence of airplanes when defending states in the home region (Connected to the country's capital by land)
|<pre>air_weather_penalty = 0.5</pre>
|<pre>air_home_defence_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.11
|-
|-id="air_intercept_efficiency"
|air_wing_xp_loss_when_killed_factor
|air_intercept_efficiency
|Modifies the experience loss of airplanes due to airplanes being shot down.
|Modifies the efficiency of air interception.
|<pre>air_wing_xp_loss_when_killed_factor = 0.5</pre>
|<pre>air_intercept_efficiency = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_manpower_requirement_factor"
|army_bonus_air_superiority_factor
|air_manpower_requirement_factor
|Modifies the bonus to land combat from air superiority.
|Modifies the manpower required to deploy an airplane.
|<pre>army_bonus_air_superiority_factor = 0.5</pre>
|<pre>air_manpower_requirement_factor = -0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.11
|-
|-id="air_maximum_speed_factor"
|enemy_army_bonus_air_superiority_factor
|air_maximum_speed_factor
|Modifies the effect to land combat from enemy air superiority.
|Modifies the maximum speed of the airforce.
|<pre>enemy_army_bonus_air_superiority_factor = 0.5</pre>
|<pre>air_maximum_speed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_mission_efficiency"
|experience_gain_air
|air_mission_efficiency
|Modifies the daily gain of air experience.
|Modifies the efficiency of airplanes in missions.
|<pre>experience_gain_air = 0.05</pre>
|<pre>air_mission_efficiency = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_mission_xp_gain_factor"
|experience_gain_air_factor
|air_mission_xp_gain_factor
|Modifies the daily gain of air experience by a percentage.
|Modifies the experience gain for airplanes for doing missions.
|<pre>experience_gain_air_factor = 0.5</pre>
|<pre>air_mission_xp_gain_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_nav_efficiency"
|air_ground_attack
|air_nav_efficiency
|Modifies the bonus to airplane attack on enemy divisions.
|Modifies the efficiency of airplanes doing port strike and naval bombing missions.
|<pre>air_ground_attack = 0.5</pre>
|<pre>air_nav_efficiency = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_night_penalty"
|ground_attack_factor
|air_night_penalty
|Modifies the bonus to airplane attack on enemy divisions by a percentage.
|Modifies the penalty the airforce receives while at night.
|<pre>ground_attack_factor = 0.5</pre>
|<pre>air_night_penalty = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_power_projection_factor"
|mines_planting_by_air_factor
|air_power_projection_factor
|Modifies efficiency of airplanes planting mines.
|Modifies the power projection given out by the airplanes.
|<pre>mines_planting_by_air_factor = 0.5</pre>
|<pre>air_power_projection_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_range_factor"
|mines_sweeping_by_air_factor
|air_range_factor
|Modifies efficiency of airplanes sweeping mines.
|Modifies the range of the airplanes.
|<pre>mines_sweeping_by_air_factor = 0.5</pre>
|<pre>air_range_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|-
|-id="air_strategic_bomber_bombing_factor"
|strategic_bomb_visibility
|air_strategic_bomber_bombing_factor
|Modifies the chance for the enemy to detect our strategic bombers.
|Modifies the efficiency of the strategic bombing mission.
|<pre>strategic_bomb_visibility = 0.5</pre>
|<pre>air_strategic_bomber_bombing_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.0
|1.0
|}
|-id="air_strategic_bomber_night_penalty"
 
|air_strategic_bomber_night_penalty
=== Targeted modifiers目标修正 ===
|Modifies the penalty for the strategic bombing mission while at night.
{{SVersion|1.10}}
|<pre>air_strategic_bomber_night_penalty = 0.5</pre>
These modifiers are targeted, meaning that they must be used in targeted_modifier = {} rather than modifier = {}.
|Percentual.
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|cic_to_target_factor
|Gives a portion of the country's civilian industry to the specified target.
|<pre>cic_to_target_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.5
|1.0
|-
|-id="air_superiority_detect_factor"
|extra_trade_to_target_factor
|air_superiority_detect_factor
|Adds extra produced recourses available for trade to target country.
|Modifies the chance to detect enemy planes while on the air superiority mission. Displays as Fighter Detection.
|<pre>extra_trade_to_target_factor = 0.5</pre>
|<pre>air_superiority_detect_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.0
|-
|-id="air_superiority_efficiency"
|generate_wargoal_tension_against
|air_superiority_efficiency
|Increases world tension necessary for us to justify against the target country.
|Modifies the efficiency of the air superiority mission.
|<pre>generate_wargoal_tension_against = 0.5</pre>
|<pre>air_superiority_efficiency = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.0
|-
|-id="air_training_xp_gain_factor"
|mic_to_target_factor
|air_training_xp_gain_factor
|Gives a portion of the country's military industry to the specified target.
|Modifies the air experience gain from training.
|<pre>cic_to_target_factor = 0.5</pre>
|<pre>air_training_xp_gain_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.6
|-
|-id="air_untrained_pilots_penalty_factor"
|trade_cost_for_target_factor
|air_untrained_pilots_penalty_factor
|The cost for the targeted country to purchase this country's resources.
|Modifies the penalty given to airplanes which don't have enough experience.
|<pre>trade_cost_for_target_factor = 0.5</pre>
|<pre>air_untrained_pilots_penalty_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.5
|-
|targeted_legitimacy_daily
|Increases daily gain of legitimacy of the target country.
|<pre>targeted_legitimacy_daily = 0.5</pre>
|Flat.
|
|
|1.6
|1.6
|-
|-id="air_weather_penalty"
|attack_bonus_against
|air_weather_penalty
|Gives an attack bonus against the armies of the specified country.
|Modifies the penalty the airplanes receive because of weather.
|<pre>attack_bonus_against = 0.5</pre>
|<pre>air_weather_penalty = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.0
|-
|-id="air_wing_xp_loss_when_killed_factor"
|attack_bonus_against_cores
|air_wing_xp_loss_when_killed_factor
|Gives an attack bonus against the armies of the specified country on its core territory.
|Modifies the experience loss of airplanes due to airplanes being shot down.
|<pre>attack_bonus_against_cores = 0.5</pre>
|<pre>air_wing_xp_loss_when_killed_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.0
|-
|-id="army_bonus_air_superiority_factor"
|breakthrough_bonus_against
|army_bonus_air_superiority_factor
|Gives a breakthrough bonus against the armies of the specified country.
|Modifies the bonus to land combat from air superiority.
|<pre>breakthrough_bonus_against = 0.5</pre>
|<pre>army_bonus_air_superiority_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.0
|-
|-id="enemy_army_bonus_air_superiority_factor"
|defense_bonus_against
|enemy_army_bonus_air_superiority_factor
|Gives a defense bonus against the armies of the specified country.
|Modifies the effect to land combat from enemy air superiority.
|<pre>defense_bonus_against = 0.5</pre>
|<pre>enemy_army_bonus_air_superiority_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.5
|}
 
== State Scope州 ==
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|army_speed_factor_for_controller
|Changes the division speed for the controller of the state.
|<pre>army_speed_factor_for_controller = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.0
|1.0
|-
|-id="ground_attack_factor"
|compliance_gain
|ground_attack_factor
|Changes the compliance gain in the current state.
|Modifies the bonus to airplane attack on enemy divisions by a percentage.
|<pre>compliance_gain = 0.01</pre>
|<pre>ground_attack_factor = 0.5</pre>
|Flat.
|Percentual.
|Can also go into country scope.
|1.9
|-
|compliance_growth
|Changes the compliance growth speed in the current state.
|<pre>compliance_growth = 0.5</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.0
|-
|-id="mines_planting_by_air_factor"
|country_resource_<resource>
|mines_planting_by_air_factor
|Directly modifies the country's resource stockpile.
|Modifies efficiency of airplanes planting mines.
|<pre>country_resource_oil = 10</pre>
|<pre>mines_planting_by_air_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="mines_sweeping_by_air_factor"
|country_resource_cost_<resource>
|mines_sweeping_by_air_factor
|Directly modifies the country's resource stockpile.
|Modifies efficiency of airplanes sweeping mines.
|<pre>country_resource_cost_aluminium = 10</pre>
|<pre>mines_sweeping_by_air_factor = 0.5</pre>
|Flat.
|Percentual.
|
|
|1.0
|1.0
|-
|-id="strategic_bomb_visibility"
|disable_strategic_redeployment
|strategic_bomb_visibility
|Disables strategic redeployment in the state.
|Modifies the chance for the enemy to detect our strategic bombers.
|<pre>disable_strategic_redeployment = 1</pre>
|<pre>strategic_bomb_visibility = 0.5</pre>
|Boolean.
|Percentual.
|
|
|1.9
|1.0
|-
|-id="rocket_attack_factor"
|disable_strategic_redeployment_for_controller
|rocket_attack_factor
|Disables strategic redeployment in the state for the controller.
|Modifies the attack given to rockets.
|<pre>disable_strategic_redeployment_for_controller = 1</pre>
|<pre>rocket_attack_factor = 0.5</pre>
|Boolean.
|Percentual.
|
|
|1.9
|1.0
|-
|}
|enemy_intel_network_gain_factor_over_occupied_tag
 
|Modifies enemy intel network strength gain.
==== Targeted modifiers ====
|<pre>enemy_intel_network_gain_factor_over_occupied_tag = 0.3</pre>
{{SVersion|1.13}}
|Percentual (0.01 being 1%).
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
   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>.
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Targeted modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="extra_trade_to_target_factor"
|extra_trade_to_target_factor
|Adds extra produced recourses available for trade to target country.
|<pre>extra_trade_to_target_factor = 0.5</pre>
|Percentual.
|
|
|1.9
|1.5
|-
|-id="generate_wargoal_tension_against"
|local_building_slots
|generate_wargoal_tension_against
|Modifies amount of building slots.
|Changes world tension necessary for us to justify against the target country.
|<pre>local_building_slots = 2</pre>
|<pre>generate_wargoal_tension_against = 0.5</pre>
|Flat.
|Flat.
|
|
|1.9
|1.5
|-
|-id="cic_to_target_factor"
|local_building_slots_factor
|cic_to_target_factor
|Modifies amount of building slots by a percentage.
|Gives a portion of the country's civilian industry to the specified target.
|<pre>local_building_slots_factor = 0.3</pre>
|<pre>cic_to_target_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.5
|-
|-id="mic_to_target_factor"
|local_factories
|mic_to_target_factor
|Modifies amount of available factories in the state.
|Gives a portion of the country's military industry to the specified target.
|<pre>local_factories = 0.3</pre>
|<pre>mic_to_target_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.5
|-
|-id="trade_cost_for_target_factor"
|local_factory_sabotage
|trade_cost_for_target_factor
|Modifies chance for factory sabotage.
|The cost for the targeted country to purchase this country's resources.
|<pre>local_factory_sabotage = 0.3</pre>
|<pre>trade_cost_for_target_factor = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.5
|-
|-id="targeted_legitimacy_daily"
|local_intel_to_enemies
|targeted_legitimacy_daily
|Modifies amount of intel to enemies.
|Changes daily gain of legitimacy of the target country.
|<pre>local_intel_to_enemies = 0.3</pre>
|<pre>targeted_legitimacy_daily = 0.5</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.6
|-
|-id="attack_bonus_against"
|local_manpower
|attack_bonus_against
|Modifies amount of available manpower.
|Gives an attack bonus against the armies of the specified country.
|<pre>local_manpower = 0.3</pre>
|<pre>attack_bonus_against = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Due to a bug, this will not apply to units that are defending.
|1.5
|-id="attack_bonus_against_cores"
|attack_bonus_against_cores
|Gives an attack bonus against the armies of the specified country on its core territory.
|<pre>attack_bonus_against_cores = 0.5</pre>
|Percentual.
|
|
|1.9
|1.5
|-
|-id="breakthrough_bonus_against"
|local_non_core_manpower
|breakthrough_bonus_against
|Modifies amount of available non-core manpower.
|Gives a breakthrough bonus against the armies of the specified country.
|<pre>local_non_core_manpower = 0.3</pre>
|<pre>breakthrough_bonus_against = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.5
|-
|-id="defense_bonus_against"
|local_resources
|defense_bonus_against
|Modifies amount of available resources.
|Gives a defense bonus against the armies of the specified country.
|<pre>local_resources = 0.3</pre>
|<pre>defense_bonus_against = 0.5</pre>
|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|land combat section]]) unlisted here can go into state scope. A large portion of state-scoped modifiers can go into province scope.
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|State-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="army_speed_factor_for_controller"
|army_speed_factor_for_controller
|Changes the division speed for the controller of the state.
|<pre>army_speed_factor_for_controller = 0.5</pre>
|Percentual.
|
|1.0
|-id="attrition_for_controller"
|attrition_for_controller
|Changes the attrition for the controller of the state.
|<pre>attrition_for_controller = 0.5</pre>
|Percentual.
|
|1.0
|-id="equipment_capture_for_controller"
|equipment_capture_for_controller
|Changes the equipment capture ratio by the state's controller.
|<pre>equipment_capture_for_controller = 0.3</pre>
|Flat.
|Flat.
|
|
|1.9
|1.13
|-
|-id="equipment_capture_factor_for_controller"
|local_resources_factor
|equipment_capture_factor_for_controller
|Modifies amount of available resources by a percentage.
|Modifies the equipment capture ratio by the state's controller.
|<pre>local_resources_factor = 0.3</pre>
|<pre>equipment_capture_factor_for_controller = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.13
|-id="enemy_army_speed_factor"
|enemy_army_speed_factor
|Modifies the speed of divisions at war with the state's owner.
|<pre>enemy_army_speed_factor = 0.3</pre>
|Percentual.
|
|
|1.9
|1.13
|-
|-id="enemy_local_supplies"
|local_supplies
|enemy_local_supplies
|Modifies amount of available supplies.
|Modifies the supply of divisions at war with the state's owner.
|<pre>local_supplies = 0.3</pre>
|<pre>enemy_local_supplies = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.13
|-
|-id="enemy_attrition"
|local_supplies_for_controller
|enemy_attrition
|Modifies amount of available supplies for the controller.
|Modifies the attrition of divisions at war with the state's owner.
|<pre>local_supplies_for_controller = 0.3</pre>
|<pre>enemy_attrition = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.13
|-
|-id="enemy_truck_attrition_factor"
|mobilization_speed
|enemy_truck_attrition_factor
|Modifies the mobilisation speed.
|Modifies the truck attrition of divisions at war with the state's owner.
|<pre>mobilization_speed = 0.3</pre>
|<pre>enemy_truck_attrition_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.13
|-id="compliance_gain"
|compliance_gain
|Changes the compliance gain in the current state.
|<pre>compliance_gain = 0.01</pre>
|Flat.
|Can also go into country scope. Can also be used as a targeted modifier.
|1.9
|1.9
|-
|-id="compliance_growth"
|non_core_manpower
|compliance_growth
|Modifies the amount of recruited non-core manpower.
|Changes the compliance growth speed in the current state.
|<pre>non_core_manpower = 0.3</pre>
|<pre>compliance_growth = 0.5</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|Can also go into country scope.
|1.9
|1.9
|-
|-id="country_resource_<resource>"
|recruitable_population
|country_resource_<resource>
|Modifies the amount of recruited manpower.
|Directly modifies the country's resource stockpile.
|<pre>recruitable_population = 0.03</pre>
|<pre>country_resource_oil = 10</pre>
|Flat.
|Flat.
|Can also go into country scope.
|1.0
|-id="country_resource_cost_<resource>"
|country_resource_cost_<resource>
|Directly modifies the country's resource stockpile.
|<pre>country_resource_cost_aluminium = 10</pre>
|Flat.
|Can also go into country scope.
|1.0
|-id="disable_strategic_redeployment"
|disable_strategic_redeployment
|Disables strategic redeployment in the state.
|<pre>disable_strategic_redeployment = 1</pre>
|Boolean (only 1).
|
|
|1.9
|1.9
|-
|-id="disable_strategic_redeployment_for_controller"
|recruitable_population_factor
|disable_strategic_redeployment_for_controller
|Modifies the amount of recruited manpower by a percentage.
|Disables strategic redeployment in the state for the controller.
|<pre>recruitable_population_factor = 0.3</pre>
|<pre>disable_strategic_redeployment_for_controller = 1</pre>
|Percentual (0.01 being 1%).
|Boolean (only 1).
|
|1.9
|-
|resistance_damage_to_garrison
|Modifies the amount of resistance damage to the garrison.
|<pre>resistance_damage_to_garrison = 0.3</pre>
|Percentual (0.01 being 1%).
|
|
|1.9
|1.9
|-
|-id="enemy_intel_network_gain_factor_over_occupied_tag"
|resistance_decay
|enemy_intel_network_gain_factor_over_occupied_tag
|Modifies the speed of resistance decay.
|Modifies enemy intel network strength gain.
|<pre>resistance_decay = 0.3</pre>
|<pre>enemy_intel_network_gain_factor_over_occupied_tag = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="local_building_slots"
|resistance_garrison_penetration_chance
|local_building_slots
|Modifies the chance for the garrison to be penetrated.
|Modifies amount of building slots.
|<pre>resistance_garrison_penetration_chance = 0.3</pre>
|<pre>local_building_slots = 2</pre>
|Percentual (0.01 being 1%).
|Flat.
|
|
|1.9
|1.9
|-
|-id="local_building_slots_factor"
|resistance_growth
|local_building_slots_factor
|Modifies the speed of the resistance growth.
|Modifies amount of building slots by a percentage.
|<pre>resistance_growth = 0.3</pre>
|<pre>local_building_slots_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.9
|-id="local_factories"
|local_factories
|Modifies amount of available factories in the state.
|<pre>local_factories = 0.3</pre>
|Percentual.
|
|
|1.9
|1.9
|-
|-id="local_factory_sabotage"
|resistance_target
|local_factory_sabotage
|Modifies the target of the resistance growth.
|Modifies chance for factory sabotage.
|<pre>resistance_target = 0.3</pre>
|<pre>local_factory_sabotage = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="local_intel_to_enemies"
|starting_compliance
|local_intel_to_enemies
|Modifies the base compliance value.
|Modifies amount of intel to enemies.
|<pre>starting_compliance = 0.3</pre>
|<pre>local_intel_to_enemies = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.9
|1.9
|-
|-id="local_manpower"
|state_production_speed_<building>_factor
|local_manpower
|Modifies the building speed of the specified building in the state.
|Modifies amount of available manpower.
|<pre>state_production_speed_industrial_complex_factor = 0.3</pre>
|<pre>local_manpower = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Use state_production_speed_buildings_factor for it to apply to all buildings.
|1.0
|-
|state_repair_speed_<building>_factor
|Modifies the repair speed of the specified building in the state.
|<pre>state_repair_speed_industrial_complex_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Use state_repair_speed_buildings_factor for it to apply to all buildings.
|1.0
|-
|state_resource_<resource>
|Modifies the amount of the specified resource in the state.
|<pre>state_resource_oil = 5</pre>
|Flat.
|
|
|1.0
|1.4
|-
|-id="local_non_core_manpower"
|state_resource_cost_<resource>
|local_non_core_manpower
|Modifies the amount of the specified resource in the state.
|Modifies amount of available non-core manpower.
|<pre>state_resource_cost_rubber = 5</pre>
|<pre>local_non_core_manpower = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.3.3
|-id="local_org_regain"
|local_org_regain
|Modifies how much organisation is regained after combat.
|<pre>local_org_regain = -0.3</pre>
|Percentual.
|Can be used in provinces and strategic regions.
|1.0
|1.0
|-
|-id="local_resources"
|temporary_state_resource_<resource>
|local_resources
|Modifies the amount of the specified resource in the state as an added modifier after the base one.
|Modifies amount of available resources.
|<pre>temporary_state_resource_tungsten = 5</pre>
|<pre>local_resources = 0.3</pre>
|Flat.
|Flat.
|
|
|1.0
|1.9
|}
|-id="local_supplies"
 
|local_supplies
== Unit leader Scope单位领导 ==
|Modifies amount of available supplies.
 
|<pre>local_supplies = 0.3</pre>
Note that most modifiers in land and naval combat sections also apply.
|Percentual.
 
{| class="wikitable sortable" width="100%"
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version Added
|-
|cannot_use_abilities
|Disables using abilities.
|<pre>cannot_use_abilities = 1</pre>
|Boolean.
|
|
|1.5
|1.9
|-
|-id="local_supplies_for_controller"
|fortification_collateral_chance
|local_supplies_for_controller
|Chance for combat to damage enemy forts.
|Modifies amount of available supplies for the controller.
|<pre>fortification_collateral_chance = 0.4</pre>
|<pre>local_supplies_for_controller = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="local_supply_impact_factor"
|fortification_damage
|local_supply_impact_factor
|Damage enemy forts receive from combat.
|Modifies the impact that the state's local supplies have.
|<pre>fortification_damage = 0.4</pre>
|<pre>local_supply_impact_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.12
|-
|-id="local_non_core_supply_impact_factor"
|max_army_group_size
|local_non_core_supply_impact_factor
|The amount of units that can be led by the unit leader without penalty.
|Modifies the impact that the state's local supplies have if the state is not cored by the controller of provinces within.
|<pre>max_army_group_size = 24</pre>
|<pre>local_non_core_supply_impact_factor = 0.3</pre>
|Flat.
|Percentual.
|
|
|1.5
|1.12
|-
|-id="mobilization_speed"
|paradrop_organization_factor
|mobilization_speed
|The amount of organisation paratroopers will have after paradropping.
|Modifies the mobilisation speed.
|<pre>paradrop_organization_factor = 0.5</pre>
|<pre>mobilization_speed = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="non_core_manpower"
|paratrooper_aa_defense
|non_core_manpower
|The strength of anti-air against paratroopers.
|Modifies the amount of recruited non-core manpower.
|<pre>paratrooper_aa_defense = 0.5</pre>
|<pre>non_core_manpower = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="max_fuel_building"
|paratrooper_count_per_plane
|max_fuel_building
|The amount of paratroopers on each plan.
|Modifies the amount of fuel capacity, in thousands, given to the state controller from the building.
|<pre>paratrooper_count_per_plane = 0.5</pre>
|<pre>max_fuel_building = 1500</pre>
|Percentual (0.01 being 1%).
|Percentual.
|Does not have to be in a building.
|1.0
|-id="recruitable_population"
|recruitable_population
|Modifies the amount of recruited manpower.
|<pre>recruitable_population = 0.03</pre>
|Flat.
|
|
|1.5
|1.9
|-
|-id="recruitable_population_factor"
|promote_cost_factor
|recruitable_population_factor
|The cost to promote the unit leader.
|Modifies the amount of recruited manpower by a percentage.
|<pre>promote_cost_factor = 0.5</pre>
|<pre>recruitable_population_factor = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="resistance_damage_to_garrison"
|reassignment_duration_factor
|resistance_damage_to_garrison
|The length of the reassignment penalty.
|Modifies the amount of resistance damage to the garrison.
|<pre>reassignment_duration_factor = 0.5</pre>
|<pre>resistance_damage_to_garrison = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="resistance_decay"
|river_crossing_factor
|resistance_decay
|The effects of the river crossing penalty.
|Modifies the speed of resistance decay.
|<pre>river_crossing_factor = 0.5</pre>
|<pre>resistance_decay = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="resistance_garrison_penetration_chance"
|sickness_chance
|resistance_garrison_penetration_chance
|The chance for the unit leader to get sick.
|Modifies the chance for the garrison to be penetrated.
|<pre>sickness_chance = 0.5</pre>
|<pre>resistance_garrison_penetration_chance = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="resistance_growth"
|skill_bonus_factor
|resistance_growth
|The bonus the unit leader receives from their skillset.
|Modifies the speed of the resistance growth.
|<pre>skill_bonus_factor = 0.5</pre>
|<pre>resistance_growth = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|
|1.5
|1.9
|-
|-id="resistance_target"
|wounded_chance_factor
|resistance_target
|The chance for the unit leader to get wounded.
|Modifies the target of the resistance growth.
|<pre>wounded_chance_factor = 0.5</pre>
|<pre>resistance_target = 0.3</pre>
|Percentual (0.01 being 1%).
|Percentual.
|
|1.9
|-id="starting_compliance"
|starting_compliance
|Modifies the base compliance value.
|<pre>starting_compliance = 0.3</pre>
|Percentual.
|
|1.9
|-id="state_production_speed_<building>_factor"
|state_production_speed_<building>_factor
|Modifies the building speed of the specified building in the state.
|<pre>state_production_speed_industrial_complex_factor = 0.3</pre>
|Percentual.
|Use state_production_speed_buildings_factor for it to apply to all buildings. (added in 1.9)
|1.9.1
|-id="state_repair_speed_<building>_factor"
|state_repair_speed_<building>_factor
|Modifies the repair speed of the specified building in the state.
|<pre>state_repair_speed_industrial_complex_factor = 0.3</pre>
|Percentual.
|
|1.9.1
|-id="state_resource_<resource>"
|state_resource_<resource>
|Modifies the amount of the specified resource in the state.
|<pre>state_resource_oil = 5</pre>
|Flat.
|
|1.0
|-id="state_resources_factor"
|state_resources_factor
|Modifies the amount of resources in a state.
|<pre>state_resources_factor = 0.2</pre>
|Percentual.
|
|1.9
|-id="state_resource_cost_<resource>"
|state_resource_cost_<resource>
|Modifies the amount of the specified resource in the state.
|<pre>state_resource_cost_rubber = 5</pre>
|Flat.
|
|1.9
|-id="temporary_state_resource_<resource>"
|temporary_state_resource_<resource>
|Modifies the amount of the specified resource in the state as an added modifier after the base one.
|<pre>temporary_state_resource_tungsten = 5</pre>
|Flat.
|
|1.0
|-id="enemy_operative_detection_chance_over_occupied_tag"
|enemy_operative_detection_chance_over_occupied_tag
|Offsets the chance for an enemy operative to be detected for the tag that occupies this state.
|<pre>enemy_operative_detection_chance_over_occupied_tag = 5</pre>
|Flat.
|
|1.9
|-id="enemy_operative_detection_chance_factor_over_occupied_tag"
|enemy_operative_detection_chance_factor_over_occupied_tag
|Modifies the chance for an enemy operative to be detected for the tag that occupies this state.
|<pre>enemy_operative_detection_chance_factor_over_occupied_tag = 0.5</pre>
|Percentual.
|
|1.9
|}
 
=== Unit leader scope ===
 
Note that most modifiers in land and naval combat sections also apply.
 
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Unit leader-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="cannot_use_abilities"
|cannot_use_abilities
|Disables using abilities.
|<pre>cannot_use_abilities = 1</pre>
|Boolean (only 1).
|
|1.5
|-id="dont_lose_dig_in_on_attack"
|dont_lose_dig_in_on_attack
|Disables losing the entrechment bonus during attack.
|<pre>dont_lose_dig_in_on_attack = 1</pre>
|Boolean (only 1).
|
|
|1.5
|1.5
|-id="exiled_divisions_attack_factor"
|exiled_divisions_attack_factor
|Modifies the attack of divisions led by this unit leader if they're exiled.
|<pre>exiled_divisions_attack_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="exiled_divisions_defense_factor"
|exiled_divisions_defense_factor
|Modifies the defence of divisions led by this unit leader if they're exiled.
|<pre>exiled_divisions_defense_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="own_exiled_divisions_attack_factor"
|own_exiled_divisions_attack_factor
|Modifies the attack of divisions led by this unit leader if they're exiled and belong to the same country.
|<pre>own_exiled_divisions_attack_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="own_exiled_divisions_defense_factor"
|own_exiled_divisions_defense_factor
|Modifies the defence of divisions led by this unit leader if they're exiled and belong to the same country.
|<pre>own_exiled_divisions_defense_factor = 0.4</pre>
|Percentual.
|
|1.6
|-id="experience_gain_factor"
|experience_gain_factor
|Modifies the experience gained by the unit leader.
|<pre>experience_gain_factor = 0.1</pre>
|Percentual.
|
|1.5
|-id="fortification_collateral_chance"
|fortification_collateral_chance
|Chance for combat to damage enemy forts.
|<pre>fortification_collateral_chance = 0.4</pre>
|Percentual.
|
|1.5
|-id="fortification_damage"
|fortification_damage
|Damage enemy forts receive from combat.
|<pre>fortification_damage = 0.4</pre>
|Percentual.
|
|1.5
|-id="max_commander_army_size"
|max_commander_army_size
|Modifies amount of divisions that can be led by the army leader without penalty.
|<pre>max_commander_army_size = 12</pre>
|Flat.
|
|1.5
|-id="max_army_group_size"
|max_army_group_size
|Modifies amount of army groups that can be led by the field marshal without penalty.
|<pre>max_army_group_size = 1</pre>
|Flat.
|
|1.5
|-id="paradrop_organization_factor"
|paradrop_organization_factor
|The amount of organisation paratroopers will have after paradropping.
|<pre>paradrop_organization_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="paratrooper_aa_defense"
|paratrooper_aa_defense
|The strength of anti-air against paratroopers.
|<pre>paratrooper_aa_defense = 0.5</pre>
|Percentual.
|
|1.5
|-id="paratrooper_weight_factor"
|paratrooper_weight_factor
|Paratrooper transport space factor.
|<pre>paratrooper_weight_factor = 0.5</pre>
|Percentual.
|Can also be used in country scope.
|1.13
|-id="promote_cost_factor"
|promote_cost_factor
|The cost to promote the unit leader.
|<pre>promote_cost_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="reassignment_duration_factor"
|reassignment_duration_factor
|The length of the reassignment penalty.
|<pre>reassignment_duration_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="river_crossing_factor"
|river_crossing_factor
|The effects of the river crossing penalty.
|<pre>river_crossing_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="sickness_chance"
|sickness_chance
|The chance for the unit leader to get sick.
|<pre>sickness_chance = 0.5</pre>
|Percentual.
|
|1.5
|-id="skill_bonus_factor"
|skill_bonus_factor
|The bonus the unit leader receives from their skillset.
|<pre>skill_bonus_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="trait_xp_gain_factor"
|trait_<trait>_xp_gain_factor
|Modifies the experience gain towards the specified trait.
|<pre>trait_infantry_leader_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.11
|-id="terrain_trait_xp_gain_factor"
|terrain_trait_xp_gain_factor
|Modifies the experience gain towards all terrain traits (With the type of either basic_terrain_trait or assignable_terrain_trait).
|<pre>terrain_trait_xp_gain_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="wounded_chance_factor"
|wounded_chance_factor
|The chance for the unit leader to get wounded.
|<pre>wounded_chance_factor = 0.5</pre>
|Percentual.
|
|1.5
|-id="shore_bombardment_bonus"
|shore_bombardment_bonus
|Modifies the penalty given by the shore bombardment on divisions.
|<pre>shore_bombardment_bonus = 0.5</pre>
|Percentual.
|Can apply to both army and navy leaders.
|1.5
|}
=== Strategic region scope ===
This is limited to [[#static modifiers|static modifiers]] defined for weather.
{| class="wikitable sortable mw-collapsible" style="display: inline-block; padding: 5px" width="100%"
|+ style="text-align: center;" width = "100%" |{{nowrap|Strategic region-scoped modifiers:}}<br/>
! width="10%" | Name
! width="25%" | Effects
! width="25%" | Examples
! width="20%" | Modifier type
! width="15%" | Notes
! width="5%" | Version added
|-id="air_accidents"
|air_accidents
|Base chance for an air accident to happen.
|<pre>air_accidents = 0.3</pre>
|Flat.
|
|1.0
|-id="air_detection"
|air_detection
|Base chance for air detection.
|<pre>air_detection = -0.1</pre>
|Flat.
|
|1.0
|-id="naval_strike"
|naval_strike
|Base efficiency for naval strikes.
|<pre>naval_strike = -0.1</pre>
|Flat.
|
|1.0
|-id="navy_casualty_on_sink"
|navy_casualty_on_sink
|Modifies the casualties when ships are sunk in this region.
|<pre>navy_casualty_on_sink = -0.1</pre>
|Percentual.
|
|1.6
|-id="navy_casualty_on_hit"
|navy_casualty_on_hit
|Modifies the casualties when ships are damaged in this region.
|<pre>navy_casualty_on_hit = -0.1</pre>
|Percentual.
|
|1.6
|}
|}
 
== Notes and references ==
== Hidden Modifiers隐藏修正 ==
{{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|Timeless}}
<references/>
By putting the modifiers inside the hidden_modifier = {} block inside the modifier = {} block, they will not show up in the tooltip. This can be helpful if you don't want the player to know about the modifier or if it can be a bit confusing. 把你的修正放在hidden_modifier={}块里,它们就不会显示在明面上。如果你不想让玩家知道你的修正,或者你的修正可能有点令人困惑,你就该这么干。
 
== Custom Modifier Tooltip自定义修正工具提示 ==
{{Version|Timeless}}
By putting custom_modifier_tooltip = localisation_key in the modifier block, the game will show the string corresponding to the localisation block as a separate tooltip among the modifiers. 在你的修正中添加custom_modifier_tooltip=localization_key,游戏里就会显示与本地化块对应的字符串作为修正中的单独工具提示。
 
{{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%.