﻿### TOO MANY HELD DUCHIES
action_too_many_held_duchies = {
	combine_into_one = yes
	check_create_action = {
		if = {
			limit = {
				highest_held_title_tier >= tier_kingdom
				any_held_title = {
					count > 999999
					tier = tier_duchy
					is_titular = no
				}
			}
			every_held_title = {
				limit = {
					tier = tier_duchy
					is_titular = no
				}
				try_create_important_action = {
					important_action_type = action_too_many_held_duchies
					landed_title = this
				}
			}

		}
	}
	effect = {
		scope:landed_title = {
			open_view_data = { view = title_view_window }
		}
	}
}