
# decisions to help the AI not screw up title stuff

#targeted_decisions = { # standard give county to vassal that dejure owns it
	sanity_1 = {
		only_playable = yes
		filter = vassals
		from_potential = {
			#ai = yes
			is_feudal = yes
			higher_tier_than = duke
		}
		allow = {
			ROOT = {
				tier = duke
				has_opinion_modifier = {who = LIEGE modifier =  de_jure_liege}
			}
			FROM = {
				over_max_demesne_size = 2
			}
		}
		effect = {
			any_demesne_title = {
				limit = {
					tier = count
					#any_neighbor_province = { owner = {ROOT} }
					can_be_given_away = yes
					NOT = { location = { is_capital = yes } }
				}
				grant_title = ROOT
			}
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 0.5
			modifier = { FROM = { over_max_demesne_size = 4 } factor = 2 }
			modifier = { ROOT = { over_max_demesne_size = 1 } factor = 0 }
		}
	}

}