settlement_issue_valid_to_continue_default_trigger = {
	OR = {
		task_contract_location.province_owner = task_contract_taker
		task_contract_location.province_owner.top_liege = task_contract_taker
	}
	task_contract_employer = { 
		is_alive = yes 
		OR = {
			liege_or_court_owner = root.task_contract_taker
			employer = root.task_contract_taker
		}
	}
}

settlement_issue_valid_to_keep_default_trigger = {
	custom_tooltip = {
		text = migration_contract_county_ownership_text
		OR = {
			task_contract_location.province_owner = task_contract_taker
			task_contract_location.province_owner.liege = task_contract_taker
			task_contract_location.province_owner.top_liege = task_contract_taker
		}
	}
	custom_tooltip = {
		text = migration_contract_county_text
		task_contract_location.county = { county_control < 90 }
	}
}

settlement_issue_valid_to_create_default_trigger = {
	any_knight = {
		count >= 1
	}
	any_held_county = {
		is_landless_type_title = no
		exists = title_province
		county_control < 90
		NOT = { has_county_modifier = ongoing_settlement_contract }
	}
}

mpo_settlement_issue_trigger = {
	any_knight = {
		count >= 1
	}
	any_held_county = {
		is_landless_type_title = no
		exists = title_province
		county_control < 90
		NOT = { has_county_modifier = ongoing_settlement_contract }
	}
	NOT = {
		any_task_contract = {
			has_task_contract_type = nomadic_migration_contract_$NUMBER$
		}
	}
}
