• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Garbon

Sultan d'Afrique
75 Badges
Feb 1, 2002
9.768
270
www.crystalempiregames.com
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Imperator: Rome
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • For The Glory
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
Proposed 1419 Setup
as of July 12th, 2005

newtim.JPG
 
Last edited:
Uzbek events

These events are to completely replace the current file we have in the AGCEEP as far as I can tell.

Code:
############################
### Eastern Horde Events ###
###       by Garbon      ###
############################

##  AGCEEP Modifications ##
##   by Isengard         ##

# Independence of the Uzbeks
event = {
	id = 325004
	random = no
	country = UZB
	name = "Independence of the Uzbeks"
	desc = "In 1428, Abul Khayr was declared khan of the Uzbek people in Sibir (near-modern day Tobolsk). His reign marked a separation of Uzbek and Golden Horde foreign policies into two entirely different categories. The Uzbeks were free to pursue their interests which would be determined to lie within the regions of Khwarizm and Transoxiana. From Khayr's beginning, the Shaybanid dynasty would eventually carve a large empire and a name into history for themselves."
	style = 1
	action_a ={
		name = "Free at last!"					
		command = { type = dynastic which = SIB }  
		command = { type = relation which = SIB value = 50 }
		command = { type = capital which = 1573 }
	}
}

# Formation of the Sibir Khanate
event = {
	id = 325008
	random = no
	country = UZB
	name = "The Formation of the Sibir Khanate"
	desc = "Following the disintegration of the Horde, descendents of On Khan formed the Khanate of Sibir, near the modern day city of Tyumen.  They quickly established their domain, which existed from Kurgan in the west, to Ichim in the east. This Khanate would survive well into the 16th century until it was extinguished by Cossacks from Russia."
	style = 1
	action_a ={
		name = "Our primary focus is in the south"					
		command = { type = dynastic which = SIB }  
		command = { type = relation which = SIB value = 50 }
		command = { type = secedeprovince which = SIB value = 1573 }
		command = { type = secedeprovince which = SIB value = 1571 } 
		command = { type = secedeprovince which = SIB value = 578 }  
		command = { type = secedeprovince which = SIB value = 512 }
		command = { type = ai which = "UZB-Khiva.ai" }
		command = { type = trigger which = 280000 } # The Formation of the Sibir Khanate (Sibir)
	}
}


########################
## Khwarizm Events ####
########################

# Isengard Modifications

event = {
	id = 325003
	random = no
	country = UZB
	trigger = {
		owned = { province = 1534 data = -1 } # Kyzylkum
		OR = {
			owned = { province = 1533 data = -1 } # Khiva
			AND = { 
				owned = { province = 522 data = -1 } # Khwarizm
				owned = { province = 523 data = -1 } # Kara Kum
			}	
		}
	}
	name = "Khayr's Summer Residence"
	desc = "Upon the capture of Khwarizm, Khayr made Sygnak his summer residence and the city henceforth, became the major trading area for the people of the Great Steppes. The region also became profitable as through his consolidation, Khayr managed to unite the Turkic people of Khwarizim."
	style = 1
	date = { day = 1 month = january year = 1425 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Enjoy the beauty of Sygnak"
		command = { type = capital which = 1534 } # Kyzylkum
		command = { type = cot which = 1534 } # Kyzylkum
		command = { type = stability value = 3 }
		command = { type = add_countryculture which = canary }
		command = { type = relation which = AMI value = 100 } # ???
		command = { type = ai which = "UZB-Summer.ai" }
		}
}

#The Uzbek Peoples#
event = {

	id = 325005
	random = no
	country = UZB
	trigger = {
			owned = { province = 1533 data = -1 } # Khiva
			owned = { province = 522 data = -1 } # Khwarizm
			owned = { province = 521 data = -1 } # Karabogaz
	}
	name = "The Uzbek Peoples"
	desc = "When Abul Khayr conquered Khwarizm, he sent into motion the events that would contribute to the fall of the Timurid Empire and the rise of Uzbek Khanates. Their culture had begun to differ from those of other Mongols prior to Khayr's conquest, and his efforts allowed the Uzbek peoples to declare their complete independence. From now on, with the help of their Turkoman allies, the destiny of the Uzbeks would lie in the south, not in the north."
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 500
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "ACTIONNAME65007A" # Settle
		command = { type = add_countryculture which = uzbehk }
		command = { type = remove_countryculture which = mongol }
		command = { type = remove_countryculture which = canary } # to make Uzbek primary
		command = { type = add_countryculture which = canary }
		command = { type = provinceculture which = 516 value = uzbehk } # Aralsk
		command = { type = provinceculture which = 518 value = uzbehk } # Ust Urt
		command = { type = provinceculture which = 522 value = uzbehk } # Khwarizm
		command = { type = provinceculture which = 1533 value = uzbehk } # Khiva
		command = { type = provinceculture which = 1534 value = uzbehk } # Kyzylkum
		command = { type = provinceculture which = 1535 value = uzbehk } # Karsak
		command = { type = addcore which = 523 }
		command = { type = addcore which = 521 }
		command = { type = domestic which = centralization value = 3 }
		command = { type = domestic which = serfdom value = 2 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = stability value = 2 }
		command = { type = population which = -1 value = 2000 }
		command = { type = population which = -1 value = 2000 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = relation which = STE value = -150 }
		command = { type = relation which = SIB value = -50 }
	}
}

#######################################
#### Independence of Kazakh Events ####
####           by Garbon           ####
#######################################

event = {
	id = 325009
	random = no
	country = UZB
	trigger = {	
		OR = {
			owned = { province = 579 data = -1 } #Karaganda
			owned = { province = 1536 data = -1 } #Nura
		}
		NOT = { exists = KZK }	
	}
	name = "The Oirat Invasion"
	desc = "Starting around the mid-15th century, Khayr's eastern lands came under attack from the Oirats, a people of Mughulistan. The Oirats pillaged and destroyed much of the east and are mainly responsible for the lack of expansion during the rest of Khayr's reign. Eventually, the actions of Oirats, would allow the Kazakh Horde to break free from the weakened Uzbek Khanate."
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Curse them!"					
		command = { type = stability value = -3 }
		command = { type = desertion which = 1536 value = 5000 }
		command = { type = revolt which = 1536 }
		command = { type = revolt which = 1536 }
		command = { type = revolt which = 579 }
		command = { type = revolt which = 579 }
		command = { type = revolt which = 1536 }
		command = { type = revolt which = 1535 }
		command = { type = setflag which = oirat }
		}
}

event = {
	id = 325010
	random = yes
	country = UZB
	trigger = {	
		flag = oirat	
	}
	name = "Oirat Raiders"
	desc = "Try as they might, the Uzbeks could not hold the Oirats back. With superior tactics, the Oirat were unstoppable in the east."
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Woe is us"					
		command = { type = desertion which = 579 value = 5000 }
		command = { type = desertion which = 579 value = 5000 }
		command = { type = revolt which = 579 }
		command = { type = revolt which = 579 }
		command = { type = revolt which = 1536 }
		}
}

event = {
	id = 325011
	random = yes
	country = UZB
	trigger = {	
		flag = oirat	
	}
	name = "Oirat Marauders"
	desc = "The Oirats ruin the countryside which causes havok within our economy, but for what? Its not like they want to rule the lands, but just make them uninhabitable."
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "What wretched luck have we"					
		command = { type = desertion which = 1535 value = 5000 }
		command = { type = desertion which = 1535 value = 5000 }
		command = { type = revolt which = 1535 }
		command = { type = revolt which = 1535 }
		command = { type = revolt which = 1536 }
		}
}

event = {
	id = 325012
	random = yes
	country = UZB
	trigger = {	
		flag = oirat	
	}
	name = "The Oirats again..."
	desc = "Here come more raiders for a purpose still yet unknown."
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Stop!?"					
		command = { type = desertion which = 517 value = 5000 }
		command = { type = desertion which = 517 value = 5000 }
		command = { type = revolt which = 517 }
		command = { type = revolt which = 517 }
		command = { type = revolt which = 579 }
		}
}

event = {
	id = 325002
	random = no
	country = UZB
	trigger = {	
			OR = {
			       owned = { province = 521 data = -1 } #Karabogaz
			       owned = { province = 522 data = -1 } #Khwarizm
			       owned = { province = 523 data = -1 } #Kara Kum
			       owned = { province = 524 data = -1 } #Turmenistan
			}
			NOT = { 
				exists = KZK
				countrysize = 50 #make tougher sequence for 50+
			}
	}
	name = "The Formation of the Kazakh Horde"
	desc = "Attacks from the Oirats in the mid-fifteenth century, left the eastern lands of Abul Khayr, vulnerable to would be aspirants to power.  In 1469, Janibek and Ghirei, distant relatives of Khayr, exploited this vacuum of power and established their state in the lands between the Chu and Talas rivers. The sons of Barak Khan, a rival claimant, the two had been waiting for a time to move on Khayr's lands. The destruction at the hands of the Oirats, gave them there chance."
	style = 1
	date = { day = 1 month = january year = 1460 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Damn them!"					
		command = { type = independence which = KZK }
		command = { type = removecore which = 516 }  #Aralsk
		command = { type = removecore which = 517 }  #Turgai
		command = { type = removecore which = 579 }  #Karaganda
		command = { type = removecore which = 1535 } #Karsak
		command = { type = removecore which = 1536 } #Nura
		command = { type = stability value = -4 }
		command = { type = trigger which = 207000 } #KZK
		command = { type = sleepevent which = 325006 } #UZB
		command = { type = clrflag which = oirat }
		}
}

event = {
	id = 325006
	random = no
	country = UZB
	trigger = {	
			OR = {
			       owned = { province = 521 data = -1 } #Karabogaz
			       owned = { province = 522 data = -1 } #Khwarizm
			       owned = { province = 523 data = -1 } #Kara Kum
			       owned = { province = 524 data = -1 } #Turmenistan
			}
			OR = {
			       owned = { province = 512 data = -1 } #Tenghiz
			       owned = { province = 513 data = -1 } #Orsk
			       owned = { province = 514 data = -1 } #Irgiz
			       owned = { province = 578 data = -1 } #Ichim
			}
			NOT = { 
				exists = KZK
				countrysize = 50
			}
	}
	name = "The Formation of the Kazakh Horde"
	desc = "Attacks from the Oirats in the mid-fifteenth century, left the eastern lands of Abul Khayr, vulnerable to would be aspirants to power.  In 1469, Janibek and Ghirei, distant relatives of Khayr, exploited this vacuum of power and established their state in the lands between the Chu and Talas rivers. The sons of Barak Khan, a rival claimant, the two had been waiting for a time to move on Khayr's lands. The destruction at the hands of the Oirats, gave them there chance."
	style = 1
	date = { day = 1 month = january year = 1460 }
	offset = 31
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Cede the lands to Sibir"					
		command = { type = independence which = KZK }
		command = { type = removecore which = 516 }  #Aralsk
		command = { type = removecore which = 517 }  #Turgai
		command = { type = removecore which = 579 }  #Karaganda
		command = { type = removecore which = 1535 } #Karsak
		command = { type = removecore which = 1536 } #Nura
		command = { type = stability value = -4 }
		command = { type = trigger which = 207000 } #KZK
		command = { type = sleepevent which = 325002 } #UZB
		command = { type = secedeprovince which = U00 value = 578 }
		command = { type = secedeprovince which = U00 value = 512 }
		command = { type = secedeprovince which = U00 value = 513 }
		command = { type = secedeprovince which = U00 value = 514 }
		command = { type = relation which = SIB value = 50 }
		command = { type = clrflag which = oirat }
		}
	action_b ={
		name = "Cede the lands to the Kazakh Horde"					
		command = { type = independence which = KZK }
		command = { type = removecore which = 516 }  #Aralsk
		command = { type = removecore which = 517 }  #Turgai
		command = { type = removecore which = 579 }  #Karaganda
		command = { type = removecore which = 1535 } #Karsak
		command = { type = removecore which = 1536 } #Nura
		command = { type = stability value = -4 }
		command = { type = trigger which = 207000 } #KZK
		command = { type = trigger which = 325007 } #UZB #Need to make ^.^
		command = { type = sleepevent which = 325002 } #UZB
		command = { type = secedeprovince which = U00 value = 514 }
		command = { type = relation which = KZK value = 100 }
		command = { type = clrflag which = oirat }
		}
	action_c ={
		name = "Fools! We are in the right!"					
		command = { type = independence which = KZK }
		command = { type = removecore which = 516 }  #Aralsk
		command = { type = removecore which = 517 }  #Turgai
		command = { type = removecore which = 579 }  #Karaganda
		command = { type = removecore which = 1535 } #Karsak
		command = { type = removecore which = 1536 } #Nura
		command = { type = stability value = -6 }
		command = { type = trigger which = 207000 } #KZK
		command = { type = sleepevent which = 325002 } #UZB
		command = { type = secedeprovince which = U00 value = 514 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = 512 }
		command = { type = revolt which = 513 }
		command = { type = revolt which = 578 }
		command = { type = relation which = SIB value = -25 }
		command = { type = relation which = SIB value = -25 }
		command = { type = clrflag which = oirat }
		}
}

event = {
	id = 325007
	random = yes
	country = UZB
	name = "Lands of the Kazakh"
	desc = "blank"
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "By the mid-sixteenth century, the Kazakhs would expand their rule to included lands immediately south and north of the Syr Dara river, including lands northwest of the Aral Sea."
		command = { type = revolt which = -1 }					
		command = { type = secedeprovince which = KZK value = 578 }
		command = { type = secedeprovince which = KZK value = 512 }
		command = { type = secedeprovince which = KZK value = 513 }
		command = { type = secedeprovince which = KZK value = 514 }
		}
}

###########################
## Independence of Khiva ##
###########################

#Formation of Khiva Khanate#
event = {
	id = 325000
	random = no
	country = UZB
	trigger = {	
			owned = { province = 1592 data = -1 }
			OR = { 
				owned = { province = 1594 data = -1 }
				owned = { province = 1599 data = -1 }
				owned = { province = 1598 data = -1 }
			}
			OR = { 
				owned = { province = 1533 data = -1 }
				owned = { province = 522 data = -1 }
			}
			NOT = { exists = U00 }
	}
	name = "Formation of Khiva Khanate"
	desc = "While Shaibani Khan was busy conquering the Timurid states of Central Asia and Khorasan, the nomadic Uzbeks in the west became restless. In 1511, the two sultans, Ilbars and Balbars conquered the Khwarazm region and founded the Khiva Khanate. Unsurprisingly, this Khanate would become a thorn in the side of the late Bukhara Khanate and was frequently at odds with it."
	style = 1
	date = { day = 1 month = january year = 1510 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "Drats!"					
		command = { type = independence which = U00 }
		command = { type = capital which = 1592 }
		command = { type = removecore which = 521 }
		command = { type = removecore which = 518 }
		command = { type = removecore which = 522 }
		command = { type = removecore which = 524 }
		command = { type = removecore which = 523 }
		command = { type = stability value = -1 }
		command = { type = trigger which = 303000 } #Khiva setup event
		}
}

#Khiva & The Western Provinces#
event = {

	id = 325001
	random = no 
	country = UZB
	name = "Khiva & The Western Provinces"
	desc = "After the intial capture of Ugrench, all the other western provinces would leave the control of the Shaibanid state."
	style = 1
	action_a ={
		name = "How bad is our luck?"
		command = { type = secedeprovince which = U00 value = 522 }
		command = { type = secedeprovince which = U00 value = 523 } 
		command = { type = secedeprovince which = U00 value = 521 } 
		command = { type = secedeprovince which = U00 value = 520 }
		command = { type = secedeprovince which = U00 value = 524 }
		command = { type = secedeprovince which = U00 value = 519 }  
		command = { type = secedeprovince which = SIB value = 514 } 
		command = { type = secedeprovince which = SIB value = 513 }   
		command = { type = secedeprovince which = AST value = 515 } 
	}
}



#####

#Created by Aaron Seltzer
#The Safavid Heresy#
event = {

	id = 3999
	trigger = {
				exists = PER
		}

	random = no
         country = UZB
	name = "EVENTNAME3999"
	desc = "EVENTHIST3999"
	style = 2

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

         action_a ={				#The Safavid Heresy#
                 name = "ACTIONNAME3999A"
                 command = { type = secedeprovince which = PER value = 529 }
                 command = { type = secedeprovince which = PER value = 533 }
                 command = { type = secedeprovince which = PER value = 531 }
                 command = { type = secedeprovince which = PER value = 532 }
                 command = { type = secedeprovince which = PER value = 525 }
                 command = { type = secedeprovince which = PER value = 535 }
                 command = { type = secedeprovince which = PER value = 534 }
                 command = { type = secedeprovince which = PER value = 528 }
      }
     action_b = {				#Crush Them#
                 name = "ACTIONNAME3999B"
                 command = { type = stability value = -6 }
                 command = { type = cash value = -1000 }
	}

}

#########################
####  Uzbek Events   ####
####    by Crook     ####
#########################


#Danial Ataliq Regency#
event = {

	id = 65020
	random = no
	country = UZB
	name = "EVENTNAME65020"
	desc = "EVENTHIST65020"
	style = 4

	date = { day = 1 month = january year = 1758 }


	action_a ={
		name = "ACTIONNAME65020A"
		command = { type = DIP which = 3 value = 324 }
		command = { type = ADM which = 3 value = 324 }
		command = { type = MIL which = 4 value = 324 }
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = 1 }
	}
}

#Rahim Bi Regency#
event = {

	id = 65021
	random = no
	country = UZB
	name = "EVENTNAME65021"
	desc = "EVENTHIST65021"
	style = 4

	date = { day = 1 month = january year = 1747 }


	action_a ={
		name = "ACTIONNAME65021A"
		command = { type = DIP which = 4 value = 72 }
		command = { type = ADM which = 3 value = 72 }
		command = { type = MIL which = 6 value = 72 }
		command = { type = stability value = 2 }
		command = { type = domestic which = centralization value = 1 } 
	}
}
#Qazaqs and Uzbegs Split#
#event = {
#	id = 65003
#	random = no
#	country = UZB
#	trigger = {	owned = { province = 1533 data = -1 }
			
#			OR = { owned = { province = 1594 data = -1 }
#			       owned = { province = 523 data = -1 }
#			       owned = { province = 522 data = -1 }
#			       owned = { province = 521 data = -1 }
#			       owned = { province = 524 data = -1 }
#			}
#			NOT = { exists = KZK }
#}
#	name = "EVENTNAME65003"
#	desc = "EVENTHIST65003"
#	style = 1

#	date = { day = 1 month = january year = 1425 }
#	offset = 150
#	deathdate = { day = 1 month = january year = 1820 }

#	action_a ={
#		name = "ACTIONNAME65003A"					
#		command = { type = independence which = KZK }
#		command = { type = addcore which = 1594 }
#		command = { type = addcore which = 523 }
#		command = { type = capital which = 1533 }
#		command = { type = removecore which = 1535 }
#		command = { type = removecore which = 516 }
#		command = { type = removecore which = 517 }
#		command = { type = removecore which = 579 }
#		command = { type = removecore which = 518 }
#		command = { type = removecore which = 1536 }
#		command = { type = stability value = -4 }
#		command = { type = trigger which = 65004 }
#		command = { type = ai which = "UZB-Khiva.ai" }
#		}
#	}

# Uzbeks on Offensive
event = {
	id = 65006
	random = no
	country = UZB
	trigger = {	NOT = { war = { country = UZB country = TIM } }
			NOT = { alliance = { country = UZB country = TIM } }
			exists = TIM
			atwar = no
	}
	name = "EVENTNAME65006"
	desc = "EVENTHIST65006"
	style = 1

	date = { day = 1 month = january year = 1428 }
	offset = 500
	deathdate = { day = 1 month = january year = 1488 }

	action_a ={
		name = "ACTIONNAME65006A"					
		command = { type = CAV which = -1 value = 10000 }
		command = { type = war which = TIM }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = stability value = 4 }
		}
	action_b ={
		name = "ACTIONNAME65006B"					
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = offensive value = -1 }
		command = { type = infra value = 400 }
		command = { type = vp value = -20 }
		}
	}


# Isengard Modifications

# Shaibani's Ambition
event = {
	id = 325013
	random = no
	trigger = { 
		OR = {
			owned = { province = 1533 data = -1 } # Khiva
			owned = { province = 1534 data = -1 } # Kyzylkum
		}
		NOT = {
			vassal = { country = UZB country = TOX } # Samarkand
		}
		exists = TOX # Samarkand
	}
	country = UZB
	name = "EVENTNAME65007"
	desc = "EVENTHIST65007"
	style = 2
	date = { day = 1 month = january year = 1495 }
	offset = 10
	deathdate = { day = 1 month = january year = 1499 }
	action_a ={
		name = "OK"
		command = { type = stability value = 1 }
		command = { type = relation which = TOX value = -400 } # Samarkand
		command = { type = relation which = TIM value = -400 } # Timurid Empire
		command = { type = ai which = "UZB-Shaibani.ai" }
		command = { type = setflag which = shaibani2 }
		}
}

# Shaibani's Ambition
# 325014 unused

# Isengard Modifications

# Bukhara
event = {
	id = 65008
	random = no
	trigger = { 
			owned = { province = 1532 data = -1 } # Bukhara
	}
	country = UZB
	name = "EVENTNAME65008"
	desc = "EVENTHIST65008"
	style = 2
	date = { day = 1 month = january year = 1419 }
	offset = 500
	deathdate = { day = 1 month = january year = 1821 }
	action_a ={
		name = "ACTIONNAME65008A"
		command = { type = capital which = 1532 }
		command = { type = addcore which = 1532 }
		command = { type = stability value = 2 }
		command = { type = population which = 1532 value = 1000 }
		command = { type = provincetax which = 1532 value = 3 }
		}
}

#Death Of Ubaid'Allah#
event = {
	id = 65009
	random = no
	trigger = { event = 65007
		}
	country = UZB
	name = "EVENTNAME65009"
	desc = "EVENTHIST65009"
	style = 2
	date = { day = 1 month = january year = 1539 }
	offset = 200
	deathdate = { day = 1 month = january year = 1556 }
	action_a ={
		name = "ACTIONNAME65009A"					
		command = { type = stability value = -1 }
		command = { type = domestic which = centralization value = -2 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = offensive value = -2 }
		command = { type = ai which = "uzbek_1510.ai" }
		}
}

#The succession of 1550#
event = {
	id = 65010
	random = no
	country = UZB
	name = "EVENTNAME65010"
	desc = "EVENTHIST65010"
	style = 2
	date = { day = 1 month = january year = 1549 }
	offset = 30
	deathdate = { day = 1 month = january year = 1556 }
	action_a ={
		name = "ACTIONNAME65010A"					
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 72 value = 7 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = wakeleader which = 08612 }
		command = { type = wakeleader which = 08629 }
		command = { type = wakemonarch which = 05218 }
		command = { type = sleepmonarch which = 05217 }
		command = { type = domestic which = offensive value = -2 }
		}
	action_b ={
		name = "ACTIONNAME65010B"					
		command = { type = stability value = -4 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = revoltrisk which = 84 value = 9 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = wakeleader which = 08613 }
		command = { type = wakemonarch which = 05219 }
		command = { type = sleepmonarch which = 05217 }
		command = { type = wakeleader which = 16003 }
		}
}

#The succession of 1561#
event = {
	id = 65011
	random = no
	country = UZB
	name = "EVENTNAME65011"
	desc = "EVENTHIST65011"
	style = 2
	date = { day = 1 month = january year = 1561 }
	offset = 30
	deathdate = { day = 1 month = january year = 1562 }
	action_a ={
		name = "ACTIONNAME65011A"					
		command = { type = wakemonarch which = 05220 }
		command = { type = sleepmonarch which = 05219 }
		command = { type = domestic which = centralization value = 1 }
		}
	action_b ={
		name = "ACTIONNAME65011B"	
		command = { type = domestic which = offensive value = -1 }
		command = { type = stability value = -1 }				
		}
}

#The Muscowy Trade Company#
event = {
	id = 65012
	trigger = { exists = RUS }
	random = no
	country = UZB
	name = "EVENTNAME65012"
	desc = "EVENTHIST65012"
	style = 2
	date = { day = 1 month = april year = 1558 }
	offset = 23
	deathdate = { day = 1 month = may year = 1558 }

	action_a ={
		name = "ACTIONNAME65012A"
		command = { type = treasury value = 100 }
		command = { type = merchants value = 3 }
		command = { type = trade value = 500 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = relation which = RUS value = 50 }
	}
}

#Kazakh Honeymoon#
event = {
	id = 65013
	random = no
	trigger = { exists = KZK
			owned = { province = 1534 data = -1 }
		}
	country = UZB
	name = "EVENTNAME65013"
	desc = "EVENTHIST65013"
	style = 2
	date = { day = 1 month = january year = 1580 }
	offset = 30
	deathdate = { day = 1 month = january year = 1581 }
	action_a ={
		name = "ACTIONNAME65013A"					
		command = { type = relation which = KZK value = 150 }
		command = { type = secedeprovince which = KZK value = 1534 }
		command = { type = stability value = 1 }
		command = { type = alliance which = KZK }
		}
	action_b ={
		name = "ACTIONNAME65013B"	
		command = { type = relation which = KZK value = -250 }
		command = { type = stability value = -2 }	
		command = { type = revoltrisk which = 24 value = 3 }		
		command = { type = sleepevent which = 65014 }	
		}
}

#Prince Tawakkul and Abd'Allah#
event = {
	id = 65014
	random = no
	trigger = { event = 65013
		}
	country = UZB
	name = "EVENTNAME65014"
	desc = "EVENTHIST65014"
	style = 2
	date = { day = 1 month = january year = 1584 }
	offset = 30
	deathdate = { day = 1 month = january year = 1585 }
	action_a ={
		name = "ACTIONNAME65014A"					
		command = { type = relation which = KZK value = -350 }
		command = { type = stability value = -1 }
		command = { type = domestic which = aristocracy value = -1 }
		}
	action_b ={
		name = "ACTIONNAME65014B"	
		command = { type = relation which = KZK value = 50 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = stability value = -1 }
		}
}

#Abd'Allah's Military policies#
event = {
	id = 65017
	random = no
	country = UZB
	name = "EVENTNAME65017"
	desc = "EVENTHIST65017"
	style = 2
	date = { day = 1 month = january year = 1580 }
	offset = 500
	deathdate = { day = 1 month = january year = 1590 }
	action_a ={
		name = "ACTIONNAME65017A"					
		command = { type = land value = 750 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = offensive value = 1 }
		}
	}

#Abd'Allah's Economic policies#
event = {
	id = 65016
	random = no
	country = UZB
	name = "EVENTNAME65016"
	desc = "EVENTHIST65016"
	style = 2
	date = { day = 1 month = january year = 1582 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1590 }
	action_a ={
		name = "ACTIONNAME65016A"					
		command = { type = trade value = 750 }
		command = { type = stability value = 1 }
		command = { type = infra value = 1000 }
		command = { type = merchants value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = domestic which = centralization value = 3 }
		command = { type = domestic which = innovative value = 1 }
		}
	}

#Abd'Allah's International policies#
event = {
	id = 65018
	random = no
	country = UZB
	name = "EVENTNAME65018"
	desc = "EVENTHIST65018"
	style = 2
	date = { day = 1 month = january year = 1582 }
	offset = 90
	deathdate = { day = 1 month = january year = 1586 }
	action_a ={
		name = "ACTIONNAME65018"					
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = NOG value = 50 }
		command = { type = relation which = CHG value = 20 }
		command = { type = relation which = MOG value = 50 }
		}
	}

#Abd'Allah's International policies#
event = {
	id = 65019
	random = no
	country = UZB
	trigger = { exists = SIB
		    exists = RUS }
	name = "EVENTNAME65019"
	desc = "EVENTHIST65019"
	style = 2
	date = { day = 1 month = january year = 1595 }
	offset = 90
	deathdate = { day = 1 month = january year = 1598 }
	action_a ={
		name = "ACTIONNAME65019A"					
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = TUR value = 20 }
		command = { type = relation which = NOG value = 20 }
		command = { type = relation which = KZK value = 20 }
		command = { type = relation which = SIB value = 100 }
		}
	action_b ={
		name = "ACTIONNAME65019B"					
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = TUR value = -20 }
		command = { type = relation which = NOG value = -20 }
		command = { type = relation which = KZK value = -20 }
		command = { type = relation which = SIB value = -100 }
		}
	}

#Bukhara-Khivan tensions#
event = {
	id = 65022
	random = no
	country = UZB
	trigger = { exists = U00 }
	name = "EVENTNAME65022"
	desc = "EVENTHIST65022"
	style = 2
	date = { day = 1 month = january year = 1576 }
	offset = 90
	deathdate = { day = 1 month = january year = 1586 }
	action_a ={
		name = "ACTIONNAME65022A"					
		command = { type = relation which = U00 value = -150 }
		command = { type = casusbelli which = U00 value = 36 }
		}
	action_b ={
		name = "ACTIONNAME65022B"					
		command = { type = relation which = U00 value = 50 }
		command = { type = stability value = -1 }
		}
	}

#Bukhara-Khivan tensions#
event = {
	id = 65023
	random = no
	country = UZB
	trigger = { exists = U00 }
	name = "EVENTNAME65023"
	desc = "EVENTHIST65023"
	style = 2
	date = { day = 1 month = january year = 1511 }
	offset = 200
	deathdate = { day = 1 month = january year = 1820 }
	action_a ={
		name = "ACTIONNAME65023A"					
		command = { type = relation which = U00 value = 50 }
		command = { type = removecore which = 1533 }
		command = { type = removecore which = 522 }
		}
	action_b ={
		name = "ACTIONNAME65023B"					
		command = { type = relation which = U00 value = -100 }
		command = { type = stability value = -1 }
		command = { type = trigger which = 65024 }
		}
	}

#Bukhara-Khivan tensions#
event = {
	id = 65024
	random = no
	country = U00
	name = "EVENTNAME65024"
	desc = "EVENTHIST65023"
	style = 2
	action_a ={
		name = "ACTIONNAME65024A"					
		command = { type = inf which = -1 value = 5000 }
		command = { type = cav which = -3 value = 8000 }
		command = { type = domestic which = centralization value = 1 }
		}
	}

#Death of Abd'al Mum'in#
event = {
	id = 65025
	random = no
	country = UZB
	name = "EVENTNAME65025"
	desc = "EVENTHIST65025"
	style = 2
	date = { day = 22 month = july year = 1599 }
	action_a ={
		name = "ACTIONNAME65025A"					
		command = { type = domestic which = centralization value = -3 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = offensive value = -2 }
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = stability value = -3 }
		}
	action_b ={
		name = "ACTIONNAME65025B"					
		command = { type = domestic which = offensive value = -2 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = stability value = -5 }
		command = { type = sleepmonarch which = 05239 }
		command = { type = sleepmonarch which = 03781 }
		command = { type = wakemonarch which = 05224 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = domestic which = quality value = -1 }
		command = { type = sleepevent which = 65026 }
		}
	}

#Ascension of Baqi Muhammad#
event = {
	id = 65026
	random = no
	country = UZB
	name = "EVENTNAME65026"
	desc = "EVENTHIST65026"
	style = 2
	date = { day = 16 month = november year = 1603 }
	action_a ={
		name = "ACTIONNAME65026A"					
		command = { type = wakemonarch which = 05224 }
		command = { type = stability value = 1 }
		}
	}

#Death of Sa'id Subhan Quli Bahadur#
event = {
	id = 65027
	random = no
	country = UZB
	name = "EVENTNAME65027"
	desc = "EVENTHIST65027"
	style = 2
	date = { day = 4 month = september year = 1702 }
	action_a ={
		name = "ACTIONNAME65027A"					
		command = { type = domestic which = centralization value = -2 }
		command = { type = domestic which = aristocracy value = 2 }
		command = { type = revoltrisk which = 36 value = 3 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = offensive value = -1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = infra value = -400 }
		}
	}

#Death of Abu'l Khair#
event = {
	id = 65030
	random = no
	trigger = { 
		OR = { 
			event = 65003
			exists = KZK
		}
	}
	country = UZB
	name = "EVENTNAME65030"
	desc = "EVENTHIST65030"
	style = 2
	date = { day = 1 month = january year = 1468 }
	action_a ={
		name = "ACTIONNAME10025A"					
		command = { type = stability value = -6 }
		command = { type = revoltrisk which = 36 value = 6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = desertion which = -1 value = 5000 }
		}
}

#Death of Shaibani#
event = {
	id = 65031
	random = no
	country = UZB
	name = "EVENTNAME65031"
	desc = "EVENTHIST65031"
	style = 2
	date = { day = 1 month = december year = 1510 }
	action_a ={
		name = "ACTIONNAME10025A"					
		command = { type = stability value = -3 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = revoltrisk which = 36 value = 6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = desertion which = -1 value = 5000 }
		}
	}


####################################
##  Submission of Khorasan Events ##
####################################

# Isengard Modifications

# Submission of Khorasan
event = {
      id = 62003
      random = no
	country = UZB
      name = "EVENTNAME62003"
      desc = "EVENTHIST62003"
      style = 2

      action_a = { # Make them a part of our Empire
            name = "ACTIONNAME62003A"
		command = { type = inherit which = U01 }
		command = { type = stability value = 1 }
		command = { type = cash value = -100 }
		command = { type = vp value = 25 }
		command = { type = relation which = PER value = -80 }
		command = { type = relation which = MOG value = -80 }
		}
      action_b = { # Accept them as vassals
            name = "ACTIONNAME62003B"
		command = { type = vassal which = U01 }
		command = { type = cash value = 50 }
		command = { type = vp value = 15 }
		}
      action_c = { # Too much trouble
            name = "ACTIONNAME62003C"
		command = { type = stability value = -1 }
		command = { type = vp value = -15 }
		command = { type = relation which = PER value = 50 }
		command = { type = relation which = MOG value = 50 }
		}
	}

# Persia annexes Khorasan
event = {
      id = 62004
      random = no
	country = UZB
      name = "EVENTNAME62004"
      desc = "EVENTHIST62004"
      style = 2

      action_a = { # Let's teach them a lesson
            name = "ACTIONNAME62004A"
		command = { type = casusbelli which = PER value = 240 }
		command = { type = stability value = 1 }
		command = { type = cash value = -60 }
		command = { type = cav which = -1 value = 8000 }
	}
      action_b = { # Who cares?
            name = "ACTIONNAME62004B"
		command = { type = stability value = -1 }
		command = { type = vp value = -15 }
	}
}

# Mughals annex Khorasan
event = {
      id = 62007
      random = no
	country = UZB
      name = "EVENTNAME62007"
      desc = "EVENTHIST62007"
      style = 2

      action_a = { # Let's teach them a lesson
            name = "ACTIONNAME62004A"
		command = { type = casusbelli which = MOG value = 240 }
		command = { type = stability value = 1 }
		command = { type = cash value = -60 }
		command = { type = cav which = -1 value = 8000 }
	}
      action_b = { # Who cares?
            name = "ACTIONNAME62004B"
		command = { type = stability value = -1 }
		command = { type = vp value = -15 }
	}
}
 
Afghanistan Events

Again these should completely replace what we currently have.

Code:
##############################
##  EEP Afghanistan Events  ##
##--------------------------##
##      Coded by Jinnai     ##
##     Khephren & Garbon    ##
##############################

##### Event by Jinnai #####

event = {
	id = 65000
	random = no
	country = AFG
	name = "EVENTNAME65000"
	desc = "EVENTHIST65000"
	style = 4
	trigger = { owned = { province = 1535 data = -1 }
                  owned = { province = 1525 data = -1 }
                }

	date = { day = 22 month = may year = 1793 }
	action_a = {
		name = "ACTIONNAME65000A"
		command = { type = revolt which = -1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = aristocracy value = 2 }
		}
	action_b = {
		name = "ACTIONNAME65000B"
		command = { type = revolt which = 1525 }
		command = { type = revolt which = 1531 }
		command = { type = stability value = -2 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = wakeleader which = 16132 }
		command = { type = wakemonarch which = 03642 }
		command = { type = sleepmonarch which = 03637 }
		}
}

event = {
	id = 65028
	random = no
	country = AFG
	name = "EVENTNAME65028"
	desc = "EVENTHIST65028"
	date = { day = 1 month = january year = 1440 }
	offset = 400
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
		name = "ACTIONNAME65028A"
		command = { type = casusbelli which = KSH value = 48 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = stability value = -3 }
		command = { type = revolt  which = -1 }
		command = { type = revolt  which = -1 }
		command = { type = revolt  which = -1 }
		}
	}

event = {
	id = 65030
	random = no
	province = 1521
	name = "Ex-Shah of Afghanistan begs for help"
	desc = "The former ruler of Afghanistan, Shuja ul-Mulk Sadozai, has escaped from his imprisoment and has come to seek our aid in the hopes of reclaiming the Afghan throne.  In exchange he offers the famous Koh-e-Núr diamond."
	style = 4
	trigger = {
		NOT = {
			owned = { province = 1521 data = AFG }
			}
                }
	date = { day = 1 month = january year = 1812 }
	offset = 400

	action_a = {
		name = "Rob him blind!"
		command = { type = stability value = -2 }
		command = { type = cash value = 250 }
		command = { type = vp value = -30 }
		command = { type = badboy value = 3 }
		}
	action_b = {
		name = "Support him indirectly."
		command = { type = cash value = 250 }
		command = { type = desertion which = -1 value = 1000 }
		command = { type = desertion which = -1 value = 1000 }
		command = { type = desertion which = -1 value = 1000 }
		command = { type = trigger which = 65028 }
		}
	action_c = {
		name = "Declare war on Afghanistan!"
		command = { type = cash value = 250 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = CAV which = -2 value = 3000 }
		command = { type = ART which = -2 value = 20 }
		command = { type = war which = AFG }
		}
	action_d = {
		name = "Ignore his plight."
		command = { type = vp value = -20 }
		}
	}

###################
# EEP by Khephren #
###################

#Afghan Response#
event = {
	id = 102000 #triggered by KSH 205001
	random = no
	country = AFG
	name = "Afghan Response"
	desc = "Punjab is asking for our aid in their ongoing war against the Marathas"
	trigger = { war = { country = KSH country = MAH } }
	date = { day = 1 month = january year = 1440 }
	offset = 400
	deathdate = { day = 1 month = january year = 1820 }
	style = 4

	action_a ={ 
	name = "It is our duty to help!"
		command = { type = alliance which = KSH }
		command = { type = relation which = KSH value = 100 }
		command = { type = casusbelli which = MAH value = 600 }
		command = { type = stability value = -1 }
		command = { type = INF which = -1 value = 20000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = trigger which = 205000 } # KSH 
	}

	action_b = {
		name = "It is an Indian affair!"
		command = { type = relation which = KSH value = -100 }
		command = { type = DIP which = -1 value = 120 }
		command = { type = stability value = 1 }
		}
	}




##  AGCEEP Afghanistan Events  ##
##   by Isengard               ##

# Event Range 296670 - 296679

# The Princes of Kandahar
event = {
	id = 296670
	random = no 
	country = AFG
	trigger = { exists = TIM }

	name = "The Princes of Kandahar"
	desc = "Although free from direct Timurid control, the Princes of Kandahar would soon learn that their independence was not acquired so easily.  In fact, their independence simply heightened their struggles with the Timurid Empire, for surely the Princes of Kandahar could certainly aspire to ruling the Empire. In doing so, they would be at odds with the Empire at large, as well as with other rebellious factions, such as the Princes of Samarkand."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Claim the right to the Timurid throne"
		command = { type = add_countryculture which = canary }
		command = { type = add_countryculture which = mongol }
		command = { type = remove_countryculture which = afghani }
		command = { type = INF which = -2 value = 5000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = breakvassal which = TIM }
		command = { type = addcore which = 1531 } # Add Timurid Turkoman Cores
		command = { type = addcore which = 1532 }
		command = { type = addcore which = 1592 }
		command = { type = addcore which = 536 } # Add Timurid Baluchi Core
		command = { type = addcore which = 1530 } # Add Eastern Persian Cores
		command = { type = revoltrisk which = 540 value = 3 } # long revolt risk, might be broken up
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
                command = { type = cash value = 100 }
		command = { type = relation which = TIM value = -400 }
		command = { type = relation which = U01 value = -400 } # Khorasan
		command = { type = relation which = TOX value = -400 } # Samarkand
		command = { type = casusbelli which = TIM value = 600 }
		command = { type = casusbelli which = U01 value = 600 }
		command = { type = casusbelli which = TOX value = 600 }
		command = { type = vp value = 50 }
		command = { type = setflag which = timafg }
		command = { type = ai which = kandahar.ai }
	}
	action_b = {
		name = "Rescind all designs on the Timurid throne"
		command = { type = stability value = 1 }
		command = { type = relation which = TIM value = 50 }
		command = { type = relation which = U01 value = 50 }
		command = { type = relation which = TOX value = 50 }
                command = { type = vp value = -50 }
		command = { type = clrflag which = timafg }
	}
}

# Reclamation of the Timurid Empire
event = {
	id = 296671
	random = no
	country = AFG
	trigger = {
		flag = timafg
		NOT = { 
			exists = TIM
			exists = TOX
		}
		atwar = no
		owned = { province = 1531 data = -1 } # Herat
		control = { province = 1531 data = -1 }
	}

	name = "Reclamation of the Timurid Empire"
	desc = "Upon reclaiming the capitals of the Timurid Empire, a Timurid prince could declare himself the ruler of the new Timurid Empire. With this declaration, however, came great responsibility."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Re-establish the Timurid Empire!"
		command = { type = country which = TIM }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = revoltrisk which = 420 value = 3 }
		command = { type = capital which = 1531 } # Herat
		command = { type = sleepevent which = 296611 }
		command = { type = clrflag which = timafg }
	}
}

# Babur's Ambition
event = {
	id = 296672
	random = no
	country = AFG
	trigger = {
		flag = timafg
		NOT = { event = 3804
			exists = MOG
			exists = TIM
			exists = TOX }
		countrysize = 3
	}

	name = "EVENTNAME3804"
	desc = "EVENTHIST3804"
	style = 2
	
	date = { day = 1 month = march year = 1504 }
	offset = 30

	action_a = {
		name = "ACTIONNAME3804A"
		command = { type = country which = MOG }
		command = { type = remove_countryculture which = afghani } # check for duplicates
		command = { type = add_countryculture which = afghani }
		command = { type = add_countryculture which = hindi }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 20000 }
		command = { type = ART which = -2 value = 10 }
		command = { type = cash value = 200 }
		command = { type = relation which = DLH value = -400 }
		command = { type = relation which = GUJ value = -400 }
		command = { type = addcore which = 539 } # Indian Lands
		command = { type = addcore which = 540 }
		command = { type = addcore which = 542 }
		command = { type = addcore which = 543 }
		command = { type = addcore which = 544 }
		command = { type = addcore which = 545 }
		command = { type = addcore which = 546 }
		command = { type = addcore which = 552 }
		command = { type = addcore which = 553 }
		command = { type = addcore which = 1520 }
		command = { type = addcore which = 1521 }
		command = { type = addcore which = 1522 }
		command = { type = addcore which = 1523 }
		command = { type = capital which = 1527 } # Kabul
		command = { type = land value = 3000 }
		command = { type = sleepevent which = 296673 }
		command = { type = ai which = Mughal.ai }
	}
}

# Rise of the Mughals
event = {
	id = 296673
	random = no
	country = AFG
	trigger = {
		flag = timafg
		event = 3804
		exists = MOG
	}

	name = "Rise of the Mughals"
	desc = "With Babur's formation of the Mughal Empire, the remnants of the former Timurid Empire were obligated to accept Mughal dominance or face their wrath."
	style = 2
	
	date = { day = 1 month = march year = 1500 }
	offset = 10
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Defy the Mughals!"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = relation which = MOG value = -200 }
		command = { type = clrflag which = timafg }
	}
	action_b = {
		name = "Accept Mughal dominance"
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revoltrisk which = 588 value = -8 }
		command = { type = relation which = MOG value = 200 }
		command = { type = trigger which = 296705 } # Afghanistan Accepts Mughal Dominance
		command = { type = clrflag which = timafg }
	}
	action_c = {
		name = "Submit to the Mughals (End Game)"
		command = { type = desertion which = -1 value = 5000 }
		command = { type = trigger which = 296706 } # Afghanistan Submits to the Mughals
		command = { type = clrflag which = timafg }
	}
}

# Raiders
event = {
	id = 296674
	random = no
	country = AFG
	trigger = {
		atwar = no
		NOT = { stability = -1 }
	}

	date = { day = 1 month = march year = 1419 }
	deathdate = { day = 1 month = march year = 1819 }
	
	name = "Raiders"
	desc = "The vast lawless stretches of Central Asia were frequently home to bandits and raiders on the lucrative east-west trade routes."
	style = 1
	
	action_a = {
		name = "Support the raiders!"
		command = { type = CAV which = -1 value = 5000 }
		command = { type = cash value = 200 }
		command = { stability value = 1 }
		command = { type = relation which = TIM value = -100 }
		command = { type = relation which = TOX value = -100 }
		command = { type = relation which = MOG value = -100 }
		command = { type = relation which = PER value = -100 }
		command = { type = relation which = GUJ value = -100 }
		command = { type = relation which = DLH value = -100 }
	}
	action_b = {
		name = "Crush the raiders"
		command = { type = revoltrisk which = 60 value = 4 }
		command = { type = revolt value = -1 }
	}
}
 
Timurid Events

Once again these should completely replace the current file, although soon enough I should have some additions once I figure out my new Koyunlu stuff.

Code:
##  AGCEEP Timurid Empire Events  ##
##   by Isengard                  ##

# Event Range 296600 - 296649

#need a death of Shah Rukh event

# Dissent in the Timurid Empire
event = {
	id = 296600
	random = no 
	country = TIM

	name = "Dissent in the Timurid Empire"
	desc = "The Timurid Empire had been built by, and kept together by, the genius of its founder Timur.  With his death the Empire would begin to show signs of instability almost immediately, although under Shâh Rûkh it would continue to hold together."
	style = 1

	date = { day = 1 month = march year = 1419 }
	offset = 30
	deathdate = { day = 1 month = march year = 1447 }

	action_a ={
		name = "Suppress all dissent!"
		command = { type = revoltrisk which = 300 value = 1 } # change this over to stab -3?
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
}

# The Uzbek Offensive
event = {
    id = 296601
    random = no
    country = TIM
    trigger = {
	event = 65006 # Uzbeks on Offensive
	OR = {
		control = { province = 521 data = UZB } # Karabogaz
		control = { province = 521 data = REB }
	}
	OR = {
		control = { province = 522 data = UZB } # Khwarizm
		control = { province = 522 data = REB }
	}
	OR = {
		control = { province = 1533 data = UZB } # Khiva
		control = { province = 1533 data = REB }
	}
      	OR = {
		control = { province = 524 data = UZB } # Turkmenistan
		control = { province = 524 data = REB }
     		control = { province = 523 data = UZB } # Kara Kum
     		control = { province = 523 data = REB }
     		control = { province = 1532 data = UZB } # Bukhara
     		control = { province = 1532 data = REB }
	}
    }

    name = "The Uzbek Offensive"
    desc = "When Abul Khayr of the Uzbeks led an attack on the Khwarizm, no one expected his offensive to be successful. Unfortunately for the Timurids, it resulted in the loss of the entire region. This was an ominous portend for further Uzbek-Timurid conflicts . . . "
    style = 1

    date = { day = 1 month = march year = 1419 }
    offset = 10
    deathdate = { day = 1 month = march year = 1500 }

    action_a = {
	name = "Abandon the northern border to the Uzbeks"
	command = { type = secedeprovince which = UZB value = 521 } # Karabogaz
	command = { type = secedeprovince which = UZB value = 522 } # Khwarizm
	command = { type = secedeprovince which = UZB value = 1533 } # Khiva
	command = { type = removecore which = 1594 } # remove the Uzbek core
	command = { type = stability value = -1 }
    }
}

# Ascendency of Ûlûgh Beg
event = {
	id = 296602
	random = no 
	country = TIM
	trigger = {
		monarch = 04891
	}

	name = "Ascendency of Ûlûgh Beg"
	desc = "With the ascendency of Ûlûgh Beg, the Timurid Empire would be a cohesive unit for its second to last time. Although his reign was plagued with revolts, Ûlûgh Beg was able to keep the Empire from implosion. With his death this would no longer be true, as the division between the Timurid princes of Herat and the princes of Samarkand would grow deeper."
	style = 1

	date = { day = 1 month = march year = 1419 }
	offset = 10
	deathdate = { day = 1 month = march year = 1450 }

	action_a ={
		name = "The Empire holds together (for now)"
		command = { type = vassal which = U01 } # Khorasan
		command = { type = vassal which = TOX } # Samarkand
		command = { type = vassal which = AFG }
		command = { type = capital which = 1592 } # Samarkand
		command = { type = stability value = 2 }
	}
}

# Further Dissent in the Timurid Empire
event = {
	id = 296603
	random = no 
	country = TIM

	name = "Further Dissent in the Timurid Empire"
	desc = "While Ûlûgh Beg was able to hold the Empire together, his reign was plagued by revolts and unrest."
	style = 1
	
	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1449 }

	action_a ={
		name = "Suppress all dissent!"
		command = { type = revoltrisk which = 24 value = 3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = relation which = AKK value = -400 }
		command = { type = relation which = QAR value = -400 }
		command = { type = relation which = UZB value = -400 }
		command = { type = removecore which = 487 } # remove the Turkish core
#		command = { type = trigger which = 266000 } # Qara Koyunlu Reaction to the Disintegration of the Timurid Empire
	}
}

# Western Provinces
event = {
	id = 296604
	random = no 
	country = TIM
	trigger = {
		monarch = 04891
		NOT = { exists = U01 }
	}

	name = "Western Provinces"
	desc = "During the reign of Ûlûgh Beg's father, Shâh Rûkh, the western provinces of the Timurid Empire were under the governorship of Ibrahim Sultan, another one of Rûkh's sons. His governorship was sort of his consolation prize, as he was never designated to rule the Empire, being a second son. Ibrahim was to lose his consolation prize, when Ûlûgh ended his governorship to better control the western provinces through a centralized government. Ûlûgh's attempts to control the unruly west would prove in vain and only accomplish forming a rift between the brothers."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 350
	deathdate = { day = 1 month = march year = 1500 }

	action_a ={
		name = "Rule the west from Samarkand"
		command = { type = revolt which = 531 }
		command = { type = revolt which = 532 }
		command = { type = revolt which = 533 }
		command = { type = revolt which = 534 }
	}
	action_b ={
		name = "Allow Ibrahim his consolation"
		command = { type = removecore which = 534 }
		command = { type = stability value = 1 }
	}
}

# A Lessening of the Dissent
event = {
	id = 296605
	trigger = {
		event = 296603
		OR = {	exists = U01
			exists = TOX }
	}
	random = no
	country = TIM
	name = "A Lessening of the Dissent"
	desc = "The split of the Empire, with princes ruling in Khorasan and in Samarkand allowed both fragments to regain some semblance of stability."
	style = 1
	
	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1449 }

	action_a ={
		name = "The burden is lessening"
		command = { type = revoltrisk which = 24 value = -3 }
	}
}

# Ûlûgh Beg's Observatory
event = {
	id = 296606
	trigger = {
		event = 296602
		domestic = { type = innovative value = 2 }
	}
	random = no
	country = TIM
	name = "EVENTNAME3920"
	desc = "EVENTHIST3920"
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = october year = 1449 }
	
	action_a = { # Build it!
		name = "ACTIONNAME3920A"
		command = { type = domestic which = innovative value = 1 }
		command = { type = cash value = -200 }
		command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = provincetax which = 1592 value = 1 }
            	command = { type = infra value = 3000 }
	}
	action_b = { # We have neither the time nor the money for such foolishness!
		name = "ACTIONNAME3920B"
		command = { type = domestic which = innovative value = -1 }
	}
}

# The Split of the Timurid Empire
event = {
	id = 296607
	random = no 
	country = TIM

	name = "The Split of the Timurid Empire"
	desc = "Upon the death of Ûlûgh Beg, the Empire split in two, with the Princes of Samarkand taking the east and the Kings of Khorasan taking the west. Historically a descendent of the Princes of Samarkand would got on to found the Mughal Empire. The Kings of Khorasan would continue to rule into the early 16th century when their kingdom would be annexed by the Uzbeks."
	style = 1

	date = { day = 1 month = october year = 1449 }
	offset = 30
	deathdate = { day = 1 month = march year = 1459 }

	action_a ={
		name = "Support the Princes of Herat"
#		command = { type = country which = U01 } # Khorasan
		command = { type = independence which = TOX } # Samarkand
		command = { type = revoltrisk which = 96 value = 3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = capital which = 1531 } # Herat
		command = { type = setflag which = timwest } # abandon the east
	}
	action_b ={
		name = "Support the Princes of Samarkand"
#		command = { type = country which = TOX } # Samarkand
		command = { type = independence which = U01 } # Khorasan
		command = { type = revoltrisk which = 96 value = 3 }
		command = { type = revolt which = -1 }
		command = { type = capital which = 1592 } # Samarkand
		command = { type = setflag which = timeast } # abandon the west
	}
}

# Timurids of Samarkand Abandon the West
event = {
	id = 296608
	random = no 
	country = TIM
	trigger = {
		exists = U01
		flag = timeast
	}

	name = "Timurids of Samarkand Abandon the West"
	desc = "The Timurid remnants in the east established themselves at Samarkand, leaving the west to the Kings of Khorasan."
	style = 1

	date = { day = 1 month = march year = 1447 }
	deathdate = { day = 1 month = march year = 1500 }

	action_a ={
		name = "Abandon the west"
		# Keep Samarkand (1592)
		# Keep Mongol Lands (1594, 1598, 1599)
		command = { type = secedeprovince which = U01 value = 1531 } # Herat
		command = { type = secedeprovince which = U01 value = 1532 } # Bukhara
		command = { type = secedeprovince which = U01 value = 521 } # Uzbek Lands
		command = { type = secedeprovince which = U01 value = 522 } 
		command = { type = secedeprovince which = U01 value = 523 } 
		command = { type = secedeprovince which = U01 value = 524 } 
		command = { type = secedeprovince which = U01 value = 1533 } 
		command = { type = secedeprovince which = U01 value = 525 } # Mazandaran
		command = { type = secedeprovince which = U01 value = 526 } # Persian Lands
		command = { type = secedeprovince which = U01 value = 527 } 
		command = { type = secedeprovince which = U01 value = 528 } 
		command = { type = secedeprovince which = U01 value = 529 }
		command = { type = secedeprovince which = U01 value = 530 } 
		command = { type = secedeprovince which = U01 value = 531 } 
		command = { type = secedeprovince which = U01 value = 532 } 
		command = { type = secedeprovince which = U01 value = 533 } 
		command = { type = secedeprovince which = U01 value = 534 } 
		command = { type = secedeprovince which = U01 value = 535 } 
		command = { type = secedeprovince which = U01 value = 1529 } 
		command = { type = secedeprovince which = U01 value = 1530 } 
		command = { type = secedeprovince which = U01 value = 536 } # Baluchi Province
		# Keep Afghanistan (1524, 1525, 1527, 1528, 1591)
		# Keep Baluchistan (537, 538, 1526)
		command = { type = stability value = -1 }
	}
}

# Timurids of Herat Abandon the East
event = {
	id = 296609
	random = no 
	country = TIM
	trigger = {
		exists = TOX
		flag = timwest
	}

	date = { day = 1 month = march year = 1447 }
	deathdate = { day = 1 month = march year = 1500 }

	name = "Timurids of Herat Abandon the East"
	desc = "The Timurid remnants in the west established themselves at Herat, leaving the east to the Princes of Samarkand."
	style = 1

	action_a ={
		name = "Abandon the east"
		# Keep Herat (1531) and Bukhara (1532)
		command = { type = secedeprovince which = TOX value = 1592 } # Turkoman Province
		command = { type = secedeprovince which = TOX value = 1594 } # Mongol Lands
		command = { type = secedeprovince which = TOX value = 1598 }
		command = { type = secedeprovince which = TOX value = 1599 }
		# Keep Uzbek Lands
		# Keep Persian Lands
		# Keep Afghanistan (1524, 1525, 1527, 1528, 1591)
		# Keep Baluchistan (537, 538, 1526)
		command = { type = stability value = -1 }
	}
}

# Disintegration of the Timurid Empire
event = {
	id = 296610
	random = no 
	country = TIM

	name = "Disintegration of the Timurid Empire"
	desc = "Only through military might was Abû Sa`id was able to hold the Empire together, with widespread dissent and outright revolts plaguing the Empire."
	style = 1

	date = { day = 1 month = march year = 1459 }
	offset = 30
	deathdate = { day = 1 month = march year = 1469 }

	action_a ={
		name = "Attack all traitors!"
		command = { type = revoltrisk which = 96 value = 3 }
		command = { type = revolt which = -1 }
	}
}

# Ascendancy of Abû Sa`id
event = {
	id = 296611
	random = no 
	country = TIM
	trigger = {
		monarch = 16136
	}

	name = "Ascendancy of Abû Sa`id"
	desc = "The ascendency of Abû Sa`id marked the last time an attempt to unify the empire would be fruitful. The division that became visible between the Timurids of Khorasan and Samarkand during Ûlûgh Beg's reign would continue to deepen. Only through his military might would Sa`id be able to keep his empire from revolting out from under him."
	style = 1

	date = { day = 1 month = march year = 1450 }
	offset = 10
	deathdate = { day = 1 month = march year = 1500 }

	action_a ={
		name = "We are one again"
		command = { type = vassal which = U01 }
		command = { type = vassal which = TOX }
		command = { type = vassal which = AFG }
		command = { type = alliance which = U01 }
		command = { type = alliance which = TOX }
		command = { type = alliance which = AFG }
		command = { type = stability value = 1 }
	}
}

# Last Days of the Timurid Empire
event = {
	id = 296612
	random = no 
	country = TIM

	name = "Last Days of the Timurid Empire"
	desc = "With the death of Abû Sa`id, the Empire literally fell to pieces."
	style = 1

	date = { day = 1 month = march year = 1469 }
	offset = 10
	deathdate = { day = 1 month = march year = 1504 }

	action_a ={
		name = "Attack all traitors!"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revoltrisk which = 420 value = 3 } # long revolt risk, might be broken up
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = breakvassal which = U01 }
		command = { type = breakvassal which = TOX }
		command = { type = breakvassal which = AFG }
		command = { type = breakvassal which = AMI } # Mazandaran
		command = { type = capital which = 1531 }
	}
}

# Babur's Ambition
event = {
	id = 296613
	random = no
	country = TIM
	trigger = {
		NOT = { event = 3804
			exists = MOG }
		countrysize = 6
	}

	name = "EVENTNAME3804"
	desc = "EVENTHIST3804"
	style = 2
	
	date = { day = 1 month = march year = 1504 }

	action_a = { # Ok
		name = "ACTIONNAME3804A"
		command = { type = country which = MOG }
		command = { type = add_countryculture which = afghani }
		command = { type = add_countryculture which = hindi }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 20000 }
		command = { type = ART which = -2 value = 10 }
		command = { type = cash value = 200 }
		command = { type = relation which = DLH value = -400 }
		command = { type = relation which = GUJ value = -400 }
		command = { type = addcore which = 539 } # Indian Lands
		command = { type = addcore which = 540 }
		command = { type = addcore which = 542 }
		command = { type = addcore which = 543 }
		command = { type = addcore which = 544 }
		command = { type = addcore which = 545 }
		command = { type = addcore which = 546 }
		command = { type = addcore which = 552 }
		command = { type = addcore which = 553 }
		command = { type = addcore which = 1520 }
		command = { type = addcore which = 1521 }
		command = { type = addcore which = 1522 }
		command = { type = addcore which = 1523 }
		command = { type = capital which = 1524 } # Afghani Lands
		command = { type = capital which = 1525 }
		command = { type = capital which = 1527 }
		command = { type = land value = 3000 }
		command = { type = sleepevent which = 296613 }
		command = { type = sleepevent which = 296614 }
		command = { type = ai which = Mughal.ai }
	}
}

# Rise of the Mughals
event = {
	id = 296614
	random = no
	country = TIM
	trigger = {
		event = 3804
		exists = MOG
	}

	name = "Rise of the Mughals"
	desc = "With Babur's formation of the Mughal Empire, the remnants of the former Timurid Empire were obligated to accept Mughal dominance or face their wrath."
	style = 2
	
	date = { day = 1 month = march year = 1500 }
	offset = 10
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Submit to the Mughals (End Game)"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = trigger which = 296702 } # The Timurid Remnants Submit to the Mughals
	}
	action_b = {
		name = "Accept Mughal dominance"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = revoltrisk which = 588 value = -9 }
		command = { type = relation which = MOG value = 200 }
		command = { type = trigger which = 296701 } # The Timurid Remnants Accept Mughal Dominance
	}
	action_c = {
		name = "Defy the Mughals!"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = relation which = MOG value = -200 }
	}
}

# The End of the Timurid Empire
event = {
	id = 296615
	country = TIM
	random = no
	trigger = {
		exists = MOG
		NOT = { countrysize = 6
			exists = U01 }
	}

	name = "The End of the Timurid Empire"
	desc = "With their power so diminished, the Princes of Herat could no longer pretend that they ruled an empire. The only title that they could realistically claim would be the Kings of Khorasan. From this point on, the Timurid dynasty's days would be numbered."
	style = 2

	date = { day = 1 month = march year = 1506 }
	offset = 350
        deathdate = { day = 1 month = march year = 1600 }

	action_a = { 
		name = "We are the Kings of Khorasan"
		command = { type = country which = U01 }
		command = { type = addcore which = 1528 } # Remove Timurid Afghani Core
		command = { type = removecore which = 536 } # Remove Timurid Baluchi Core
		command = { type = ai which = peaceful.ai }
	}
}

# Keep the Old Events for Persia
# Ismail's Resurrection of Persia
event = {
	id = 3558
	random = no
	country = TIM
	trigger = {
		owned = { province = 529 data = -1 } # Tabaristan
		NOT = {
			exists = PER
			stability = 1 # lower than 1
		}
	}

	name = "EVENTNAME3558"
	desc = "EVENTHIST3558"
	style = 1

	date = { day = 1 month = march year = 1497 }
	offset = 30
	deathdate = { day = 1 month = march year = 1530 }

	action_a ={ # Crush the Shiite rebels
		name = "ACTIONNAME3558A"
		command = { type = revolt which = 508 } # Basrah (could be Musha'sha')
		command = { type = revolt which = 525 } # Elbruz (should be Mazandaran)
		command = { type = revolt which = 526 } # all the Timurid held Persian lands
		command = { type = revolt which = 527 }
		command = { type = revolt which = 528 }
		command = { type = revolt which = 529 }
		command = { type = revolt which = 529 } # duplicate
		command = { type = revolt which = 530 }
		command = { type = revolt which = 530 } # duplicate
		command = { type = revolt which = 531 }
		command = { type = revolt which = 532 }
		command = { type = revolt which = 533 }
		command = { type = revolt which = 533 } # duplicate
		command = { type = revolt which = 534 }
		command = { type = revolt which = 535 }
		command = { type = revolt which = 1529 }
		command = { type = revolt which = 1530 }
		command = { type = stability value = -2 }
	}
	action_b ={ # Negotiate with Ismail
		name = "ACTIONNAME3558B"
		command = { type = independence which = PER }
	}
}

# Persia is Resurrected
event = {
	id = 3818
	random = no
	country = TIM
	trigger = {
		exists = PER
#		OR = {
#			owned = { province = 525 data = -1 }
#			owned = { province = 526 data = -1 }
#			owned = { province = 527 data = -1 }
#			owned = { province = 528 data = -1 }
#			owned = { province = 529 data = -1 }
#			owned = { province = 530 data = -1 }
#			owned = { province = 531 data = -1 }
#			owned = { province = 532 data = -1 }
#			owned = { province = 533 data = -1 }
#			owned = { province = 534 data = -1 }
#			owned = { province = 535 data = -1 }
#			owned = { province = 1529 data = -1 }
#			owned = { province = 1530 data = -1 }
#		}
	}

	name = "EVENTNAME3818"
	desc = "EVENTHIST3818"
	style = 2
	
	date = { day = 1 month = march year = 1497 }
	offset = 60
	deathdate = { day = 1 month = march year = 1530 }

	action_a = { # Let them have their freedom
		name = "ACTIONNAME3818A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 508 } # Basrah (could be Musha'sha')
		command = { type = secedeprovince which = PER value = 525 } # Elbruz (should be Mazandaran)
		command = { type = secedeprovince which = PER value = 526 } # all the Timurid held Persian lands
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 1529 }
		# don't secede Khorasan (1530)
		command = { type = removecore which = 526 } # remove (most) Persian cores
		command = { type = removecore which = 527 }
		command = { type = removecore which = 528 }
		command = { type = removecore which = 530 }
		command = { type = removecore which = 534 }
		command = { type = removecore which = 535 }
		command = { type = removecore which = 1529 }
		# don't remove Khorasan (1530)
	}
	action_b = { # Crush the rebellion
		name = "ACTIONNAME3818B"
		command = { type = revolt which = 508 } # Basrah (should be the Caliphate)
		command = { type = revolt which = 525 } # Elbruz (should be Mazandaran)
		command = { type = revolt which = 526 } # all the Timurid held Persian lands
		command = { type = revolt which = 527 }
		command = { type = revolt which = 528 }
		command = { type = revolt which = 529 }
		command = { type = revolt which = 530 }
		command = { type = revolt which = 531 }
		command = { type = revolt which = 532 }
		command = { type = revolt which = 533 }
		command = { type = revolt which = 534 }
		command = { type = revolt which = 535 }
		command = { type = revolt which = 1529 }
		command = { type = revolt which = 1530 }
		command = { type = stability value = -2 }
	}
}

# duplicate of Persian Resurrection
# event = {
#	id = 3997
#	random = no
#	country = TIM
#	trigger = {
#		exists = PER
#		NOT = { religion = shiite }
#	}
#
#	name = "EVENTNAME3999"
#	desc = "EVENTHIST3999"
#	style = 2
#
#	date = { day = 1 month = march year = 1490 }
#	offset = 30
#	deathdate = { day = 1 month = march year = 1819 }
#
#	action_a ={ # The Safavid Heresy
#                name = "ACTIONNAME3999A"
#                 command = { type = secedeprovince which = PER value = 525 }
#                 command = { type = secedeprovince which = PER value = 528 }
#                 command = { type = secedeprovince which = PER value = 529 }
#                 command = { type = secedeprovince which = PER value = 531 }
#                 command = { type = secedeprovince which = PER value = 532 }
#                 command = { type = secedeprovince which = PER value = 533 }
#                 command = { type = secedeprovince which = PER value = 534 }
#                 command = { type = secedeprovince which = PER value = 535 }
#		 command = { type = stability value = 1 }
#	}
#	action_b = { # Crush them
#                 name = "ACTIONNAME3999B"
#                 command = { type = stability value = -6 }
#                 command = { type = cash value = -1000 }
#	}
#}
 
Transoxiana Events

Replaces entire file.

Code:
##  AGCEEP Transoxiana Events  ##
##   by Isengard             ##

# Event Range 296680 - 296689

# The Princes of Samarkand
event = {
	id = 296680
	random = no
	country = TOX
	trigger = { exists = TIM }

	name = "The Princes of Samarkand"
	desc = "Founded by the Mongol conquerer Timur, the Timurid Empire after his death was never truly stable due to constant infighting. Eventually, many of the Timurid princes would polarize, developing two distinct power bases; one in Herat and the other in Samarkand."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Claim the right to the Timurid throne"
		command = { type = remove_countryculture which = mongol } # check for duplicates
		command = { type = add_countryculture which = mongol }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = breakvassal which = TIM }
		command = { type = addcore which = 1531 } # Add Timurid Turkoman Cores
		command = { type = addcore which = 1592 }
		command = { type = addcore which = 1528 } # Add Timurid Afghani Cores
		command = { type = addcore which = 1591 }
		command = { type = addcore which = 536 } # Add Timurid Baluchi Core
		command = { type = addcore which = 1530 } # Add Eastern Persian Core
		command = { type = revoltrisk which = 540 value = 3 }  # long revolt risk, might be broken up
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
                command = { type = cash value = 100 }
		command = { type = relation which = TIM value = -400 }
		command = { type = relation which = U01 value = -400 } # Khorasan
		command = { type = relation which = AFG value = -400 }
		command = { type = relation which = UZB value = -400 }
		command = { type = capital which = 1592 } # Samarkand
		command = { type = vp value = 50 }
		command = { type = setflag which = timsam }
		command = { type = ai which = Samarkand.ai }
	}
	action_b = {
		name = "Rescind all designs on the Timurid throne"
		command = { type = stability value = 1 }
		command = { type = relation which = TIM value = 50 }
		command = { type = relation which = U01 value = 50 }
		command = { type = relation which = AFG value = 50 }
                command = { type = vp value = -50 }
		command = { type = clrflag which = timsam }
	}
}

# Reclamation of the Timurid Empire
event = {
	id = 296681
	random = no
	country = TOX
	trigger = {
		flag = timsam
		NOT = { 
			exists = TIM
			exists = U01
		}
		atwar = no
		owned = { province = 1531 data = -1 } # Herat
		control = { province = 1531 data = -1 }
	}

	name = "Reclamation of the Timurid Empire"
	desc = "Upon reclaiming the capitals of the Timurid Empire, a Timurid prince could declare himself the ruler of the new Timurid Empire. With this declaration, however, came great responsibility."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Re-establish the Timurid Empire!"
		command = { type = country which = TIM }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = revoltrisk which = 420 value = 3 } 
		command = { type = capital which = 1531 } # Herat
		command = { type = sleepevent which = 296611 }
		command = { type = clrflag which = timsam }
	}
}

# Babur's Ambition
event = {
	id = 296682
	random = no
	country = TOX
	trigger = {
		flag = timsam
		NOT = {	event = 3804
			exists = MOG }
		countrysize = 3
	}

	name = "EVENTNAME3804"
	desc = "EVENTHIST3804"
	style = 2
	
	date = { day = 1 month = march year = 1504 }

	action_a = {
		name = "ACTIONNAME3804A"
		command = { type = country which = MOG }
		command = { type = add_countryculture which = afghani }
		command = { type = add_countryculture which = hindi }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 20000 }
		command = { type = ART which = -2 value = 10 }
		command = { type = cash value = 200 }
		command = { type = relation which = DLH value = -400 }
		command = { type = relation which = GUJ value = -400 }
		command = { type = addcore which = 539 } # Indian Lands
		command = { type = addcore which = 540 }
		command = { type = addcore which = 542 }
		command = { type = addcore which = 543 }
		command = { type = addcore which = 544 }
		command = { type = addcore which = 545 }
		command = { type = addcore which = 546 }
		command = { type = addcore which = 552 }
		command = { type = addcore which = 553 }
		command = { type = addcore which = 1520 }
		command = { type = addcore which = 1521 }
		command = { type = addcore which = 1522 }
		command = { type = addcore which = 1523 }
		command = { type = capital which = 1524 } # Afghani Lands
		command = { type = capital which = 1525 }
		command = { type = capital which = 1527 }
		command = { type = land value = 3000 }
		command = { type = sleepevent which = 296683 }
		command = { type = sleepevent which = 296684 }
		command = { type = ai which = Mughal.ai }
	}
}

# Uzbeks Take Samarkand
event = {
	id = 296683
	random = no
	country = TOX
	trigger = {
		owned = { province = 1592 data = -1 } # Samarkand
		control = { province = 1592 data = UZB }
		event = 325013
	}

	name = "Uzbeks Take Samarkand"
	desc = "Following its sack by the Uzbeks, the Timurid Princes of Samarkand were forced to flee."
	style = 2

	date = { day = 1 month = march year = 1419 }
	offset = 10
	deathdate = { day = 1 month = march year = 1520 }

	action_a ={
		name = "Flee to safety"
		command = { type = population which = 1592 value = -5000 }
		command = { type = population which = 1598 value = 2000 }
#		command = { type = removecot which = 1592 }
		command = { type = secedeprovince which = UZB value = 1592 } # Samarkand
		command = { type = capital which = 1598 } # Tadjikistan
	}
}

# Rise of the Mughals
event = {
	id = 296684
	random = no
	country = TOX
	trigger = {
		flag = timsam
		event = 3804
		exists = MOG
	}

	name = "Rise of the Mughals"
	desc = "With Babur's formation of the Mughal Empire, the remnants of the former Timurid Empire were obligated to accept Mughal dominance or face their wrath."
	style = 2
	
	date = { day = 1 month = march year = 1500 }
	offset = 10
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Submit to the Mughals (End Game)"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = trigger which = 296704 } # The Princes of Samarkand Submit to the Mughals
		command = { type = clrflag which = timsam }
	}
	action_b = {
		name = "Accept Mughal dominance"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = revoltrisk which = 588 value = -8 }
		command = { type = relation which = MOG value = 200 }
		command = { type = trigger which = 296703 } # The Princes of Samarkand Accept Mughal Dominance
		command = { type = clrflag which = timsam }
	}
	action_c = {
		name = "Defy the Mughals!"
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = relation which = MOG value = -200 }
		command = { type = clrflag which = timsam }
	}
}
 
Khorasan Events

Also replaces current file.

Code:
##  AGCEEP Khorasan Events  ##
##   by Isengard            ##

# Event Range 296690 - 296699

# Kings of Khorasan
event = {
	id = 296690
	random = no 
	country = U01
	trigger = { exists = TIM }

	name = "Kings of Khorasan"
	desc = "Founded by the Mongol conquerer Timur, the Timurid Empire after his death was never truly stable due to constant infighting. Eventually, many of the Timurid princes would polarize, developing two distinct power bases; one in Herat and the other in Samarkand."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Claim the right to the Timurid throne"
		command = { type = remove_countryculture which = mongol } # check for duplicates
		command = { type = add_countryculture which = mongol }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = breakvassal which = TIM }
		command = { type = addcore which = 1532 } # Add Timurid Turkoman Cores
		command = { type = addcore which = 1592 }
		command = { type = addcore which = 536 } # Add Timurid Baluchi Core
		command = { type = addcore which = 1591 }
		command = { type = revoltrisk which = 540 value = 3 }  # long revolt risk, might be broken up
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
                command = { type = cash value = 100 }
		command = { type = relation which = TIM value = -400 }
		command = { type = relation which = TOX value = -400 } # Samarkand
		command = { type = relation which = AFG value = -400 }
		command = { type = relation which = UZB value = -400 }
		command = { type = capital which = 1531 } # Herat
		command = { type = vp value = 50 }
		command = { type = setflag which = timkho }
	}
	action_b = {
		name = "Rescind all designs on the Timurid throne"
		command = { type = stability value = 1 }
		command = { type = relation which = TIM value = 50 }
		command = { type = relation which = TOX value = 50 }
		command = { type = relation which = AFG value = 50 }
                command = { type = vp value = -50 }
		command = { type = clrflag which = timkho }
	}
}

# Reclamation of the Timurid Empire
event = {
	id = 296691
	random = no
	country = U01
	trigger = {
		flag = timkho
		NOT = { 
			exists = TIM
			exists = TOX
		}
		atwar = no
		owned = { province = 1531 data = -1 } # Herat
		control = { province = 1531 data = -1 }
	}

	name = "Reclamation of the Timurid Empire"
	desc = "Upon reclaiming the capitals of the Timurid Empire, a Timurid prince could declare himself the ruler of the new Timurid Empire. With this declaration, however, came great responsibility."
	style = 1

	date = { day = 1 month = march year = 1447 }
	offset = 30
	deathdate = { day = 1 month = march year = 1500 }

	action_a = {
		name = "Re-establish the Timurid Empire!"
		command = { type = country which = TIM }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = revoltrisk which = 420 value = 3 }
		command = { type = capital which = 1531 } # Herat
		command = { type = sleepevent which = 296611 }
		command = { type = clrflag which = timkho }
	}
}

# Rise of the Mughals
event = {
	id = 296692
	random = no
	country = U01
	trigger = {
		flag = timkho
		event = 3804
		exists = MOG
	}

	name = "Rise of the Mughals"
	desc = "With Babur's formation of the Mughal Empire, the remnants of the former Timurid Empire were obligated to accept Mughal dominance or face their wrath."
	style = 2
	
	date = { day = 1 month = march year = 1500 }
	offset = 10
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Defy the Mughals!"
		command = { type = stability value = -3 }
		command = { type = relation which = MOG value = -200 }
		command = { type = clrflag which = timkho }
	}
}

# Death of the Last Ruler of Khorasan
event = {
	id = 296693
	random = no
	country = U01
	trigger = {
		exists = UZB
		exists = MOG
		exists = PER
	}

	name = "EVENTNAME62000"
	desc = "EVENTHIST62000"
	style = 2

	date = { day = 1 month = march year = 1506 }
	offset = 1000
	deathdate = { day = 1 month = march year = 1540 }

	action_a = { # Ask Persia for protection
		name = "ACTIONNAME62000A"
		command = { type = secedeprovince which = UZB value = 523 } # Kara Kum
		command = { type = secedeprovince which = UZB value = 524 } # Turkmenistan
		command = { type = secedeprovince which = UZB value = 522 } # Khwarizm
		command = { type = secedeprovince which = UZB value = 1532 } # Bukhara
		command = { type = secedeprovince which = UZB value = 1533 } # Khiva
#		command = { type = secedeprovince which = UZB value = 1594 } # Uzbek
		command = { type = trigger which = 62001 } # Khorasan asks for protection (Persia)
		}
      action_b = { # The Mughals should be our protectors
		name = "ACTIONNAME62000B"
		command = { type = secedeprovince which = UZB value = 523 } # Kara Kum
		command = { type = secedeprovince which = UZB value = 524 } # Turkmenistan
		command = { type = secedeprovince which = UZB value = 522 } # Khwarizm
		command = { type = secedeprovince which = UZB value = 1532 } # Bukhara
		command = { type = secedeprovince which = UZB value = 1533 } # Khiva
#		command = { type = secedeprovince which = UZB value = 1594 } # Uzbek
		command = { type = trigger which = 62002 } # Khorasan asks for protection (Mughals)
		}
      action_c = { # Open the gates to the Uzbeks
		name = "ACTIONNAME62000C"
		command = { type = trigger which = 62003 } # Khorasan submits to our might (Uzbeks)
		}
      action_d = { # Defy the greedy dogs!!!
		name = "ACTIONNAME62000D"
		command = { type = cav which = -2 value = 6000 }
		command = { type = stability value = -3 }
		command = { type = treasury value = -50 }
		}
}

# Khorasan Becomes Afghanistan
event = {
	id = 296694
	random = no
	country = U01
	trigger = { NOT = { exists = AFG } }

	name = "EVENTNAME62008"
	desc = "EVENTHIST62008"
	style = 4

	date = { day = 1 month = march year = 1700 }
	offset = 30
	deathdate = { day = 1 month = march year = 1819 }

	action_a = { # Become Afghanistan
		name = "ACTIONNAME62008A"
		command = { type = country which = AFG }
		command = { type = stability value = 1 }
		command = { type = remove_countryculture which = turkish }
		command = { type = add_countryculture which = afghani }
		command = { type = provinceculture which = 1531 value = afghani } # Herat
		command = { type = vp value = 50 }
	}
	action_b = { # Remain Khorasan
		name = "ACTIONNAME62008B"
		command = { type = stability value = -1 }
		command = { type = domestic which = centralization value = -5 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = quality value = -2 }
		command = { type = vp value = -50 }
	}
}

# Khorasan may have to deal with the Persians
# Ismail's Resurrection of Persia
event = {
	id = 296695
	random = no
	country = U01
	trigger = {
		owned = { province = 529 data = -1 } # Tabaristan
		NOT = {
			exists = PER
			stability = 1 # lower than 1
		}
	}

	name = "EVENTNAME3558"
	desc = "EVENTHIST3558"
	style = 1

	date = { day = 1 month = march year = 1497 }
	offset = 30
	deathdate = { day = 1 month = march year = 1530 }

	action_a ={ # Crush the Shiite rebels
		name = "ACTIONNAME3558A"
		command = { type = revolt which = 508 } # Basrah (should be the Caliphate)
		command = { type = revolt which = 525 } # Elbruz (should be Mazandaran)
		command = { type = revolt which = 526 } # all the Timurid held Persian lands
		command = { type = revolt which = 527 }
		command = { type = revolt which = 528 }
		command = { type = revolt which = 529 }
		command = { type = revolt which = 529 } # duplicate
		command = { type = revolt which = 530 }
		command = { type = revolt which = 530 } # duplicate
		command = { type = revolt which = 531 }
		command = { type = revolt which = 532 }
		command = { type = revolt which = 533 }
		command = { type = revolt which = 533 } # duplicate
		command = { type = revolt which = 534 }
		command = { type = revolt which = 535 }
		command = { type = revolt which = 1529 }
		command = { type = revolt which = 1530 }
		command = { type = stability value = -2 }
	}
	action_b ={ # Negotiate with Ismail
		name = "ACTIONNAME3558B"
		command = { type = independence which = PER }
	}
}

# Persia is Resurrected
event = {
	id = 296696
	random = no
	country = U01
	trigger = {
		exists = PER
	}

	name = "EVENTNAME3818"
	desc = "EVENTHIST3818"
	style = 2
	
	date = { day = 1 month = march year = 1497 }
	offset = 60
	deathdate = { day = 1 month = march year = 1530 }

	action_a = { # Let them have their freedom
		name = "ACTIONNAME3818A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 508 } # Basrah (could be Musha'sha')
		command = { type = secedeprovince which = PER value = 525 } # Elbruz (should be Mazandaran)
		command = { type = secedeprovince which = PER value = 526 } # all the Timurid held Persian lands
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 1529 }
		# don't secede Khorasan (1530)
		command = { type = removecore which = 526 } # remove (most) Persian cores
		command = { type = removecore which = 527 }
		command = { type = removecore which = 528 }
		command = { type = removecore which = 530 }
		command = { type = removecore which = 534 }
		command = { type = removecore which = 535 }
		command = { type = removecore which = 1529 }
		# don't remove Khorasan (1530)
	}
	action_b = { # Crush the rebellion
		name = "ACTIONNAME3818B"
		command = { type = revolt which = 508 } # Basrah (could be Musha'sha')
		command = { type = revolt which = 525 } # Elbruz (should be Mazandaran)
		command = { type = revolt which = 526 } # all the Timurid held Persian lands
		command = { type = revolt which = 527 }
		command = { type = revolt which = 528 }
		command = { type = revolt which = 529 }
		command = { type = revolt which = 530 }
		command = { type = revolt which = 531 }
		command = { type = revolt which = 532 }
		command = { type = revolt which = 533 }
		command = { type = revolt which = 534 }
		command = { type = revolt which = 535 }
		command = { type = revolt which = 1529 }
		command = { type = revolt which = 1530 }
		command = { type = stability value = -2 }
	}
}

# End of Khorasan Events
 
To be added to the Baluchistan file, the Mazandaran file, and Moghul file.

Code:
##  AGCEEP Baluchistan Events  ##
##   by Isengard               ##

# Event Range 296660 - 296669

# Independence of Baluchistan
event = {
	id = 296660
	random = no
	country = BAL

	name = "Independence of Baluchistan"
	desc = "In the chaos of Central Asia following the disintegration of the Timurid Empire, the nomadic peoples of Baluchistan would become independent of their former rulers."
	style = 1
	
	date = { day = 1 month = march year = 1419 }
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Great!"
		command = { type = stability value = 1 }
		command = { type = cash value = 100 }
	}
}

# Baluchi Tribesmen
event = {
	id = 296661
	trigger = { atwar = yes }
	random = no
	country = BAL

	name = "Baluchi Tribesmen"
	desc = "The nomadic Baluchi tribes were largely independent of central control, but could quickly organize to combat invaders if needed."
	style = 1
	
	date = { day = 1 month = march year = 1419 }
	offset = 30
	deathdate = { day = 1 month = march year = 1819 }
	
	action_a = {
		name = "Summon the tribes!"
		command = { type = CAV which = -1 value = 5000 }
		command = { type = cash value = 100 }
	}
}

# Raiders
event = {
	id = 296662
	random = no
	country = BAL
	trigger = {
		atwar = no
		NOT = { stability = -1 }
	}

	date = { day = 1 month = march year = 1419 }
	deathdate = { day = 1 month = march year = 1819 }
	
	name = "Raiders"
	desc = "The vast lawless stretches of Central Asia were frequently home to bandits and raiders on the lucrative east-west trade routes."
	style = 1
	
	action_a = {
		name = "Support the raiders"
		command = { type = CAV which = -1 value = 2500 }
		command = { type = cash value = 100 }
		command = { stability value = 1 }
		command = { type = relation which = TIM value = -100 }
		command = { type = relation which = MOG value = -100 }
		command = { type = relation which = PER value = -100 }
		command = { type = relation which = GUJ value = -100 }
		command = { type = relation which = DLH value = -100 }
	}
	action_b = {
		name = "Crush the raiders"
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = revolt value = -1 }
	}
}

# End of Baluchistan Events

Code:
# Mazandaran on Its Own
event = {
	id = 296650
	trigger = { NOT = { vassal = { country = TIM country = AMI } } }
	random = no
	country = AMI
	name = "Mazandaran on Its Own"
	desc = "With the disintegration of the Timurid Empire, the independent state of Mazandaran would be on its own."
	style = 1 
	
	date = { day = 1 month = march year = 1419 }
	deathdate = { day = 30 month = march year = 1500 }
	
	action_a ={
		name = "Great!"
		command = { type = stability value = 1 }
		command = { type = fortress which = -1  value = 1 }
		command = { type = cash value = 100 }
	}
}

Code:
##  AGCEEP Modifications  ##
##   by Isengard          ##

# Founding of the Mughal Empire
event = {
	id = 3804
	trigger = { exists = MOG }
	random = no
	country = MOG

	name = "Founding of the Mughal Empire"
	desc = "With the rise to power of Babur, the remnants of the Timure Empire were forged into a new, stronger whole."
	style = 2

	date = { day = 1 month = march year = 1504 }
	deathdate = { day = 1 month = march year = 1819 }

	action_a = {
		name = "Found the Empire!"
		command = { type = stability value = 1 }
		command = { type = cash value = 200 }
	}
}

# Event Range 296700 - 296799

# The Timurid Remnants Accept Mughal Dominance
event = {
	id = 296701
	random = no
	country = MOG

	name = "The Timurid Remnants Accept Mughal Dominance"
	desc = "With the establishment of the Mughal Empire, the remnants of the Timurids would fall under Mughal dominance."

	action_a = {
		name = "Great!"
		command = { type = vassal which = TIM }
	}
}

# The Timurid Remnants Submit to the Mughals
event = {
	id = 296702
	random = no
	country = MOG

	name = "The Timurid Remnants Submit to the Mughals"
	desc = "With the establishment of the Mughal Empire, the remnants of the Timurids would be absorbed into the new empire."

	action_a = {
		name = "Great!"
		command = { type = inherit which = TIM }
	}
}

# The Princes of Samarkand Accept Mughal Dominance
event = {
	id = 296703
	random = no
	country = MOG

	name = "The Princes of Samarkand Accept Mughal Dominance"
	desc = "With the establishment of the Mughal Empire, the Timurid princes of Samarkand would fall under Mughal influence."

	action_a = {
		name = "Great!"
		command = { type = vassal which = TOX }
	}
}

# The Princes of Samarkand Submit to the Mughals
event = {
	id = 296704
	random = no
	country = MOG

	name = "The Princes of Samarkand Submit to the Mughals"
	desc = "With the establishment of the Mughal Empire, the Timurid remnants in Samarkand would be absorbed into the new empire."

	action_a = {
		name = "Great!"
		command = { type = inherit which = TOX }
	}
}

# Afghanistan Accepts Mughal Dominance
event = {
	id = 296705
	random = no
	country = MOG

	name = "Afghanistan Accepts Mughal Dominance"
	desc = "With the establishment of the Mughal Empire, the Timurid princes of Kandahar would fall under Mughal dominance."

	action_a = {
		name = "Great!"
		command = { type = vassal which = AFG }
	}
}

# Afghanistan Submits to the Mughals
event = {
	id = 296706
	random = no
	country = MOG

	name = "Afghanistan Submits to the Mughals"
	desc = "With the establishment of the Mughal Empire, the Timurid remnants in Kandahar would be absorbed into the new empire."

	action_a = {
		name = "Great!"
		command = { type = inherit which = AFG }
	}
}
 
Delhi Events

These two events should replace the events of the same number that are currently in the Delhi file.

Code:
# Isengard Changes

# Babur's Ambition
event = {
	id = 51998
	random = no
	country = DLH
	trigger = {
		NOT = { event = 3804
			exists = MOG
			exists = TIM
			exists = TOX }
	}

	name = "EVENTNAME3804"
	desc = "When the Timurid Empire collapsed, its rulers went into exile.  Through royal marriages with the exiled leaders, Delhi came to be ruled by a descendant of Timur, Babur. With his great expertise he reforged the nation of Delhi into the Mughul Empire."
	style = 2

	date = { day = 1 month = march year = 1504 }
	offset = 30

	action_a = {
		name = "ACTIONNAME3804A"
		command = { type = country which = MOG }
		command = { type = add_countryculture which = afghani }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 20000 }
		command = { type = ART which = -2 value = 10 }
		command = { type = cash value = 200 }
		command = { type = relation which = GUJ value = -400 }
		command = { type = addcore which = 1527 } # Kabul
		command = { type = capital which = 1527 }
		command = { type = land value = 3000 }
		command = { type = ai which = Mughal.ai }
	}
}

# Babur's Ambition
event = {
	id = 51999
	random = no
	country = DLH
	trigger = {
		NOT = { event = 3804
			exists = MOG }
		OR = { exists = TIM
			exists = TOX }
	}

	name = "EVENTNAME3804"
	desc = "With the Timurid Empire on the verge of collapse, Babur united the throne of Delhi with the few remaining fragments of the Timurids through a royal marriage marriage and subtrefuge. He renamed his empire the Mughul Empire after the original Mongol Empire which he traced his ancestors back to."
	style = 2

	date = { day = 1 month = march year = 1505 }
	offset = 30

	action_a = {
		name = "ACTIONNAME3804A"
		command = { type = country which = MOG }
		command = { type = add_countryculture which = canary }
		command = { type = add_countryculture which = afghani }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 20000 }
		command = { type = ART which = -2 value = 10 }
		command = { type = cash value = 200 }
		command = { type = relation which = GUJ value = -400 }
		command = { type = addcore which = 1531 } # Add Timurid Turkoman Cores
		command = { type = addcore which = 1532 }
		command = { type = addcore which = 1592 }
		command = { type = addcore which = 1527 } # Kabul
		command = { type = capital which = 1527 }
		command = { type = land value = 3000 }
		command = { type = ai which = Mughal.ai }
	}
}
 
Yowser, that's a lot of stuff...

Yes, the early revoltrisk should be replaced by a stability hit. No longterm revoltrisk until after the empire is sundered into pieces.

Shouldn't the Delhi->Mughal event also be contingent on Afghanistan not existing, since they also get to become the Mughals?

On the subject of Afghanistan, maybe it should get some defortifications or somesuch in the face of the Mughals. They tend to be too tough a nut.

On the subject of fortifications, maybe Transoxania should start fortified, even if it's ahistorical, so that it revolts out less often?
 
doktarr said:
Yowser, that's a lot of stuff...

Yes, the early revoltrisk should be replaced by a stability hit. No longterm revoltrisk until after the empire is sundered into pieces.

Shouldn't the Delhi->Mughal event also be contingent on Afghanistan not existing, since they also get to become the Mughals?

On the subject of Afghanistan, maybe it should get some defortifications or somesuch in the face of the Mughals. They tend to be too tough a nut.

On the subject of fortifications, maybe Transoxania should start fortified, even if it's ahistorical, so that it revolts out less often?

Okay, yea I agree with your suggestions.

Oh but here's what Isengard had to say about Mughal formation.

Here's how the Mughal accession works in my mods:

If the Timurids are >= 6, they can become the Mughals
If Samarkand is >= 3, they can become the Mughals (these two can conflict, leading to a "race" condition)
If the Timurids and Samarkand are dead, Afghanistan can become the Mughals if they are >= 3
If the Timurids and Samarkand are dead, Delhi can become the Mughals (again these two can conflict)
If no one is the Mughals by 1505, Delhi automatically becomes the Mughals
The idea of the above is to set a "survival of the fittest" condition for the Mughals so that they get a relatively decent start. Chances are good Samarkand will inherit (as historically happened), as they're typically strong enough to hold onto three provinces. After the Mughals form, each of the successor states gets a follow-up event (which fires a corresponding event for the Mughals). For each (except Khorasan), the choice is inheritance, vassalization, or defiance; for Afghanistan, the default is defiance. I also gave the Afghans a flavor event similar to the Baluchis for lawless regions (I don't think I need to explain that one). I'd actually like to make it a random (i.e. repeating) event, but I'm a little uncertain as to how to code that correctly.
 
Garbon said:
Okay, yea I agree with your suggestions.

Oh but here's what Isengard had to say about Mughal formation.
I'm comfortable with those suggestions, except that I'd much rather see anyone but Delhi form into the Mughals.

One other thought - the Uzbeks tend to be big overachievers. Perhaps they don't need the CoT? Or at least, we can move the CoT up there much later, perhaps with the capture of Samarkand?
 
No blanket RR should be given to Timurid Empire until after 1449.

Also, do not give them tons of revolters unless you also increase their ability to fight them off before 1449, except if they are province specific to cause historic revolts. The AI can't handle that many as it is and it should, atleast until 1449.

Also the Uzbecks do not need any real help in getting provinces. Really.
 
doktarr said:
I'm comfortable with those suggestions, except that I'd much rather see anyone but Delhi form into the Mughals.

One other thought - the Uzbeks tend to be big overachievers. Perhaps they don't need the CoT? Or at least, we can move the CoT up there much later, perhaps with the capture of Samarkand?

Lets ax the CoT then. Once Samarkand is captured it doesn't really make sense, as their domination of trade with that particular CoT was a mid-15th century thing.
 
Jinnai said:
No blanket RR should be given to Timurid Empire until after 1449.

I don't care much about the timing, but it doesn't seem that Ûlûgh Beg's two year reign was wonderful, but sure enough we can push that up till his death. I already axed the Shah Rukh one.

Jinnai said:
Also, do not give them tons of revolters unless you also increase their ability to fight them off before 1449, except if they are province specific to cause historic revolts. The AI can't handle that many as it is and it should, atleast until 1449.

It seems to me that they get about 3 at the start (which I changed that date to 1429ish after posting these so Shah Rukh can meddle a little with the QAR beforehand). And then 4 right after his death. Will that really be too much?

Jinnai said:
Also the Uzbecks do not need any real help in getting provinces. Really.

Of course, the Uzbeks are sort of like the Qara Koyunlu. I amped up both groups to much. However, if we take away every perk I gave to each, won't that revert them back to their weakened pathetic states?
 
Oh and I know we don't normally do this, but do you think it'd be okay if we included my shield set for the Timurids. A bit ago when I had that poor idea of introducing Shiraz, I made shields and flags that are nearly the same as the ones that come default in 1.08, except that the circles in mine aren't so off center. ;)
 
doktarr said:
One other thought - the Uzbeks tend to be big overachievers. Perhaps they don't need the CoT? Or at least, we can move the CoT up there much later, perhaps with the capture of Samarkand?

The Uzbeks need to be weakened a lot. They beat the crap out of the Timurids in every game I play, and ven often reach the coast and Iraq.
 
HÄI said:
The Uzbeks need to be weakened a lot. They beat the crap out of the Timurids in every game I play, and ven often reach the coast and Iraq.
Seriously. they are overpowered. Maybe their heartland can be weaker?
 
Yakman said:
Seriously. they are overpowered. Maybe their heartland can be weaker?

If its wanted, I can put all these new files in a downloadble so you can replace them just by moving the files into the correct folders. Hopefull these will help and we won't have to resort to more drastic measures.
 
Garbon said:
If its wanted, I can put all these new files in a downloadble so you can replace them just by moving the files into the correct folders. Hopefull these will help and we won't have to resort to more drastic measures.

I'll be starting a new game in a few days and would be willing to betatest the event sequence at the same time.
 
Okay here's the link to all these files combined in one zip. Just do the regular unzipping and place the files in the appropriate folders (most are just event changes, although I did modify the initial Timurid setup file to have more fortifications in the Transoxiana area per Doktarr's suggestions).

Timurid Stuff

Note you needn't download the sheep image file ;)