#####Chagatai Major Events#####
#  By Demetrios and Havard    #
#                             #
#  altered a bit by Doomdark  #
#                             #
###############################

# The City on the Silk Road
event = {
	id = 3831
	trigger = { 
		owned = { 
			province = 1600
			data = -1
		}
	}
	random = no
	country = CHG
	name = "EVENTNAME3831"
	desc = "EVENTHIST3831"
	style = 3
	
	date = { day = 1 month = january year = 1682 }
	offset = 300
	deathdate = { day = 1 month = january year = 1683 }

	action_a ={ # Move throne to Kashgar
		name = "ACTIONNAME3831A"
		command = { type = capital which = 1600 }
		command = { type = domestic which = CENTRALIZATION  value = 1 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -200 }
		command = { type = trade value = 1000 }
	}
	action_b ={ # Rule from the old capital
		name = "ACTIONNAME3831B"
		command = { type = domestic which = CENTRALIZATION  value = -1 }
		command = { type = stability value = 2 }
	}
}

event = {
	id = 7984200
	trigger = {
        OR = {
		owned = {
			province = 1532
			data = -1
		}
		owned = {
			province = 1592
			data = -1
		}

	}
        }
	random = no
	country = CHG
	name = "The Rise of Timur Lenk"
	desc = "Timur reduced the Chagatai khans to the position of straw men, who were deferred to in theory but in reality ignored, while Timur ruled in their name. During this period Timur and his brother-in-law Husayn, at first fellow fugitives and wanderers in joint adventures full of interest and romance, became rivals and antagonists. At the close of 1369 Husayn was assassinated and Timur, having been formally proclaimed sovereign at Balkh, mounted the throne at Samarkand, the capital of his dominions."
	style = 3

	date = { day = 1 month = january year = 1360 }
	offset = 30
	deathdate = { day = 1 month = january year = 1369 }

	action_a ={
		name = "Grand him the throne"
		command = { type = independence  which = TIM }

	}
	action_b ={
		name = "Fight against him with help"
		command = { type = treasury   value = -200 }
		command = { type = domestic which = CENTRALIZATION  value = 2 }
		command = { type = stability value = -2 }
		command = { type = revolt   which = 1532 }
		command = { type = revolt   which = 1532 }
		command = { type = revolt   which = 1592 }
		command = { type = revolt   which = 1592 } 
		command = { type = revolt   which = -1 } 
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 } 
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 } 
		command = { type = revolt   which = -1 }
	}
}