SAU_befriend_MOR = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		focus_progress = {
			focus = SAU_integrate_morocco
			progress > 0.1
		}
		country_exists = MOR
	}
	abort = {
		OR = {
			NOT = {
				country_exists = MOR
			}
			has_war_with = MOR
		}
	}

	ai_strategy = {
		type = diplo_action_desire
		id = MOR
		target = improve_relation
		value = 200
	}

	ai_strategy = {
		type = diplo_action_desire
		id = MOR
		target = guarantee
		value = 200
	}
}

SAU_befriend_PAL = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		focus_progress = {
			focus = SAU_integrate_holy_land
			progress > 0.1
		}
		country_exists = PAL
	}
	abort = {
		OR = {
			NOT = {
				country_exists = PAL
			}
			has_war_with = PAL
		}
	}

	ai_strategy = {
		type = diplo_action_desire
		id = PAL
		target = improve_relation
		value = 200
	}

	ai_strategy = {
		type = diplo_action_desire
		id = PAL
		target = guarantee
		value = 200
	}
}

SAU_befriend_ISR = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		focus_progress = {
			focus = SAU_integrate_holy_land
			progress > 0.1
		}
		country_exists = ISR
	}
	abort = {
		OR = {
			NOT = {
				country_exists = ISR
			}
			has_war_with = ISR
		}
	}

	ai_strategy = {
		type = diplo_action_desire
		id = ISR
		target = improve_relation
		value = 200
	}

	ai_strategy = {
		type = diplo_action_desire
		id = ISR
		target = guarantee
		value = 200
	}
}

SAU_conquer_ENG = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		focus_progress = {
			focus = SAU_consolidation
			progress > 0.1
		}
		country_exists = ENG
	}
	abort = {
		OR = {
			ENG = {
				NOT = {
					owns_state = 656
					owns_state = 765
					owns_state = 658
					owns_state = 659
					owns_state = 455
					owns_state = 453
					owns_state = 446
					owns_state = 907
				}
			}
			SAU = { has_country_flag = ai_failed_invasion }
		}
	}

	ai_strategy = {
		type = conquer
		id = ENG
		value = 1000
	}
	ai_strategy = {
		type = antagonize
		id = ENG
		value = 1000
	}
}

SAU_befriend_ETH = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		focus_progress = {
			focus = SAU_intervene_in_ethiopia
			progress > 0.1
		}
		country_exists = ETH
		country_exists = ITA
		ETH = {
			has_war_with = ITA
		}
	}
	abort = {
		OR = {
			NOT = {
				country_exists = ETH
			}
			NOT = {
				country_exists = ITA
			}
			NOT = {
				ETH = {
					has_war_with = ITA
				}
			}
		}
	}

	ai_strategy = {
		type = send_volunteers_desire
		id = ETH
		value = 200
	}
}

SAU_befriend_YUG = {
	allowed = {
		original_tag = SAU
	}
	enable = {
		country_exists = SAU
		country_exists = YUG
		YUG = {
			has_country_flag = SAU_military_access_to_YUG
		}
	}
	abort = {
		OR = {
			NOT = {
				country_exists = SAU
			}
			NOT = {
				country_exists = YUG
			}
		}
	}

	ai_strategy = {
		type = diplo_action_acceptance
		id = YUG
		target = military_access
		value = 1000
	}
	ai_strategy = {
		type = diplo_action_desire
		id = YUG
		target = military_access
		value = 1000
	}
}