NKO_korean_conflict_stage_one = { allowed = { original_tag = NKO } enable = { country_exists = KOR threat < 0.3 NOT = { NKO_is_pursuing_peaceful_reunification = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "KOR" value = 25 } ai_strategy = { type = antagonize id = "KOR" value = 200 } ai_strategy = { type = contain id = "KOR" value = 200 } } NKO_korean_conflict_stage_two = { allowed = { original_tag = NKO } enable = { country_exists = KOR threat > 0.3 NOT = { NKO_is_pursuing_peaceful_reunification = yes } NOT = { surrender_progress > 0.15 } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "KOR" value = 200 } ai_strategy = { type = antagonize id = "KOR" value = 200 } ai_strategy = { type = contain id = "KOR" value = 200 } } NKO_befriend_china = { allowed = { original_tag = NKO } enable = { country_exists = CHI has_government = communism CHI = { has_government = communism } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CHI" value = 25 } } NKO_befriend_BOT = { allowed = { original_tag = NKO } enable = { country_exists = BOT BOT = { has_completed_focus = BOT_deepen_cooperation_with_nko } NOT = { OR = { has_war_with = BOT BOT = { is_in_faction_with = USA } } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "BOT" value = 50 } } NKO_dislike_BOT = { allowed = { original_tag = NKO } enable = { country_exists = BOT BOT = { has_completed_focus = BOT_condemn_north_korea } NOT = { is_in_faction_with = BOT } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "BOT" value = -50 } ai_strategy = { type = antagonize id = "BOT" value = 25 } ai_strategy = { type = contain id = "BOT" value = 25 } } NKO_influence_SOV = { allowed = { original_tag = NKO } enable = { country_exists = SOV has_idea = NKO_korean_russian_friendship } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SOV" value = 500 } ai_strategy = { type = support id = "SOV" value = 500 } ai_strategy = { type = protect id = "SOV" value = 500 } ai_strategy = { type = send_volunteers_desire id = "SOV" value = 1000 } } ##North Korea unique AI for combat units NKO_default_naval_breakdown = { allowed = { original_tag = NKO } enable = { NOT = { has_country_flag = korea_peninsula_reunited } } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 18 } ai_strategy = { type = role_ratio id = naval_frigate value = 10 } ai_strategy = { type = role_ratio id = naval_destroyer value = 1 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 60 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 10 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 1 } ai_strategy = { type = role_ratio id = naval_mine_sweeper value = 8 } } NKO_post_unification_naval_breakdown = { allowed = { original_tag = NKO } enable = { has_country_flag = korea_peninsula_reunited } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 18 } ai_strategy = { type = role_ratio id = naval_frigate value = 15 } ai_strategy = { type = role_ratio id = naval_destroyer value = 25 } ai_strategy = { type = role_ratio id = naval_stealth_destroyer value = 4 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 20 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 4 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 16 } ai_strategy = { type = role_ratio id = naval_cruiser value = 2 } ai_strategy = { type = role_ratio id = naval_carrier value = 1 } ai_strategy = { type = role_ratio id = naval_mine_sweeper value = 5 } } NKO_no_invade_south_if_merica = { allowed = { original_tag = NKO } enable = { country_exists = USA has_wargoal_against = KOR KOR = { is_guaranteed_by = USA } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = KOR value = -150 } } NKO_reinforce_korean_border = { allowed = { original_tag = NKO } enable = { country_exists = KOR NOT = { NKO_is_pursuing_peaceful_reunification = yes } } abort_when_not_enabled = yes ai_strategy = { type = front_unit_request tag = KOR value = 25 } } # Wartime execution — when war actually starts, commit fully NKO_commit_to_reunification_war = { allowed = { original_tag = NKO } enable = { has_war_with = KOR NOT = { surrender_progress > 0.25 } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = KOR value = 400 } ai_strategy = { type = invade id = KOR value = 350 } ai_strategy = { type = front_unit_request tag = KOR value = 150 } ai_strategy = { type = force_build_armies value = 100 } ai_strategy = { type = unit_ratio id = fighter value = 6 } ai_strategy = { type = unit_ratio id = cas value = 6 } } # Pre-war air staging — build air when wargoal exists (prepare_for_war handled by MD_war_declaration_ai.txt) NKO_prewar_reunification_staging = { allowed = { original_tag = NKO } enable = { has_wargoal_against = KOR NOT = { has_war_with = KOR } NOT = { NKO_is_pursuing_peaceful_reunification = yes } } abort_when_not_enabled = yes ai_strategy = { type = unit_ratio id = fighter value = 8 } ai_strategy = { type = unit_ratio id = cas value = 6 } } # Do not launch a reunification war while North Korea is materially outmatched NKO_avoid_losing_war_KOR = { allowed = { original_tag = NKO } enable = { country_exists = KOR has_wargoal_against = KOR NOT = { has_war_with = KOR } strength_ratio = { tag = KOR ratio < 1 } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = "KOR" value = -4000 } }