﻿namespace = cad_decision

cad_decision.0001 = { #Fire baptism, success
	type = character_event

	hidden = yes

	immediate = {
		add_character_modifier = baptized_by_fire
		add_piety = 100
	}
}

cad_decision.0002 = { #Fire baptism, scarred
	type = character_event

	hidden = yes

	immediate = {
		add_character_modifier = baptized_by_fire
		add_trait = scarred
	}
}

cad_decision.0003 = { #Fire baptism, death
	type = character_event

	hidden = yes

	immediate = {
		death = { death_reason = death_burned }
	}
}

cad_decision.0004 = { #Become a Eunuch
	type = character_event

	hidden = yes

	immediate = {
		add_trait = eunuch
	}
}

cad_decision.0005 = { #Select faith tenet one, also creates head of faith
	type = character_event
	title = cad_decision.0005.t
	desc = cad_decision.0005.desc
	theme = realm

	immediate = { #Create Head of Faith
		play_music_cue = "mx_cue_sacredrite"
		save_scope_as = reformer
		if = { # Pick your chaplain first.
			limit = {
				exists = cp:councillor_court_chaplain
				cp:councillor_court_chaplain = { faith = faith:orthodox }
			}
			cp:councillor_court_chaplain = { save_scope_as = new_pope }
		}
		else = {
		 	hidden_effect = {
				create_character = {
					employer = root
					template = religious_leader_character
					random_traits = no
					save_scope_as = new_pope
					dynasty = generate
				}
			}
			scope:new_pope = {
				add_trait = education_learning_3
				add_trait = zealous
				add_trait = intellect_good_1
				random_list = {
					1 = { add_trait = lustful }
					1 = { add_trait = chaste }
					1 = { add_trait = wrathful }
					1 = { add_trait = diligent }
					1 = { add_trait = impatient }
					1 = { add_trait = arrogant }
					1 = { add_trait = humble }
					1 = { add_trait = gregarious }
				}
				random_list = {
					1 = { add_trait = honest }
					1 = { add_trait = ambitious }
					1 = { add_trait = just }
					1 = { add_trait = cynical }
					1 = { add_trait = zealous }
					1 = { add_trait = compassionate }
					1 = { add_trait = stubborn }
				}
			}
		}
		root.faith = {
			change_fervor = {
				value = 10
				desc = fervor_gain_autocephaly
			}
		}
		create_title_and_vassal_change = {
			type = returned
			save_scope_as = change
			add_claim_on_loss = no
		}
		root.faith.religious_head_title = {
			change_title_holder = {
				holder = scope:new_pope
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
	}

	left_portrait = {
		character = scope:root
		animation = personality_zealous
	}

	option = { #Communion
		name = cad_decision.0005.a

		#No change

		trigger_event = {
			id = cad_decision.0006
			days = 5
			delayed = yes
		}

		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = honest
			}
			modifier = {
				add = -50
				has_trait = deceitful
			}
			modifier = {
				add = 5
				has_trait = lifestyle_mystic
			}
		}
	}

	option = { #Legalism
		name = cad_decision.0005.b

		root.faith = {
			remove_doctrine = tenet_communion
			add_doctrine = tenet_legalism
		}

		trigger_event = {
			id = cad_decision.0006
			days = 5
			delayed = yes
		}

		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = just
			}
			modifier = {
				add = -50
				has_trait = arbitrary
			}
		}
	}

	option = { #Religious Legal Pronouncements
		name = cad_decision.0005.c

		root.faith = {
			remove_doctrine = tenet_communion
			add_doctrine = tenet_religious_legal_pronouncements
		}

		trigger_event = {
			id = cad_decision.0006
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 20
				has_trait = scholar
			}
			modifier = {
				add = 25
				has_trait = theologian
			}
			modifier = {
				add = 15
				has_trait = arrogant
			}
		}
	}
}

cad_decision.0006 = { #Select faith tenet two
	type = character_event
	title = cad_decision.0006.t
	desc = cad_decision.0006.desc
	theme = realm
	left_portrait = {
		character = scope:root
		animation = personality_zealous
	}

	option = { #Pentarchy
		name = cad_decision.0006.a

		#No change

		trigger_event = {
			id = cad_decision.0007
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 15
				has_trait = pilgrim
			}
			modifier = {
				add = -50
				has_trait = cynical
			}
		}
	}

	option = { #Literalism
		name = cad_decision.0006.b

		root.faith = {
			remove_doctrine = tenet_pentarchy
			add_doctrine = tenet_literalism
		}

		trigger_event = {
			id = cad_decision.0007
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = scholar
			}
			modifier = {
				add = -10
				has_trait = theologian
			}
		}
	}

	option = { #Esotericism
		name = cad_decision.0006.c

		root.faith = {
			remove_doctrine = tenet_pentarchy
			add_doctrine = tenet_esotericism
		}

		trigger_event = {
			id = cad_decision.0007
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = lifestyle_mystic
			}
			modifier = {
				add = -50
				has_trait = cynical
			}
		}
	}
}

cad_decision.0007 = { #Select faith tenet three
	type = character_event
	title = cad_decision.0007.t
	desc = cad_decision.0007.desc
	theme = realm
	left_portrait = {
		character = scope:root
		animation = personality_zealous
	}

	option = { #Monasticism
		name = cad_decision.0007.a

		#No change

		trigger_event = {
			id = cad_decision.0008
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 15
				has_trait = patient
			}
			modifier = {
				add = 50
				has_trait = temperate
			}
			modifier = {
				add = 15
				has_trait = calm
			}
			modifier = {
				add = -50
				has_trait = gluttonous
			}
			modifier = {
				add = -15
				has_trait = brave
			}
		}
	}

	option = { #Asceticism
		name = cad_decision.0007.b

		root.faith = {
			remove_doctrine = tenet_monasticism
			add_doctrine = tenet_asceticism
		}

		trigger_event = {
			id = cad_decision.0008
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = temperate
			}
			modifier = {
				add = 20
				has_trait = shy
			}
			modifier = {
				add = -50
				has_trait = gluttonous
			}
			modifier = {
				add = -50
				has_trait = greedy
			}
			modifier = {
				add = 20
				has_trait = zealous
			}
			modifier = {
				add = 40
				has_trait = flagellant
			}
			modifier = {
				add = -20
				has_trait = lustful
			}
		}
	}

	option = { #Mendicant Preachers
		name = cad_decision.0007.c

		root.faith = {
			remove_doctrine = tenet_monasticism
			add_doctrine = tenet_mendicant_preachers
		}

		trigger_event = {
			id = cad_decision.0008
			days = 5
			delayed = yes
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 50
				has_trait = temperate
			}
			modifier = {
				add = -20
				has_trait = shy
			}
			modifier = {
				add = -50
				has_trait = gluttonous
			}
			modifier = {
				add = -20
				has_trait = greedy
			}
			modifier = {
				add = 50
				has_trait = zealous
			}
			modifier = {
				add = 30
				has_trait = flagellant
			}
			modifier = {
				add = -20
				has_trait = lustful
			}
			modifier = {
				add = 15
				has_trait = pilgrim
			}
		}
	}
}

cad_decision.0008 = { #Select communion
	type = character_event
	title = cad_decision.0008.t
	desc = cad_decision.0008.desc
	theme = realm
	left_portrait = {
		character = scope:root
		animation = personality_zealous
	}

	option = { #Independence
		name = cad_decision.0008.a
		root.faith = { add_doctrine = special_doctrine_ecumenical_christian }

		add_piety = 500
	}

	option = { #Orthodox Communion
		name = cad_decision.0008.b

		root.faith = { 
			add_doctrine = orthodox_autocephaly_autocephalous 
			add_doctrine = special_doctrine_ecumenical_christian
		}

		ai_chance = {
			base = 15
			modifier = { #This will push Bulgarians over the edge, otherwise they'll be Catholic
				add = 4
				root.faith = faith:bulgarian_orthodox
				top_liege = title:e_byzantium.holder
			}
			modifier = {
				add = 15
				top_liege = title:e_byzantium.holder
			}
		}
	}

	option = { #Catholic Communion
		name = cad_decision.0008.c

		root.faith = { 
			add_doctrine = catholic_autocephaly_autocephalous
			add_doctrine = special_doctrine_ecumenical_christian
		}

		ai_chance = {
			base = 5
			modifier = {
				add = 25
				top_liege = title:e_hre.holder
			}
			modifier = {
				add = 15
				root.faith = faith:bulgarian_orthodox
			}
		}
	}

	option = { #Oriental Communion
		name = cad_decision.0008.d

		root.faith = { 
			add_doctrine = oriental_autocephaly_autocephalous
			remove_doctrine = doctrine_christology_diophysite
			add_doctrine = doctrine_christology_miaphysite
			add_doctrine = special_doctrine_ecumenical_christian
		}

		ai_chance = {
			base = 5 #These two faiths respectively are easter egg references to modern day Miaphysite sects in France and Iberia.
			modifier = {
				add = 15
				root.faith = faith:gallican_christianity
			}
			modifier = {
				add = 15
				root.faith = faith:lusitanian_christianity
			}
		}
	}

	option = { #Church of the East
		name = cad_decision.0008.e

		root.faith = { 
			add_doctrine = nestorian_autocephaly_autocephalous
			remove_doctrine = doctrine_christology_diophysite
			add_doctrine = doctrine_christology_nestorian
			add_doctrine = special_doctrine_ecumenical_christian
		}

		ai_chance = {
			base = 5
			modifier = {
				add = 15
				has_title = title:k_guiyi #Not relevant yet, but we'll eventually have autocephalous faiths out there.
			}
		}
	}

	option = { #Arians, lol
		name = cad_decision.0008.f

		root.faith = { 
			remove_doctrine = doctrine_circumincession_trinitarian
			add_doctrine = doctrine_circumincession_arianism
		}

		ai_chance = {
			base = 0
			modifier = {
				add = 15
				has_trait = eccentric
			}
			modifier = {
				add = 5
				has_trait = dysentery #This is a reference to how Arius died
			}
			modifier = {
				add = 5
				has_trait = disloyal
			}
		}
	}
}

cad_decision.0009 = { #Offer sacrifice to Mary
	type = character_event
	title = cad_decision.0009.t
	desc = cad_decision.0009.desc
	theme = witchcraft
	left_portrait = {
		character = root
		animation = chaplain
	}

	option = { #Burn incense
		name = cad_decision.0009.a

		hidden_effect = {
			random_list = {
				20 = {
					add_character_modifier = { modifier = mary_boon_fertility months = 9 }
				}
				25 = {
					add_character_modifier = { modifier = mary_boon_piety months = 9 }
				}
				5 = {
					add_character_modifier = { modifier = mary_boon_cash months = 9 }
				}
				20 = {
					add_character_modifier = { modifier = mary_bane_fertility months = 9 }
				}
				20 = {
					add_character_modifier = { modifier = mary_bane_piety months = 9 }
				}
				10 = {
					add_character_modifier = { modifier = mary_bane_cash months = 9 }
				}
			}
		}
	}

	option = { #Offer a collyris
		name = cad_decision.0009.b

		hidden_effect = {
			random_list = {
				30 = {
					add_character_modifier = { modifier = mary_boon_fertility months = 9 }
				}
				35 = {
					add_character_modifier = { modifier = mary_boon_piety months = 9 }
				}
				15 = {
					add_character_modifier = { modifier = mary_boon_cash months = 9 }
				}
				10 = {
					add_character_modifier = { modifier = mary_bane_fertility months = 9 }
				}
				8 = {
					add_character_modifier = { modifier = mary_bane_piety months = 9 }
				}
				2 = {
					add_character_modifier = { modifier = mary_bane_cash months = 9 }
				}
			}
		}
	}

	option = { #Offer nothing
		name = cad_decision.0009.c

		hidden_effect = {
			random_list = {
				10 = {
					add_character_modifier = { modifier = mary_boon_fertility months = 9 }
				}
				9 = {
					add_character_modifier = { modifier = mary_boon_piety months = 9 }
				}
				1 = {
					add_character_modifier = { modifier = mary_boon_cash months = 9 }
				}
				20 = {
					add_character_modifier = { modifier = mary_bane_fertility months = 9 }
				}
				20 = {
					add_character_modifier = { modifier = mary_bane_piety months = 9 }
				}
				40 = {
					add_character_modifier = { modifier = mary_bane_cash months = 9 }
				}
			}
		}

	}
}

cad_decision.0012 = { #Enter Catholic Communion
	type = character_event
	title = cad_decision.0012.t
	desc = cad_decision.0012.desc
	theme = realm
	left_portrait = {
		character = scope:religious_head
		animation = personality_zealous
	}

	option = { 
		name = cad_decision.0012.a

		hidden_effect = {
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autonomous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autonomous }
			}
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autonomous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autonomous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autonomous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_adoptionism } }
				root.faith = { remove_doctrine = doctrine_christology_adoptionism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_docetism } }
				root.faith = { remove_doctrine = doctrine_christology_docetism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_diophysite } }
				root.faith = { remove_doctrine = doctrine_christology_diophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_miaphysite } }
				root.faith = { remove_doctrine = doctrine_christology_miaphysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monophysite } }
				root.faith = { remove_doctrine = doctrine_christology_monophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monothelite } }
				root.faith = { remove_doctrine = doctrine_christology_monothelite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_nestorian } }
				root.faith = { remove_doctrine = doctrine_christology_nestorian }
			}
		}	
		#Placed below to prevent issues
		root.faith = { 
			add_doctrine = catholic_autocephaly_autocephalous 
			change_fervor = { value = 20 desc = fervor_changed_communion }
			add_doctrine = doctrine_christology_diophysite
		}
	}

	option = { #We changed our minds
		name = cad_decision.0012.b

		add_piety = 500 #Refund
	}
}

cad_decision.0013 = { #Enter Orthodox Communion
	type = character_event
	title = cad_decision.0013.t
	desc = cad_decision.0013.desc
	theme = realm
	left_portrait = {
		character = scope:religious_head
		animation = personality_zealous
	}

	option = { 
		name = cad_decision.0012.a

		hidden_effect = {
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autonomous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autonomous }
			}
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autonomous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autonomous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autonomous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_adoptionism } }
				root.faith = { remove_doctrine = doctrine_christology_adoptionism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_docetism } }
				root.faith = { remove_doctrine = doctrine_christology_docetism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_diophysite } }
				root.faith = { remove_doctrine = doctrine_christology_diophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_miaphysite } }
				root.faith = { remove_doctrine = doctrine_christology_miaphysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monophysite } }
				root.faith = { remove_doctrine = doctrine_christology_monophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monothelite } }
				root.faith = { remove_doctrine = doctrine_christology_monothelite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_nestorian } }
				root.faith = { remove_doctrine = doctrine_christology_nestorian }
			}
		}

		root.faith = { 
			add_doctrine = orthodox_autocephaly_autocephalous 
			change_fervor = { value = 20 desc = fervor_changed_communion }
			add_doctrine = doctrine_christology_diophysite
		}
	}

	option = { #We changed our minds
		name = cad_decision.0012.b

		add_piety = 500 #Refund
	}
}

cad_decision.0014 = { #Enter Oriental Communion
	type = character_event
	title = cad_decision.0014.t
	desc = cad_decision.0014.desc
	theme = realm
	left_portrait = {
		character = scope:religious_head
		animation = personality_zealous
	}

	option = { 
		name = cad_decision.0012.a

		hidden_effect = {
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autonomous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autonomous }
			}
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autonomous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autonomous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autonomous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_adoptionism } }
				root.faith = { remove_doctrine = doctrine_christology_adoptionism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_docetism } }
				root.faith = { remove_doctrine = doctrine_christology_docetism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_diophysite } }
				root.faith = { remove_doctrine = doctrine_christology_diophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_miaphysite } }
				root.faith = { remove_doctrine = doctrine_christology_miaphysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monophysite } }
				root.faith = { remove_doctrine = doctrine_christology_monophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monothelite } }
				root.faith = { remove_doctrine = doctrine_christology_monothelite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_nestorian } }
				root.faith = { remove_doctrine = doctrine_christology_nestorian }
			}
		}

		root.faith = { 
			add_doctrine = oriental_autocephaly_autocephalous 
			change_fervor = { value = 20 desc = fervor_changed_communion }
			add_doctrine = doctrine_christology_miaphysite
		}
	}

	option = { #We changed our minds
		name = cad_decision.0012.b

		add_piety = 500 #Refund
	}
}

cad_decision.0015 = { #Enter Nestorian Communion
	type = character_event
	title = cad_decision.0015.t
	desc = cad_decision.0015.desc
	theme = realm
	left_portrait = {
		character = scope:religious_head
		animation = personality_zealous
	}

	option = { 
		name = cad_decision.0012.a

		hidden_effect = {
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autonomous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autonomous }
			}
			if = {
				limit = { root.faith = { has_doctrine = orthodox_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = orthodox_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autonomous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = oriental_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = oriental_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autocephalous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = catholic_autocephaly_autonomous } }
				root.faith = { remove_doctrine = catholic_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autonomous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autonomous }
			}
			if = { 
				limit = { root.faith = { has_doctrine = nestorian_autocephaly_autocephalous } }
				root.faith = { remove_doctrine = nestorian_autocephaly_autocephalous }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_adoptionism } }
				root.faith = { remove_doctrine = doctrine_christology_adoptionism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_docetism } }
				root.faith = { remove_doctrine = doctrine_christology_docetism }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_diophysite } }
				root.faith = { remove_doctrine = doctrine_christology_diophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_miaphysite } }
				root.faith = { remove_doctrine = doctrine_christology_miaphysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monophysite } }
				root.faith = { remove_doctrine = doctrine_christology_monophysite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_monothelite } }
				root.faith = { remove_doctrine = doctrine_christology_monothelite }
			}
			if = {
				limit = { root.faith = { has_doctrine = doctrine_christology_nestorian } }
				root.faith = { remove_doctrine = doctrine_christology_nestorian }
			}
		}
		#Place below removals to prevent issues
		root.faith = { 
			add_doctrine = nestorian_autocephaly_autocephalous 
			change_fervor = { value = 20 desc = fervor_changed_communion }
			add_doctrine = doctrine_christology_nestorian
		}
	}

	option = { #We changed our minds
		name = cad_decision.0012.b

		add_piety = 500 #Refund
	}
}
