﻿### LAWFULLY IMPRISON

### TOO MANY HELD DUCHIES
action_too_many_held_duchies = {
	combine_into_one = yes
	is_dangerous = no
	
	check_create_action = {
		if = {
			limit = {
				has_too_many_held_duchies_trigger = no
			}
			every_held_title = {
				limit = {
					title_counts_towards_too_many_duchies_trigger = 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 }
		}
	}
}