# TODO: Move to Plus namespace, rework without MTTH somehow (decisions?)
# TODO: See if any of this is still needed in the first place

### Latin Patriarchates

# Latin Patriarchate of Antioch
character_event = {
	id = LoR.221
	desc = EVTDESCLoR.200
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion

	only_independent = yes
	religion_group = christian
	has_dlc = "Legacy of Rome"

	trigger = {
		d_latin_antioch = {
			has_holder = yes

			holder_scope = {
				is_theocracy = yes
				religion = ROOT
				vassal_of = ROOT
			}
		}

		is_heretic = no

		primary_title = {
			NOT = { has_title_flag = pat_latin_antioch }
		}

		NOT = { has_global_flag = schism_mended }
	}

	mean_time_to_happen = {
		days = 7
	}

	immediate = {
		primary_title = {
			set_title_flag = pat_latin_antioch
		}
	}

	option = {
		name = EVTOPTALoR.200

		piety = 100
	}
}

# Latin Patriarchate of Jerusalem
character_event = {
	id = LoR.222
	desc = EVTDESCLoR.201
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion

	only_independent = yes
	religion_group = christian
	has_dlc = "Legacy of Rome"

	trigger = {
		d_latin_jerusalem = {
			has_holder = yes

			holder_scope = {
				is_theocracy = yes
				religion = ROOT
				vassal_of = ROOT
			}
		}

		is_heretic = no
		NOT = { has_global_flag = schism_mended }

		primary_title = {
			NOT = { has_title_flag = pat_latin_jerusalem }
		}
	}

	mean_time_to_happen = {
		days = 7
	}

	immediate = {
		primary_title = {
			set_title_flag = pat_latin_jerusalem
		}
	}

	option = {
		name = EVTOPTALoR.200

		piety = 100
	}
}

# Latin Patriarchate of Alexandria
character_event = {
	id = LoR.223
	desc = EVTDESCLoR.202
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion

	only_independent = yes
	religion_group = christian
	has_dlc = "Legacy of Rome"

	trigger = {
		d_latin_alexandria = {
			has_holder = yes

			holder_scope = {
				is_theocracy = yes
				religion = ROOT
				vassal_of = ROOT
			}
		}

		is_heretic = no
		NOT = { has_global_flag = schism_mended }

		primary_title = {
			NOT = { has_title_flag = pat_latin_alexandria }
		}
	}

	mean_time_to_happen = {
		days = 7
	}

	immediate = {
		primary_title = {
			set_title_flag = pat_latin_alexandria
		}
	}

	option = {
		name = EVTOPTALoR.200

		piety = 100
	}
}

# Latin Patriarchate of Constantinople
character_event = {
	id = LoR.224
	desc = EVTDESC_LoR_230
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion

	only_independent = yes
	religion_group = christian
	has_dlc = "Legacy of Rome"

	trigger = {
		d_latin_constantinople = {
			has_holder = yes

			holder_scope = {
				is_theocracy = yes
				religion = ROOT
				vassal_of = ROOT
			}
		}

		is_heretic = no
		NOT = { has_global_flag = schism_mended }

		primary_title = {
			NOT = { has_title_flag = pat_latin_constantinople }
		}
	}

	mean_time_to_happen = {
		days = 7
	}

	immediate = {
		primary_title = {
			set_title_flag = pat_latin_constantinople
		}
	}

	option = {
		name = EVTOPTALoR.200

		piety = 100
	}
}