##Spain unique AI for combat units SPR_default_naval_breakdown = { allowed = { original_tag = SPR } enable = { always = yes } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 12 } ai_strategy = { type = role_ratio id = naval_frigate value = 20 } ai_strategy = { type = role_ratio id = naval_destroyer value = 25 } ai_strategy = { type = role_ratio id = naval_stealth_destroyer value = 5 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 22 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 2 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 10 } ai_strategy = { type = role_ratio id = naval_carrier value = 4 } } SPR_domineering_andorra = { allowed = { original_tag = SPR } enable = { country_exists = ADO } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ADO" value = 50 } ai_strategy = { type = protect id = "ADO" value = 50 } ai_strategy = { type = influence id = "ADO" value = 50 } ai_strategy = { type = support id = "ADO" value = 50 } } SPR_friendly_iberia = { allowed = { original_tag = SPR } enable = { NOT = { OR = { check_variable = { ruling_party = 23 } check_variable = { ruling_party = 22 } check_variable = { ruling_party = 21 } } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "POR" value = 50 } ai_strategy = { type = protect id = "POR" value = 50 } ai_strategy = { type = influence id = "POR" value = 50 } ai_strategy = { type = support id = "POR" value = 50 } } SPR_french_spanish_relations = { allowed = { original_tag = SPR } enable = { country_exists = FRA } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "FRA" value = 50 } ai_strategy = { type = protect id = "FRA" value = 50 } ai_strategy = { type = influence id = "FRA" value = 50 } ai_strategy = { type = support id = "FRA" value = 50 } } SPR_italian_spanish_relations = { allowed = { original_tag = SPR } enable = { country_exists = ITA } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ITA" value = 50 } ai_strategy = { type = protect id = "ITA" value = 50 } ai_strategy = { type = influence id = "ITA" value = 50 } ai_strategy = { type = support id = "ITA" value = 50 } } SPR_moroccan_spanish_relations = { allowed = { original_tag = SPR } enable = { country_exists = MOR } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "MOR" value = 25 } ai_strategy = { type = contain id = "MOR" value = 25 } } SPR_supporting_sahrawi_relations = { allowed = { original_tag = SPR } enable = { country_exists = SHA } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SHA" value = 15 } ai_strategy = { type = protect id = "SHA" value = 15 } } SPR_support_bosnian_against_rsk = { allowed = { original_tag = SPR } enable = { BOS = { has_country_flag = BOS_defeat_all_serbs OR = { has_idea = BOS_EUFOR has_idea = BOS_SFOR } } RSK = { has_war_with = BOS } has_idea = BOS_sfor_vol_troops } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = BOS value = 200 } ai_strategy = { type = befriend id = BOS value = 200 } ai_strategy = { type = support id = BOS value = 200 } } #Armenia Content SPR_againts_armenian_expansion_italy_puppet = { allowed = { tag = SPR } 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 } } #CIVIL WAR IN AMERICA SPR_california_help = { allowed = { original_tag = SPR } enable = { country_exists = CAL has_war = no } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "CAL" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "CAL" value = 400 } } SPR_deseret_help = { allowed = { original_tag = SPR } enable = { country_exists = UDT has_war = no } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "UDT" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "UDT" value = 400 } } SPR_eu_core_alignment = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_europe_now_and_forever country_exists = GER NOT = { has_war_with = GER } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "GER" value = 50 } ai_strategy = { type = support id = "GER" value = 25 } } SPR_eurosceptic_drift = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_the_drift_from_europe } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "GER" value = -25 } ai_strategy = { type = befriend id = "ITA" value = -25 } } SPR_hispanidad_solidarity = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_hispanidad } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "COL" value = 50 } ai_strategy = { type = influence id = "COL" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "COL" value = 25 } ai_strategy = { type = befriend id = "VEN" value = 50 } ai_strategy = { type = influence id = "VEN" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "VEN" value = 25 } ai_strategy = { type = befriend id = "MEX" value = 50 } ai_strategy = { type = influence id = "MEX" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "MEX" value = 25 } ai_strategy = { type = befriend id = "CUB" value = 50 } ai_strategy = { type = influence id = "CUB" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "CUB" value = 25 } ai_strategy = { type = befriend id = "ARG" value = 50 } ai_strategy = { type = influence id = "ARG" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "ARG" value = 25 } ai_strategy = { type = befriend id = "CHL" value = 50 } ai_strategy = { type = influence id = "CHL" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "CHL" value = 25 } ai_strategy = { type = befriend id = "PAN" value = 50 } ai_strategy = { type = influence id = "PAN" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "PAN" value = 25 } ai_strategy = { type = befriend id = "NIC" value = 50 } ai_strategy = { type = influence id = "NIC" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "NIC" value = 25 } ai_strategy = { type = befriend id = "HON" value = 50 } ai_strategy = { type = influence id = "HON" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "HON" value = 25 } ai_strategy = { type = befriend id = "GUA" value = 50 } ai_strategy = { type = influence id = "GUA" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "GUA" value = 25 } ai_strategy = { type = befriend id = "ECU" value = 50 } ai_strategy = { type = influence id = "ECU" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "ECU" value = 25 } ai_strategy = { type = befriend id = "ELS" value = 50 } ai_strategy = { type = influence id = "ELS" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "ELS" value = 25 } ai_strategy = { type = befriend id = "DOM" value = 50 } ai_strategy = { type = influence id = "DOM" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "DOM" value = 25 } ai_strategy = { type = befriend id = "COS" value = 50 } ai_strategy = { type = influence id = "COS" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "COS" value = 25 } ai_strategy = { type = befriend id = "BOL" value = 50 } ai_strategy = { type = influence id = "BOL" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "BOL" value = 25 } } SPR_iberian_union_portugal = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_declare_the_iberian_union country_exists = POR NOT = { has_war_with = POR } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "POR" value = 100 } ai_strategy = { type = alliance id = "POR" value = 100 } } SPR_iberian_union_andorra = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_declare_the_iberian_union country_exists = ADO NOT = { has_war_with = ADO } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ADO" value = 100 } ai_strategy = { type = alliance id = "ADO" value = 100 } } SPR_hardline_on_morocco = { allowed = { original_tag = SPR } enable = { OR = { has_global_flag = SPR_RENACIMIENTO_NACIONALISTA_PATH has_global_flag = SPR_NACION_UNIDAD_IMPERIO_PATH } country_exists = MOR NOT = { is_in_faction_with = MOR } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "MOR" value = 75 } ai_strategy = { type = contain id = "MOR" value = 75 } } SPR_arm_the_sahrawi = { allowed = { original_tag = SPR } enable = { OR = { has_global_flag = SPR_RENACIMIENTO_NACIONALISTA_PATH has_global_flag = SPR_NACION_UNIDAD_IMPERIO_PATH } country_exists = SHA NOT = { has_war_with = SHA } } abort_when_not_enabled = yes ai_strategy = { type = support id = "SHA" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "SHA" value = 50 } } SPR_leftist_solidarity = { allowed = { original_tag = SPR } enable = { OR = { has_global_flag = SPR_COMMUNIST_REVISIONISM_PATH has_global_flag = SPR_SOCIALISM_RISING_PATH } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CUB" value = 50 } ai_strategy = { type = support id = "CUB" value = 50 } ai_strategy = { type = befriend id = "VEN" value = 50 } ai_strategy = { type = support id = "VEN" value = 50 } } SPR_leftist_anti_americanism = { allowed = { original_tag = SPR } enable = { OR = { has_global_flag = SPR_COMMUNIST_REVISIONISM_PATH has_global_flag = SPR_SOCIALISM_RISING_PATH } NOT = { has_idea = NATO_member } NOT = { has_war_with = USA } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "USA" value = 50 } ai_strategy = { type = contain id = "USA" value = 50 } } SPR_nato_alignment = { allowed = { original_tag = SPR } enable = { has_idea = NATO_member NOT = { has_war_with = USA } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "USA" value = 25 } ai_strategy = { type = support id = "USA" value = 25 } ai_strategy = { type = alliance id = "USA" value = 50 } } SPR_reclaim_gibraltar = { allowed = { original_tag = SPR } enable = { has_completed_focus = SPR_el_problema_de_gibraltar country_exists = ENG NOT = { is_in_faction_with = ENG } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "ENG" value = 50 } ai_strategy = { type = contain id = "ENG" value = 50 } }