targetted_decisions = {
######################################
####### Divinite			   #######
######################################
	Divinite_no_lowborn = {
		filter = self
		ai_target_filter = self
		ai = no
		diplomacy_icon = GFX_icon_Divinite
		third_party_filter = all
        third_party = ROOT		
        third_party_potential = {
            FROMFROM = {
				has_landed_title = c_divinite
				trait = Divinite
				ai = yes
				NOT = {
					has_landed_title = d_brutii
					has_landed_title = d_julii
					has_landed_title = d_scipii
					has_landed_title = k_spqr
					has_landed_title = k_papal_state
					has_landed_title = e_papal_state
					has_landed_title = e_holy_see
				}
			}
        }
		potential = {
			NOT = {
				has_landed_title = c_divinite
				has_landed_title = d_brutii
				has_landed_title = d_julii
				has_landed_title = d_scipii
				has_landed_title = k_spqr
				has_landed_title = k_papal_state
				has_landed_title = e_papal_state
				has_landed_title = e_holy_see
			}
			any_character = {
				has_landed_title = c_divinite
				trait = Divinite
				ai = yes
			}
			custom_tooltip = {
				text = joueur_Divinite
				NOT = {
					any_character = {
						has_landed_title = c_divinite
						trait = Divinite
						ai = no
					}
				}
			}
		}
		allow = {
			NOT = {
				has_landed_title = c_divinite
				has_landed_title = d_brutii
				has_landed_title = d_julii
				has_landed_title = d_scipii
				has_landed_title = k_spqr
				has_landed_title = k_papal_state
				has_landed_title = e_papal_state
				has_landed_title = e_holy_see
			}
			any_character = {
				has_landed_title = c_divinite
				trait = Divinite
				ai = yes
			}
			custom_tooltip = {
				text = joueur_Divinite
				NOT = {
					any_character = {
						has_landed_title = c_divinite
						trait = Divinite
						ai = no
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					FROMFROM = {
						has_landed_title = c_divinite
						trait = Divinite
						NOT = {
							has_landed_title = d_brutii
							has_landed_title = d_julii
							has_landed_title = d_scipii
							has_landed_title = k_spqr
							has_landed_title = k_papal_state
							has_landed_title = e_papal_state
							has_landed_title = e_holy_see
						}
					}
				}
				FROM = {
					set_player_character = FROMFROM
				}
			}
		}
	}	
}