
targeted_decisions = {
	steal_artifact = {
		
		ai = no
		third_party_filter = artifacts
		third_party = ROOT
		show_third_party_potential = yes
		
		from_potential = {
			has_dlc = "Mystics"
		}
		potential = {
			num_of_artifacts = 1
			OR = {
				is_landed = yes
				any_title = { is_titular = yes }
			}			
			ai = yes
		}
		third_party_potential = {
			FROMFROM = {
				show_scope_change = no
				NOT = {
					custom_tooltip = { text = steal_artifact_allow1 has_artifact_flag = flagship }
				}
				custom_tooltip = {
					text = steal_artifact_allow2
					NAND = {
						artifact_type = dragon_binder
						owner = { character = 77041 }
					}
				}
			}	
		}
		allow = {
			ROOT = {
				in_seclusion = no
				is_landed = yes
				NOT = { custom_tooltip = { text = steal_artifact_allow3 has_character_flag = on_a_foreign_tour } }
			}
			FROM = {
				is_incapable = no
				has_regent = no
				prisoner = no
				in_seclusion = no
				NOT = { custom_tooltip = { text = steal_artifact_allow3 has_character_flag = on_a_foreign_tour } }
				custom_tooltip = {
					text = steal_artifact_active
					NOT = {has_character_modifier = active_heist}
				}
				custom_tooltip = {
					text = steal_artifact_cd
					NOT = {has_character_modifier = heist_cd}
				}
			}
		}
		effect = {
			FROMFROM = {
				set_artifact_flag = targeted
			}
			FROM = {
				character_event = { id = aao.001 }
				add_character_modifier = { 
					name = active_heist 
					duration = -1
					hidden = yes
				}
			}
		}
	}
}