﻿mercenary_contract_expiring = {
	type = alert
	check_create_action = {
		every_hired_mercenary = {
			if = {
				limit = {
					mercenary_company_expiration_days < 360
				}
				save_scope_as = target
				try_create_important_action = {
					important_action_type = mercenary_contract_expiring
				}
			}
		}		
	}

	effect = {
		scope:target = {
			open_view = military
			open_view_data = {
				view = hired_troop_detail_view
			}
		}
	}
}
