###############################
####  Golden Horde Events  ####
########   by Crook    ########
###############################
### 	EEP RUS EVENTS	    ###
#by Panzerkreuzer & Al Komnin # 		
###############################

#The Disintegration of the Golden Horde#
event = {

	id = 40056
	random = no
	country = STE
	name = "EVENTNAME40056"
	desc = "EVENTHIST40056"
	style = 1

	date = { day = 30 month = december year = 1419 }

	action_a = {
		name = "ACTIONNAME40056A"		
		command = { type = revoltrisk which = 83 value = 3 }
		command = { type = sleepmonarch which = 06800 }
		command = { type = wakemonarch which = 06801 }
		command = { type = wakemonarch which = 06808 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -2 }
		command = { type = CAV which = -2 value = 6000 }
		command = { type = desertion which = -1 value = 5000 } 
	}
	action_b = {
		name = "ACTIONNAME40056B"					
		command = { type = revoltrisk which = 120 value = 5 }
		command = { type = stability value = -6 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -2 }
		command = { type = sleepevent which = 40057 }
		command = { type = desertion which = -1 value = 2000 } 
	}
}

#The Disintegration of the Golden Horde#
event = {

	id = 40057
	random = no
	country = STE
	name = "EVENTNAME40057"
	desc = "EVENTHIST40057"
	style = 1

	date = { day = 30 month = december year = 1426 }

	action_a = {
		name = "ACTIONNAME40057A"					
		command = { type = revoltrisk which = 18 value = 3 }
		command = { type = stability value = -1 }
		command = { type = revolt which = -1 }
		command = { type = wakemonarch which = 06802 }
		command = { type = MIL which = 2 value = 24 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = desertion which = -1 value = 3000 } 
		}
}

#The Disintegration of the Golden Horde#
event = {

	id = 40058
	random = no
	country = STE
	trigger = {
			NOT = { exists = KAZ }
}
	name = "EVENTNAME40058"
	desc = "EVENTHIST40058"
	style = 1

	date = { day = 30 month = december year = 1438 }

	action_a = {
		name = "ACTIONNAME40058A"					
		command = { type = revoltrisk which = 36 value = 3 }
		command = { type = stability value = -2 }
		command = { type = revolt which = 463 }
		command = { type = revolt which = 463 }
		command = { type = revolt which = 466 }
		command = { type = revolt which = 466 }
		command = { type = sleepmonarch which = 06800 }
		command = { type = sleepmonarch which = 06802 }
		command = { type = sleepmonarch which = 06809 }
		command = { type = wakemonarch which = 06803 }
		command = { type = independence which = KAZ }
		command = { type = trigger which = 40059 }
		command = { type = sleepevent which = 40061 }
		command = { type = desertion which = -1 value = 2000 } 
		}
	action_b = {
		name = "ACTIONNAME40058B"
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = stability value = -5 }
		command = { type = sleepmonarch which = 06803 }
		command = { type = sleepmonarch which = 06809 }
		command = { type = sleepmonarch which = 06804 }
		command = { type = sleepmonarch which = 06805 }
		command = { type = sleepmonarch which = 06806 }
		command = { type = sleepmonarch which = 06807 }
		command = { type = sleepmonarch which = 06810 }
		command = { type = sleepmonarch which = 06811 }
		command = { type = sleepmonarch which = 06812 }
		command = { type = sleepmonarch which = 06813 }
		command = { type = wakemonarch which = 06814 }
		command = { type = wakemonarch which = 06815 }
		command = { type = wakemonarch which = 06816 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = treasury value = 300 }
		command = { type = sleepevent which = 40061 }
		command = { type = desertion which = -1 value = 5000 } 
		}
}

#The Disintegration of the Golden Horde#
event = {

	id = 40066
	random = no
	country = STE
	name = "EVENTNAME3689"
	desc = "EVENTHIST3689"
	style = 1

	date = { day = 1 month = october year = 1449 }
	offset = 300

	action_a = {
		name = "ACTIONNAME3689A"			
		command = { type = revoltrisk which = 120 value = 7 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
		command = { type = vp  value = 300 }
		command = { type = desertion which = -1 value = 7000 } 
	}
	action_b = {
		name = "ACTIONNAME3689B"			
		command = { type = revoltrisk which = 120 value = 3 }
		command = { type = treasury value = -1500 }
		command = { type = inflation value = 20 }
		command = { type = stability value = -4 }
		command = { type = desertion which = -1 value = 2000 } 
	}
}

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

#Liquidation of the Golden Horde#
event = { 

  	id = 95552 
   	trigger = { 
	        	ai = yes    
      			exists = AST 
		      	exists = KAZ 
		      	exists = CRI 
		      	exists = NOG 
           	NOT = { 
			control = { province = 458 data = -1 }
	      		event = 95553
       	           } 
        } 
   	random = no 
   	country = STE 
   	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
  	style = 2 

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

	action_a = { #We can not resist 'em#
		name = "ACTIONNAME95553A"
     		command = { type = secedeprovince which = KAZ value = 453 } #Самара# 
      		command = { type = secedeprovince which = KAZ value = 452 } #Саратов# 
      		command = { type = secedeprovince which = KAZ value = 447 } #Симбирск# 
      		command = { type = secedeprovince which = KAZ value = 271 } #Владимир# 
      		command = { type = secedeprovince which = KAZ value = 272 } #Нижгород# 
     		command = { type = secedeprovince which = KAZ value = 269 } #Архангельск# 
      		command = { type = secedeprovince which = KAZ value = 448 } #Рязань# 
      		command = { type = secedeprovince which = KAZ value = 449 } #Воронеж# 
      		command = { type = secedeprovince which = KAZ value = 268 } #Вологда# 
      		command = { type = secedeprovince which = KAZ value = 278 } #Тверь #
      		command = { type = secedeprovince which = KAZ value = 279 } #Калуга# 
      		command = { type = secedeprovince which = KAZ value = 270 } #Москва# 
      		command = { type = secedeprovince which = KAZ value = 267 } #Олонец# 
      		command = { type = secedeprovince which = KAZ value = 274 } #Новгород Великий#
      		command = { type = secedeprovince which = NOG value = 454 } #Уфа# 
      		command = { type = secedeprovince which = NOG value = 455 } #Яик# 
     		command = { type = secedeprovince which = NOG value = 456 } #Оренбург# 
      		command = { type = secedeprovince which = NOG value = 510 } #Ю. Урал# 
      		command = { type = secedeprovince which = NOG value = 511 } #Курган# 
      		command = { type = secedeprovince which = NOG value = 512 } #Кустанай 
      		command = { type = secedeprovince which = NOG value = 516 } #Мунгожары 
      		command = { type = secedeprovince which = NOG value = 517 } #Тургай 
      		command = { type = secedeprovince which = NOG value = 579 } #Караганда 
     		command = { type = secedeprovince which = NOG value = 1535 } #Казахстан 
      		command = { type = secedeprovince which = NOG value = 1536 } #Балхаш 
      		command = { type = secedeprovince which = AST value = 471 } #Дагестан 
     	 	command = { type = secedeprovince which = CRI value = 466 } #Азов 
      		command = { type = secedeprovince which = CRI value = 467 } #Калмыки 
      		command = { type = secedeprovince which = CRI value = 468 } #С. Кавказ 
      		command = { type = secedeprovince which = CRI value = 469 } #Черкесы 
      		command = { type = secedeprovince which = CRI value = 470 } #Грузия 
      		command = { type = secedeprovince which = CRI value = 459 } #Донские Казаки 
      		command = { type = secedeprovince which = CRI value = 286 } #Курск 
     		command = { type = secedeprovince which = CRI value = 450 } #Белгород 
     		command = { type = secedeprovince which = CRI value = 285 } #Брянск 
      		command = { type = secedeprovince which = CRI value = 451 } #Борисоглебск 
      		command = { type = secedeprovince which = CRI value = 299 } #Малороссия 
      		command = { type = secedeprovince which = CRI value = 460 } #Харьков 
      		command = { type = secedeprovince which = CRI value = 461 } #Полтава 
      		command = { type = secedeprovince which = CRI value = 462 } #Дикое поле 
      		command = { type = trigger which = 93254 } #AST 
      		command = { type = trigger which = 95556 } #CRI 
      		command = { type = trigger which = 95554 } #NOG 
      		command = { type = trigger which = 95560 } #KAZ
       } 
} 

#Liquidation of the Golden Horde#
event = { 

   	id = 95553 
   	trigger = { 
	         ai = no    
	      	exists = AST 
	      	exists = KAZ 
	      	exists = CRI 
	      	exists = NOG 
                	 NOT = { control = { province = 458 data = -1 }
		               	event = 95552
	             } 
        } 
  	random = no 
   	country = STE
        name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

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

	action_a = { #We can not resist 'em#
      		name = "ACTIONNAME95553A"
      		command = { type = secedeprovince which = KAZ value = 453 } #Самара 
      		command = { type = secedeprovince which = KAZ value = 452 } #Саратов 
     		command = { type = secedeprovince which = KAZ value = 447 } #Симбирск 
      		command = { type = secedeprovince which = KAZ value = 271 } #Владимир 
     		command = { type = secedeprovince which = KAZ value = 272 } #Нижгород 
      		command = { type = secedeprovince which = KAZ value = 269 } #Архангельск 
      		command = { type = secedeprovince which = KAZ value = 448 } #Рязань 
      		command = { type = secedeprovince which = KAZ value = 449 } #Воронеж 
      		command = { type = secedeprovince which = KAZ value = 268 } #Вологда 
      		command = { type = secedeprovince which = KAZ value = 278 } #Тверь 
      		command = { type = secedeprovince which = KAZ value = 279 } #Калуга 
      		command = { type = secedeprovince which = KAZ value = 270 } #Москва 
      		command = { type = secedeprovince which = KAZ value = 267 } #Олонец 
      		command = { type = secedeprovince which = KAZ value = 274 } #Новгород Великий 
     		command = { type = secedeprovince which = NOG value = 454 } #Уфа 
      		command = { type = secedeprovince which = NOG value = 455 } #Яик 
      		command = { type = secedeprovince which = NOG value = 456 } #Оренбург 
      		command = { type = secedeprovince which = NOG value = 510 } #Ю. Урал 
      		command = { type = secedeprovince which = NOG value = 511 } #Курган 
     		command = { type = secedeprovince which = NOG value = 512 } #Кустанай 
      		command = { type = secedeprovince which = NOG value = 516 } #Мунгожары 
      		command = { type = secedeprovince which = NOG value = 517 } #Тургай 
      		command = { type = secedeprovince which = NOG value = 579 } #Караганда 
      		command = { type = secedeprovince which = NOG value = 1535 } #Казахстан 
      		command = { type = secedeprovince which = NOG value = 1536 } #Балхаш 
      		command = { type = secedeprovince which = AST value = 471 } #Дагестан 
      		command = { type = secedeprovince which = CRI value = 466 } #Азов 
      		command = { type = secedeprovince which = CRI value = 467 } #Калмыки 
     		command = { type = secedeprovince which = CRI value = 468 } #С. Кавказ 
     		command = { type = secedeprovince which = CRI value = 469 } #Черкесы 
     		command = { type = secedeprovince which = CRI value = 470 } #Грузия 
      		command = { type = secedeprovince which = CRI value = 459 } #Донские Казаки 
      		command = { type = secedeprovince which = CRI value = 286 } #Курск 
      		command = { type = secedeprovince which = CRI value = 450 } #Белгород 
      		command = { type = secedeprovince which = CRI value = 285 } #Брянск 
     		command = { type = secedeprovince which = CRI value = 451 } #Борисоглебск 
     		command = { type = secedeprovince which = CRI value = 299 } #Малороссия 
      		command = { type = secedeprovince which = CRI value = 460 } #Харьков 
      		command = { type = secedeprovince which = CRI value = 461 } #Полтава 
      		command = { type = secedeprovince which = CRI value = 462 } #Дикое поле 
     		command = { type = trigger which = 93254 } #AST 
      		command = { type = trigger which = 95556 } #CRI 
      		command = { type = trigger which = 95554 } #NOG
      		command = { type = trigger which = 95560 } #KAZ 
	 } 
	action_b = { #Suppress separatists#
      		name = "ACTIONNAME95553B"
      		command = { type = revoltrisk which = 120 value = 8 } 
      		command = { type = revolt which = -1 } 
      		command = { type = revolt which = -1 } 
      		command = { type = stability value = -6 } 
      	 } 
} 

#Liquidation of the Golden Horde#
event = { 

   	id = 93254 
   	random = no 
   	country = AST 
  	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

	action_a = { 
      		name = "ACTIONNAME93254A" 
      		command = { type = addcore which = 458 } #Царицын# 
      		command = { type = addcore which = 471 } #Дагестан 
      		command = { type = inherit which = STE } 
      	 } 
} 

#Liquidation of the Golden Horde#
event = { 

   	id = 95556 
   	random = no 
   	country = CRI 
   	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

   	action_a = { 
      		name = "ACTIONNAME93254A" 
      	} 
} 

#Liquidation of the Golden Horde#
event = { 

   	id = 95554 
   	random = no 
   	country = NOG 
   	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

	action_a = { 
 	      name = "ACTIONNAME93254A" 
     	 } 
} 

#Liquidation of the Golden Horde#
event = { 

   	id = 95560
   	random = no 
   	country = KAZ 
   	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

	action_a = { 
	      name = "ACTIONNAME93254A"
  	 } 
} 



