########################
#### Event by Crook ####
########################

#Crimean Cessation#
event = {

	id = 40063
	random = no
	trigger = { exists = CRI }
	country = CRI
	name = "EVENTNAME40063"
	desc = "EVENTHIST40063"
	style = 1
	date = { day = 1 month = january year = 1435 }
	deathdate = { day = 1 month = january year = 1820 }
	action_a = {
		name = "ACTIONNAME40063A"					
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 10000 }
		command = { type = relation which = STE value = -300 }
		command = { type = relation which = MOS value = -50 }
		command = { type = relation which = NOG value = 50 }

		}
}

###############################
### 	EEP RUS EVENTS	    ###
#by Panzerkreuzer & Al Komnin # 		
###############################

#Muscovites annex Kazan'#
event = {

	id = 95557
	trigger = { 
			NOT = { exists = KAZ }
			OR = { 
				owned = { province = 446 data = RUS }
				owned = { province = 446 data = MOS }
		        }
	}
	random = no
	country = CRI
	name = "EVENTNAME95557"
	desc = "EVENTHIST95557"
	style = 2
	offset = 30

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


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

	id = 95562
	trigger = {
			NOT = { exists = STE }
			owned = { province = 458 data = -1 } #Царицын#
			owned = { province = 454 data = -1 } #Уфа#
			owned = { province = 453 data = -1 } #Самара#
			owned = { province = 459 data = -1 } #Донские Казаки#
	}
	random = no
	country = CRI
	name = "EVENTNAME95562"
	desc = "EVENTHIST95562"
	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 = "ACTIONNAME95562A" 
		command = { type = addcore which = 458 } #Царицын#
		command = { type = addcore which = 454 } #Уфа#
		command = { type = addcore which = 453 } #Самара#
		command = { type = addcore which = 455 } #Яик#
		command = { type = addcore which = 456 } #Оренбург#
		command = { type = addcore which = 459 } #Донские Казаки#
		command = { type = addcore which = 467 } #Калмыкия#
		command = { type = addcore which = 468 } #Северный Кавказ#
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = MOS value = -100 }
		command = { type = relation which = AST 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 = "ACTIONNAME95562B" 
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = MOS value = 100 }
		command = { type = relation which = AST value = 100 }
		command = { type = relation which = NOG value = 100 }
		command = { type = relation which = SIB value = 100 }
	 }
}

########################################
### 		EEP RUS EVENTS	     ###
#	  by Al Komnin & ABukhar       #
#   Panzerkreuzer & Chimera & Romul    #	
########################################

#Annexation of Crimea#
event = {

	id = 95563
	trigger = { 
			exists = CRI 
			AND = { 
				owned = { province = 464 data = -1 } # Кафа 
				owned = { province = 466 data = -1 } # Азов 
				owned = { province = 296 data = -1 } # Запорожье 
				} 
			vassal = { country = RUS country = CRI } 
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME95563" 
	desc = "EVENTHIST95563" 
	style = 4 

	date = { day = 1 month = april year = 1783 } 
	offset = 30 
	deathdate = { day = 1 month = january year = 1790 } 

	action_a = { #The coasts of Black see# 
			name = "ACTIONNAME95563A" 
			command = { type = inherit which = CRI } 
			command = { type = addcore which = 463 } 
			command = { type = addcore which = 464 } 
			command = { type = addcore which = 465 } 
			command = { type = addcore which = 466 } 
			command = { type = addcore which = 467 } 
			command = { type = addcore which = 468 } 
			command = { type = population which = 463 value = -2000 } 
			command = { type = population which = 464 value = -2000 } 
			command = { type = population which = 465 value = -2000 } 
			command = { type = population which = 466 value = -2000 } 
			command = { type = population which = 467 value = -2000 } 
			command = { type = population which = 468 value = -2000 } 
	} 
} 

# Developing of Crimean lands #
event = { 
	
	id = 95564 
	trigger = { 
			event = 95563 
			AND = { 
			OR = { 
				owned = { province = 463 data = -1 } 
				owned = { province = 464 data = -1 } 
				owned = { province = 465 data = -1 } 
				owned = { province = 466 data = -1 } 
				} 
			} 
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME95564" 
	desc = "EVENTHIST95564" 
	style = 4 

	date = { day = 1 month = january year = 1786 } 
	offset = 30 
	deathdate = { day = 1 month = january year = 1791 } 

	action_a = { #"Villags of Potemkin"# 
			name = "ACTIONNAME95564A" 
			command = { type = provinceculture which = 463 value = russian } 
			command = { type = provinceculture which = 464 value = russian } 
			command = { type = provinceculture which = 465 value = russian } 
			command = { type = provinceculture which = 466 value = russian } 
			command = { type = provincereligion which = 463 value = orthodox } 
			command = { type = provincereligion which = 464 value = orthodox } 
			command = { type = provincereligion which = 465 value = orthodox } 
			command = { type = provincereligion which = 466 value = orthodox } 
			command = { type = provincetax which = 463 value = 2 } 
			command = { type = provincetax which = 464 value = 2 } 
			command = { type = provincetax which = 465 value = 2 } 
			command = { type = provincetax which = 466 value = 2 } 
			command = { type = provincemanpower which = 463 value = 1 } 
			command = { type = provincemanpower which = 464 value = 1 } 
			command = { type = provincemanpower which = 465 value = 1 } 
			command = { type = provincemanpower which = 466 value = 1 } 
			command = { type = population which = 463 value = 5000 } 
			command = { type = population which = 464 value = 5000 } 
			command = { type = population which = 465 value = 5000 } 
			command = { type = population which = 466 value = 5000 } 
			command = { type = treasury value = -1500 } 
	} 
	action_b = { # We needn't of this # 
			name = "ACTIONNAME95564B" 
			command = { type = treasury value = 100 } 
	} 
} 

#Annexation of Crimea#
event = {

	id = 95565
	trigger = { 
				owned = { province = 464 data = RUS } # Кафа 
				owned = { province = 466 data = RUS } # Азов 
			NOT = { 
				exists = CRI 
			} 
	} 
	random = no 
	country = TUR 
	name = "EVENTNAME95565" 
	desc = "EVENTHIST95565" 
	style = 4 

	date = { day = 1 month = april year = 1783 } 
	offset = 100 
	deathdate = { day = 1 month = january year = 1820 } 

	action_a = { #The coasts of Black see# 
			name = "ACTIONNAME95565A" 
			command = { type = stability value = 1 } 
			command = { type = casusbelli which = RUS value = 36 } # For 3 years approx. #
			command = { type = war which = RUS }
			command = { type = INF which = -2 value = 30000 }
			command = { type = CAV which = -2 value = 15000 }
			command = { type = ART which = -2 value = 20 }
			command = { type = addcore which = 463 } 
			command = { type = addcore which = 464 } 
			command = { type = addcore which = 465 } 
			command = { type = population which = -1 value = 2000 } 
			command = { type = population which = -1 value = 2000 } 
			command = { type = population which = -1 value = 2000 } 
			command = { type = population which = -2 value = 2000 } 
	} 
} 

########################
###   EEP RUS EVENTS ###
#    by Panzerkreuzer  # 		
########################

#Turkey or Greater Horde?...#
event = { 

	id = 95587
	random = no 
	country = CRI 
	name = "EVENTNAME95587" 
	desc = "EVENTHIST95587" 
	style = 1 

	date = { day = 1 month = january year = 1475 } #Chimera#
	offset = 100 
	deathdate = { day = 1 month = january year = 1479 } #Chimera#

	action_a = { 
			name = "ACTIONNAME95587A"  
			command = { type = relation which = TUR value = 100 } 
			command = { type = relation which = STE value = -100 } 
			command = { type = casusbelli which = STE value = 240 } 
	} 
	action_b = { 
			name = "ACTIONNAME95587B" 
			command = { type = relation which = TUR value = -100 } 
			command = { type = relation which = STE value = 100 } 
			command = { type = stability value = -2 } 
			command = { type = sleepevent which = 95588 } #Союз Крым. Ханства и Москвы# 
	} 
} 

#Muscovy-Crimean Treaty# 
event = { 

	id = 95588 
	trigger = { 
			war = { country = CRI country = STE } 
	} 
	random = no 
	country = MOS 
	name = "EVENTNAME95588" 
	desc = "EVENTHIST95588" 
	style = 1 

	date = { day = 1 month = january year = 1466 } 
	offset = 50
	deathdate = { day = 1 month = january year = 1480 } 

	action_a = { 
			name = "ACTIONNAME95588A"
			command = { type = relation which = CRI value = 50 } 
			command = { type = relation which = STE value = -100 } 
			command = { type = trigger which = 95589 }
			command = { type = alliance which = CRI } 
			command = { type = war which = STE } 
	} 
	action_b = { 
			name = "ACTIONNAME95588B" 
			command = { type = treasury value = -50 } 
	} 
} 


#Muscovy-Crimean Treaty# 
event = { 

	id = 95589
	random = no 
	country = CRI 
	name = "EVENTNAME95588" 
	desc = "EVENTHIST95588" 
	style = 1

	action_a = { 
			name = "ACTIONNAME95589A"
			command = { type = relation which = MOS value = 100 } 
			command = { type = relation which = STE value = -100 } 
			command = { type = diplomats value = 2 } 
	} 
	action_b = { 
			name = "ACTIONNAME95589B"
			command = { type = relation which = MOS value = -100 } 
	} 
} 

# Reforms of Sahib I #
event = { 

	id = 95590 
	random = no 
	country = CRI 
	name = "EVENTNAME95590" 
	desc = "EVENTHIST95590" 
	style = 2 

	date = { day = 1 month = january year = 1532 } 
	offset = 60 
	deathdate = { day = 1 month = january year = 1552 } 

	action_a = { 
			name = "ACTIONNAME95590A" 
			command = { type = domestic which = aristocracy value = 1 } 
			command = { type = domestic which = quality value = 1 } 
			command = { type = fortress which = 463 value = 1 } #ров через Перекопский перешеек# 
			command = { type = treasury value = -100 } 
	} 
} 
