NDiplomacy
All 217 NDiplomacy constants from HOI4 v1.19 — datamined values with the developers' own comments.
| Key | Value | Comment |
|---|---|---|
DIPLOMACY_REQUEST_EXPIRY_DAYS |
30 |
|
BASE_SURRENDER_LEVEL |
1 |
Surrender when level reached. valid 0-1 |
MAX_TRUST_VALUE |
100 |
Max trust value cap. |
MIN_TRUST_VALUE |
-100 |
Min trust value cap. |
MAX_OPINION_VALUE |
100 |
Max opinion value cap. |
MIN_OPINION_VALUE |
-100 |
Min opinion value cap. |
BASE_TRUCE_PERIOD |
180 |
Base truce period in days. |
TRUCE_PERIOD_AFTER_KICKING_FROM_FACTION |
60 |
Truce period after kicking someone from faction in days. |
NUM_DAYS_TO_ENABLE_KICKING_NEW_MEMBERS_OF_FACTION |
90 |
Number of days before being able to kick a new member of faction |
NUM_DAYS_TO_ENABLE_REINVITE_KICKED_NATIONS |
90 |
Number of days before being able to re invite a kicked nation to your faction |
BASE_NEGATIVE_OPINION_AFTER_BEING_KICKED |
20 |
Negative opinion that will be received after kicking a nation |
DECAY_RATE_OF_NEGATIVE_OPINION_AFTER_BEING_KICKED |
1 |
Weekly decay rate of the negative opinion |
TRUCE_BREAK_COST_PP |
200 |
Base cost in PP of breaking a truce by joining a war or accepting a call to war ( you cannot declare war yourself until the truce if up ), this is then multiplied by the time left on the truce ( so once half the truce is up it only cost 50% of this ) |
BASE_PEACE_PUPPET_FACTOR |
100 |
Base factor for puppet in %. |
BASE_PEACE_LIBERATE_FACTOR |
100 |
Base factor for liberate in %. |
BASE_PEACE_TAKE_UNCONTROLLED_STATE_FACTOR |
10 |
Base factor for taking state you do not control |
BASE_PEACE_TAKE_FACTION_CONTROLLED_STATE_FACTOR |
0.5 |
Base factor for taking state you do not control, but someone in faction does |
BASE_PEACE_FORCE_GOVERNMENT_COST |
100 |
Base cost for forcing a country to change government. |
PEACE_COST_FACTOR_CONTESTED_MAXIn peace conference, cost is factored based on how many times the state has been contested and for how long it has been uncontested (for everyone else) |
15 |
To prevent overflows due to the exponential increase, cap the contested factor to this |
PEACE_COST_FACTOR_UNCONTESTED_MAX |
15 |
To prevent overflows due to the exponential increase, cap the uncontested factor to this |
PEACE_COST_FACTOR_CONTESTED_BID |
1.2 |
Cost factor for each contested bid on the state. |
PEACE_COST_FACTOR_UNCONTESTED_BID_MIN |
1.15 |
Minimum cost factor for each turn a bid has been uncontested on the state. |
PEACE_COST_FACTOR_UNCONTESTED_BID_MAX |
1.6 |
Maximum cost factor for each turn a bid has been uncontested on the state. |
PEACE_COST_FACTOR_UNCONTESTED_BID_STEP |
0.15 |
Uncontested cost factor will increase by this much each turn. |
PEACE_COST_FACTOR_CAPITAL_SHIP_IC |
0.005 |
In peace conference, cost for taking one capital ship per IC |
PEACE_COST_FACTOR_SCREENING_SHIP_IC |
0.005 |
In peace conference, cost for taking a part of the screening ships per IC |
PEACE_INCREASE_COST_FACTOR_PER_MISSING_PERCENT_FOR_CAPITULATION |
0.0012 |
increase factor if loser has not capitulated, for every percent between surrender level and BASE_SURRENDER_LEVEL |
PEACE_COST_FACTOR_COMPLIANCE_STEPSpeace action taker has a discount if they occupy the state depending on compliance it's a table where first value is the compliance level, and the second the factor |
{ 0, 1, 30, 0.9, 70, 0.8 } |
|
PEACE_COST_FACTOR_STACK_DEMILITARIZED_ZONEIn peace conference, adding a stackable to a peace action, increment the cost by a percentage |
0.25 |
|
PEACE_COST_FACTOR_STACK_WAR_REPARATION |
0.25 |
|
PEACE_COST_FACTOR_STACK_RESOURCE_RIGHTS |
0.25 |
|
PEACE_COST_FACTOR_STACK_DISMANTLE_INDUSTRY |
0.25 |
|
PEACE_TIMED_EFFECT_LENGTH_DEMILITARIZED_ZONEpeace conference can set timed effect, set length in days |
1825 |
5 years |
PEACE_TIMED_EFFECT_LENGTH_WAR_REPARATION |
1825 |
|
PEACE_TIMED_EFFECT_LENGTH_RESOURCE_RIGHTS |
1825 |
|
PEACE_TIMED_EFFECT_RATIO_CIVILIAN_FACTORY_WAR_REPARATION |
0.5 |
ratio of civilian factories taken via stackable war reparation |
INFLUENCE_NEUTRAL_DIST_CAPITALThe Influence cost modifier is basically the inverse of distance. Nearby states are cheaper, and far-away states are more expensive. We basically do a two-segment lerp: if distance is between [0, NEUTRAL_DIST], we lerp the cost modifier between [MIN_DIST_COST_MODIFIER, 1.0] if distance is between [NEUTRAL_DIST, MAX_DIST], we lerp the cost modifier between [1.0, MAX_DIST_COST_MODIFIER] The below values represent (pixel distance / INFLUENCE_DISTANCE_DIVISOR) |
30 |
distance to capital that results in a cost modifier of 1.0 |
INFLUENCE_MAX_DIST_CAPITAL |
45 |
distance to capital that results in a cost modifier of INFLUENCE_MAX_DIST_COST_MODIFIER |
INFLUENCE_NEUTRAL_DIST_CORE |
6 |
distance to nearest core state that results in a cost modifier of 1.0 |
INFLUENCE_MAX_DIST_CORE |
13 |
distance to nearest core state that results in a cost modifier of INFLUENCE_MAX_DIST_COST_MODIFIER |
INFLUENCE_NEUTRAL_DIST_CONTROLLED |
14 |
distance to nearest controlled state that results in a cost modifier of 1.0 |
INFLUENCE_MAX_DIST_CONTROLLED |
20 |
distance to nearest controlled state that results in a cost modifier of INFLUENCE_MAX_DIST_COST_MODIFIER |
INFLUENCE_MIN_DIST_COST_MODIFIER |
0.7 |
Cost modifier at min (zero) distance |
INFLUENCE_MAX_DIST_COST_MODIFIER |
1 |
Cost modifier at max distance |
INFLUENCE_RATIO_CAPITAL |
0.05 |
Ratio of influence based on distance to capital |
INFLUENCE_RATIO_CORE |
0.45 |
Ratio of influence based on distance to nearest core territory |
INFLUENCE_RATIO_CONTROLLED |
0.5 |
Ratio of influence based on distance to neared controlled territory (including uncontested peace conference bids) |
INFLUENCE_DISTANCE_DIVISOR |
22 |
Divide pixel distance with this when determining distance to capital / core / controlled states. Just an arbitrary way of scaling the distance numbers. |
INFLUENCE_PER_ADJACENCY |
0.05 |
How much influence to add per uncontested adjacent state in the PC (blob, don't snake) |
INFLUENCE_MAJOR_FACTOR |
1 |
How much influence discount an AI major will get (inverse) |
INFLUENCE_MINOR_FACTOR |
1 |
How much influence discount an AI minor will get (inverse) |
PEACE_TRIGGER_AI_MAX_INFLUENCE_VALUE |
0.99 |
Max influence value for pc_is_state_outside_influence_for_winner trigger |
BASE_IMPROVE_RELATION_COST |
10 |
Political power cost to initiate relation improvement |
BASE_IMPROVE_RELATION_SAME_IDEOLOGY_GROUP_MAINTAIN_COST |
0.2 |
Political power cost each update when boosting relations with nation of same ideology |
BASE_IMPROVE_RELATION_DIFFERENT_IDEOLOGY_GROUP_MAINTAIN_COST |
0.4 |
Political power cost each update when boosting relations with nation of different ideology |
BASE_SEND_ATTACHE_COST |
100 |
Political power cost to send attache |
BASE_SEND_ATTACHE_CP_COST |
50 |
Command Power sent attache usage cost |
BASE_GENERATE_WARGOAL_DAILY_PP |
0.2 |
Daily pp cost for generation of wargoals |
WARGOAL_VERSUS_MAJOR_AT_WAR_REDUCTION |
-0.75 |
reduction of pp cost for wargoal vs major at war. |
WARGOAL_WORLD_TENSION_REDUCTION |
-0.5 |
Reduction of pp cost for wargoal at 100% world tension, scales linearly |
WARGOAL_JUSTIFY_TENSION_FROM_PRODUCTION |
30 |
Base value scaled by production capacity of country compared to biggest country |
MIN_WARGOAL_JUSTIFY_COST |
2 |
It always takes atleast 10 days to justify a wargoal |
WARGOAL_PER_JUSTIFY_AND_WAR_COST_FACTOR |
1.5 |
Cost factor per nation at war with or justifying against |
WARGOAL_THREAT_MAX_TIME_RATIO |
1 |
Threat from justifying a wargoal slowly builds up, hitting 100% at this proportion of the way to completion |
BASE_BOOST_PARTY_POPULARITY_DAILY_PP |
0.25 |
Daily pp cost for boost party popularity |
BASE_BOOST_PARTY_POPULARITY_DAILY_DRIFT |
0.1 |
Daily amount of popularity that will be added by the activity. |
BASE_STAGE_COUP_DAILY_PP |
0.5 |
Daily pp cost for staging a coup |
BASE_STAGE_COUP_TOTAL_COST |
200 |
Equipment consume factor for stage coup. |
NAP_EXPIRY_MONTHS |
48 |
NAPs expire after this many months |
NAP_UNBREAKABLE_MONTHS |
12 |
NAPS cannot be broken for this many months |
NAP_FORCE_BALANCE_RULE_MONTHS |
6 |
The NAP border force balance rule changes with this interval |
NAP_BREAK_FORCE_BALANCE_1 |
2 |
2-1 brigades along the border required to break NAP |
NAP_BREAK_FORCE_BALANCE_2 |
1 |
1-1 brigades along the border required to break NAP |
NAP_BREAK_FORCE_BALANCE_3 |
0.5 |
1-2 brigades along the border required to break NAP |
VERY_GOOD_OPINION |
50 |
Threshold for a country that has a very good opinion of you. |
VERY_BAD_OPINION |
-50 |
Threshold for a country that has a very bad opinion of you. |
DIPLOMACY_HOURS_BETWEEN_REQUESTS |
24 |
How long a country must wait before sending a new diplomatic request. |
TROOP_FEAR |
1 |
Impact on troops on borders when deciding how willing a nation is to trade |
FLEET_FEAR |
1 |
Impact on troops on borders when deciding how willing a nation is to trade |
IC_TO_EQUIPMENT_COUP_RATIO |
0.1 |
Ratio for calculating cost of staging coup |
VOLUNTEERS_PER_TARGET_PROVINCE |
0.05 |
Each province owned by the target country contributes this amount of volunteers to the limit. |
VOLUNTEERS_PER_COUNTRY_ARMY |
0.05 |
Each army unit owned by the source country contributes this amount of volunteers to the limit. |
VOLUNTEERS_RETURN_EQUIPMENT |
0.95 |
Returning volunteers keep this much equipment |
VOLUNTEERS_TRANSFER_SPEED |
14 |
days to transfer a unit to another nation |
VOLUNTEERS_DIVISIONS_REQUIRED |
30 |
This many divisons are required for the country to be able to send volunteers. |
TENSION_STATE_VALUE |
0.1 |
Tension value gained by annexing one state (this value used to be divided by 20, this is no longer the case) |
TENSION_CIVIL_WAR_IMPACT |
0.2 |
civil war multiplier on tension. |
TENSION_NO_CB_WAR |
14 |
Amount of tension generated by a no-CB wargoal |
TENSION_CB_WAR |
10 |
Amount of tension generated by a war with a CB |
TENSION_ANNEX_NO_CLAIM |
0.2 |
Amount of tension generated by annexing a state you don't have claims on |
TENSION_ANNEX_CLAIM |
0.1 |
Amount of tension generated by annexing a state you DO have claims on |
TENSION_ANNEX_CORE |
-0.5 |
Amount of tension generated by annexing a state that is your core |
TENSION_PUPPET |
0 |
Amount of tension generated by puppeting (per state) |
TENSION_FORCE_GOVERNMENT |
-0.5 |
Amount of tension generated by forcing government (per state) |
TENSION_VOLUNTEER_FORCE_DIVISION |
0.2 |
Amount of tension generated for each sent division |
TENSION_DECAY_DAILY |
0.005 |
Each day tension decays this much for Threat sources which are no longer relevant. Replaces TENSION_DECAY as of 1.12.0 |
TENSION_SIZE_FACTOR |
1 |
All action tension values are multiplied by this value |
TENSION_TIME_SCALE_START_DATE |
"1936.1.1.12" |
Starting at this date, the tension values will be scaled down (will be equal to 1 before that) |
TENSION_TIME_SCALE_MONTHLY_FACTOR |
-0.005 |
Timed tension scale will be modified by this amount starting with TENSION_TIME_SCALE_START_DATE |
TENSION_TIME_SCALE_MIN |
0.25 |
Timed tension scale won't decrease under this value |
TENSION_GUARANTEE |
-5 |
|
TENSION_FACTION_JOIN |
4 |
|
TENSION_JOIN_ATTACKER |
2 |
scale of the amount of tension added when country joins attacker side |
TENSION_PEACE_FACTOR |
0.8 |
scale of the amount of tension (from war declaration) reduced when peace is completed. Scaled by current world threat * TENSION_PEACE_FACTOR_THREAT_FACTOR |
TENSION_PEACE_FACTOR_THREAT_FACTOR |
0.6 |
see above |
TENSION_LIBERATE |
-1 |
Amount of tension generated by liberating a country. |
TENSION_TAKE_ONE_CAPITAL_SHIP |
0 |
Amount of tension generated by 1 take navy peace action |
TENSION_DEMILITARIZE_ZONE |
-0.5 |
Amount of tension generated by stacking demilitarize zone on 1 state, multiplied with the state base threat |
TENSION_WAR_REPARATION |
0 |
Amount of tension generated by stacking war reparation on 1 state, multiplied with the state base threat |
TENSION_RESOURCE_RIGHTS |
0 |
Amount of tension generated by stacking resource rights on 1 state, multiplied with the state base threat |
TENSION_DISMANTLE_INDUSTRY |
0 |
Amount of tension generated by stacking dismantle military industry on 1 state, multiplied with the state base threat |
TENSION_CAPITULATE |
0 |
Scale of the amount of tension created by a countries capitulation. |
GUARANTEE_COST |
15 |
Scale with the number of already guaranteed countries. |
REVOKE_GUARANTEE_COST |
15 |
|
BASE_CONDITIONAL_PEACE_WARESCORE_RATIO |
0.5 |
Warscore ratio needed for the losing side to able to surrender. |
BASE_CONDITIONAL_PEACE_MONTHS |
3 |
War length must be before a surrender is possible. |
JOINING_NAP_WAR_PENALTY |
0.2 |
War support penalty for breaking non-breakable NAP |
BREAKING_GUARANTEE_PENALTY |
0.2 |
War support penalty for breaking guarantee |
PEACE_SCORE_TRANSFERRED_TO_FACTION_LEADERWARNING ! if you modify the following values, you should update corresponding loc keys in games_rules_l_english.yml |
0.1 |
Part of the peace score transferred from the faction members to the faction leader (if game rule enabled) |
PEACE_SCORE_RESET_LOW_SCORE_THRESHOLD |
0.05 |
Winners with less than this ratio of war participation will give all their score to other players |
PEACE_SCORE_RESET_LOW_SCORE_MINIMUM_FOR_RECEIVER |
0.1 |
Disable the previous, if no winner has at least this ratio of war participation |
PEACE_SCORE_TRANSFERRED_FROM_FACTION_INFLUENCE |
0.1 |
How much % of your war score will be given to the top PEACE_SCORE_TOP_FACTION_INFLUENCE_AMOUNT of your faction |
PEACE_SCORE_TOP_FACTION_INFLUENCE_AMOUNT |
2 |
The amount of highest grossing influence members from your factions that get additional war score |
PEACE_SCORE_SCALE_FACTOR |
1.35 |
Losers' total value times this factor becomes the default total peace conference score that is distributed to the winners. |
PEACE_SCORE_MINOR_BOOST_FRACTION |
0.05 |
Low-scoring winners are boosted by receiving more of their score earlier. This value, multiplied by the total score distributed this turn, is the minimum score they will receive (up until their total allocated score). |
PEACE_SCORE_DISTRIBUTION |
{ 0.2, 0.2, 0.2, 0.2, 0.2 } |
How much of the total peace conference score you get during the first n turns. |
PEACE_CONTEST_REFUND_FACTOR |
{ 1, 0.92, 0.84, 0.76 } |
How much of the spent peace conference score that gets refunded in a contest. First element applies for the first round of conflicts, second element for the second round of conflicts, etc. The final element is used for each consecutive turn, so setting that to e.g. 0.7 means you get 70 % of the spent score back for every turn thereafter. |
PEACE_PLAY_SOUND_ON_NEW_TURN |
true |
Whether the 'peace_conference_new_turn' audio hook is called or not |
PEACE_PLAY_NEW_TURN_SOUND_ONLY_IF_NOT_ALREADY_PLAYING |
true |
Whether the 'peace_conference_new_turn' audio hook should play only if not already playing (relevant if players spam-click the pass/submit button) |
MAX_REMEMBERED_LEASED_IC |
1000 |
Maximum of leased equipment value that is remembered for opinion bonus |
MAX_OPINION_FOR_LEASED_IC |
30 |
Positive opinion when remembering the MAX_REMEMBERED_LEASED_IC equipment |
MONTHLY_LEASED_IC_DECAY |
35 |
How much of leased equipment is being "forgot" each month |
OPINION_PER_VOLUNTEER |
3 |
Opinion bonus per one sent volunteer division |
MAX_OPINION_FROM_VOLUNTEERS |
30 |
Opinion bonus per one sent volunteer division |
OPINION_FOR_DEMO_FROM_WT_GENERATION |
-2 |
How much less do democracies like us if we generate world tension |
NOT_READY_FOR_WAR_BASE |
-50 |
AI should be unwilling to enter accept a call to war if not ready for war against the relevant enemies. |
FRONT_IS_DANGEROUS |
-100 |
AI should be unwilling to enter accept a call to war if front is too dangerous. |
NOT_READY_FOR_WAR_VAL_PER_DAY_SINCE_CALL |
1 |
Value modifying the not ready base over time. |
PEACE_ACTION_MAX_COST |
9999 |
Max value for a peace action cost (after all modifiers) |
RESOURCE_SENT_AUTONOMY_DAILY_BASE |
0 |
If puppet provides resources to its master they increasy their autonomy by at least this amount |
RESOURCE_SENT_AUTONOMY_DAILY_FACTOR |
0.005 |
If puppet provides resources to its master they increasy their autonomy by the resources factored by this |
WAR_SCORE_AUTONOMY_BASE |
0 |
Value added if any war score is contributed by puppet |
WAR_SCORE_AUTONOMY_FACTOR |
0.6 |
If puppet generates war score it get a boost to independence |
LL_TO_OVERLORD_AUTONOMY_DAILY_BASE |
0 |
If puppet lend leases equipment to overlord of at least same tech level as they have, they gain autonomy |
LL_TO_OVERLORD_AUTONOMY_DAILY_FACTOR |
0.05 |
If puppet lend leases equipment to overlord of at least same tech level as they have, they gain autonomy |
LL_TO_PUPPET_AUTONOMY_DAILY_BASE |
0 |
If overlord lend leases equipment to puppet of higher tech level as they have, puppet losses autonomy |
LL_TO_PUPPET_AUTONOMY_DAILY_FACTOR |
-0.01 |
If overlord lend leases equipment to puppet of higher tech level as they have, puppet losses autonomy |
AUTONOMY_FREEDOM_FROM_CAPITULATE |
0.5 |
if overlord capitulate you get this |
ATTACHE_TO_SUBJECT_EFFECT |
-0.05 |
If overlord sent attaches to the subject it losses autonomy |
ATTACHE_TO_OVERLORD_EFFECT |
0.05 |
If subject sent attaches to the overlord it gains autonomy |
AUTONOMY_LEVEL_CHANGE_SANCTUARY |
30 |
The number of days post autonomy level has changed where neither side can increase nor decrease the autonomy level. |
AUTONOMY_LEVEL_CHANGE_PP_COST_BASE |
50 |
Base cost of changing level of autonomy |
AUTONOMY_LEVEL_CHANGE_PP_ANNEX |
300 |
Annexation cost |
AUTONOMY_LEVEL_CHANGE_PP_FREE |
300 |
Break free cost |
MAX_SCORE_DIFF_TO_CHANGE_AUTONOMY |
10 |
The max diff between current freedom score and the cap for next or previous level allowed for changing |
MASTER_BUILD_AUTONOMY_FACTOR |
-0.7 |
scales autonomy gain from construction by this |
VICTORY_POINT_WORTH_FACTOR |
10 |
multiplier when calcualting province worth (surrender) |
VICTORY_POINT_WORTH_FACTOR_WARSCORE |
0.2 |
multiplier for each victory points when calculating province worth for warscore |
PROVINCE_WORTH_FROM_STATE_VALUE_FACTOR_WARSCORE |
0.2 |
multiplier for the average value a province received from state for warscore |
CAPITAL_CAPITULATE_BONUS_SCORE |
150 |
extra bonus when deciding who to capitulate to (applied to capital holder) |
CAPITAL_CAPITULATE_BONUS_SCORE_MUL |
1.5 |
extra bonus multiplier when deciding who to capitulate to (applied to capital holder) |
IDEOLOGY_JOIN_FACTION_MIN_LEVEL |
0.3 |
ideology limit required to join faction |
JOIN_FACTION_LIMIT_CHANGE_AT_WAR |
0.5 |
if in defensive war this or your modifier is counted as limit to join factions (so if you have 80% join limit this now means you can join at 50%) |
LICENSE_ACCEPTANCE_OPINION_FACTOR |
0.4 |
Opinion modifier for acceptance of license production requests. |
LICENSE_ACCEPTANCE_PUPPET_BASE |
15 |
Acceptance modifier for puppets requesting production licenses. |
LICENSE_ACCEPTANCE_TECH_DIFFERENCE |
2 |
Acceptance modifier for each year of technology difference. |
LICENSE_ACCEPTANCE_TECH_DIFFERENCE_BASE |
10 |
Acceptance base for tech difference |
LICENSE_ACCEPTANCE_SAME_FACTION |
20 |
Acceptance modifier for being in the same faction |
WARGOAL_COST_LEND_LEASE |
-0.25 |
cost modifier to wargoaljustification for LL |
WARGOAL_COST_DOCKING_RIGHTS |
-0.2 |
cost modifier to wargoaljustification for dockign rights |
WARGOAL_COST_VOLUNTEERS |
-0.5 |
cost modifier to wargoaljustification for volunteers |
ASSUME_FACTION_LEADERSHIP_PP_COST |
200 |
Political power cost to assume faction leadership |
ASSUME_FACTION_LEADERSHIP_MIN_MANPOWER_RATIO |
2 |
The minimum ratio of manpower that a country must have compared to the current leader in order to assume leadership. |
ASSUME_FACTION_LEADERSHIP_MIN_FACTORY_RATIO |
1.5 |
The minimum ratio of factories that a country must have compared to the current leader in order to assume leadership. |
ASSUME_FACTION_LEADERSHIP_COOLDOWN_DAYS |
180 |
Number of days after formation of faction or change in leadership before another country is allowed to assume leadership. |
ASSUME_FACTION_SPYMASTER_COOLDOWN_DAYS |
180 |
Number of days after change of Spy Master before another country is allowed to become Spy Master. |
FACTION_LEADERSHIP_CHANGE_ALERT_THRESHOLD |
0.8 |
Threshold for showing an alert when a faction member is close to being able to assume leadership of the faction that a player currently leads. |
FACTION_LEADERSHIP_CHANGE_NOT_SUBJECT_WEIGHT |
2 |
Importance of subject status when determining how close a faction member is to being able to assume leadership. |
FACTION_LEADERSHIP_CHANGE_NOT_CAPITULATED_WEIGHT |
2 |
Importance of capitulation status when determining how close a faction member is to being able to assume leadership. |
FACTION_LEADERSHIP_CHANGE_IN_ALL_WARS_WEIGHT |
1 |
Importance not being in all faction leader wars when determining how close a faction member is to being able to assume leadership. |
FACTION_LEADERSHIP_CHANGE_COOLDOWN_WEIGHT |
1 |
Importance of leadership change cooldown when determining how close a faction member is to being able to assume leadership. |
FACTION_LEADERSHIP_CHANGE_MANPOWER_WEIGHT |
2 |
Importance of manpower in field when determining how close a faction member is to being able to assume leadership. |
FACTION_LEADERSHIP_CHANGE_FACTORY_WEIGHT |
2 |
Importance of factory count when determining how close a faction member is to being able to assume leadership. |
FACTION_POWER_RESOURCE_WEIGHT |
0.05 |
The weight of the country resources on the faction's power projection |
FACTION_POWER_INDUSTRY_WEIGHT |
0.1 |
The weight of the industry on the faction's power projection |
FACTION_POWER_ARMY_WEIGHT |
0.25 |
The weight of the army on the faction's power projection |
FACTION_POWER_AIR_BOMBER_WEIGHT |
0.25 |
The weight of the bombers on the faction's power projection |
FACTION_POWER_AIR_WEIGHT |
0.02 |
The weight of the air equipment except bombers on the faction's power projection |
FACTION_POWER_NAVAL_CAPITAL_SHIP_WEIGHT |
5 |
The weight of the capital ships on the faction's power projection |
FACTION_POWER_NAVAL_WEIGHT |
0.25 |
The weight of the naval equipment except capital ships on the faction's power projection |
FACTION_POWER_EFFECTS_WEIGHT |
1 |
The weight of the faction's goal status on the faction's power projection |
EMBARGO_COST |
100 |
One-time cost |
REVOKE_EMBARGO_COST |
0 |
Cost to remove an existing embargo |
EMBARGO_THREAT_THRESHOLD |
30 |
Target-generated threat threshold to allow embargo (affected by modifiers) |
EMBARGO_SAME_IDEOLOGY_AI_WEIGHT |
-20 |
AI weight for same ideology |
EMBARGO_DIFFERENT_IDEOLOGY_AI_WEIGHT |
15 |
AI weight for different ideology |
EMBARGO_DIFFERENT_IDEOLOGY_AT_OFFENSIVE_WAR_AI_WEIGHT |
10 |
AI weight for different ideology and in offensive war (additive with above) |
EMBARGO_RECIPIENT_IS_MAJOR_AI_WEIGHT |
10 |
Ai weight for recipient being major |
EMBARGO_NEIGHBOUR_AI_WEIGHT |
-10 |
AI weight for embargoing neighbors (neighbors are big and scary, we should consider not doing it) |
NAVAL_BLOCKADE_BASE_COST |
50 |
Base PP cost for issuing a naval blockade |
NAVAL_BLOCKADE_DAILY_COST |
0.1 |
Daily PP cost for one naval blockade |
NAVAL_BLOCKADE_THREAT_THRESHOLD |
15 |
Target-generated threat threshold to allow naval blockade |
EQUIPMENT_PURCHASE_ACCEPTANCE_OPINION |
1.1 |
Acceptance factor for opinion |
EQUIPMENT_PURCHASE_ACCEPTANCE_SAME_IDEOLOGY |
15 |
Acceptance value added if same ideology |
EQUIPMENT_PURCHASE_ACCEPTANCE_SCRIPTED_IDEOLOGY_ACCEPTANCE |
1 |
Acceptance factor for scripted ideology acceptance modifier |
EQUIPMENT_PURCHASE_ACCEPTANCE_TRADE_INFLUENCE |
0.7 |
Acceptance factor for trade influence (adjusted from base value) |
EQUIPMENT_PURCHASE_ACCEPTANCE_COMPETING_FACTIONS |
-30 |
Acceptance value added if both countries are in factions, and factions are different |
EQUIPMENT_PURCHASE_ACCEPTANCE_EMBARGO |
-200 |
Acceptance value added if either side has embargoed the other |
EQUIPMENT_PURCHASE_ACCEPTANCE_NON_AGGRESSION_PACT |
25 |
Acceptance value added if there is a non-aggression pact between the countries |
MARKET_ACCESS_ACCEPTANCE_OPINION |
1.1 |
Acceptance factor for opinion |
MARKET_ACCESS_ACCEPTANCE_SAME_IDEOLOGY |
15 |
Acceptance value added if same ideology |
MARKET_ACCESS_ACCEPTANCE_SCRIPTED_IDEOLOGY_ACCEPTANCE |
1 |
Acceptance factor for scripted ideology acceptance modifier |
MARKET_ACCESS_ACCEPTANCE_TRADE_INFLUENCE |
0.7 |
Acceptance factor for trade influence (adjusted from base value) |
MARKET_ACCESS_ACCEPTANCE_COMPETING_FACTIONS |
-30 |
Acceptance value added if both countries are in factions, and factions are different |
MARKET_ACCESS_ACCEPTANCE_EMBARGO |
-200 |
Acceptance value added if either side has embargoed the other |
MARKET_ACCESS_ACCEPTANCE_NO_TRADE_ROUTE |
-100 |
Acceptance value added if there is no valid trade route between the countries |
MARKET_ACCESS_ACCEPTANCE_NON_AGGRESSION_PACT |
25 |
Acceptance value added if there is a non-aggression pact between the countries |