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

#The Empire of Russia#
event = {

	id = 3585
	trigger = {
		owned = { province = 270 data = -1 } # Moscow
		owned = { province = 271 data = -1 } # Vladimir
		owned = { province = 448 data = -1 } # Ryazan
		
		OR = {owned = { province = 274 data = -1 } # Novgorod
		      owned = { province = 278 data = -1 } # Tver
			owned = { province = 272 data = -1 } # Vologda
}
		NOT = { exists = RUS }
		atwar = no
		}
	random = no
	country = RYA
	name = "EVENTNAME3585"
	desc = "EVENTHIST3585"
	style = 2

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

	action_a = {				#Take over the Byzantine Mantle#
		name = "ACTIONNAME3585A"
		command = { type = vp value = 200 }
			command = { type = vp value = 200 }
		command = { type = stability value = 2 }
		command = { type = population which = 270 value = 3000 }
		command = { type = country which = RUS }
		command = { type = ai which = "russia1.ai" }
                command = { type = relation which = STE value = -200 }
                command = { type = relation which = LIT value = -100 }
                command = { type = relation which = KAZ value = -200 }
                command = { type = relation which = LIV value = -100 }
                command = { type = relation which = POL value = -200 }
                command = { type = relation which = SWE value = -100 }
                command = { type = add_countryculture which = altai }
	}
}

#Agreement with Lithuania#
event = {
	id = 40097
	trigger = {	event = 40001
			event = 40096
	}
	random = no
	country = RYA
	name = "EVENTNAME40091"
	desc = "EVENTHIST40097"
	style = 1

	date = { day = 1 month = january year = 1427 }
	offset = 300
	deathdate = { day = 1 month = january year = 1430 }

	action_a = {				#Form agreement#
		name = "ACTIONNAME40091A"
		command = { type = relation which = LIT value = 30 }
		command = { type = relation which = MOS value = -25 }
		command = { type = stability value = 1 }
		command = { type = breakvassal which = MOS }
	}
	action_b = {				#Don't need it#
		name = "ACTIONNAME40091B"
		command = { type = relation which = MOS value = 25 }
		command = { type = relation which = LIT value = -25 }
	}
}

#Ryazan#
event = {
	id = 40084
	random = no
	country = RYA
	name = "EVENTNAME40083"
	desc = "EVENTHIST40079"
	style = 1

	action_a = {			
		name = "ACTIONNAME40088A"
		command = { type = dynastic which = MOS }
		command = { type = relation which = LIT value = -30 }
		command = { type = breakvassal which = KAZ }
		command = { type = breakvassal which = STE }
		command = { type = breakvassal which = POL }
		command = { type = breakvassal which = LIT }
		command = { type = breakvassal which = SWE }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 40086 }
	}
	action_b = {			
		name = "ACTIONNAME40080B"
		command = { type = stability value = -2 }
		command = { type = relation which = MOS value = -50 }
		command = { type = sleepevent which = 40085 }
	}
}


##################################
### 	Ryazan' EEP RUS EVENTS ###
#	  	by Korall	 # 		
##################################

#Journey of Afanasi Nikitin#
event = { 

	id = 95576
	trigger = { 
			owned = { province = 278 data = -1 } 
	}  
	random = no 
	country = RYA 
	name = "EVENTNAME95576" 
	desc = "EVENTHIST95576" 
	style = 1 

	date = { day = 1 month = january year = 1468 } 
	offset = 365 
	deathdate = { day = 1 month = january year = 1469 } 

	action_a = { 
			name = "ACTIONNAME95576A" 
			command = { type = merchants value = 2 } 
			command = { type = trade value = 100 } 
			command = { type = stability value = 1 } 
	} 
} 