Dynamic Variables

Dynamic variables are read only variables that can be used in effects & triggers that accept variables.
When they are used, the game will compute and return the value of the dynamic variable.

Table of Content

Dynamic variables for scope global

year

operations

majors

num_days

date

threat

countries

ideology_groups

difficulty

Dynamic variables for scope country

political_power

resource_consumed

manpower

air_intel

overlord

num_of_nukes

command_power

enemies_of_allies

owned_controlled_states

manpower_k

num_battalions

max_manpower

faction_members

fuel_k

max_fuel_k

num_owned_controlled_states

agency_upgrade_number

max_available_manpower

ai_strategy_dont_defend_ally_borders

max_available_manpower_k

opinion

owned_states

max_manpower_k

any_war_score

num_armies

ai_strategy_ignore_claim

party_popularity

num_ships

enemies_naval_strength_ratio

num_deployed_planes

command_power_daily

num_deployed_planes_with_type

legitimacy

num_armies_in_state

num_ships_with_type

num_armies_with_type

army_intel

num_battalions_with_type

civilian_intel

stability

modifier

highest_party_ideology

highest_party_popularity

neighbors_owned

current_party_ideology_group

alliance_naval_strength_ratio

resource

num_controlled_states

controlled_states

potential_and_current_enemies

capital

encryption_strength

num_owned_states

resource_produced

core_resistance

num_core_states

ai_attitude_wants_antagonize

core_states

enemies

subjects

neighbors

host

exiles

days_mission_timeout

allies

faction_leader

ai_attitude_protective_weight

resource_exported

num_equipment_in_armies

resource_imported

num_target_equipment_in_armies

num_equipment

num_of_operatives

num_equipment_in_armies_k

num_target_equipment_in_armies_k

autonomy_ratio

ai_attitude_wants_weaken

ai_attitude_wants_ally

ai_attitude_wants_protect

ai_attitude_wants_ignore

ai_attitude_is_threatened

core_compliance

occupied_countries

original_tag

decryption_speed

cryptology_defense_level

army_leaders

operatives

num_of_military_factories

num_of_civilian_factories

num_of_naval_factories

foreign_manpower

has_manpower

num_subjects

has_political_power

num_of_available_military_factories

num_of_available_naval_factories

num_of_available_civilian_factories

surrender_progress

political_power_daily

land_doctrine_level

casualties

num_of_factories

num_of_controlled_states

has_added_tension_amount

ai_irrationality

ai_strategy_antagonize

num_divisions

original_research_slots

ai_wants_divisions

alliance_strength_ratio

num_faction_members

enemies_strength_ratio

compare_autonomy_progress_ratio

num_tech_sharing_groups

ai_strategy_invade

num_occupied_states

amount_research_slots

manpower_per_military_factory

has_stability

has_war_support

num_of_civilian_factories_available_for_projects

political_power_growth

amount_manpower_in_deployment_queue

has_legitimacy

casualties_k

fuel_ratio

days_since_capitulated

mine_threat

convoy_threat

decryption_progress

garrison_manpower_need

num_operative_slots

num_free_operative_slots

num_fake_intel_divisions

has_collaboration

conscription_ratio

target_conscription_amount

current_conscription_amount

network_national_coverage

ai_strategy_conquer

ai_strategy_befriend

ai_strategy_consider_weak

ai_strategy_protect

ai_strategy_alliance

ai_strategy_contain

ai_strategy_support

ai_strategy_force_defend_ally_borders

ai_strategy_influence

ai_strategy_ignore

ai_strategy_send_volunteers_desire

ai_strategy_occupation_policy

ai_strategy_declare_war

ai_strategy_prepare_for_war

ai_strategy_decrypt_target

ai_strategy_activate_crypto

ai_attitude_neutral_weight

ai_attitude_hostile_weight

ai_attitude_friendly_weight

ai_attitude_outraged_weight

ai_attitude_threatened_weight

ai_attitude_allied_weight

Dynamic variables for scope state

arms_factory_level

damaged_building_level

modifier

industrial_complex_level

core_countries

infrastructure_level

days_since_last_strategic_bombing

distance_to

non_damaged_building_level

building_level

resource

owner

controller

resistance

state_population

state_strategic_value

state_and_terrain_strategic_value

state_population_k

compliance

compliance_speed

resistance_speed

resistance_target

Dynamic variables for scope unit_leader

num_units

num_units_with_type

has_orders_group

num_units_in_state

num_rocket

num_equipment

num_max_traits

num_cavalry

avg_units_acclimation

num_artillery

num_target_equipment

logistics_level

num_infantry

num_units_defensive_combats_on

num_ships_with_type

own_capture_chance_factor

num_ships

num_armored

num_battalions

num_special

num_mechanized

attack_level

num_personality_traits

num_motorized

maneuvering_level

num_battalions_with_type

own_harmed_time_factor

num_battle_plans

avg_defensive_combat_status

num_traits

num_status_traits

defense_skill_level

num_assigned_traits

leader_modifier

num_terrain_traits

avg_unit_planning_ratio

num_basic_traits

skill_level

army_attack_level

attack_skill_level

army_defense_level

defense_level

planning_level

avg_combat_status

coordination_level

operation_state

average_stats

avg_offensive_combat_status

operation_type

sum_unit_terrain_modifier

unit_modifier

num_units_in_combat

operation_country

num_units_defensive_combats

num_units_on_climate

num_units_offensive_combats

planning_skill_level

unit_ratio_ready_for_plan

num_units_crossing_river

num_units_offensive_combats_against

own_forced_into_hiding_time_factor

skill

intel_yield_factor_on_capture

operative_captor

logistics_skill_level