# Targetted decisions are possible vs _all_ other characters and shown are in the Diplomacy View, not the Intrigue View. The taker is in the FROM scope.
#
# filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] ('self' MUST be set for decisions targetting only the taker, the other filter types can be set to lessen CPU load)
# ai_target_filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] (which characters for which the AI evaluates the decision.)
#	court: all characters in the AI's host court, including prisoners, and characters currently away (wards, prisoners, etc)
#	home_court: all characters in the AI's home court, including prisoners, and characters currently away (wards, prisoners, etc)
#	vassals: direct vassal rulers of the AI's employer
#	sub_realm: all characters below the AI's employer
#	realm: all characters in the same top realm as the AI
#	dynasty: all members of the same dynasty
#	rivals: your rivals plus any character you have an opinion modifier with 'crime = yes' set (the same set of characters the 'is_foe' trigger evaluates)
#	all: all living characters (Avoid if possible. VERY CPU-HEAVY!)
#	

# targetted_decisions = {

	# assign_march_vassal = {
		# filter = vassals
		# ai_target_filter = vassals
		
		# from_potential = {
			# independent = yes
			# higher_tier_than = COUNT
			# is_feudal = yes
			# is_ruler = yes
			# government = feudal_government
			# in_revolt = no
			# NOT = {has_law = imperial_administration}
		# }
		# potential = {
			# is_ruler = yes
			# higher_tier_than = BARON
			# in_revolt = no
			# liege = {character = FROM}
			# government = feudal_government
			# mercenary = no
			# holy_order = no
			# NOT = {character = FROM}
		# }
		# allow = {
			# FROM = {has_regent = no}
			# has_regent = no
			# FROM = {
				# NOT = {
					# has_law = succ_feudal_elective 
				# }
			# }
			# NOT = {
				# current_heir = {
					# character = FROM
				# }
			# }
			# NOT = {dynasty = FROM}
			# NOT = {is_child_of = FROM}
			# NOT = {FROM = {is_child_of = ROOT}}
			# NOT = {
				# any_sibling = {
					# character = FROM
				# }
			# }
		# }
		# effect = {
			# add_trait = march_vassal
			# set_government_type = imperial_government
		# }
		# revoke_allowed = {
			# always = no
		# }
		# ai_will_do = {
			# factor = 1
			# modifier = {
				# factor = 0
				# NOT = {realm_levies = 2000}
			# }
			
			# modifier = {
				# factor = 0
				# OR = {
					# NOT = {religion = FROM}
					# NOT = {culture_group = FROM}
				# }
			# }
			
			# modifier = {
				# factor = 0.1
				# FROM = {realm_levies = 3000}
			# }
		# }
	# }
	
	
# }