targetted_decisions = {

################################
# Appoint Religious Head below #
################################

# Appoint Orthodox Ecumenical Patriarch
ciml_appoint_patriach_orthodox = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = orthodox
	  }
  potential = {
    has_job_title = job_spiritual
	religion = orthodox
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		k_orthodox = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	k_orthodox = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Barlaamite Ecumenical Patriarch
ciml_appoint_patriach_barlaamite = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = barlaamite
	  }
  potential = {
    has_job_title = job_spiritual
	religion = barlaamite
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_barlaamite = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_barlaamite = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Iconiclast Ecumenical Patriarch
ciml_appoint_patriach_iconoclast = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = iconoclast
	  }
  potential = {
    has_job_title = job_spiritual
	religion = iconoclast
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_iconoclast = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_iconoclast = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Monothelite Patriarch
ciml_appoint_patriach_monothelite = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = monothelite
	  }
  potential = {
    has_job_title = job_spiritual
	religion = monothelite
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_monothelite = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_monothelite = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Paulician Patriarch
ciml_appoint_patriach_paulician = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = paulician
	  }
  potential = {
    has_job_title = job_spiritual
	religion = paulician
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_paulician = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_paulician = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Miaphysite Pope
ciml_appoint_patriach_miaphysite = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = miaphysite
	  }
  potential = {
    has_job_title = job_spiritual
	religion = miaphysite
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_miaphysite = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_miaphysite = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Judaizer Abuna
ciml_appoint_patriach_judaizer = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = judaizer
	  }
  potential = {
    has_job_title = job_spiritual
	religion = judaizer
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_judaizer = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_judaizer = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Monophysite Pope
ciml_appoint_patriach_monophysite = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = monophysite
	  }
  potential = {
    has_job_title = job_spiritual
	religion = monophysite
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_monophysite = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_monophysite = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Nestorian Patriarch
ciml_appoint_patriach_nestorian = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = nestorian
	  }
  potential = {
    has_job_title = job_spiritual
	religion = nestorian
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_nestorian = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
				trait = ambitious
				trait = zealous
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_nestorian = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Chaldean Patriarch
ciml_appoint_patriach_chaldean = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = chaldean
	  }
  potential = {
    has_job_title = job_spiritual
	religion = chaldean
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_chaldean = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
				trait = ambitious
				trait = zealous
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_chaldean = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Apollinarian Catholicos
ciml_appoint_patriach_apollinarian = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = apollinarian
	  }
  potential = {
    has_job_title = job_spiritual
	religion = apollinarian
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_apollinarian = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
				trait = ambitious
				trait = zealous
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_apollinarian = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Adoptionist Archibishop
ciml_appoint_patriach_adoptionist = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = adoptionist
	  }
  potential = {
    has_job_title = job_spiritual
	religion = adoptionist
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_married = no 
		is_ruler = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_adoptionist = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_adoptionist = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

# Appoint Mandean Risamma
ciml_appoint_patriach_mandean = {
  is_high_prio = no # Will show an alert if special action is available
  ai_check_interval = 36000 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  filter = court #Filter characters targeted by the player
  from_potential = {
    ai = no
	religion = mandean
	  }
  potential = {
    has_job_title = job_spiritual
	religion = mandean
	NOT = { controls_religion = yes }
	#Conditions on the targeted character for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
	FROM = {
		NOR = { 
			has_character_modifier = caesaropapist_emperor
			trait = excommunicated
		}
		prisoner = no
		is_incapable = no
	}
	ROOT = {
		is_ruler = no
		is_incapable = no
	}
	NOR = { 
		ROOT = { trait = humble } 
		d_mandean = {
			has_holder = no
		}
		religion_head = {
			OR = {
				trait = brave
				trait = stubborn
				trait = ambitious
				trait = zealous
			}
		}
	}
	religion_head = { is_vassal_or_below_of = FROM }
  }
  effect = {
    #Commands executed when taking the decision
	religion_head = {
			opinion = {
				who = FROM
				modifier = opinion_hate
				years = 30
			}
		}
	d_mandean = {
		holder_scope = { abdicate_to = ROOT }
	}
	ROOT = {
		opinion = {
			who = FROM
			modifier = opinion_creator_of_rel_heal
		}
		add_character_modifier = { 
			name = caesaropapist_patriarch
			months = -1
		}
	}
	FROM = {
		add_character_modifier = { 
			name = caesaropapist_emperor
			months = 275
		}
		piety = -100
	}
	religion_authority = {
		modifier = caesaropapism
		years = 20
	}
  }
  revoke_allowed = {
    always = no #Not used in vanilla
  }
  ai_will_do = {
	factor = 0
    #Factors for an AI character to take the decision (1 = 100% chance every month - for each allowed target!)
  }
  ai_acceptance = {
    # See below  
  }
}

}