ITA_befriend_major_for_focus = {
	reversed = yes
	allowed = {
		original_tag = ITA
	}

	enable = {
		OR = {
			original_tag = ENG
			original_tag = USA
			original_tag = FRA
			original_tag = SOV
		}
		OR = {
			AND = {
				has_government = democratic
				ITA = { has_government = democratic }
			}
			AND = {
				has_government = communism
				ITA = { has_government = communism }
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "ITA"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "ITA"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "ITA"
		target = non_aggression_pact
		value = 2500
	}
}
ITA_befriend_major_for_focus_2 = {
	enable = {
		OR = {
			original_tag = ENG
			original_tag = USA
			original_tag = FRA
			original_tag = SOV
		}
		OR = {
			AND = {
				has_government = democratic
				ITA = { has_government = democratic }
			}
			AND = {
				has_government = communism
				ITA = { has_government = communism }
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "ITA"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "ITA"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "ITA"
		target = non_aggression_pact
		value = 2500
	}
}
GRE_befriend_major_for_focus = {
	reversed = yes
	allowed = {
		original_tag = GRE
	}

	enable = {
		OR = {
			original_tag = ENG
			original_tag = GER
			original_tag = FRA
		}
		OR = {
			has_government = democratic
			has_government = neutrality
		}
		is_historical_focus_on = yes
		GRE = {
			AND = {
				is_ai = yes
				focus_progress = {
					focus = GRE_open_foreign_subsidized_factories
					progress > 0.1
				}
				NOT = { has_completed_focus = GRE_open_foreign_subsidized_factories}
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = non_aggression_pact
		value = 2500
	}
	ai_strategy = {
		type = befriend
		id = "GRE"
		value = 1000
	}
}
GRE_befriend_major_for_focus2 = {
	allowed = {
		OR = {
			original_tag = ENG
			original_tag = GER
			original_tag = FRA
		}
	}

	enable = {
		is_historical_focus_on = yes
		OR = {
			has_government = democratic
			has_government = neutrality
		}
		GRE = {
			is_ai = yes
			AND = {
				focus_progress = {
					focus = GRE_open_foreign_subsidized_factories
					progress > 0.1
				}
				NOT = { has_completed_focus = GRE_open_foreign_subsidized_factories }
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = non_aggression_pact
		value = 2500
	}
}
GRE_befriend_balkan_for_focus = {
	reversed = yes
	allowed = {
		original_tag = GRE
	}

	enable = {
		OR = {
			original_tag = TUR
			original_tag = AUS
			original_tag = HUN
			original_tag = CZE
			original_tag = ITA
			original_tag = YUG
			original_tag = ROM
			original_tag = BUL
			original_tag = ALB
		}
		is_historical_focus_on = yes
		GRE = {
			AND = {
				is_ai = yes
				focus_progress = {
					focus = GRE_bedrock_of_balkan_financial_stability
					progress > 0.1
				}
				NOT = { has_completed_focus = GRE_bedrock_of_balkan_financial_stability }
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = befriend
		id = "GRE"
		value = 1000
	}
	ai_strategy = {
		type = befriend
		id = "GRE"
		value = 1000
	}
}
GRE_befriend_balkan_for_focus2 = {
	allowed = {
		OR = {
			original_tag = TUR
			original_tag = AUS
			original_tag = HUN
			original_tag = CZE
			original_tag = ITA
			original_tag = YUG
			original_tag = ROM
			original_tag = BUL
			original_tag = ALB
		}
	}

	enable = {
		is_historical_focus_on = yes
		GRE = {
			is_ai = yes
			AND = {
				focus_progress = {
					focus = GRE_bedrock_of_balkan_financial_stability
					progress > 0.1
				}
				NOT = { has_completed_focus = GRE_bedrock_of_balkan_financial_stability }
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "GRE"
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "GRE"
		target = military_access
		value = 1000
	}
}
SOV_befriend_south_america = {
	reversed = yes
	allowed = {
		original_tag = SOV
	}

	enable = {
		OR = {
			capital_scope = { is_on_continent = north_america }
			capital_scope = { is_on_continent = south_america }
		}
		has_government = communism
		SOV = { has_government = communism }
		NOT = { has_war_with = SOV }
		is_in_faction = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "SOV"
		target = military_access
		value = 2500
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "SOV"
		target = military_access
		value = 2500
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "SOV"
		target = non_aggression_pact
		value = 2500
	}
}
SOV_befriend_south_america2 = {
	enable = {
		OR = {
			capital_scope = { is_on_continent = north_america }
			capital_scope = { is_on_continent = south_america }
		}
		has_government = communism
		SOV = { has_government = communism }
		NOT = { has_war_with = SOV }
		is_in_faction = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = diplo_action_acceptance
		id = "SOV"
		target = military_access
		value = 2500
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "SOV"
		target = military_access
		value = 2500
	}
	ai_strategy = {
		type = diplo_action_desire
		id = "SOV"
		target = non_aggression_pact
		value = 2500
	}
}		