######Kazakh Major Events######
#  By Demetrios and Havard    #
#                             #
#  altered a bit by Doomdark  #
#                             #
###############################

# The Kalmyk Conquest
event = {
	id = 3830
	random = no
	country = KZK
	name = "EVENTNAME3830"
	desc = "EVENTHIST3830"
	style = 3
	
	date = { day = 1 month = january year = 1652 }
	offset = 300

	action_a ={ # Resist the invaders
		name = "ACTIONNAME3830A"
		command = { type = land value = 600 }
		command = { type = CAV which = -2 value = 8000 }
		command = { type = domestic which = CENTRALIZATION  value = 1 }
		command = { type = stability value = -2 }
	}
	action_b ={ # We are powerless to resist
		name = "ACTIONNAME3830B"
		command = { type = domestic which = CENTRALIZATION  value = -1 }
		command = { type = stability value = 2 }
		command = { type = trade value = 600 }
		
	}
}

#########################
####  Kazakh Events  ####
#####    by Crook   #####
#########################

#Kazaks Setup Event#
event = {

	id = 65004
	random = no
	country = KZK
	name = "EVENTNAME65004"
	desc = "EVENTHIST65004"
	style = 1
	action_a ={
		name = "ACTIONNAME65004A"					
		command = { type = breakvassal which = UZB }
		command = { type = stability value = 5 }
		command = { type = CAV which = -2 value = 8000 }
		command = { type = relation which = UZB value = -300 }
		}
}

#Settlement of Kazakhs#
event = {

	id = 65015
	random = no
	country = KZK
	name = "EVENTNAME65015"
	desc = "EVENTHIST65015"
	style = 1

	date = { day = 1 month = january year = 1540 }
	offset = 500
	deathdate = { day = 1 month = january year = 1580 }

	action_a ={
		name = "ACTIONNAME65015A"					
		command = { type = add_countryculture which = khazak}
		command = { type = remove_countryculture which = mongol }
		command = { type = provinceculture which = 1535 value = khazak }
		command = { type = provinceculture which = 519 value = khazak }
		command = { type = provinceculture which = 580 value = khazak }
		command = { type = provinceculture which = 579 value = khazak }
		command = { type = provinceculture which = 517 value = khazak }
		command = { type = provinceculture which = 584 value = khazak }
		command = { type = provinceculture which = 1534 value = khazak }
command = { type = provinceculture which = 850 value = khazak }
		command = { type = addcore which = 850 }
		command = { type = addcore which = 579 }
		command = { type = addcore which = 580 }
		command = { type = addcore which = 517 }
		command = { type = addcore which = 519 }
		command = { type = addcore which = 1535 }
		command = { type = addcore which = 584 }
		command = { type = addcore which = 1534 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = stability value = 2 }
		command = { type = population which = -1 value = 1000 }
		command = { type = population which = -1 value = 1000 }
		command = { type = provincetax which = -1 value = 1}
		command = { type = provincetax which = -1 value = 1}
		command = { type = provincetax which = -1 value = 1}
		command = { type = CAV which = -1 value = 10000 }
		}
}

event = {
id = 200245

trigger = {  

owned = { province = 515 data = -1 } 
owned = { province = 1593 data = -1 }   
                         
    }
country = KZK
	
        random = no
	name = "Эмба и Аксай отлагаются от Ногайцев"
	desc = "Наши братья, кочующие в степях эмбы и Аская отложились от ногайцев и присоеденились к нашей державе! Ура!"
        style = 1

	date = { day = 1 month = january year = 1500 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={			
		name = "Great!"
                command = { type = stability value = 2 }
                command = { type = provinceculture which = 515 value = khazak }
		command = { type = provinceculture which = 1593 value = khazak }
                command = { type = addcore which = 515 }
                command = { type = addcore which = 1593 }
	}
}
