FRA_we_want_modern_armor = { #tell FRA AI to research modern composite for the Leclerc SXXI allowed = { original_tag = FRA } enable = { NOT = { has_tech = armor_tech_3 } } abort_when_not_enabled = yes ai_strategy = { type = research_tech id = armor_tech_3 value = 100 } } FRA_befriend_the_francosphere = { allowed = { original_tag = FRA } enable = { NOT = { OR = { has_completed_focus = FRA_cold_war_round2 has_completed_focus = FRA_crusade_time #France going this route should prevent all from befriending has_completed_focus = FRA_reclaim_empire } } } abort_when_not_enabled = yes # Befriend List ai_strategy = { type = befriend id = "ALG" value = 50 } ai_strategy = { type = befriend id = "MOR" value = 50 } ai_strategy = { type = befriend id = "TUN" value = 50 } ai_strategy = { type = befriend id = "SEN" value = 50 } ai_strategy = { type = befriend id = "CDI" value = 50 } ai_strategy = { type = befriend id = "MAD" value = 50 } ai_strategy = { type = befriend id = "LEB" value = 50 } ai_strategy = { type = befriend id = "SYR" value = 50 } ai_strategy = { type = befriend id = "VIE" value = 50 } ai_strategy = { type = befriend id = "LAO" value = 50 } ai_strategy = { type = befriend id = "CBD" value = 50 } ai_strategy = { type = befriend id = "CAR" value = 50 } ai_strategy = { type = befriend id = "DJI" value = 50 } ai_strategy = { type = befriend id = "CHA" value = 50 } ai_strategy = { type = befriend id = "NGR" value = 50 } ai_strategy = { type = befriend id = "MAL" value = 50 } ai_strategy = { type = befriend id = "BFA" value = 50 } ai_strategy = { type = befriend id = "GAB" value = 50 } ai_strategy = { type = befriend id = "CNG" value = 50 } ai_strategy = { type = befriend id = "MRT" value = 50 } ai_strategy = { type = befriend id = "HAI" value = 50 } ai_strategy = { type = befriend id = "DMI" value = 50 } ai_strategy = { type = befriend id = "FIJ" value = 50 } # Support List ai_strategy = { type = support id = "ALG" value = 50 } ai_strategy = { type = support id = "MOR" value = 50 } ai_strategy = { type = support id = "TUN" value = 50 } ai_strategy = { type = support id = "SEN" value = 50 } ai_strategy = { type = support id = "CDI" value = 50 } ai_strategy = { type = support id = "MAD" value = 50 } ai_strategy = { type = support id = "LEB" value = 50 } ai_strategy = { type = support id = "SYR" value = 50 } ai_strategy = { type = support id = "VIE" value = 50 } ai_strategy = { type = support id = "LAO" value = 50 } ai_strategy = { type = support id = "CBD" value = 50 } ai_strategy = { type = support id = "CAR" value = 50 } ai_strategy = { type = support id = "DJI" value = 50 } ai_strategy = { type = support id = "CHA" value = 50 } ai_strategy = { type = support id = "NGR" value = 50 } ai_strategy = { type = support id = "MAL" value = 50 } ai_strategy = { type = support id = "BFA" value = 50 } ai_strategy = { type = support id = "GAB" value = 50 } ai_strategy = { type = support id = "CNG" value = 50 } ai_strategy = { type = support id = "MRT" value = 50 } ai_strategy = { type = support id = "HAI" value = 50 } ai_strategy = { type = support id = "DMI" value = 50 } ai_strategy = { type = support id = "FIJ" value = 50 } # Protect ai_strategy = { type = protect id = "ALG" value = 50 } ai_strategy = { type = protect id = "MOR" value = 50 } ai_strategy = { type = protect id = "TUN" value = 50 } ai_strategy = { type = protect id = "SEN" value = 50 } ai_strategy = { type = protect id = "CDI" value = 50 } ai_strategy = { type = protect id = "MAD" value = 50 } ai_strategy = { type = protect id = "LEB" value = 50 } ai_strategy = { type = protect id = "SYR" value = 50 } ai_strategy = { type = protect id = "VIE" value = 50 } ai_strategy = { type = protect id = "LAO" value = 50 } ai_strategy = { type = protect id = "CBD" value = 50 } ai_strategy = { type = protect id = "CAR" value = 50 } ai_strategy = { type = protect id = "DJI" value = 50 } ai_strategy = { type = protect id = "CHA" value = 50 } ai_strategy = { type = protect id = "NGR" value = 50 } ai_strategy = { type = protect id = "MAL" value = 50 } ai_strategy = { type = protect id = "BFA" value = 50 } ai_strategy = { type = protect id = "GAB" value = 50 } ai_strategy = { type = protect id = "CNG" value = 50 } ai_strategy = { type = protect id = "MRT" value = 50 } ai_strategy = { type = protect id = "HAI" value = 50 } ai_strategy = { type = protect id = "DMI" value = 50 } ai_strategy = { type = protect id = "FIJ" value = 50 } } FRA_support_rojava = { allowed = { original_tag = FRA } enable = { country_exists = ROJ NOT = { has_government = nationalist } ROJ = { OR = { has_war_with = SYR has_war_with = ISI } } } abort_when_not_enabled = yes ai_strategy = { type = protect id = "ROJ" value = 150 } ai_strategy = { type = send_volunteers_desire id = "ROJ" value = 150 } } FRA_intervene_in_central_african_republic = { allowed = { original_tag = FRA } enable = { country_exists = CAR NOT = { has_war_with = CAR } NOT = { has_government = nationalist } CAR = { OR = { has_civil_war = yes has_war_with = SEL has_war_with = BAL has_war_with = LGN } } has_completed_focus = FRA_CAR_intervention } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CAR" value = 50 } ai_strategy = { type = protect id = "CAR" value = 50 } ai_strategy = { type = influence id = "CAR" value = 50 } ai_strategy = { type = support id = "CAR" value = 50 } ai_strategy = { type = send_volunteers_desire id = "CAR" value = 50 } } FRA_support_pakistan_against_jihadists = { allowed = { original_tag = FRA } enable = { country_exists = PAK NOT = { has_war_with = PAK } PAK = { has_civil_war = yes NOT = { has_government = fascism } has_country_flag = fighting_jihadis } NOT = { has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "PAK" value = 100 } ai_strategy = { type = support id = "PAK" value = 100 } } FRA_support_egypt_against_jihadists = { allowed = { original_tag = FRA } enable = { EGY = { has_civil_war = yes NOT = { has_government = fascism } has_country_flag = fighting_jihadis } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "EGY" value = 100 } ai_strategy = { type = support id = "EGY" value = 100 } } FRA_factory_target = { allowed = { original_tag = FRA } enable = { num_of_civilian_factories < 130 } abort_when_not_enabled = yes ai_strategy = { type = building_target id = industrial_complex value = 130 } } FRA_focus_on_europe = { allowed = { original_tag = FRA } enable = { original_tag = FRA } abort_when_not_enabled = yes ai_strategy = { type = area_priority id = europe value = 100 } } FRA_office_target = { allowed = { original_tag = FRA } enable = { num_of_available_civilian_factories > 29 check_variable = { office_park_total < 30 } } abort_when_not_enabled = yes ai_strategy = { type = building_target id = offices value = 30 } } # France unique AI for combat units FRA_default_naval_breakdown = { allowed = { original_tag = FRA } enable = { original_tag = FRA } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 10 } ai_strategy = { type = role_ratio id = naval_frigate value = 15 } ai_strategy = { type = role_ratio id = naval_destroyer value = 23 } ai_strategy = { type = role_ratio id = naval_stealth_destroyer value = 4 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 24 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 8 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 12 } ai_strategy = { type = role_ratio id = naval_carrier value = 3 } ai_strategy = { type = role_ratio id = naval_battlecruiser value = 2 } ai_strategy = { type = role_ratio id = naval_battleship value = 1 } ai_strategy = { type = role_ratio id = naval_cruiser value = 1 } } FRA_protect_andorra_monaco = { allowed = { original_tag = FRA NOT = { OR = { has_game_rule = { rule = remove_micro_states option = tiny } has_game_rule = { rule = remove_micro_states option = smaller } has_game_rule = { rule = remove_micro_states option = insignificant } } } } enable = { has_government = democratic OR = { country_exists = ADO country_exists = MNC } } abort_when_not_enabled = yes ai_strategy = { type = protect id = "ADO" value = 125 } ai_strategy = { type = support id = "ADO" value = 125 } ai_strategy = { type = protect id = "MNC" value = 125 } ai_strategy = { type = support id = "MNC" value = 125 } } FRA_united_kingdom_french_relations = { allowed = { original_tag = FRA } enable = { country_exists = ENG NOT = { has_government = nationalist } NOT = { has_government = fascism } NOT = { ENG = { has_government = nationalist } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ENG" value = 125 } ai_strategy = { type = support id = "ENG" value = 125 } } FRA_support_senegal_in_civil_war = { allowed = { original_tag = FRA } enable = { SEN = { OR = { has_civil_war = yes has_war_with = CSM } } is_historical_focus_on = yes has_completed_focus = FRA_senegalese_civil_war } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SEN" value = 50 } ai_strategy = { type = support id = "SEN" value = 50 } ai_strategy = { type = send_volunteers_desire id = "SEN" value = 25 } } FRA_intervene_in_mali = { allowed = { original_tag = FRA } enable = { MAL = { OR = { has_civil_war = yes has_war_with = TUA } } is_historical_focus_on = yes has_completed_focus = FRA_operation_serval } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "MAL" value = 50 } ai_strategy = { type = support id = "MAL" value = 50 } ai_strategy = { type = send_volunteers_desire id = "MAL" value = 25 } } FRA_intervene_in_drc = { allowed = { original_tag = FRA } enable = { UGA = { OR = { has_civil_war = yes has_war_with = RWA has_war_with = DRC } } is_historical_focus_on = yes has_completed_focus = FRA_operation_artemis } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "UGA" value = 50 } ai_strategy = { type = support id = "UGA" value = 50 } ai_strategy = { type = send_volunteers_desire id = "UGA" value = 25 } } FRA_support_the_european_union = { allowed = { original_tag = FRA } enable = { OR = { has_government = democratic is_historical_focus_on = yes } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SPR" value = 50 } ai_strategy = { type = befriend id = "POR" value = 50 } ai_strategy = { type = befriend id = "ENG" value = 50 } ai_strategy = { type = befriend id = "IRE" value = 50 } ai_strategy = { type = befriend id = "ITA" value = 50 } ai_strategy = { type = befriend id = "GER" value = 50 } ai_strategy = { type = befriend id = "BEL" value = 50 } ai_strategy = { type = befriend id = "HOL" value = 50 } ai_strategy = { type = befriend id = "DEN" value = 50 } ai_strategy = { type = befriend id = "CRO" value = 50 } ai_strategy = { type = befriend id = "CZE" value = 50 } } FRA_support_ukraine_against_russia = { allowed = { original_tag = FRA } enable = { OR = { has_government = democratic is_historical_focus_on = yes } UKR = { has_war_with = SOV has_government = democratic } } abort_when_not_enabled = yes ai_strategy = { type = protect id = "UKR" value = 125 } ai_strategy = { type = send_lend_lease_desire id = "UKR" value = 125 } } FRA_support_morocco = { allowed = { original_tag = FRA } enable = { country_exists = MOR NOT = { has_war_with = MOR } MOR = { has_government = democratic } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "MOR" value = 50 } } FRA_intervene_in_cdi = { allowed = { original_tag = FRA } enable = { CDI = { OR = { has_civil_war = yes has_war_with = FNC } } is_historical_focus_on = yes has_completed_focus = FRA_operation_licorne } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CDI" value = 50 } ai_strategy = { type = support id = "CDI" value = 50 } ai_strategy = { type = send_volunteers_desire id = "CDI" value = 25 } } FRA_support_the_somalian_government = { allowed = { original_tag = FRA } enable = { SOM = { OR = { has_civil_war = yes has_war_with = SHB } } is_historical_focus_on = yes has_completed_focus = FRA_oef_hoa } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SOM" value = 50 } ai_strategy = { type = support id = "SOM" value = 50 } ai_strategy = { type = send_volunteers_desire id = "SOM" value = 25 } } FRA_supporting_armenia_strategy = { allowed = { original_tag = FRA } enable = { country_exists = ARM has_completed_focus = FRA_supporting_armenia } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ARM" value = 50 } ai_strategy = { type = support id = "ARM" value = 50 } ai_strategy = { type = send_volunteers_desire id = "ARM" value = 25 } } FRA_annoy_the_assads_syria = { allowed = { original_tag = FRA } enable = { country_exists = SYR SYR = { OR = { has_country_leader = { name = "Bashar al-Assad" ruling_only = yes } has_country_leader = { name = "Hafez al-Assad" ruling_only = yes } has_country_leader = { name = "Bushra al-Assad" ruling_only = yes } has_country_leader = { name = "Maher al-Assad" ruling_only = yes } has_country_leader = { name = "Rifaat al-Assad" ruling_only = yes } } } } abort_when_not_enabled = yes ai_strategy = { type = contain id = "SYR" value = 50 } ai_strategy = { type = antagonize id = "SYR" value = 50 } } FRA_support_lebanon_against_syria = { allowed = { original_tag = FRA } enable = { country_exists = LEB LEB = { OR = { is_subject_of = SYR has_war_with = SYR } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "LEB" value = 50 } ai_strategy = { type = support id = "LEB" value = 50 } ai_strategy = { type = send_volunteers_desire id = "LEB" value = 25 } } FRA_support_afghanistan_against_taliban = { allowed = { original_tag = FRA } enable = { NOT = { has_war_with = AFG } AFG = { NOT = { has_government = fascism } NOT = { has_country_flag = AFG_new_war } } OR = { AND = { USA = { has_country_flag = USA_wot_enduring_freedom } OR = { has_country_flag = wot_supported_us_partially has_country_flag = wot_supported_us_fully } } date > 2002.6.1 } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "AFG" value = 75 } ai_strategy = { type = support id = "AFG" value = 100 } ai_strategy = { type = send_volunteers_desire id = "AFG" value = 75 } } FRA_help_georgia = { allowed = { original_tag = SOV } enable = { GEO = { has_volunteers_amount_from = { tag = FRA count > 0 } } } abort_when_not_enabled = yes ai_strategy = { type = front_control state_trigger = { is_owned_by = SOO } ratio = 0.1 ordertype = front execution_type = rush manual_attack = no } } #Armenia Content FRA_againts_armenian_expansion_italy_puppet = { allowed = { original_tag = FRA } enable = { is_subject = no has_war = no ITA = { is_subject_of = ARM } NOT = { has_government = neutrality } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ARM" value = -100 } ai_strategy = { type = antagonize id = "ARM" value = 100 } ai_strategy = { type = contain id = "ARM" value = 100 } ai_strategy = { type = befriend id = "ITA" value = -100 } ai_strategy = { type = antagonize id = "ITA" value = 100 } ai_strategy = { type = contain id = "ITA" value = 100 } ai_strategy = { type = influence id = "ITA" value = 200 } } FRA_againts_armenian_expansion_poland_puppet = { allowed = { original_tag = FRA } enable = { is_subject = no has_war = no POL = { is_subject_of = ARM } NOT = { has_government = neutrality } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ARM" value = -100 } ai_strategy = { type = antagonize id = "ARM" value = 100 } ai_strategy = { type = contain id = "ARM" value = 100 } ai_strategy = { type = befriend id = "POL" value = -100 } ai_strategy = { type = antagonize id = "POL" value = 100 } ai_strategy = { type = contain id = "POL" value = 100 } ai_strategy = { type = influence id = "POL" value = 200 } } #CIVIL WAR IN AMERICA - FRANCE FRA_confederate_states_america_help = { allowed = { original_tag = FRA } enable = { has_war = no country_exists = CSA } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "CSA" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "CSA" value = 400 } } FRA_new_york_help = { allowed = { original_tag = FRA } enable = { has_war = no country_exists = NYK } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "NYK" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "NYK" value = 400 } } FRA_construct_additional_microchips = { allowed = { original_tag = FRA } 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 = 50 } ai_strategy = { type = building_target id = microchip_plant value = 50 } } FRA_comoros_guarantee = { allowed = { original_tag = FRA } enable = { COM = { has_idea = COM_naval_treaty_with_france_idea NOT = { has_completed_focus = COM_antagonize_france } NOT = { has_completed_focus = COM_naval_treaty_with_china } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "COM" value = 50 } ai_strategy = { type = support id = "COM" value = 50 } ai_strategy = { type = diplo_action_desire id = "COM" value = 50 target = guarantee } } # FRA Air Doctrine — Rafale-dominant multirole, balanced coverage FRA_air_doctrine = { allowed = { original_tag = FRA } enable = { always = yes } abort_when_not_enabled = yes ai_strategy = { type = unit_ratio id = fighter value = 8 } ai_strategy = { type = unit_ratio id = cas value = 12 } ai_strategy = { type = unit_ratio id = naval_bomber value = 15 } ai_strategy = { type = unit_ratio id = tactical_bomber value = 25 } ai_strategy = { type = unit_ratio id = interceptor value = 30 } ai_strategy = { type = unit_ratio id = scout_plane value = 3 } ai_strategy = { type = unit_ratio id = suicide value = 5 } ai_strategy = { type = unit_ratio id = strategic_bomber value = 8 } } # FRA Army Doctrine — balanced armor, expeditionary marines, professional force FRA_army_doctrine = { allowed = { original_tag = FRA } enable = { num_of_military_factories > 10 } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = infantry value = 20 } ai_strategy = { type = role_ratio id = apc_mechanized value = 25 } ai_strategy = { type = role_ratio id = ifv_mechanized value = 35 } ai_strategy = { type = role_ratio id = armor value = 35 } ai_strategy = { type = role_ratio id = marines value = 30 } ai_strategy = { type = role_ratio id = Air_mech value = 10 } ai_strategy = { type = role_ratio id = Special_Forces value = 20 } ai_strategy = { type = force_build_armies value = 35 } } FRA_commune_confront_the_west = { allowed = { original_tag = FRA } enable = { OR = { has_global_flag = FRA_COMMUNE_FOCUS_PATH has_idea = FRA_commune_reborn_idea } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "USA" value = 200 } ai_strategy = { type = antagonize id = "ENG" value = 100 } ai_strategy = { type = antagonize id = "GER" value = 75 } ai_strategy = { type = befriend id = "CHI" value = 150 } ai_strategy = { type = befriend id = "SOV" value = 100 } ai_strategy = { type = befriend id = "CUB" value = 100 } ai_strategy = { type = befriend id = "VEN" value = 75 } } FRA_restoration_break_with_europe = { allowed = { original_tag = FRA } enable = { OR = { has_global_flag = FRA_KINGDOM_FOCUS_PATH has_global_flag = FRA_EMPIRE_FOCUS_PATH has_idea = FRA_kingdom_restored_idea has_idea = FRA_empire_restored_idea } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "GER" value = 150 } ai_strategy = { type = antagonize id = "ENG" value = 100 } ai_strategy = { type = antagonize id = "USA" value = 100 } ai_strategy = { type = antagonize id = "BEL" value = 50 } ai_strategy = { type = antagonize id = "HOL" value = 50 } ai_strategy = { type = befriend id = "SPR" value = 50 } } FRA_nationalist_republic_alignment = { allowed = { original_tag = FRA } enable = { OR = { has_global_flag = FRA_NATIONAL_RALLY_FOCUS_PATH has_completed_focus = FRA_FN } NOT = { OR = { has_idea = FRA_kingdom_restored_idea has_idea = FRA_empire_restored_idea } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SOV" value = 100 } ai_strategy = { type = antagonize id = "USA" value = 75 } ai_strategy = { type = antagonize id = "GER" value = 50 } ai_strategy = { type = befriend id = "HUN" value = 75 } } FRA_atlanticist_alignment = { allowed = { original_tag = FRA } enable = { FRA_ai_atlanticist_path = yes } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "USA" value = 100 } ai_strategy = { type = befriend id = "GER" value = 150 } ai_strategy = { type = befriend id = "ENG" value = 100 } ai_strategy = { type = befriend id = "ITA" value = 75 } ai_strategy = { type = antagonize id = "SOV" value = 50 } } FRA_sovereignist_distance_from_the_bloc = { allowed = { original_tag = FRA } enable = { OR = { has_global_flag = FRA_GAULLIST_FOCUS_PATH has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH has_completed_focus = FRA_RPF has_completed_focus = FRA_LFI } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "USA" value = 100 } ai_strategy = { type = antagonize id = "GER" value = 50 } ai_strategy = { type = befriend id = "BRA" value = 50 } ai_strategy = { type = befriend id = "MEX" value = 25 } }