#targetted_decisions = {
######################################
####### Vatican				   #######
######################################
#	Renoncer-list = {
#		filter = self
#		ai_target_filter = self
#		ai = no
#		diplomacy_icon = GFX_icon_Abdiquer_Vatican
#		third_party_filter = all
#        third_party = ROOT		
#        third_party_potential = {
#            FROMFROM = {
#				trait = Cardinal-Catholic
#				has_minor_title = title_cardinal
#				prisoner = no
#				is_landed = yes
#				ai = yes
#				NOT = {
#					any_liege = {
#						has_claim = k_papal_state
#					}
#					has_claim = k_papal_state
#					any_vassal = {
#						has_claim = k_papal_state
#					}
#				}
#				NOT = {
#					top_liege = {
#					#	custom_tooltip = {
#					#		text = any_realm_character_Renoncer
#							any_realm_character = {
#								has_claim = k_papal_state
#							}
#					#	}
#					}
#				}
#				NOT = {
#					trait = excommunicated
#				}
#				NOT = {
#					has_character_modifier = accused_apostate
#				}
#			}
#        }
#		potential = {
#			has_landed_title = k_papal_state
#		}
#		allow = {
#			age = 0
#		#	current_heir = {
#		#		is_alive = yes
#		#		trait = Cardinal-Catholic
#		#		has_minor_title = title_cardinal
#		#		is_landed = yes
#		#		NOT = {
#		#			character = ROOT
#		#		}
#		#	}
#			FROM = {
#				NOT = {
#					trait = trait_Sede_Vacante
#				}
#			}
#			any_character = {
#				trait = Cardinal-Catholic
#				has_minor_title = title_cardinal
#				is_landed = yes
#				ai = yes
#			}	
#		}
#		effect = {
#			if = {
#				limit = {
#					FROMFROM = {
#						trait = Cardinal-Catholic
#						has_minor_title = title_cardinal
#						prisoner = no
#						is_landed = yes
#						ai = yes
#						NOT = {
#							any_liege = {
#								has_claim = k_papal_state
#							}
#							has_claim = k_papal_state
#							any_vassal = {
#								has_claim = k_papal_state
#							}
#						}
#						NOT = {
#							top_liege = {
#							#	custom_tooltip = {
#							#		text = any_realm_character_Renoncer
#									any_realm_character = {
#										has_claim = k_papal_state
#									}
#							#	}
#							}
#						}
#						NOT = {
#							trait = excommunicated
#						}
#						NOT = {
#							has_character_modifier = accused_apostate
#						}
#					}
#				}
#				FROMFROM = {
#					current_heir = {
#						save_event_target_as = pope_renoncer
#					}	
#					abdicate_to = event_target:pope_renoncer
#					save_event_target_as = renoncer_liste
#					save_event_target_as = nouveau_pape_tete_C
#				}
#				FROM = {
#					transfer_scaled_wealth = {
#						to = event_target:renoncer_liste
#						value = all
#					}
#					any_artifact = {
#						transfer_artifact = {
#							from = FROM
#							to = event_target:renoncer_liste
#						}
#					}
#					imprison = no
#				#	add_rival = event_target:renoncer_liste
#					abdicate_to = event_target:renoncer_liste
#					set_player_character = event_target:renoncer_liste
#					move_character = event_target:renoncer_liste
#					imprison = event_target:renoncer_liste
#					remove_claim = k_papal_state
#				#	add_trait = excommunicated
#				#	add_character_modifier = {
#				#		name = accused_apostate
#				#		duration = -1
#				#	}	
#				}
#				character_event = {
#					id = nouveau-pape.1
#				#	days = 1 #ne pas activer le jour ou l event en question n apparait pas
#				}
#			}
#			k_papal_state = {
#				holder_scope = {
#					character_event = {
#						id = Renoncer_sede_vacante.1
#					#	days = 1
#					}
#				}
#			}
#		}
#	}
#}