# Do not change tags in here without changing every other reference to them.
# If adding new spy actions, make sure they are uniquely named.

incite_troop_desertion = {
	cost = 25		#costs 25$ ducats  (inflation modified)
	difficulty = 2		#2/10 = easy..
	prestige = -0.05	#lose 5 prestige if discovered..
	badboy	= 0 		#no badboy increase if discovered.
	trigger = {
		NOT = { has_province_modifier = "troop_desertions" }
	}
	effect = {
		add_province_modifier = {
			name = "troop_desertions"
			duration = 60
		}
	}
}


assassinate_advisor = {
	cost = 50		#costs 50$ ducats  (inflation modified)
	difficulty = 5		#5/10
	prestige = -0.1		#lose 10 prestige if discovered..
	badboy	= 1 		#small badboy increase if discovered.
	capital = yes		#can only be done in a capital
	trigger = { 
		OR = {
			advisor = philosopher
			advisor = natural_scientist
			advisor = artist
			advisor = statesman
			advisor = treasurer
			advisor = naval_reformer
			advisor = army_reformer
			advisor = trader
			advisor = theologian
			advisor = spymaster
			advisor = colonial_governor
			advisor = diplomat
		}
	}
	effect = {
		remove_advisor = random
	}
}

sabotage_reputation = {
	cost = 200		#costs 200$ ducats  (inflation modified)
	difficulty = 8		#8/10
	prestige = -0.2		#lose 20 prestige if discovered..
	badboy	= 1 		#small badboy increase if discovered.
	capital = yes		#can only be done in a capital
	effect = {
		badboy = 1
	}
}

incite_against_merchant = {
	cost = 25		#costs 25$ ducats  (inflation modified)
	difficulty = 3		#3/10 = semi-easy..
	prestige = -0.01	#lose 1 prestige if discovered..
	badboy	= 0 		#no badboy increase if discovered.
	trigger = {
		NOT = { has_province_modifier = "merchants_despised" }
	}
	effect = {
		add_province_modifier = {
			name = "merchants_despised"
			duration = 120
		}
	}
}

spy_ring_infiltration = {
	cost = 10		#costs 10$ ducats  (inflation modified)
	difficulty = 5		#5/10
	prestige = -0.01	#lose 1 prestige if discovered..
	badboy	= 0 		#no badboy increase if discovered.
	trigger = {
		NOT = { has_country_modifier = "spies_infiltrated" }
	}
	effect = {
		add_country_modifier = {
			name = "spies_infiltrated"
			duration = 180
		}
	}
}

support_revolt = {
	cost = 25		#costs 25$ ducats  (inflation modified)
	difficulty = 1		#1/10 = super-easy..
	prestige = -0.01	#lose 1 prestige if discovered..
	badboy	= 0 		#no badboy increase if discovered.
	trigger = {
		NOT = { has_province_modifier = "foreign_support_for_rebels" }
	}
	effect = {
		add_province_modifier = {
			name = "foreign_support_for_rebels"
			duration = 360
		}
	}
}

comission_privateer = {
	cost = 25		#costs 25$ ducats  (inflation modified)
	difficulty = 1		#1/10
	prestige = -0.01	#lose 1 prestige if discovered..
	badboy	= 0 		#no badboy increase if discovered.
	port = yes		#can only be done in a port.
	effect = {
		seazone = { create_pirate = 1 }
	}
}





