###################################
####EEP RUS version################
#         Astrakhan Events        #
# by Panzerkreuzer & Al Komnin    #
###################################

#Astrakhan Cessation# by Crook
event = {

	id = 40062
	trigger = { 
			exists = AST 
			event = 95551 
	}
	random = no
	country = AST
	name = "EVENTNAME40062"
	desc = "EVENTHIST40062"
	style = 1
	date = { day = 1 month = january year = 1449 }
	deathdate = { day = 1 month = january year = 1820 }
	action_a = {
		name = "ACTIONNAME40062A"					
		command = { type = INF which = -2 value = 6000 }
		command = { type = CAV which = -2 value = 12000 }
		command = { type = relation which = STE value = -300 }
		command = { type = relation which = MOS value = -50 }
		command = { type = relation which = CRI value = -50 }
	}
}

# Yamgurchi seizes power # 
event = { 

	id = 93250 
	trigger = { 
		owned = { province = 446 data = RUS } #Kazan has fallen# 
		exists = CRI 
	} 
	random = no 
	country = AST 
	name = "EVENTNAME93250" 
	desc = "EVENTHIST93250" 
	style = 2 
	date = { day = 1 month = january year = 1552 } 
	deathdate = { day = 1 month = january year = 1553 } 

	action_a = { # Yield to Crimean demands #
		name = "ACTIONNAME93250A" 
		command = { type = relation which = RUS value = -100 } 
		command = { type = relation which = CRI value = 100 } 
		command = { type = relation which = TUR value = 50 } 
		command = { type = relation which = NOG value = -50} 
		command = { type = land value = 1500 } # Crimean allies have helped 
		command = { type = wakemonarch which = 06828 } # Yamgurchi 
	} 
	action_b = { # Moscow is more dangerous than Crimea, let us be friends... #
		name = "ACTIONNAME93250B"  
		command = { type = relation which = RUS value = 100 } 
		command = { type = relation which = CRI value = -100 } 
		command = { type = relation which = TUR value = -50 } 
		command = { type = relation which = NOG value = 50} 
		command = { type = trade value = 500 } # Russian trade enfrocement 
		command = { type = sleepmonarch which = 06828 } # Yamgurchi 
		command = { type = wakemonarch which = 06830 } # Dervish Ali 
		command = { type = sleepevent which = 93251 }# Peace Treaty 1554 
	} 
} 

# Peace Treaty 1554 #
event = { 

	id = 93251 
	trigger = { 
		control = { province = 457 data = RUS } 
		owned = { province = 458 data = -1} #Sarai 
		owned = { province = 446 data = -1} #Kazan 
		event = 40018 #Russian claims in the East# 
                exists = AST
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME93251" 
	desc = "EVENTHIST93251" 
	style = 2 
	date = { day = 1 month = january year = 1554 } 
	deathdate = { day = 1 month = january year = 1560 } 

	action_a = { # There will be 'our' khan! # 
		name = "ACTIONNAME93251A" 
		command = { type = relation which = AST value = 100 } 
		command = { type = relation which = CRI value = -100 } 
		command = { type = relation which = TUR value = -50 } 
		command = { type = relation which = NOG value = 50} 
		command = { type = vassal which = AST } 
		command = { type = wakemonarch which = 06829 } #Dervish Ali#
	} 
} 

# Dervish Ali conspires with Crimea #
event = { 

	id = 93252 
	trigger = { 
		monarch = 06830 
		exists = CRI 
	} 
	random = no 
	country = AST 
	name = "EVENTNAME93252" 
	desc = "EVENTHIST93252" 
	style = 2 
	date = { day = 1 month = january year = 1555 } 
	offset = 30 
	deathdate = { day = 1 month = january year = 1560 } 

	action_a = { # Conspire with Crimea! #
		name = "ACTIONNAME93252A"  
		command = { type = relation which = RUS value = -100 } 
		command = { type = relation which = CRI value = 100 } 
		command = { type = relation which = TUR value = 50 } 
		command = { type = relation which = NOG value = -50 } 
		command = { type = breakvassal which = RUS } 
		command = { type = INF which = -2 value = 1000 } 
		command = { type = ART which = -2 value = 10 } 
	} 
	action_b = { # Be faithful to Moscow! # 
		name = "ACTIONNAME93252B" 
		command = { type = relation which = RUS value = 50 } 
		command = { type = relation which = CRI value = -100 } 
		command = { type = relation which = TUR value = -50 } 
		command = { type = revoltrisk which = 24 value = 10 } 
		command = { type = stability value = -3 } 
		command = { type = sleepevent which = 93253 } # Final annexation of Astrakhan #
	} 
} 

# Annexation of Astrakhan # 
event = { 

	id = 93253 
	trigger = { 
		control = { province = 457 data = RUS } 
		owned = { province = 458 data = -1} # Tsaritsyn 
		owned = { province = 446 data = -1} #Kazan
		event = 40018 #Russian claims in the East# 
                exists = AST
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME93253" 
	desc = "EVENTHIST93253" 
	style = 2 

	date = { day = 1 month = january year = 1556 } 
	deathdate = { day = 1 month = january year = 1600 } 

	action_a = { # Annex #
		name = "ACTIONNAME93253A"  
		command = { type = relation which = CRI value = -100 } 
		command = { type = relation which = TUR value = -50 } 
		command = { type = relation which = NOG value = -50} 
		command = { type = inherit which = AST } 
		} 
} 

# Ahmat marches to Moscow #
event = { 
	id = 93255 
		trigger = { 
			exists = MOS 
			exists = STE 
			vassal = { country = STE country = AST }
			war = { country = STE  country = MOS }
	} 
	random = no 
	country = AST 
	name = "EVENTNAME93255"
	desc = "EVENTHIST93255" 
	style = 1 

	date = { day = 1 month = january year = 1470 } 
	offset = 3 
	deathdate = { day = 30 month = december year = 1480 }

	action_a = { #Да, сразимся с гуярами!#
		name = "ACTIONNAME93255A"
		command = { type = relation which = MOS value = -100 } 
		command = { type = relation which = STE value = 100 } 
		command = { type = relation which = NOG value = -50 } 
		command = { type = stability value = 1 } 
		command = { type = war which = MOS }
	} 
	action_b = { #Нет, они слишком сильны для нас#
		name = "ACTIONNAME93255B"
		command = { type = relation which = MOS value = 150 } 
		command = { type = relation which = CRI value = 50 } 
		command = { type = relation which = STE value = -150 } 
		command = {type = relation which = NOG value = 50 } 
		command = { type = stability value = -1 } 
		command = { type = treasury value = 150 } 
	} 
} 

#Crimean Secession from Golden Horde#
event = { 
	id = 93256 
	trigger = { 
		exists = CRI 
		exists = STE 
		vassal = { country = STE country = AST } 
	} 
	random = no 
	country = AST 
	name = "EVENTNAME93256"
	desc = "EVENTHIST93256" 
	style = 1 

	date = { day = 1 month = january year = 1475 } 
	offset = 60 
	deathdate = { day = 30 month = december year = 1481 }

	action_a = { #Поступим как Крымцы!#
		name = "ACTIONNAME93256A"
		command = { type = breakvassal which = STE } 
		command = { type = relation which = CRI value = 100 } 
		command = { type = relation which = STE value = -200 } 
		command = { type = stability value = -3 } 
		command = { type = revoltrisk which = 12 value = 3 } 
	} 
	action_b = { #Поможем, дяде Ахмату!# 
		name = "ACTIONNAME93256B" 
		command = { type = casusbelli which = CRI value = 24 } 
		command = { type = relation which = CRI value = -100 } 
		command = { type = relation which = STE value = 150 } 
		command = { type = relation which = TUR value = -50 } 
	} 
	action_c = { #Ну их всех на фиг. Останемся в стороне#
		name = "ACTIONNAME93256C"
		command = { type = relation which = STE value = 100 } 
	} 
} 

#Muscovites annex Kazan'#
event = {

	id = 93257
	trigger = { 
		NOT = { 
			exists = KAZ 
		}
		OR = { 
		owned = { province = 446 data = RUS }
		owned = { province = 446 data = MOS }
		}
	}
	random = no
	country = AST
	name = "EVENTNAME93257"
	desc = "EVENTHIST93257"
	style = 2
	offset = 30

	action_a = { #Kill the infidels!#
		name = "ACTIONNAME93257A"
		command = { type = casusbelli which = MOS value = 24 }
		command = { type = casusbelli which = RUS value = 24 }
	}
	action_b = { #Let's reconcile with Moscow#
		name = "ACTIONNAME93257B"
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = MOS value = 100 }
	}
}

#We are righteous successors to Golden Horde#
event = {

	id = 93258
	trigger = {
		NOT = { exists = STE }
		owned = { province = 458 data = -1 } #Царицын#
		owned = { province = 455 data = -1 } #поволжье#
		owned = { province = 1438 data = -1 } 
		owned = { province = 456 data = -1 } #Яик#
        }
	random = no
	country = AST
	name = "EVENTNAME93258"
	desc = "EVENTHIST93258"
	style = 1

	date = { day = 1 month = january year = 1506 }
	offset = 30
	deathdate = { day = 30 month = december year = 1819 }

	action_a = { #We are righteous successors!#
		name = "ACTIONNAME93258A"
		command = { type = addcore which = 458 } #Царицын#
		command = { type = addcore which = 455 } #Уфа#
		command = { type = addcore which = 1571 } #Самара#
		command = { type = addcore which = 455 } #Яик#
		command = { type = addcore which = 456 } 
		command = { type = addcore which = 460 } #Донские Казаки#
		command = { type = addcore which = 1438 } #Калмыкия#
		command = { type = addcore which = 468 } #Северный Кавказ#
		command = { type = addcore which = 453 } 
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = MOS value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = NOG value = -100 }
		command = { type = relation which = SIB value = -100 }
	}
	action_b = { #We have few problems, don't we?#
		name = "ACTIONNAME93258B"
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = MOS value = 100 }
		command = { type = relation which = CRI value = 100 }
		command = { type = relation which = NOG value = 100 }
		command = { type = relation which = SIB value = 100 }
	}
}

# Caravan trade #
event = {

	id = 93259
	trigger = { 
		NOT = { cot = 457 }
		owned = { province = 458 data = -1 } #Царицын#
		countrysize = 3
		trade = 3 #монополии#
		infra = 2
	}
	random = no
	country = AST
	name = "EVENTNAME93259"
	desc = "EVENTHIST93259"
	style = 2

	date = { day = 1 month = january year = 1550 }
	offset = 30
	deathdate = { day = 30 month = december year = 1819 }

	action_a = { #Tres bien!#
		name = "ACTIONNAME93259A"
		command = { type = cot which = 457 }
		command = { type = merchants value = 3 }
		command = { type = treasury value = 200 }
		command = { type = population which = 457 value = 3000 }
	}
}

event = {

	id = 93260
	trigger = { 
		exists = PER
		relation = { country = PER value = 50 }
		owned = { province = 530 data = PER } #Тебриз# 
		owned = { province = 529 data = PER } #Табаристан#
		owned = { province = 525 data = PER } #Копетдаг#
		NOT = { 
			event = 93261 
		} 
	}
	random = no
	country = AST
	name = "EVENTNAME93260"
	desc = "EVENTHIST93260"
	style = 2

	date = { day = 1 month = january year = 1588 }
	offset = 350
	deathdate = { day = 30 month = december year = 1629 }

	action_a = { #Adopt Shia!#
		name = "ACTIONNAME93260A"
		command = { type = religion   which = shiite }
		command = { type = provincereligion which = -1 value = shiite }
		command = { type = provincereligion which = 457 value = shiite }
		command = { type = religiousrevolt which = -1 }
		command = { type = trade value = 500 }
		command = { type = treasury value = 200 }
	}
	action_b = { #Sunni is only true#
		name = "ACTIONNAME93260B"
		command = { type = relation which = PER value = -200 }
		command = { type = revolt which = -2 }
		command = { type = population which = 457 value = -2000 }
		command = { type = religiousrevolt which = -1 }
	}
}

# Ottoman proposal #
event = {

	id = 93261
	random = no
	country = AST
	name = "EVENTNAME93261"
	desc = "EVENTHIST93261"
	style = 3

	action_a = { #Accept Ottoman protectorate#
		name = "ACTIONNAME93261A"
		command = { type = trigger which = 95559 } #TUR#
		command = { type = treasury value = 300 }
	}
	 action_b = { #Decline#
		name = "ACTIONNAME93261B"
		command = { type = relation which = TUR value = -100 }
		command = { type = revolt which = -1 }
	}
}

event = {

	id = 93262
	trigger = { 
			
			owned = { province = 515 data = -1 } #эмба#
			owned = { province = 514 data = -1 } #Оренбург#
	}
	random = no
	country = AST
	name = "EVENTNAME93262"
	desc = "EVENTHIST93262"
	style = 3

	date = { day = 1 month = january year = 1601 }
	offset = 360
	deathdate = { day = 30 month = december year = 1819 }

	action_a = { #Issue claims#
		name = "ACTIONNAME93262A"
		command = { type = addcore which = 583 } 
		command = { type = addcore which = 581 } 
		command = { type = addcore which = 578 } 
		command = { type = addcore which = 586 } 
		command = { type = addcore which = 1753 } #Тобольск#
		command = { type = addcore which = 516 } #Курган#
		command = { type = addcore which = 511 } #Миас#
                command = { type = addcore which = 515 } 
		command = { type = addcore which = 514 }
		command = { type = relation which = SIB value = -100 }
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = MOS value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = NOG value = -100 }
	}
	action_b = { #Calm it down#
		name = "ACTIONNAME93262B"
		command = { type = relation which = SIB value = 100 }
	}
}

#Creation of Astrakhan Khanate# 
event = { 

	id = 95551 
	trigger = { 
		NOT = { exists = AST } 
		owned = { province = 457 data = -1 } 
	} 
	random = no 
	country = STE 
	name = "EVENTNAME95551" 
	desc = "EVENTHIST95551" 
	style = 1 

	date = { day = 1 month = january year = 1459 } 
	offset = 150 
	deathdate = { day = 31 month = december year = 1459 } 
	
	action_a = { 
		name = "ACTIONNAME95551A" 
		command = { type = independence which = AST } 
		command = { type = stability value = 2 }
	} 
} 
