CAN_befriend_other_north_americans = { allowed = { original_tag = CAN } enable = { OR = { country_exists = USA country_exists = MEX } NOT = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH } NOT = { has_global_flag = CAN_ARMED_NEUTRALITY_FOCUS_PATH } NOT = { has_global_flag = CAN_EASTERN_REALIGNMENT_FOCUS_PATH } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "USA" value = 100 } ai_strategy = { type = influence id = "USA" value = 100 } ai_strategy = { type = support id = "USA" value = 100 } ai_strategy = { type = send_volunteers_desire id = "USA" value = 25 } ai_strategy = { type = befriend id = "MEX" value = 100 } ai_strategy = { type = influence id = "MEX" value = 100 } ai_strategy = { type = support id = "MEX" value = 100 } ai_strategy = { type = send_volunteers_desire id = "MEX" value = 25 } } CAN_prepare_for_war_against_america = { allowed = { original_tag = CAN } enable = { OR = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH USA = { has_government = nationalist } USA = { has_government = communism } } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "USA" value = 200 } ai_strategy = { type = force_build_armies value = 100 } } CAN_prep_against_america = { allowed = { original_tag = CAN } enable = { OR = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH USA = { has_government = nationalist } USA = { has_government = communism } } } abort_when_not_enabled = yes ai_strategy = { type = front_unit_request tag = USA value = 150 } } CAN_bother_americans = { allowed = { original_tag = CAN } enable = { OR = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH USA = { has_government = nationalist } USA = { has_government = communism } } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "USA" value = 50 } ai_strategy = { type = contain id = "USA" value = 50 } } Canada_reduce_usa_border_garrison = { allowed = { original_tag = CAN } enable = { OR = { USA = { has_government = democratic } USA = { has_idea = NATO_member } } } abort_when_not_enabled = yes ai_strategy = { type = front_unit_request tag = USA value = -200 } } ##Canada unique AI for combat units CAN_default_naval_breakdown = { allowed = { original_tag = CAN } enable = { always = yes } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 15 } ai_strategy = { type = role_ratio id = naval_frigate value = 30 } ai_strategy = { type = role_ratio id = naval_destroyer value = 10 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 30 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 4 } ai_strategy = { type = role_ratio id = naval_carrier value = 2 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 2 } ai_strategy = { type = role_ratio id = naval_stealth_destroyer value = 2 } } #CIVIL WAR IN AMERICA CAN_free_states_help = { allowed = { original_tag = CAN } enable = { country_exists = USB CAN = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "USB" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "USB" value = 400 } } CAN_new_england_help = { allowed = { original_tag = CAN } enable = { country_exists = NEN CAN = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "NEN" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "NEN" value = 400 } } CAN_construct_additional_microchips = { allowed = { original_tag = CAN } enable = { check_variable = { resource@microchips < 0 } check_variable = { microchip_plant_total < 50 } num_of_available_civilian_factories > 14 } abort_when_not_enabled = yes ai_strategy = { type = build_building id = microchip_plant value = 15 } ai_strategy = { type = building_target id = microchip_plant value = 125 } } CAN_conquer_USA = { allowed = { original_tag = CAN } enable = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH has_war_with = USA } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "USA" value = 50 } } CAN_conquer_DEN = { allowed = { original_tag = CAN } enable = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH has_war_with = DEN } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "DEN" value = 50 } } CAN_conquer_MEX = { allowed = { original_tag = CAN } enable = { has_global_flag = CAN_NATIONALIST_FOCUS_PATH has_war_with = MEX } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "MEX" value = 50 } }