targetted_decisions = {
######################################
####### Divinite			   #######
######################################
	destin_amant_Divinite = {
		filter = all
		ai_target_filter = all
		ai = no
		diplomacy_icon = GFX_icon_Divinite
		third_party_filter = court # all (court pour les personnes de la court et le all pour tout le monde)
        third_party = ROOT		
        third_party_potential = {
            FROMFROM = {
				age >= 16
				NOT = {
					trait = trait_Sede_Vacante
					has_landed_title = e_holy_see
				}
			}
        }
		from_potential = {
			OR = {
				has_landed_title = d_divinite_1
				trait = Divinite
			}
		}
		allow = {
			age >= 16
			num_of_courtiers > 0
			NOT = {
				trait = trait_Sede_Vacante
				has_landed_title = e_holy_see
			}
		}
		effect = {
			if = {
				limit = {
					FROMFROM = {
						age >= 16
						NOT = {
							trait = trait_Sede_Vacante
							has_landed_title = e_holy_see
						}
					}
				}
				FROMFROM = {
					add_lover = ROOT
				}
				if = {
					limit = {
						FROMFROM = {
							same_sex = ROOT
						}
					}
					FROMFROM = {
						add_trait = homosexual
					}
					ROOT = {
						add_trait = homosexual
					}
				}
			}
		}
	}
}