vassalize_navarra = {
	
	type = country

	allow = {
		tag = ARA
		is_lesser_in_union = no
		is_subject = no
		exists = NAV
		NAV = {
			neighbour = this
			not = { vassal_of = ARA }
			not = { num_of_cities = this }
			is_lesser_in_union = no
			is_subject = no
		}
	}
	abort = {
		or = {
			is_lesser_in_union = yes
			is_subject = yes
			not = { exists = NAV }
			NAV = {
				or = {
					is_lesser_in_union = yes
					is_subject = yes
				}
			}
		}
	}
	success = {
		NAV = { vassal_of = ARA }
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			not = { relation = { who = NAV value = 0 } }
		}
	}
	immediate = {
		casus_belli = {
			type = cb_vassalize_mission
			months = 120
			target = NAV
		}
	}
	abort_effect = {
		remove_casus_belli = {
			type = cb_vassalize_mission
			target = NAV
		}
	}
	effect = {
		army_tradition = 0.1
		stability = 1
		remove_casus_belli = {
			type = cb_vassalize_mission
			target = NAV
		}
	}
}

conquer_sardinia = {
	
	type = country

	allow = {
		tag = ARA
		is_lesser_in_union = no
		is_subject = no
		NAV = { vassal_of = ARA }
		not = { owns = 127 }		# Sardinia
		is_core = 127
		not = { ally = { owns = 127 } }
	}
	abort = {
		or = {
			is_lesser_in_union = yes
			is_subject = yes		
			ally = { owns = 127 }
		}
	}
	success = {
		owns = 127
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			mil = 7
		}	
	}
	effect = {
		prestige = 0.05
	}
}

conquer_sicily = {
	
	type = country

	allow = {
		tag = ARA
		is_lesser_in_union = no
		is_subject = no
		exists = SIC
		SIC = { owns = 125 }		# Palermo
		not = { alliance_with = SIC }
		not = { marriage_with = SIC }
	}
	abort = {
		or = {
			not = { exists = SIC }
			is_lesser_in_union = yes
			is_subject = yes
			alliance_with = SIC
			marriage_with = SIC
		}
	}
	success = {
		not = { exists = SIC }
		owns = 125
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			mil = 7
		}	
	}
	immediate = {
		add_temp_claim = 125
	}
	abort_effect = {
		remove_temp_claim = 125
	}
	effect = {
		prestige = 0.05
		add_core = 125
	}
}

diplo_annex_sicily = {
	
	type = country

	allow = {
		tag = ARA
		is_subject = no
		is_lesser_in_union = no
		exists = SIC
		SIC = {
			vassal_of = ARA
			neighbour = this
			not = { num_of_cities = this }
			owns = 125		# Palermo
			religion_group = this
		}
	}
	abort = {
		or = {
			not = { exists = SIC }
			is_lesser_in_union = yes
			is_subject = yes
			SIC = { not = { religion_group = this } }
		}
	}
	success = {
		not = { exists = SIC }
		owns = 125
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			relation = { who = SIC value = 100 }
		}
		modifier = {
			factor = 2
			relation = { who = SIC value = 200 }
		}
	}
	effect = {
		prestige = 0.1
	}
}

diplo_annex_naples = {
	
	type = country

	allow = {
		tag = ARA
		is_subject = no
		is_lesser_in_union = no
		exists = NAP
		NAP = {
			vassal_of = ARA
			neighbour = this
			not = { num_of_cities = this }
			owns = 121		# Napoli
			religion_group = this
		}
	}
	abort = {
		or = {
			not = { exists = NAP }
			NAP = { not = { religion_group = this } }
			is_subject = yes
			is_lesser_in_union = yes
		}
	}
	success = {
		not = { exists = NAP }
		owns = 121
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			relation = { who = NAP value = 100 }
		}
		modifier = {
			factor = 2
			relation = { who = NAP value = 200 }
		}
	}
	effect = {
		stability = 2
		infamy = -5
	}
}

conquer_naples = {
	
	type = country

	allow = {
		tag = ARA
		is_lesser_in_union = no
		is_subject = no
		not = { exists = SIC }
		owns = 125		# Palermo
		exists = NAP
		NAP = { owns = 121 }
	}
	abort = {
		or = {
			not = { exists = NAP }
			is_subject = yes
			is_lesser_in_union = yes
		}
	}
	success = {
		not = { exists = NAP }
		owns = 121
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			mil = 7
		}	
	}
	immediate = {
		add_temp_claim = 121
	}
	abort_effect = {
		remove_temp_claim = 121
	}
	effect = {
		prestige = 0.05
	}
}

become_king_of_gonder = {
	
	type = country

	allow = {
		tag = ARA
		is_lesser_in_union = no
		is_subject = no
		has_discovered = 1224
		NOT = { owns = 1224 }
	}
	abort = {
		or = {
			is_subject = yes
			is_lesser_in_union = yes
		}
	}
	success = {
		owns = 1224
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			MIL = 7
		}	
	}
	immediate = {
		add_temp_claim = 1224
	}
	abort_effect = {
		remove_temp_claim = 1224
	}
	effect = {
		prestige = 0.1
	}
}
