country_event = {
	
	id = 8801
	trigger = {
		religion = catholic
		government = papacy
		NOT = { has_country_flag = inquisitionset }
		}
	mean_time_to_happen = {
		months = 1
		}
	title = "The Inquisition"
	desc = "Cathars, Lollards, and other heretics have challenged the faith. The Inquisition will preserve us."
	
	option = {
		name = "Defend the faith!"
		capital_scope = {
			set_province_flag = inquisition
			religion = catholic
			}
		set_country_flag = inquisitionset
		set_country_flag = papist_sentiment
		44 = { set_province_flag = cityhamburg }
		50 = { set_province_flag = cityberlin }
		62 = { set_province_flag = cityleipzig }
		65 = { set_province_flag = citymunich }
		118 = { set_province_flag = cityrome }
		134 = { set_province_flag = cityvienna }
		146 = { set_province_flag = cityathens }
		151 = { set_province_flag = citythrace }
		183 = { set_province_flag = cityparis }
		236 = { set_province_flag = citylondon }
		428 = { set_province_flag = cityqazvin }
		429 = { set_province_flag = cityisfahan }
		442 = { set_province_flag = citybukhara }
		454 = { set_province_flag = citysamarkand }
		522 = { set_province_flag = citydelhi }
		611 = { set_province_flag = citycairo }
		660 = { set_province_flag = citybaghdad }
		695 = { set_province_flag = citybeijing }
		}
	}

province_event = {
	
	id = 8802
	trigger = {
		OR ={
			any_neighbor_province = { has_province_flag = inquisition }
			any_neighbor_province = { religion_group = muslim }
			}
		religion = catholic
		NOT { has_province_flag = inquisition }
		owner = {
			religion = catholic
			NOT = { has_country_flag = papist_sentiment }
			NOT = { has_country_flag = refused_pope }
			NOT = { has_country_flag = defied_pope }
			}
		exists = PAP
		}
	mean_time_to_happen = {
		months = 180
		modifier = {
			factor = 0.5
			government = theocracy
			}
		}
	title = "The Inquisition"
	desc = "In response to threats against the Catholic Church, some countries have instituted an inquisition. What shall we do?"
	
	option = {
		name = "Defend the faith!"
		ai_chance = { factor = 95 }
		set_province_flag = inquisition
		owner = {
			set_country_flag = papist_sentiment
			relation = { who = PAP value = 100 }
			}
		}
	option = {
		name = "We want no inquisition here"
		ai_chance = { factor = 4 }
		owner = {
			set_country_flag = refused_pope
			relation = { who = PAP value = -50 }
			}
		}
	option = {
		name = "This is just an example of Rome's corruption!"
		ai_chance = { factor = 1 }
		owner = { religion = protestant
			stability = -2
			set_country_flag = defied_pope
			relation = { who = PAP value = -100 }
			}
		}
	}

country_event = {
	
	id = 8803
	trigger = {
		religion = protestant
		has_country_flag = defied_pope
		}
	mean_time_to_happen = {
		days = 1
		}
	title = "Defying the Pope"
	desc = "The court has accepted our revolt from Rome's corrupting influence."
	
	option = {
		name = "Good!"
		capital_scope = { religion = protestant }
		clr_country_flag = defied_pope
		set_country_flag = refused_pope
		}
	}


province_event = {
	
	id = 8804
	trigger = {
		any_neighbor_province = { has_province_flag = inquisition }
		religion = catholic
		owner = {
			religion = catholic
			has_country_flag = papist_sentiment
			}
		exists = PAP
		}
	mean_time_to_happen = {
		months = 90
		modifier = {
			factor = 0.5
			government = theocracy
			}
		}
	title = "The Inquisition"
	desc = "The Pope has blessed by sending priests to $PROVINCENAME$."
	
	option = {
		name = "Hallelujah!"
		set_province_flag = inquisition
		owner = { missionaries = 1 }
		}
	}


province_event = {
	
	id = 8805
	trigger = {
		has_province_flag = inquisition
		owner = {
			NOT = { religion = catholic }
			}
		}
	mean_time_to_happen = {
		months = 1
		}
	title = "Rooting out the Inquisition"
	desc = "We are not Catholics, and have no need of the Pope's minions."
	
	option = {
		name = "Good riddance!"
		clr_province_flag = inquisition
		clr_country_flag = papist_sentiment
		}
	}