###############################
####  Golden Horde Events  ####
########   by Crook    ########
###############################

#Death of Muhammad Amin#
event = {
	id = 40199
	random = no
	country = STE
	trigger = { exists = CRI 
			monarch = 06816 }
	name = "EVENTNAME40199"
	desc = "EVENTHIST40199"
	style = 1
	date = { day = 30 month = december year = 1518 }

	action_a ={
		name = "ACTIONNAME40199A"					
		command = { type = revoltrisk which = 18 value = 3 }
		command = { type = stability value = -2 }
		command = { type = inherit which = CRI }
		command = { type = domestic which = centralization value = -2 }
		}
}
#Death of Muhammad Amin#
event = {
	id = 40197
	random = no
	country = STE
	trigger = { NOT = { exists = CRI } 
			monarch = 06816 }
	name = "EVENTNAME40199"
	desc = "EVENTHIST40197"
	style = 1
	date = { day = 30 month = december year = 1518 }

	action_a ={
		name = "ACTIONNAME40197A"					
		command = { type = revoltrisk which = 18 value = 3 }
		command = { type = stability value = -2 }
		command = { type = country which = CRI }
		command = { type = domestic which = centralization value = -2 }
		}
}
#The Disintegration of the Golden Horde#
event = {
	id = 3689
	random = no
	country = STE
	name = "EVENTNAME3689"
	desc = "EVENTHIST3689"
	style = 1

	date = { day = 1 month = january year = 1443 }
	offset = 300

	action_a ={
		name = "ACTIONNAME3689A"			
		command = { type = revoltrisk which = 120 value = 5 }
		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 = 5000 } 
	}
	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 } 
	}
}

###############################
####  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 = 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 = -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 = revolt which = 296 }
		command = { type = revolt which = 464 }
                command = { type = revolt which = 296 }
		command = { type = revolt which = 464 }
command = { type = revolt which = 985 }
command = { type = revolt which = 468 }
command = { type = revolt which = 1435 }
	command = { type = revolt which = 463 }
		command = { type = revolt which = 463 }
		command = { type = revolt which = 466 }
		command = { type = revolt which = 466 }
                command = { type = revolt which = 296 }
		command = { type = revolt which = 464 }
                command = { type = revolt which = 296 }
		command = { type = revolt which = 464 }
command = { type = revolt which = 985 }
command = { type = revolt which = 468 }
command = { type = revolt which = 1435 }
		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 = secedeprovince which = KAZ value = 1422 }
                command = { type = secedeprovince which = KAZ value = 454 }
                command = { type = secedeprovince which = KAZ value = 1459 }
command = { type = independence which = NOG }
command = { type = secedeprovince which = NOG value = 510 }  
command = { type = secedeprovince which = NOG value = 512 }  
      		command = { type = secedeprovince which = NOG value = 1593 } 
     		command = { type = secedeprovince which = NOG value = 514 }  
      		command = { type = secedeprovince which = NOG value = 520 } 
      		command = { type = secedeprovince which = NOG value = 456 }
		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 = 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 = 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 = secedeprovince which = MOS value = 451 }
                command = { type = secedeprovince which = MOS value = 452 }
command = { type = secedeprovince which = MOS value = 279 }
command = { type = secedeprovince which = MOS value = 448 }
command = { type = secedeprovince which = MOS value = 1424 }
command = { type = secedeprovince which = MOS value = 447 }
command = { type = secedeprovince which = MOS value = 271 }
command = { type = secedeprovince which = MOS value = 1962 }
command = { type = secedeprovince which = MOS value = 467 }
command = { type = secedeprovince which = MOS value = 272 }
command = { type = secedeprovince which = MOS value = 278 }
command = { type = secedeprovince which = MOS value = 267 }
command = { type = secedeprovince which = MOS value = 450 }
command = { type = secedeprovince which = MOS value = 459 }
command = { type = secedeprovince which = MOS value = 1458 }
command = { type = secedeprovince which = MOS value = 1455 }
command = { type = secedeprovince which = LIT value = 1462 }
command = { type = secedeprovince which = LIT value = 295 }
command = { type = secedeprovince which = LIT value = 1430 }
command = { type = secedeprovince which = LIT value = 1394 }
command = { type = secedeprovince which = LIT value = 461 }
command = { type = secedeprovince which = LIT value = 297 }
command = { type = secedeprovince which = LIT value = 1401 }
command = { type = secedeprovince which = LIT value = 449 }
command = { type = secedeprovince which = MOL value = 994 }
command = { type = secedeprovince which = MOL value = 319 }

command = { type = independence which = CRI }

command = { type = secedeprovince which = CRI value = 464 }  
      		command = { type = secedeprovince which = CRI value = 465 } 
      		command = { type = secedeprovince which = CRI value = 1435 }  
      		command = { type = secedeprovince which = CRI value = 466 } 
      		command = { type = secedeprovince which = CRI value = 296 } 
     		command = { type = secedeprovince which = CRI value = 462 } 
command = { type = secedeprovince which = CRI value = 468 } 
     		command = { type = secedeprovince which = CRI value = 1461 }
command = { type = secedeprovince which = CRI value = 985 }
                
		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 = 4 }
		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 = { 
			
	      		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 = independence which = KAZ }
command = { type = independence which = NOG }
command = { type = independence which = AST }
command = { type = independence which = CRI }
command = { type = independence which = SIB }
command = { type = breakvassal which = SIB }
command = { type = secedeprovince which = MOS value = 451 }
command = { type = secedeprovince which = MOS value = 452 }
command = { type = secedeprovince which = MOS value = 279 }
command = { type = secedeprovince which = MOS value = 448 }
command = { type = secedeprovince which = MOS value = 1424 }
command = { type = secedeprovince which = MOS value = 447 }
command = { type = secedeprovince which = MOS value = 271 }
command = { type = secedeprovince which = MOS value = 1962 }
command = { type = secedeprovince which = MOS value = 467 }
command = { type = secedeprovince which = MOS value = 272 }
command = { type = secedeprovince which = MOS value = 278 }
command = { type = secedeprovince which = MOS value = 267 }
command = { type = secedeprovince which = MOS value = 450 }
command = { type = secedeprovince which = LIT value = 295 }
command = { type = secedeprovince which = LIT value = 1430 }
command = { type = secedeprovince which = LIT value = 1394 }
command = { type = secedeprovince which = LIT value = 461 }
command = { type = secedeprovince which = LIT value = 297 }
command = { type = secedeprovince which = LIT value = 1401 }
command = { type = secedeprovince which = LIT value = 449 }
command = { type = secedeprovince which = MOL value = 994 }
command = { type = secedeprovince which = MOL value = 319 }

     		command = { type = secedeprovince which = KAZ value = 446 } 
      		command = { type = secedeprovince which = KAZ value = 1571 }
      		command = { type = secedeprovince which = KAZ value = 1422 } 
      		command = { type = secedeprovince which = KAZ value = 454 } 
      		command = { type = secedeprovince which = NOG value = 1593 } 
      		command = { type = secedeprovince which = NOG value = 510 }  
      		command = { type = secedeprovince which = NOG value = 515 } 
     		command = { type = secedeprovince which = NOG value = 514 }  
      		command = { type = secedeprovince which = NOG value = 520 } 
      		command = { type = secedeprovince which = NOG value = 456 } 
      		
      		command = { type = secedeprovince which = AST value = 1438 }
      		command = { type = secedeprovince which = AST value = 457 }  

      		command = { type = secedeprovince which = CRI value = 464 }  
      		command = { type = secedeprovince which = CRI value = 465 } 
      		command = { type = secedeprovince which = CRI value = 1435 }  
      		command = { type = secedeprovince which = CRI value = 466 } 
      		command = { type = secedeprovince which = CRI value = 296 } 
     		command = { type = secedeprovince which = CRI value = 462 } 

command = { type = secedeprovince which = KAZ value = 1459 } 
     		command = { type = secedeprovince which = NOG value = 512 }
command = { type = secedeprovince which = CRI value = 468 } 
     		command = { type = secedeprovince which = CRI value = 1461 }

      		command = { type = secedeprovince which = CRI value = 985 }
      		


      		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 = { 
		               	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 = independence which = KAZ }
command = { type = independence which = NOG }
command = { type = independence which = AST }
command = { type = independence which = CRI }
command = { type = independence which = SIB }
command = { type = breakvassal which = SIB }
     		
command = { type = secedeprovince which = MOS value = 451 }
command = { type = secedeprovince which = MOS value = 452 }
command = { type = secedeprovince which = MOS value = 279 }
command = { type = secedeprovince which = MOS value = 448 }
command = { type = secedeprovince which = MOS value = 1424 }
command = { type = secedeprovince which = MOS value = 447 }
command = { type = secedeprovince which = MOS value = 271 }
command = { type = secedeprovince which = MOS value = 1962 }
command = { type = secedeprovince which = MOS value = 467 }
command = { type = secedeprovince which = MOS value = 272 }
command = { type = secedeprovince which = MOS value = 278 }
command = { type = secedeprovince which = MOS value = 267 }
command = { type = secedeprovince which = MOS value = 450 }
command = { type = secedeprovince which = LIT value = 295 }
command = { type = secedeprovince which = LIT value = 1430 }
command = { type = secedeprovince which = LIT value = 1394 }
command = { type = secedeprovince which = LIT value = 461 }
command = { type = secedeprovince which = LIT value = 297 }
command = { type = secedeprovince which = LIT value = 1401 }
command = { type = secedeprovince which = LIT value = 449 }
command = { type = secedeprovince which = MOL value = 994 }
command = { type = secedeprovince which = MOL value = 319 }

     	     		command = { type = secedeprovince which = KAZ value = 446 } 
      		command = { type = secedeprovince which = KAZ value = 1571 }
      		command = { type = secedeprovince which = KAZ value = 1422 } 
      		command = { type = secedeprovince which = KAZ value = 454 } 
      		command = { type = secedeprovince which = NOG value = 1593 } 
      		command = { type = secedeprovince which = NOG value = 510 }  
      		command = { type = secedeprovince which = NOG value = 515 } 
     		command = { type = secedeprovince which = NOG value = 514 }  
      		command = { type = secedeprovince which = NOG value = 520 } 
      		command = { type = secedeprovince which = NOG value = 456 } 
      		
      		command = { type = secedeprovince which = AST value = 1438 }
      		command = { type = secedeprovince which = AST value = 457 }  

      		command = { type = secedeprovince which = CRI value = 464 }  
      		command = { type = secedeprovince which = CRI value = 465 } 
      		command = { type = secedeprovince which = CRI value = 1435 }  
      		command = { type = secedeprovince which = CRI value = 466 } 
      		command = { type = secedeprovince which = CRI value = 296 } 
     		command = { type = secedeprovince which = CRI value = 462 } 

command = { type = secedeprovince which = KAZ value = 1459 } 
     		command = { type = secedeprovince which = NOG value = 512 }
command = { type = secedeprovince which = CRI value = 468 } 
     		command = { type = secedeprovince which = CRI value = 1461 }

 command = { type = secedeprovince which = CRI value = 985 }
     		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 = 95556 
   	random = no 
   	country = CRI 
   	name = "EVENTNAME95553" 
   	desc = "EVENTHIST95553" 
   	style = 2 

   	action_a = { 
      		name = "ACTIONNAME93254A" 
command = { type = INF which = -1 value = 8000 }
command = { type = CAV which = -1 value = 16000 }
command = { type = CAV which = -1 value = 16000 }
      	} 
} 

#Liquidation of the Golden Horde#
event = { 

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

	action_a = { 
 	      name = "ACTIONNAME93254A" 
command = { type = CAV which = -1 value = 16000 }
     	 } 
} 

#Liquidation of the Golden Horde#
event = { 

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

	action_a = { 
	      name = "ACTIONNAME93254A"
command = { type = INF which = -1 value = 8000 }
command = { type = CAV which = -1 value = 16000 }
  	 } 
} 


event = {
id = 200250
trigger = {  

owned = { province = 455  data = -1 }

                               
    }
	country = STE
        random = no
	name = "золотая Орда - работорговство"
	desc = "В первые сто лет после своего создания Золотая Орда процветала контролируя торговые пути между востоком и западом и получая богатую дань от покорённых народов. мало кто знает что в то время Золотая орда была госудаством симбиозом кочевников и горожан. Но к 15 веку Орда ослабла, города её были разрушены в ходе гражданских войн. Торговые пути сместились, большиство покорённых земель освободилось от власти хана. В новых реалиях всё большее значение приобрела работорговля, источником которой были пленники с христианстких земель."
        style = 1
	date = { day = 1 month = january year = 1420 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={			
		name = "Соседей в рабство!"
                command = { type = provincetax  which = 455 value = 8 }  
                command = { type = treasury value = 100 }
command = {type = trade value = 1000 }
command = {type = land value = 1000 }
                command = { type = population which = 455 value = 5000 }
 command = { type = CAV which = 455 value = 12000 }
command = {type = stability value = -1 }
command = { type = relation which = MOS value = -150 }
command = { type = relation which = RUS value = -150 }
command = { type = relation which = LIT value = -150 }
command = { type = relation which = RYA value = -150 }
command = { type = relation which = SUZ value = -150 }
command = { type = relation which = MOL value = -150 }
                
	}
        action_b ={	
		name = "Будем жить мирно!"
command = {type = stability value = 3 }
		command = {type = infra value = 1000 }
command = { type = relation which = MOS value = 150 }
command = { type = relation which = RUS value = 150 }
command = { type = relation which = LIT value = 150 }
command = { type = relation which = RYA value = 150 }
command = { type = relation which = SUZ value = 150 }
command = { type = relation which = MOL value = 150 }
command = { type = sleepevent which = 200251 }
	}
}

event = {
id = 200251
province = 455
trigger = {  

event = 200250
owned = { province = 455  data = -1 }
NOT = {  owned = { province = 455  data = STE }  }   
                            
    }

        random = no
	name = "Закат работорговли в Золотой Орде"
	desc = "После разгрома Золотой Орды она потеряла прежний статус центра работорговли."
        style = 1
	date = { day = 1 month = january year = 1430 }
	offset = 300
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={			
		name = "Это факт..."
                command = { type = provincetax  which = 455 value = -8 }  
                command = { type = population which = 455 value = -5000 }  
	}

}

