#####Chung Kuo (China) Major Events#####
#     By Tom Rinschler                 #
#        Håvard Moe                    #
#        Joakim 'Greven' Bergqwist     #
#        Henrik Fåhraeus               #
#                                      #
########################################

#The Strategic Decision after Zheng Ho's Journey#
event = {

	id = 3703
	random = no
	country = CHI
	name = "EVENTNAME3703"
	desc = "EVENTHIST3703"
	style = 1

	date = { day = 1 month = january year = 1435 }
	offset = 1720
	deathdate = { day = 1 month = january year = 1455 }

	action_a ={
		name = "ACTIONNAME3703A"	#Inward Perfection#
		command = { type = technology which = muslim }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = 10 }
		command = { type = domestic which = SERFDOM value = 10 }
		command = { type = domestic which = MERCANTILISM value = 10 }
		command = { type = domestic which = LAND value = 10 }
		command = { type = domestic which = QUALITY value = -10 }
		command = { type = domestic which = OFFENSIVE value = -10 }
		command = { type = land value = 1000 }
		command = { type = infra value = 1000 }
		command = { type = stability value = 6 }
	}
	action_b = {
		name = "ACTIONNAME3703B"	#Balanced Position#
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = land value = 500 }
		command = { type = infra value = 500 }
		command = { type = naval value = 500 }
		command = { type = trade value = 500 }
		command = { type = stability value = -2 }
	}
	action_c = {
		name = "ACTIONNAME3703C"	#Outward Expansion#
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 5 }
		command = { type = domestic which = MERCANTILISM value = -5 }
		command = { type = domestic which = LAND value = -5 }
		command = { type = domestic which = QUALITY value = 5 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = naval value = 2000 }
		command = { type = trade value = 2000 }
		command = { type = stability value = -6 }
		command = { type = revoltrisk which = 60 value = 8 }
	}
}

#The Treaty of Nerchiinsk#
event = {

	id = 3705				#Triggered by RUS3421#
	random = no
	country = CHI
	name = "EVENTNAME3705"
	desc = "EVENTHIST3705"
	style = 3

	action_a ={				#The Our Victory has been Acknowledged#
		name = "ACTIONNAME3705A"
		command = { type = land value = 2000 }
		command = { type = infra value = 500 }
		command = { type = trade value = 1000 }
		command = { type = relation which = RUS value = 250 }
		command = { type = treasury value = 600 }
		command = { type = stability value = 3 }
	}
}
#The Treaty of Nerchiinsk#
event = {

	id = 3793				#Triggered by RUS3421#
	random = no
	country = CHI
	name = "EVENTNAME3793"
	desc = "EVENTHIST3793"
	style = 3

	action_a ={				#Exterminate these Rude Barbarians#
		name = "ACTIONNAME3793A"
		command = { type = addcore which = 623 }
		command = { type = addcore which = 624 }
		command = { type = addcore which = 627 }
		command = { type = addcore which = 628 }
		command = { type = addcore which = 629 }
		command = { type = addcore which = 630 }
		command = { type = addcore which = 631 }
		command = { type = addcore which = 632 }
		command = { type = addcore which = 633 }
		command = { type = addcore which = 634 }
		command = { type = addcore which = 1467 }
		command = { type = addcore which = 1468 }
		command = { type = addcore which = 612 }
		command = { type = addcore which = 613 }
		command = { type = addcore which = 614 }
		command = { type = addcore which = 615 }
		command = { type = addcore which = 616 }
		command = { type = addcore which = 617 }
		command = { type = addcore which = 618 }
		command = { type = addcore which = 619 }
		command = { type = addcore which = 620 }
		command = { type = addcore which = 621 }
		command = { type = addcore which = 622 }
		command = { type = addcore which = 1586 }
		command = { type = addcore which = 1587 }
		command = { type = casusbelli which = RUS value = 1200 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = land value = 1000 }
		command = { type = provincemanpower which = -1 value = 2 }
		command = { type = provincemanpower which = -1 value = 2 }
		command = { type = provincemanpower which = -1 value = 2 }
		command = { type = provincemanpower which = -1 value = 2 }
		command = { type = provincemanpower which = -1 value = 2 }
		command = { type = manpower value = 100 }
		command = { type = treasury value = 600 }
		command = { type = stability value = 3 }
	}
}

#The Move to Beijing#
event = {
    id = 10000
    trigger = {
        owned = {
            province = 649
            data = -1
        }
    }
    random = no
    country = CHI
    name = "EVENTNAME10000"
    desc = "EVENTHIST10000"
    style = 1
    
    date = { day = 1 month = january year = 1420 }
    offset = 300
    deathdate = { day = 1 month = january year = 1421 }

    action_a ={ # Yes, let us move to the Northern Capital!#
        name = "ACTIONNAME10000A"
        command = { type = capital which = 649 }
        command = { type = provincetax which = 649 value = 1 }
        command = { type = fortress which = 649 value = 1 }
        command = { type = treasury value = -300 }
        command = { type = stability value = -1 }
    }
    action_b ={ #No, we will remain in the Southern Capital#
        name = "ACTIONNAME10000B"
        command = { type = domestic which = centralization value = 1 }
        command = { type = stability value = -2 }
    }
}

#The Emperor has been captured!#
event = {
	id = 10001
	random = no
	country = CHI
	name = "EVENTNAME10001"
	desc = "EVENTHIST10001"
	style = 1
	
	date = { day = 22 month = november year = 1449 }
	offset = 0
	deathdate = { day = 23 month = november year = 1449 }
	
	action_a ={#This is terrible news!#
	name = "ACTIONNAME10001A"
	command = { 
		type = stability value = -3 }
		command = { type = revoltrisk   which = 96 value = 3 }
	}
}

#Zhengtong returns to the throne#
event = {
	id = 10002
	trigger = {
		event = 10001
	}
	random = no
	country = CHI
	name = "EVENTNAME10002"
	desc = "EVENTHIST10002"
	style = 1
	
	date = { day = 24 month = february year = 1457 }
	offset = 0
	deathdate = { day = 25 month = february year = 1457 }
	
	action_a ={ #Great!#
		name = "ACTIONNAME10002A"
		command = { type = stability value = 2 }
	}
}

#Repairing the Great Wall#
event = {
	id = 10003
	random = no
	country = CHI
	name = "EVENTNAME10003"
	desc = "EVENTHIST10003"
	style = 1

	date = { day = 1 month = january year = 1450 }
	offset = 10000
	deathdate = { day = 1 month = january year = 1490 }
	
	action_a ={#Yes, we need to repair the Great Wall#
		name = "ACTIONNAME10003A"
		command = { type = domestic   which = offensive value = -2 }
		command = { type = fortress   which = 648 value = 1 }
		command = { type = fortress   which = 1561 value = 1 }
		command = { type = provincetax   which = 648 value = 1 }
		command = { type = provincetax   which = 1561 value = 1 }
		command = { type = stability value = -1 }
		command = { type = treasury   value =  -500 }
	}
	action_b ={#Let it continue to crumble#
		name = "ACTIONNAME10003B"
		command = { type = domestic   which = offensive value = 1 }
		command = { type = stability value = 1 }                     
		command = { type = population   which = 645 value = -1000 }
		command = { type = population   which = 1561 value = -1000 }
	}
}

#Further Repairs for the Great Wall#
event = {
	id = 10034
	random = no
	country = CHI
	name = "EVENTNAME10034"
	desc = "EVENTHIST10034"
	style = 3
	
	date = { day = 1 month = january year = 1500 }
	offset = 10000
	deathdate = { day = 1 month = january year = 1540 }
	
	action_a ={#Yes, we need to repair the Great Wall#
		name = "ACTIONNAME10034A"
		command = { type = domestic   which = offensive value = -2 }
		command = { type = fortress   which = 647 value = 1 }
		command = { type = fortress   which = 1560 value = 1 }
		command = { type = provincetax   which = 647 value = 1 }
		command = { type = provincetax   which = 1560 value = 1 }
		command = { type = stability value = -1 }
		command = { type = treasury   value =  -500 }
	}
	action_b ={#Let it continue to crumble#
		name = "ACTIONNAME10034B"
		command = { type = domestic   which = offensive value = 1 }
		command = { type = stability value = 1 }                     
		command = { type = population   which = 647 value = -1000 }
		command = { type = population   which = 1560 value = -1000 }
	}
}

#The Perfection of Ming Porcelain#
event = {
	id = 10004
	random = no
	country = CHI
	name = "EVENTNAME10004"
	desc = "EVENTHIST10004"
	style = 2

	date = { day = 1 month = january year = 1500 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1510 }
	
	action_a ={#Perfect!#
		name = "ACTIONNAME10004A"
		command = { type = provincetax which = 654 value = 2 }
		command = { type = provincetax which = 1563 value = 2 }
	}
}

#Japanese Pirates Attack!#
event = {
	id = 10005
	random = no
	country = CHI
	name = "EVENTNAME10005"
	desc = "EVENTHIST10005"
	style = 2
	
	date = { day = 1 month = january year = 1523 }
	offset = 300
	deathdate = { day = 1 month = january year = 1524 }
	
	action_a ={#Let the provinces look to their own defense#
		name = "ACTIONNAME10005A"
		command = { type = stability value = -2 }
		command = { type = population   which = 650 value = -5000 }
		command = { type = population   which = 652 value = -5000 }
		command = { type = population   which = 653 value = -5000 }
		command = { type = domestic   which = centralization value = -1 }
	}
	action_b ={#Combat the pirates#
		name = "ACTIONNAME10005B"
		command = { type = treasury   value = -300 }
		command = { type = population   which = 650 value = -1000 }
		command = { type = population   which = 652 value = -1000 }
		command = { type = population   which = 653 value = -1000 }
		command = { type = sleepevent   which = 10006 }
		command = { type = naval   value = 200 }
		command = { type = relation   which = NIP value = -100 }
	}
}

#Pirates besiege Nanjing#
event = {
	id = 10006
	trigger = {}
	random = no
	country = CHI
	name = "EVENTNAME10006"
	desc = "EVENTHIST10006"
	style = 2
	
	date = { day = 1 month = january year = 1555 }
	offset = 300
	deathdate = { day = 1 month = january year = 1556 }
	
	action_a ={#Drive the pirates away#
		name = "ACTIONNAME10006A"
		command = { type = treasury value = -400 }
		command = { type = naval value = 200 }
	}
	action_b ={#Let them sack the city#
		name = "ACTIONNAME10006B"
		command = { type = population which = 654 value = -5000 }
		command = { type = provincetax which = 654 value = -1 }
		command = { type = revolt   which = 654 }
		command = { type = stability value = -2 }
	}
}

#The Closure of China# #1557#
event = {
	id = 3704
	random = no
	country = CHI
	name = "EVENTNAME3704"
	desc = "EVENTHIST3704"
	style = 2
	
	date = { day = 1 month = january year = 1557 }
	offset = 300
	deathdate = { day = 1 month = january year = 1558 }
	
	action_a ={ #Hold a small breathing hole open#
		name = "ACTIONNAME3704A"
		command = { type = domestic which = innovative value =  -2 }
		command = { type = domestic which = mercantilism value = 3 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = cot  which = 658 }
		command = { type = secedeprovince which = POR value = 659 }
#removed POR relations +100#
	}
	action_b ={ #Close China to the outside world#
		name = "ACTIONNAME3704B"
		command = { type = domestic   which = innovative value =  -6 }
		command = { type = domestic   which = mercantilism value = 5 }
		command = { type = domestic   which = centralization value = 2 }
		command = { type = domestic   which = aristocracy value = 1 }
		command = { type = stability   value = 2 }
		command = { type = trade   value = -300 }
		command = { type = sleepevent which = 18030 } #added#
	}
	action_c ={ #Keep trade open for all#
		name = "ACTIONNAME3704C"
		command = { type = domestic   which = innovative value = 2 }
		command = { type = domestic   which = mercantilism value = -3 }
		command = { type = domestic   which = aristocracy value = -2 }
		command = { type = cot  which = 658 }
		command = { type = secedeprovince   which = POR value = 659 }
		command = { type = merchants   value = 3 }
		command = { type = stability   value = -1 }
		command = { type = trade   value = 200 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
#removed POR relations +100#
	}
}

#Qi Jiguang's Army Reforms#
event = {
	id = 10007
	random = no
	country = CHI
	name = "EVENTNAME10007"
	desc = "EVENTHIST10007"
	style = 2
	
	date = { day = 1 month = january year = 1563 }
	offset = 150
	deathdate = { day = 1 month = january year = 1564 }
	
	action_a ={#Go with the reforms#
		name = "ACTIONNAME10007A"
		command = { type = treasury   value = -500 }
		command = { type = land   value = 200 }
		command = { type = domestic   which = land value = 1 }
		command = { type = domestic   which = offensive value = 1 }
		command = { type = stability   value = -1 }
		command = { type = desertion   which = -1 value = 5000 }
		command = { type = desertion   which = -1 value = 5000 }
	}
	action_b ={#No, such reforms would be too costly#
		name = "ACTIONNAME10007B"
		command = { type = land   value = -100 }
		command = { type = domestic   which = innovative value = -1 }
	}
}

#The Arrival of the Jesuits#
event = {
	id = 10008
	random = no
	country = CHI
	name = "EVENTNAME10008"
	desc = "EVENTHIST10008"
	style = 2

	date = { day = 1 month = january year = 1581 }
	offset = 150
	deathdate = { day = 1 month = january year = 1582 }
	
	action_a ={#Yes, we may benefit from their learning#
		name = "ACTIONNAME10008A"
		command = { type = infra   value = 250 }
		command = { type = trade   value = 250 }
		command = { type = land   value = 250 }
		command = { type = domestic   which = innovative value = 1 }
		command = { type = stability   value = -2 }
		command = { type = relation   which = POR value = 50 }
	}
	action_b ={#No, their foreign ideas are not acceptable in our society#
		name = "ACTIONNAME10008B"
		command = { type = stability value = 2 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 20001 }
	}
}


#Famine!#
event = {
	id = 10009
	random = no
	country = CHI
	name = "EVENTNAME10009"
	desc = "EVENTHIST10009"
	style = 2
	
	date = { day = 1 month = january year = 1588 }
	offset = 350
	deathdate = { day = 1 month = january year = 1589 }
	
	action_a ={#Try to alleviate the suffering#
		name = "ACTIONNAME10009A"
		command = { type = treasury value = -1000 }
		command = { type = population   which = -1 value = -5000 }
		command = { type = population   which = -1 value = -5000 }
		command = { type = population   which = -1 value = -5000 }
		command = { type = population   which = -1 value = -5000 }
		command = { type = population   which = -1 value = -5000 }
		command = { type = stability   value = -1 }
	}
	action_b ={#We are helpless in the face of such a disaster#
		name = "ACTIONNAME10009B"
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = population   which = -1 value = -10000 }
		command = { type = stability   value = -3 }
		command = { type = revoltrisk   which = 36 value = 5 }
	}
}

#The Manchu Rebellion#
event = {
	id = 10010
	random = no
	country = CHI
	name = "EVENTNAME10010"
	desc = "EVENTHIST10010"
	style = 3

	date = { day = 1 month = january year = 1615 }
	offset = 300
	deathdate = { day = 1 month = january year = 1616 }
	
	action_a ={#We are too weak to crush the rebels#
		name = "ACTIONNAME10010A"
		command = { type = independence  which = MCH  }
		command = { type = stability   value = -3 }
		command = { type = revoltrisk   which = 60 value = 5 }
	}
	action_b ={#Attempt to crush the rebels#
		name = "ACTIONNAME10010B"
		command = { type = treasury value = -1000 }
		command = { type = stability value = -5 }
		command = { type = revoltrisk which = 60 value = 10 }
		command = { type = revolt which = 625 }
		command = { type = revolt which = 626 }
		command = { type = revolt which = 628 }
		command = { type = revolt which = 634 }
		command = { type = revolt which = 635 }
		command = { type = revolt which = 636 }
		command = { type = revolt which = 637 }
		command = { type = revolt which = 638 }
		command = { type = revolt which = 639 }
		command = { type = revolt which = 640 }
		command = { type = revolt which = 643 }
		command = { type = revolt which = 644 }
		command = { type = revolt which = 645 }
		command = { type = revolt which = 646 }
	}
}

#The Cult of the White Lotus#
event = {
	id = 10011
	random = no
	country = CHI
	name = "EVENTNAME10011"
	desc = "EVENTHIST10011"
	style = 3

	date = { day = 1 month = january year = 1622 }
	offset = 300
	deathdate = { day = 1 month = january year = 1623 }
	
	action_a ={#Bah, surely these cultists can do no lasting harm!#
		name = "ACTIONNAME10011A"
		command = { type = stability   value = -5 }
		command = { type = revoltrisk   which = 300 value = 15 }
		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 }
	}
	action_b ={#Let the forces of the Empire crush the Rebellion!#
		name = "ACTIONNAME10011B"
		command = { type = treasury   value = -500 }
		command = { type = stability   value = -3 }
		command = { type = revoltrisk   which = 240 value = 10 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
	}
}

#The Financial Crisis#
event = {
	id = 10012
	random = no
	country = CHI
	name = "EVENTNAME10012"
	desc = "EVENTHIST10012"
	style = 3
	
	date = { day = 1 month = january year = 1640 }
	offset = 150
	deathdate = { day = 1 month = january year = 1641 }
	
	action_a ={#Yes, let us raise new taxes#
		name = "ACTIONNAME10012A"
		command = { type = treasury value = 1000 }
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 60 value = 10 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
	}
	action_b ={#No, our subjects are already angry enough!#
		name = "ACTIONNAME10012B"
		command = { type = stability   value = 1 }
		command = { type = provincetax   which = -1 value = -1 }       
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		command = { type = provincetax   which = -1 value = -1 }
		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 = -1 }
	}
}

#Li Zechang's Rebellion#
event = {
	id = 10013
	random = no
	country = CHI
	name = "EVENTNAME10013"
	desc = "EVENTHIST10013"
	style = 3

	date = { day = 1 month = january year = 1644 }
	offset = 30
	deathdate = { day = 1 month = february year = 1644 }
	
	action_a ={#Let us attempt to destroy the traitor!#
		name = "ACTIONNAME10013A"
		command = { type = stability   value = -5 }
		command = { type = revoltrisk   which = 12 value = 10 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = desertion   which = -1 value = 10000 }
		command = { type = desertion   which = -1 value = 10000 }
		command = { type = desertion   which = -1 value = 10000 }
	}
	action_b ={#Let us negotiate with him#
		name = "ACTIONNAME10013B"
		command = { type = treasury value = -1000 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 12 value = 5 }
		command = { type = domestic which = centralization value = -2 }
		command = { type = desertion which = -1 value = 10000 }
	}
}

## Emperor Chongzhen Commits Suicide
event = {
	id = 3913
	trigger = { 
		NOT = {
			exists = MCH 
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME10435"
	desc = "EVENTHIST10435"
	style = 3
	
	date = { day = 25 month = april year = 1644 }
	offset = 0
	
	action_a = { #Woe is us!
		name = "ACTIONNAME10435A"
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = capital which = 654 }
		command = { type = revoltrisk which = 240 value = 20 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence  which = MCH  }
		command = { type = sleepevent which = 10025 }
		command = { type = sleepevent which = 10026 }
		command = { type = sleepmonarch which = 07415 }
		command = { type = sleepmonarch which = 07416 }
		command = { type = sleepmonarch which = 07417 }
		command = { type = sleepmonarch which = 07418 }
		command = { type = sleepmonarch which = 07419 }
		command = { type = sleepmonarch which = 07420 }
		command = { type = wakemonarch which = 07421 }
		command = { type = wakemonarch which = 07422 }
		command = { type = wakemonarch which = 07422 }
		command = { type = wakemonarch which = 07423 }
		command = { type = wakemonarch which = 07424 }
		command = { type = wakemonarch which = 07425 }
		command = { type = wakemonarch which = 07426 }
		command = { type = wakemonarch which = 07427 }
		command = { type = wakemonarch which = 07428 }
		command = { type = wakemonarch which = 07429 }       
	}
}

#The Fall of the Ming Dynasty#
event = {
	id = 10014
	trigger = { exists = MCH }
	random = no
	country = CHI
	name = "EVENTNAME10014"
	desc = "EVENTHIST10014"
	style = 3
	
	date = { day = 25 month = april year = 1644 }
	offset = 0
	
	action_a = { #Continue to fight on in the south#
		name = "ACTIONNAME10014A"
		command = { type = capital which = 654 }
		command = { type = relation which = MCH value = -400 }
		command = { type = stability value = -8 }
		command = { type = secedeprovince which = MCH value = 635 }
		command = { type = secedeprovince which = MCH value = 636 }
		command = { type = secedeprovince which = MCH value = 637 }
		command = { type = secedeprovince which = MCH value = 638 }
		command = { type = secedeprovince which = MCH value = 639 }
		command = { type = secedeprovince which = MCH value = 640 }
		command = { type = secedeprovince which = MCH value = 643 }
		command = { type = secedeprovince which = MCH value = 644 }
		command = { type = secedeprovince which = MCH value = 645 }
		command = { type = secedeprovince which = MCH value = 646 }
		command = { type = secedeprovince which = MCH value = 647 }
		command = { type = secedeprovince which = MCH value = 648 }
		command = { type = secedeprovince which = MCH value = 649 }
		command = { type = secedeprovince which = MCH value = 650 }
		command = { type = secedeprovince which = MCH value = 651 }
		command = { type = secedeprovince which = MCH value = 1560 }
		command = { type = secedeprovince which = MCH value = 1561 }
		command = { type = secedeprovince which = MCH value = 1562 }
		command = { type = revoltrisk which = 340 value = 5 }
		command = { type = treasury value = -1000 }
		command = { type = desertion which = -1 value = 20000 }
		command = { type = desertion which = -1 value = 20000 }
		command = { type = desertion which = -1 value = 20000 }
		command = { type = desertion which = -1 value = 20000 }
		command = { type = sleepmonarch which = 07415 }
		command = { type = sleepmonarch which = 07416 }
		command = { type = sleepmonarch which = 07417 }
		command = { type = sleepmonarch which = 07418 }
		command = { type = sleepmonarch which = 07419 }
		command = { type = sleepmonarch which = 07420 }
		command = { type = wakemonarch which = 07421 }
		command = { type = wakemonarch which = 07422 }
		command = { type = wakemonarch which = 07422 }
		command = { type = wakemonarch which = 07423 }
		command = { type = wakemonarch which = 07424 }
		command = { type = wakemonarch which = 07425 }
		command = { type = wakemonarch which = 07426 }
		command = { type = wakemonarch which = 07427 }
		command = { type = wakemonarch which = 07428 }
		command = { type = wakemonarch which = 07429 }       
	}
	action_b = {#Throw our lot in with the Manchu and proclaim the Qing Dynasty#
		name = "ACTIONNAME10014B"
		command = { type = trigger which = 10015 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 120 value = 5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = infra value = -2000 }
		command = { type = trade value = -2000 }
	}
}

#The Manchu takeover of China#
event = {
	id = 10016
	random = no
	country = CHI
	name = "EVENTNAME10016"
	desc = "EVENTHIST10016"
	style = 3
	
	#Triggered by MCH event 10015A#
	
	action_a ={#We will rule this Empire together!#
		name = "ACTIONNAME10016A"
		command = { type = inherit which = MCH }
	}
}

#The Manchu Takeover of China#
event = {
	id = 10043
	trigger = {
		event   = 10016
	}
	random = no
	country = CHI
	name = "EVENTNAME10043"
	desc = "EVENTHIST10043"
	style = 3
	
	date = { day = 25 month = april year = 1644 }
	offset = 30
	deathdate = { day = 26 month = april year = 1699 }
	
	action_a = {#Long live the Qing Dynasty of the Manchu!#
		name = "ACTIONNAME10043A"
		command = { type = country which = MCH }
		command = { type = revoltrisk which = 60 value = 5 }
	}
}

#The Manchu Takeover of China#
event = {
	id = 10017
	random = no
	country = CHI
	name = "EVENTNAME10017"
	desc = "EVENTHIST10017"
	style = 3
	
	#Triggered by MCH event 10015B#
	
	action_a ={#We have no choice but to accept#
		name = "ACTIONNAME10017A"
		command = { type = trigger which = 10018 }
	}
	action_b ={#We will not completely submit to these barbarians#
		name = "ACTIONNAME10017B"
		command = { type = secedeprovince   which = MCH value = 625 }
		command = { type = secedeprovince   which = MCH value = 626 }
		command = { type = secedeprovince   which = MCH value = 638 }
		command = { type = secedeprovince   which = MCH value = 634 }
		command = { type = secedeprovince   which = MCH value = 635 }
		command = { type = secedeprovince   which = MCH value = 636 }
		command = { type = secedeprovince   which = MCH value = 637 }
		command = { type = secedeprovince   which = MCH value = 638 }
		command = { type = secedeprovince   which = MCH value = 639 }
		command = { type = secedeprovince   which = MCH value = 640 }
		command = { type = secedeprovince   which = MCH value = 643 }
		command = { type = secedeprovince   which = MCH value = 644 }
		command = { type = secedeprovince   which = MCH value = 645 }
		command = { type = secedeprovince   which = MCH value = 646 }
		command = { type = secedeprovince   which = MCH value = 647 }
		command = { type = secedeprovince   which = MCH value = 648 }
		command = { type = secedeprovince   which = MCH value = 649 }
		command = { type = secedeprovince   which = MCH value = 650 }
		command = { type = secedeprovince   which = MCH value = 651 }
		command = { type = secedeprovince   which = MCH value = 1560 }
		command = { type = secedeprovince   which = MCH value = 1561 }
		command = { type = secedeprovince   which = MCH value = 1562 }
		command = { type = trigger   which = 10019 }
	}
}

#The Chinese Collapse#
event = {
	id = 10025
	trigger = {
		stability = 3 #Yes, stability of +3
	}
	random = no
	country = CHI
	name = "EVENTNAME10025"
	desc = "EVENTHIST10025"
	style = 3

	date = { day = 1 month = june year = 1644 }
	offset = 0
	deathdate = { day = 1 month = june year = 1646 }
	
	action_a ={#Drat!#
		name = "ACTIONNAME10025A"
		command = { type = secedeprovince   which = MCH value = 652}
		command = { type = secedeprovince   which = MCH value = 1558}
		command = { type = secedeprovince   which = MCH value = 1559}
		command = { type = secedeprovince   which = MCH value = 1563}
		command = { type = secedeprovince   which = MCH value = 1564}
		command = { type = secedeprovince   which = MCH value = 1565}
		command = { type = stability   value = -4 }   
		command = { type = capital which = 658 }
	}
}

#The End of the Ming Dynasty#
event = {
	id = 10026
	random = no
	country = CHI
	name = "EVENTNAME10026"
	desc = "EVENTHIST10026"
	style = 3
	
	date = { day = 1 month = january year = 1683 }
	offset = 30
	deathdate = { day = 1 month = january year = 1684 }
	
	action_a ={#We surrender to the Manchu#
		name = "ACTIONNAME10026A"
		command = { type = trigger which = 10027 }
	}
	action_b ={#No, we will never give up!#
		name = "ACTIONNAME10026B"
		command = { type = stability value = -6 }
		command = { type = revoltrisk which = 120 value = 10 }
	}
}

#The Expulsion of the Jesuits#
event = {
	id = 10036
	random = no
	country = CHI
	name = "EVENTNAME10036"
	desc = "EVENTHIST10036"
	style = 4
	
	date = { day = 1 month = january year = 1722 }
	offset = 300
	deathdate = { day = 1 month = january year = 1723 }
	
	action_a ={#Expel them!#
		name = "ACTIONNAME10036A"
		command = { type = technology  which = exotic }
		command = { type = infra value = -1000 }
		command = { type = trade value = -1000 }
		command = { type = domestic which = innovative value = -3 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 20001 }
	}
	action_b ={#No, they are too valuable#
		name = "ACTIONNAME10036B"
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = -3 }
	}
}	

#The Appointment of Heshen#
event = {
	id = 10037
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10037"
	desc = "EVENTHIST10037"
	style = 4
	
	date = { day = 1 month = january year = 1770 }
	offset = 300
	deathdate = { day = 1 month = january year = 1771 }
	
	action_a ={#Appoint him despite his faults#
		name = "ACTIONNAME10037A"
		command = { type = ADM   which = 3 value = 240 }
		command = { type = DIP   which = 1 value = 240}
		command = { type = domestic   which = centralization value = 2 }
		command = { type = domestic   which = innovative value = -2 }
		command = { type = inflation   value = 10 }
		command = { type = treasury   value = -500 }
	}
	action_b ={#No, such corruption could ruin the state!#
		name = "ACTIONNAME10037B"
		command = { type = domestic   which = centralization value = -2 }
		command = { type = domestic   which = innovative value = 1 }
		command = { type = stability   value = -3 }
	}
}

#Lord Macartney's Mission#
event = {
	id = 10038
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10038"
	desc = "EVENTHIST10038"
	style = 4
	date = { day = 1 month = october year = 1793 }
	offset = 30
	deathdate = { day = 1 month = november year = 1793 }
	
	action_a ={#Reject the overtures of these rude western barbarians!#
		name = "ACTIONNAME10038A"
		command = { type = relation   which = ENG value = -100 }
		command = { type = domestic   which = innovative value = -2 }
		command = { type = trade   value = -1000 }
		command = { type = stability   value = 3 }
	}
	action_b ={#We are interested in their ideas#
		name = "ACTIONNAME10038B"
		command = { type = relation   which = ENG value = 100 }
		command = { type = domestic   which = innovative value = 1 }
		command = { type = trade   value = 500 }
		command = { type = stability   value = -3 }
	}
}

#The White Lotus Rebellion#
event = {
	id = 10039
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10039"
	desc = "EVENTHIST10039"
	style = 4
	
	date = { day = 1 month = january year = 1796 }
	offset = 300
	deathdate = { day = 1 month = january year = 1797 }
	
	action_a ={#It's likely just harmless talk#
		name = "ACTIONNAME10039A"
		command = { type = revoltrisk   which = 24 value = 15 }
		command = { type = stability   value = -4 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
	}
	action_b ={#Crush these plotters!#
		name = "ACTIONNAME10039B"
		command = { type = revoltrisk   which = 24 value = 6 }
		command = { type = stability   value = -2 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = treasury   value = -500 }
	}
}

#The Celestial Order Rebellion#
event = {
	id = 10040
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10040"
	desc = "EVENTHIST10040"
	style = 5
	
	date = { day = 1 month = january year = 1811 }
	offset = 300
	deathdate = { day = 1 month = january year = 1812 }
	
	action_a ={#It's likely just harmless talk#
		name = "ACTIONNAME10040A"
		command = { type = revoltrisk   which = 24 value = 15 }
		command = { type = stability   value = -4 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
	}
	action_b ={#Crush these plotters!#
		name = "ACTIONNAME10040B"
		command = { type = revoltrisk   which = 24 value = 6 }
		command = { type = stability   value = -2 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = treasury   value = -500 }
	}
}

#The Eight Trigrams Rebellion#
event = {
	id = 10041
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10041"
	desc = "EVENTHIST10041"
	style = 5
	
	date = { day = 18 month = october year = 1813 }
	offset = 0
	deathdate = { day = 19 month = october year = 1813 }
	
	action_a ={#It's likely just harmless talk#
		name = "ACTIONNAME10041A"
		command = { type = revoltrisk   which = 24 value = 10 }
		command = { type = stability   value = -6 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
	}
	action_b ={#Crush these plotters!#
		name = "ACTIONNAME10041B"
		command = { type = revoltrisk   which = 24 value = 4 }
		command = { type = stability   value = -4 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
		command = { type = treasury   value = -700 }
	}
}
