pte_take_advisor_dip = {
	category = 6
	power_projection = no
	power_cost_base = 0.368
	prestige_base = 0.25
	ae_base = 0
	warscore_cost = {
		all_provinces = 0.0
		no_provinces = 20.0
		owner_keeps = 0.0
		conquered = 0.0
		returned_core = 0.0
		released_nation = 0.0
		cancelled_subject = 0.0
		concede_colonial_region = 0.0
	}
	warscore_cap = -1
	requires_demand_independence = no
	is_make_subject = no
	requires_is_allowed = no

	is_visible = {
		FROM = {
			OR = {
				advisor = statesman
				advisor = diplomat
				advisor = naval_reformer
				advisor = trader
				advisor = colonial_governor
				advisor = navigator
				advisor = spymaster
				AND = {
					is_expanded_mod_active = { mod = advisor_types }
					has_ate_advisor = { dip = yes skill = 1 }
				}
			}
		}
	}
	is_allowed = {
	}
	effect = {
		pte_take_advisor_dip_effect = yes
	}
	ai_weight = {
		export_to_variable = {
			variable_name = ai_value
			value = 0
		}
		limit = {
			always = yes
		}
	}
}