#####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 = 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 = technology which = muslim }
		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 Nerchinsk#
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 }
		command = { type = addcore which = 624 }
		command = { type = addcore which = 626 }
		command = { type = addcore which = 627 }
		command = { type = addcore which = 628 }
		command = { type = addcore which = 629 }
		command = { type = addcore which = 630 }
	}
}
#The Treaty of Nerchinsk#
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 = 594 }
		command = { type = addcore which = 604 }
		command = { type = addcore which = 606 }
		command = { type = addcore which = 608 }
		command = { type = addcore which = 609 }
		command = { type = addcore which = 610 }
		command = { type = addcore which = 612 }
		command = { type = addcore which = 613 }
		command = { type = addcore which = 614 }
		command = { type = addcore which = 615 }
		command = { type = addcore which = 617 }
		command = { type = addcore which = 619 }
		command = { type = addcore which = 621 }
		command = { type = addcore which = 622 }
		command = { type = addcore which = 623 }
		command = { type = addcore which = 625 }
		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 }
	}
}

#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 = 645 value = 1 }
		command = { type = fortress   which = 648 value = 1 }
		command = { type = provincetax   which = 645 value = 1 }
		command = { type = provincetax   which = 648 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 = 648 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 = 618 value = 1 }
		command = { type = fortress   which = 1822 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 = 618 value = -1000 }
		command = { type = population   which = 1822 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 = 1563 value = 2 }
		command = { type = provincetax which = 1819 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 = population   which = 1447 value = -5000 }
		command = { type = population   which = 1448 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 = population   which = 1447 value = -10000 }
		command = { type = population   which = 1448 value = -10000 }
		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 = 1819 value = -5000 }
		command = { type = provincetax which = 1819 value = -1 }
		command = { type = revolt   which = 1819 }
		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 = 1807 }
		command = { type = removecot  which = 659 }
		command = { type = secedeprovince which = POR value = 1807 }
		command = { type = removecore   which = 1807 }
		command = { type = relation which = POR value = 100 }
		command = { type = trigger which = 98874006 }
	}
	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 }
	}
	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 = 659 }
		command = { type = secedeprovince which = POR value = 1807 }
		command = { type = removecore   which = 1807 }
		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 }
		command = { type = relation   which = POR value = 100 }
		command = { type = trigger which = 98874006 }
	}
}


#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 = 10036 }
	}
}


#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 = 618 }
		command = { type = revolt which = 626 }
		command = { type = revolt which = 627 }
		command = { type = revolt which = 628 }
		command = { type = revolt which = 629 }
		command = { type = revolt which = 631 }
		command = { type = revolt which = 632 }
		command = { type = revolt which = 634 }
		command = { type = revolt which = 635 }
		command = { type = revolt which = 636 }
		command = { type = revolt which = 639 }
		command = { type = revolt which = 640 }
		command = { type = revolt which = 643 }
		command = { type = revolt which = 644 }
		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 = 1819 }
		command = { type = relation which = MCH value = -400 }
		command = { type = stability value = -8 }
		command = { type = secedeprovince which = MCH value = 618 }
		command = { type = secedeprovince which = MCH value = 631 }
		command = { type = secedeprovince which = MCH value = 632 }
		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 = 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 = 1447 }
		command = { type = secedeprovince which = MCH value = 1448 }
		command = { type = secedeprovince which = MCH value = 1560 }
		command = { type = secedeprovince which = MCH value = 1561 }
		command = { type = secedeprovince which = MCH value = 1562 }
		command = { type = secedeprovince which = MCH value = 1608 }
		command = { type = secedeprovince which = MCH value = 1818 }
		command = { type = secedeprovince which = MCH value = 1822 }
		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 }
		command = { type = add_countryculture which = manchu }
	}
}

#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 = 618 }
		command = { type = secedeprovince which = MCH value = 626 }
		command = { type = secedeprovince which = MCH value = 631 }
		command = { type = secedeprovince which = MCH value = 632 }
		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 = 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 = 1447 }
		command = { type = secedeprovince which = MCH value = 1448 }
		command = { type = secedeprovince which = MCH value = 1560 }
		command = { type = secedeprovince which = MCH value = 1561 }
		command = { type = secedeprovince which = MCH value = 1562 }
		command = { type = secedeprovince which = MCH value = 1608 }
		command = { type = secedeprovince which = MCH value = 1818 }
		command = { type = secedeprovince which = MCH value = 1822 }
		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 = 654 }
		command = { type = secedeprovince   which = MCH value = 1397 }
		command = { type = secedeprovince   which = MCH value = 1449 }
		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 = secedeprovince   which = MCH value = 1820 }
		command = { type = stability   value = -4 }
		command = { type = capital which = 1817 }
	}
}

#The End of the Ming Dynasty#
event = {
	id = 10026
	trigger = {
		exists = MCH
	}
	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 }
# Commented out as there is no event 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 }
	}
}

#Chinese events from AoN modified by Hive

#Lin Zexu stamps out the opium trade# 
event = { 
	id = 15390
	trigger = {
		event = 15392
	} 
	random = no 
	country = CHI 
	name = "Lin Zexu stamps out the opium trade" 
	desc = "Lin Zexu was an energetic and purposeful governor in Central China who was famous for his effective prohibition of the sale and smoking of opium in those provinces. Lin Zexu was given the task of removing the offensive opium trade from the shores of China. One entrusted with such a task needed to weed out the large-scale corruption and required eyes of an eagle to spot all of the perpetrators. Despite the fact that Lin Zexu was renouned for his integrity, most of the Chinese court expected even Lin Zexu to have his price. But Lin Zexu slowly stamped out the opium trade with vigilance and integrity. He had a public burning, were a fortune consisting of around 20,283 chests (2.5 million pounds) of opium was thrown into the sea. Lin Zexu composed an apology to the Spirit of the Sea, for dipelling its poison. He then threatened any foreign merchant, who brought opium to Guangzhou, with death penalty." 
	style = 5
	date = { day = 3 month = june year = 1839 } 

	action_a = { 
		name = "Excellent!"
		command = { type = stability value = 3 }  
		command = { type = inflation value = -15 }
		command = { type = provincetax which = -1 value = 5 }
		command = { type = provincetax which = -1 value = 5 }
		command = { type = provincetax which = -1 value = 5 }
		command = { type = provincetax which = -1 value = 5 }
		command = { type = provincetax which = -1 value = 5 }
		command = { type = provincetax which = -1 value = 5 } 
		command = { type = treasury value = 500 }  
		command = { type = trigger which = 15391 } 
	} 
}

#Effects from the Opium Trade# 
event = { 
	id = 15392
	trigger = {
		OR = { exists = ENG exists = U14 }
		NOT = {
			event = 15390 
		}
	}
	random = yes
	country = CHI 
	name = "Effects from the Opium Trade" 
	desc = "The 1830s saw a tremendous increase in the opium trade. The opium trade and its size had far-reaching repercussions. It mobilized a large section of the population into actively breaking the law, and disabled scores of people as they became addicted. The trade also drained China's silver taels, and crippled the Chinese economy. It furthermore contributed to the already present corruption of local government and police forces." 
	style = 5 
	date = { day = 1 month = january year = 1830 }
	deathdate = { day = 1 month = january year = 1915 }
	 
	action_a ={ 
		name = "Darn!" 
		command = { type = stability value = -1 }  
		command = { type = inflation value = 5 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 } 
		command = { type = treasury value = -100 }
		command = { type = infra value = -1000 } 
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = U14 value = -50 }
		command = { type = trigger which = 15395 }  
	} 
}

#Effects from the Opium Trade# 
event = { 
	id = 15393
	trigger = {
		year = 1830
		OR = { exists = ENG exists = U14 }
		NOT = {
			event = 15390 
		}
	}
	random = yes
	country = CHI 
	name = "Effects from the Opium Trade" 
	desc = "The 1830s saw a tremendous increase in the opium trade. The opium trade and its size had far-reaching repercussions. It mobilized a large section of the population into actively breaking the law, and disabled scores of people as they became addicted. The trade also drained China's silver taels, and crippled the Chinese economy. It furthermore contributed to the already present corruption of local government and police forces." 
	style = 5 

	action_a ={ 
		name = "Darn!" 
		command = { type = stability value = -1 }  
		command = { type = inflation value = 5 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 } 
		command = { type = treasury value = -100 }   
		command = { type = infra value = -1000 } 
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = U14 value = -50 }
		command = { type = trigger which = 15395 }  
	} 
}

#Effects from the Opium Trade# 
event = { 
	id = 15394
	trigger = {
		year = 1830
		OR = { exists = ENG exists = U14 }  
		NOT = { 
			event = 15390 
		}
	}
	random = yes
	country = CHI 
	name = "Effects from the Opium Trade" 
	desc = "The 1830s saw a tremendous increase in the opium trade. The opium trade and its size had far-reaching repercussions. It mobilized a large section of the population into actively breaking the law, and disabled scores of people as they became addicted. The trade also drained China's silver taels, and crippled the Chinese economy. It furthermore contributed to the already present corruption of local government and police forces." 
	style = 5 
	 
	action_a ={ 
		name = "Darn!" 
		command = { type = stability value = -1 }
		command = { type = inflation value = 5 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 } 
		command = { type = treasury value = -100 }   
		command = { type = infra value = -1000 } 
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = U14 value = -50 }
		command = { type = trigger which = 15395 }  
	} 
}

event = {
	id = 98874001
	random = no
	country = CHI 
	name = "Convention of Chuenpeh and Treaty of Nanking"
	desc = "In 1839, the refusal by Qing Dynasty authorities to import opium resulted in the First Opium War between China and Britain.[7] Hong Kong Island was first occupied by British forces in 1841, and then formally ceded from China under the Treaty of Nanking at the end of the war."
	style = 5

	action_a ={ 
		name = "Darn!" 
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = U14 value = 50 }
		command = { type = secedeprovince which = U14 value = 1808 }
		command = { type = removecore which = 1808 }
		command = { type = trigger which = 98874002 }
	}
	action_b ={
		name = "We shall fight"
		command = { type = stability value = -2 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = U14 value = -150 }
	}
}

event = {
	id = 98874004
	random = no
	country = CHI 
	name = "Occupation of Chan-chiang"
	desc = "Chan-chiang was a small fishing port when it was occupied by the French in 1898. The next year, the French forced the Chinese to lease Chan-chiang to them for 99 years as the territory of Kwang-Chou-Wan."
	style = 5

	action_a ={ 
		name = "Darn!" 
		command = { type = relation which = FRA value = 50 }
		command = { type = secedeprovince which = FRA value = 2005 }
		command = { type = removecore which = 2005 }
		command = { type = trigger which = 98874005 }
	}
	action_b ={
		name = "We shall fight"
		command = { type = stability value = -2 }
		command = { type = relation which = FRA value = -150 }
	}
}

event = {
	id = 98874008
	random = no
	country = CHI 
	name = "The German acquisition of Ch'ing-tao"
	desc = "On November 1, 1897, the Big Sword Society planned to assassinate German priest Von Stenz. Stenz was not at the church at the time of the Big Sword Society's arrival, so instead of his death, two German missionaries were brutally hacked up and murdered in Juye County in western Shandong. The 'Juye incident' gave the German Kaiser Wilhelm II a pretext to occupy the Bay and even before the Chinese government was informed about the murder, Admiral von Diederichs, commander of the East Asian Squadron, was ordered on November 7 to carry out the occupation; he was the only Military Governor (until 7 March 1898). On November 14 German naval infantry landed on the strands and occupied the area without a fight. China tried futilely to obtain a withdrawal of the troops. On November 20, the German-Chinese negotiations began, which resulted in the settlement of the missionary incident on January 15, 1898."
	style = 5

	action_a ={
		name = "Darn!" 
		command = { type = relation which = GER value = 50 }
		command = { type = secedeprovince which = GER value = 1448 }
		command = { type = removecore which = 1448 }
		command = { type = trigger which = 98874009 }
	}
	action_b ={
		name = "We shall fight"
		command = { type = stability value = -2 }
		command = { type = relation which = GER value = -150 }
	}
}

event = {
	id = 98874011
	random = no
	country = CHI 
	name = "The battle for the Coast"
	desc = "After Russia leased Port Arthur from China on the opposite coast for 25 years in March, 1898, the United Kingdom obtained a lease which was to run for as long as the Russians stayed in Port Arthur."
	style = 5

	action_a ={ 
		name = "Ok"
                command = { type = cash value = 500 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = U14 value = 50 }
		command = { type = secedeprovince which = U14 value = 1447 }
		command = { type = removecore which = 1447 }
		command = { type = trigger which = 98874012 }
	}
	action_b ={
		name = "No"
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = U14 value = -150 }
	}
}
#The Arrow Incident# 
event = { 
	id = 15396 
	trigger = { event = 98874002 }
	random = no 
	country = CHI 
	name = "The Arrow Incident" 
	desc = "The Arrow, a ship owned by a Chinese resident of Hong-Kong and registered in the Colony, had an Irish captain and a Chinese crew. Early on 8 October 1856 a number of Chinese officials and soldiers boarded the vessel, which was at anchor near Guangzhou, and bound and carried off the entire crew of twelve men, who were suspected pirates. The English exercised their extraterritorial rights and demanded the return of the crew. In the Parliament, the matter was discussed and heavily debated whether or not to go to war with China. Cobden, Gladstone and Disraeli stood together against war with China - but Palmerston, the Prime Minister, supported a war. The Parliament was dissolved and in the election that followed, Palmerston's party returned to office with a large majority supporting war."
	style = 5
	date = { day = 8 month = october year = 1856 } 

	action_a = { 
		name = "Seize the pirate wessel!"
		command = { type = stability value = 2 }  
		command = { type = relation which = ENG value = -150 }
		command = { type = trigger which = 15397 }
		command = { type = trigger which = 15398 } 
	}
	action_b = { 
		name = "Do not anger the English"
		command = { type = stability value = -3 } 
		command = { type = revoltrisk which = 60 value = 5 } 
		command = { type = relation which = ENG value = 50 }
	} 
}

#The 3 years famine# 
event = { 
	id = 15399 
	random = no 
	country = CHI 
	name = "The 3 years famine" 
	desc = "The Mandate of Heaven was a belief held by the Chinese as proof for the Manchu house's right to rule China. As long as the ruler was upright and virtuous, Heaven was appeased. If the ruler became wicked and corrupt, then Heaven would withdraw its Mandate and make it known to the people through disasters, unusual hardships, eclipses and comets. In 1832 there were famines in several provinces, showing Heaven's disapproval. To make matters worse, merchants and officials held back their stores of grain until the price was high enough to satisfy their greed. Little rain fell in the spring of 1832." 
	style = 5 
	date = { day = 1 month = april year = 1832 } 
	
	action_a = { 
		name = "We are losing the Mandate!"
		command = { type = stability value = -2 } 
		command = { type = population which = 1565 value = -15000 } 
		command = { type = population which = 1566 value = -15000 }
		command = { type = population which = -1 value = -10000 } 
		command = { type = revoltrisk which = 36 value = 2 }
		 
	} 
}

#The flooding of The Yellow River# 
event = { 
	id = 15400 
	random = no 
	trigger = {
		OR = {
			owned = { province = 648 data = -1 }
			owned = { province = 650 data = -1 }
			owned = { province = 651 data = -1 }
			owned = { province = 652 data = -1 }
			owned = { province = 654 data = -1 }
			owned = { province = 1397 data = -1 }
			owned = { province = 1558 data = -1 }
			owned = { province = 1560 data = -1 }
			owned = { province = 1561 data = -1 }
			owned = { province = 1562 data = -1 }
			owned = { province = 1564 data = -1 }
			owned = { province = 1608 data = -1 }
			owned = { province = 1820 data = -1 }
			owned = { province = 1822 data = -1 }
		}
	}
	country = CHI
	name = "The flooding of The Yellow River" 
	desc = "In 1851 The Yellow River breached the north embankment near Kaifengfu in Honan and caused great devastation over the countryside. It required some fifteen or more years to repair damages from this outbreak, and to confine the stream by new embankments. After that, there were for a time comparative immunity from inundations, but 1882 saw fresh outbursts. The most serious of all took place in 1887, when it appeared probable that there would once again be a permanent change in the river's course. By dint of great exertions however, the government succeeded in closing the breach, though not before January 1889, and not until there had been immense destruction of life and property. These disasters were indications to the Chinese people that the Manchus were losing the Mandate of Heaven, the right to rule and govern China." 
	style = 5 
	date = { day = 1 month = january year = 1851 } 

	action_a = { 
		name = "We are losing the Mandate!" 
		command = { type = stability value = -2 } 
		command = { type = revoltrisk which = 180 value = 2 } 
		command = { type = provincetax which = 648 value = -1 }
		command = { type = population which = 648 value = -5000 }
		command = { type = provincetax which = 1562 value = -1 } 
		command = { type = population which = 1562 value = -10000 } 
		command = { type = provincetax which = 650 value = -1 } 
		command = { type = population which = 650 value = -17000 } 
		command = { type = provincetax which = 651 value = -1 } 
		command = { type = population which = 651 value = -6000 } 
		command = { type = provincetax which = 1564 value = -1 } 
		command = { type = population which = 1564 value = -5000 }
		command = { type = provincetax which = 652 value = -1 }
		command = { type = population which = 652 value = -5000 }
		command = { type = provincetax which = 654 value = -1 }
		command = { type = population which = 654 value = -6000 }
		command = { type = provincetax which = 1397 value = -1 }
		command = { type = population which = 1397 value = -5000 }
		command = { type = provincetax which = 1558 value = -1 }
		command = { type = population which = 1558 value = -7000 }
		command = { type = provincetax which = 1560 value = -1 }
		command = { type = population which = 1560 value = -6000 }
		command = { type = provincetax which = 1561 value = -1 }
		command = { type = population which = 1561 value = -5000 }
		command = { type = provincetax which = 1608 value = -1 }
		command = { type = population which = 1608 value = -7000 }
		command = { type = provincetax which = 1820 value = -1 }
		command = { type = population which = 1820 value = -6000 }
		command = { type = provincetax which = 1822 value = -1 }
		command = { type = population which = 1822 value = -5000 }
	}
}

#Mandate of Heaven Lost# 
event = { 
	id = 15401
	trigger = {
		event = 15399 
		event = 15400 
	} 
	random = no 
	country = CHI 
	name = "Mandate of Heaven Lost" 
	desc = "The Mandate of Heaven for the Qing Dynasty to rule China was lost. The people wanted to return a Han Chinese to the throne. Heaven was willing, for it had shown its disapproval of the Qing through floods and famine. Earth was willing, for the people were discontented. Before the outbreak of the Anglo-Chinese Wars, the common people were not allowed to possess firearms or other weapons. After the end of the Anglo-Chinese Wars, bands of peasants were armed to fight the English. These farmers now turned their attention from the foreigners from England to the Manchus - who was also considered to be foreigners. Particularly eager was the Threefold or Triad Society of Guangdong, who believed that they had found the new emperor: a Buddhist monk who claimed to be a descendant of the last Ming Emperor." 
	style = 5 
	 
	date = { day = 1 month = january year = 1851 }
	offset = 150 

	action_a = { 
		name = "Darn!" 
		command = { type = stability value = -4 } 
		command = { type = revoltrisk which = 120 value = 15 } 
		command = { type = revolt which = 1817 }
		command = { type = revolt which = 1817 }
		command = { type = revolt which = 1817 }
		command = { type = revolt which = 659 } 
		command = { type = revolt which = 659 } 
		command = { type = revolt which = 659 } 
		 
	} 
}

#The Taiping rebellion# 
event = { 
	id = 15402 
	random = no 
	country = CHI 
	name = "The Taiping rebellion" 
	desc = "Hong Xiuquan, a native of Guangdong, was a village teacher who failed repeatedly in state examinations in Guangzhou. In 1836 he listened to Leung Fat, a Christian convert preaching in Guangzhou, and received some pamphlets. The next year Hong tried again for the examinations, failed and fell ill. He had a vision of God who gave him a sword with which he was to slay demons. He then became a pseudo-Christian and preached his own ideas, many of which was crooked and mixed with Chinese ideas of life. In 1846 he and his cousin Fung Wanshan converted more than 3000 people to this special form of Christianity. In January 1851 the Taiping Rebellion started to get organized. Within a month, 30,000 people were recruited and armed. Hong had many revolutionary ideas for China; gender equality, distribution of land and religious conversion to the true faith amongst others." 
	style = 5 
 
	date = { day = 21 month = february year = 1851 } 
	offset = 365 

	action_a = { 
		name = "Darn!" 
		command = { type = provincereligion which = 661 value = protestant }#is this the most accurate christian religion? 
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1445 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 656 } 
		command = { type = revolt which = 659 } 
		command = { type = revolt which = 658 } 
		command = { type = revolt which = 657 }
		command = { type = revolt which = 1808 }
		command = { type = revolt which = 1817 }
		command = { type = leader which = 08844 } #Frederick Townsend Ward# 
	} 
}

#The Nian Fei Uprising# 
event = { 
	id = 15403
	trigger = {
		event = 15400
	} 
	random = no 
	country = CHI 
	name = "The Nian Fei Uprising" 
	desc = "In the early 1850s the Chinese living in the Yellow River valley suffered famine because of repeated flooding of the river; many of them joined outlaw bands, called nien, which had been plundering the provinces of Anhwei, Honan, and Shantung during the first half of the century. Soon the Nian Fei army fell under the leadership of Zhang Lexing. The Zhang family was fiercely opposed to the occupying Manchu dynasty, and Zhang Lexing was no exception. When Zhang Lexing was able to garner enough support and arms, he openly revolted against the government in 1853. The Nian Army led by him asserted its influence in the Yellow River valley, fortified their villages and took advantage of the mobility of their strong cavalry to harass and evade imperial troops seeking to crush them." 
	style = 5 
	date = { day = 15 month = february year = 1853 } 
	offset = 100 

	action_a = { 
		name = "Darn!"
		command = { type = stability value = -1 } 
		command = { type = revolt which = 651 } 
		command = { type = revolt which = 651 } 
		command = { type = revolt which = 651 } 
		command = { type = revolt which = 651 } 
	} 
}

#Moslem Revolts# 
event = { 
	id = 15404 
	random = no 
	country = CHI 
	name = "Moslem Revolts" 
	desc = "With the Mandate of Heaven withdrawn, the Panthay Muslims in Yunnan, directed by the White Lotus Cult, revolted. Soon the Muslims in Xinjiang would rise to revolt against their Manchu masters, and declared independence from China to form the Sultanate of Xieng Hong, the Sultanate Ta Li or Yunnan, under the leadership of Du Wen Xiao, who was made Sultan." 
	style = 5 
	date = { day = 15 month = february year = 1854 }
	offset = 100 

	action_a = { 
		name = "Darn!"
		command = { type = stability value = -1 } 
		command = { type = religiousrevolt which = 1821 }
		command = { type = religiousrevolt which = 1821 }
		command = { type = religiousrevolt which = 1555 }
		command = { type = religiousrevolt which = 1555 }
		command = { type = religiousrevolt which = 1553 } 
		command = { type = religiousrevolt which = 1553 }
	} 
}

#End of the Taiping rebellion#disabled until I have included Taiping...
#event = { 
#	id = 15405
#	trigger = { 
#		event = 15402  
#		control = { owned = 654 data = -1 } 
#	}  
#	random = no 
#	country = CHI 
#	name = "End of the Taiping rebellion"
#	desc = "Chinese troops killed hundreds of Taipings in Nanjing. Many others killed #themselves. Some fled. Among these was the Faithful Prince, who took with him Hong's little son. #Having given his own swift horse to the boy, the Faithful Prince was soon captured and executed. #This prince, brave, loyal and merciful, was loved by the people. Alone among the rebel leaders #he was willing to spare lives; for he, unlike other Taipings, believed in a merciful God. After #the fall of Nanjing, the remaining rebels were quickly defeated. The Taiping dream had ended." 
#	style = 5 
#	offset = 30 

#	action_a = { 
#		name = "Excellent!" 
#		command = { type = trigger which = 19829 } #Taiping admits defeat# 
#		command = { type = conversion which = 654 } 
#	} 
#}

#The Self-Strengthening Movement#
event = {
	id = 15409
	trigger = {  
		atwar = no
		domestic = { type = innovative value = 4 }
		OR = {

owned = { province = 618 data = U14 }
owned = { province = 631 data = U14 }
owned = { province = 632 data = U14 }
owned = { province = 634 data = U14 }
owned = { province = 635 data = U14 }
owned = { province = 640 data = U14 }
owned = { province = 641 data = U14 }
owned = { province = 642 data = U14 }
owned = { province = 643 data = U14 }
owned = { province = 644 data = U14 }
owned = { province = 645 data = U14 }
owned = { province = 646 data = U14 }
owned = { province = 647 data = U14 }
owned = { province = 648 data = U14 }
owned = { province = 649 data = U14 }
owned = { province = 650 data = U14 }
owned = { province = 651 data = U14 }
owned = { province = 652 data = U14 }
owned = { province = 653 data = U14 }
owned = { province = 654 data = U14 }
owned = { province = 655 data = U14 }
owned = { province = 656 data = U14 }
owned = { province = 657 data = U14 }
owned = { province = 658 data = U14 }
owned = { province = 659 data = U14 }
owned = { province = 660 data = U14 }
owned = { province = 661 data = U14 }
owned = { province = 689 data = U14 }
owned = { province = 1397 data = U14 }
owned = { province = 1446 data = U14 }
owned = { province = 1447 data = U14 }
owned = { province = 1448 data = U14 }
owned = { province = 1449 data = U14 }
owned = { province = 1455 data = U14 }
owned = { province = 1540 data = U14 }
owned = { province = 1542 data = U14 }
owned = { province = 1543 data = U14 }
owned = { province = 1544 data = U14 }
owned = { province = 1553 data = U14 }
owned = { province = 1554 data = U14 }
owned = { province = 1555 data = U14 }
owned = { province = 1556 data = U14 }
owned = { province = 1557 data = U14 }
owned = { province = 1558 data = U14 }
owned = { province = 1559 data = U14 }
owned = { province = 1560 data = U14 }
owned = { province = 1562 data = U14 }
owned = { province = 1563 data = U14 }
owned = { province = 1564 data = U14 }
owned = { province = 1565 data = U14 }
owned = { province = 1566 data = U14 }
owned = { province = 1567 data = U14 }
owned = { province = 1606 data = U14 }
owned = { province = 1607 data = U14 }
owned = { province = 1608 data = U14 }
owned = { province = 1782 data = U14 }
owned = { province = 1783 data = U14 }
owned = { province = 1807 data = U14 }
owned = { province = 1808 data = U14 }
owned = { province = 1813 data = U14 }
owned = { province = 1814 data = U14 }
owned = { province = 1815 data = U14 }
owned = { province = 1817 data = U14 }
owned = { province = 1818 data = U14 }
owned = { province = 1819 data = U14 }
owned = { province = 1820 data = U14 }
owned = { province = 1821 data = U14 }
owned = { province = 1822 data = U14 }
owned = { province = 2005 data = U14 }

owned = { province = 618 data = ENG }
owned = { province = 631 data = ENG }
owned = { province = 632 data = ENG }
owned = { province = 634 data = ENG }
owned = { province = 635 data = ENG }
owned = { province = 640 data = ENG }
owned = { province = 641 data = ENG }
owned = { province = 642 data = ENG }
owned = { province = 643 data = ENG }
owned = { province = 644 data = ENG }
owned = { province = 645 data = ENG }
owned = { province = 646 data = ENG }
owned = { province = 647 data = ENG }
owned = { province = 648 data = ENG }
owned = { province = 649 data = ENG }
owned = { province = 650 data = ENG }
owned = { province = 651 data = ENG }
owned = { province = 652 data = ENG }
owned = { province = 653 data = ENG }
owned = { province = 654 data = ENG }
owned = { province = 655 data = ENG }
owned = { province = 656 data = ENG }
owned = { province = 657 data = ENG }
owned = { province = 658 data = ENG }
owned = { province = 659 data = ENG }
owned = { province = 660 data = ENG }
owned = { province = 661 data = ENG }
owned = { province = 689 data = ENG }
owned = { province = 1397 data = ENG }
owned = { province = 1446 data = ENG }
owned = { province = 1447 data = ENG }
owned = { province = 1448 data = ENG }
owned = { province = 1449 data = ENG }
owned = { province = 1455 data = ENG }
owned = { province = 1540 data = ENG }
owned = { province = 1542 data = ENG }
owned = { province = 1543 data = ENG }
owned = { province = 1544 data = ENG }
owned = { province = 1553 data = ENG }
owned = { province = 1554 data = ENG }
owned = { province = 1555 data = ENG }
owned = { province = 1556 data = ENG }
owned = { province = 1557 data = ENG }
owned = { province = 1558 data = ENG }
owned = { province = 1559 data = ENG }
owned = { province = 1560 data = ENG }
owned = { province = 1562 data = ENG }
owned = { province = 1563 data = ENG }
owned = { province = 1564 data = ENG }
owned = { province = 1565 data = ENG }
owned = { province = 1566 data = ENG }
owned = { province = 1567 data = ENG }
owned = { province = 1606 data = ENG }
owned = { province = 1607 data = ENG }
owned = { province = 1608 data = ENG }
owned = { province = 1782 data = ENG }
owned = { province = 1783 data = ENG }
owned = { province = 1807 data = ENG }
owned = { province = 1808 data = ENG }
owned = { province = 1813 data = ENG }
owned = { province = 1814 data = ENG }
owned = { province = 1815 data = ENG }
owned = { province = 1817 data = ENG }
owned = { province = 1818 data = ENG }
owned = { province = 1819 data = ENG }
owned = { province = 1820 data = ENG }
owned = { province = 1821 data = ENG }
owned = { province = 1822 data = ENG }
owned = { province = 2005 data = ENG }
         
owned = { province = 618 data = FRA }
owned = { province = 631 data = FRA }
owned = { province = 632 data = FRA }
owned = { province = 634 data = FRA }
owned = { province = 635 data = FRA }
owned = { province = 640 data = FRA }
owned = { province = 641 data = FRA }
owned = { province = 642 data = FRA }
owned = { province = 643 data = FRA }
owned = { province = 644 data = FRA }
owned = { province = 645 data = FRA }
owned = { province = 646 data = FRA }
owned = { province = 647 data = FRA }
owned = { province = 648 data = FRA }
owned = { province = 649 data = FRA }
owned = { province = 650 data = FRA }
owned = { province = 651 data = FRA }
owned = { province = 652 data = FRA }
owned = { province = 653 data = FRA }
owned = { province = 654 data = FRA }
owned = { province = 655 data = FRA }
owned = { province = 656 data = FRA }
owned = { province = 657 data = FRA }
owned = { province = 658 data = FRA }
owned = { province = 659 data = FRA }
owned = { province = 660 data = FRA }
owned = { province = 661 data = FRA }
owned = { province = 689 data = FRA }
owned = { province = 1397 data = FRA }
owned = { province = 1446 data = FRA }
owned = { province = 1447 data = FRA }
owned = { province = 1448 data = FRA }
owned = { province = 1449 data = FRA }
owned = { province = 1455 data = FRA }
owned = { province = 1540 data = FRA }
owned = { province = 1542 data = FRA }
owned = { province = 1543 data = FRA }
owned = { province = 1544 data = FRA }
owned = { province = 1553 data = FRA }
owned = { province = 1554 data = FRA }
owned = { province = 1555 data = FRA }
owned = { province = 1556 data = FRA }
owned = { province = 1557 data = FRA }
owned = { province = 1558 data = FRA }
owned = { province = 1559 data = FRA }
owned = { province = 1560 data = FRA }
owned = { province = 1562 data = FRA }
owned = { province = 1563 data = FRA }
owned = { province = 1564 data = FRA }
owned = { province = 1565 data = FRA }
owned = { province = 1566 data = FRA }
owned = { province = 1567 data = FRA }
owned = { province = 1606 data = FRA }
owned = { province = 1607 data = FRA }
owned = { province = 1608 data = FRA }
owned = { province = 1782 data = FRA }
owned = { province = 1783 data = FRA }
owned = { province = 1807 data = FRA }
owned = { province = 1808 data = FRA }
owned = { province = 1813 data = FRA }
owned = { province = 1814 data = FRA }
owned = { province = 1815 data = FRA }
owned = { province = 1817 data = FRA }
owned = { province = 1818 data = FRA }
owned = { province = 1819 data = FRA }
owned = { province = 1820 data = FRA }
owned = { province = 1821 data = FRA }
owned = { province = 1822 data = FRA }
owned = { province = 2005 data = FRA }
         
owned = { province = 618 data = RUS }
owned = { province = 631 data = RUS }
owned = { province = 632 data = RUS }
owned = { province = 634 data = RUS }
owned = { province = 635 data = RUS }
owned = { province = 640 data = RUS }
owned = { province = 641 data = RUS }
owned = { province = 642 data = RUS }
owned = { province = 643 data = RUS }
owned = { province = 644 data = RUS }
owned = { province = 645 data = RUS }
owned = { province = 646 data = RUS }
owned = { province = 647 data = RUS }
owned = { province = 648 data = RUS }
owned = { province = 649 data = RUS }
owned = { province = 650 data = RUS }
owned = { province = 651 data = RUS }
owned = { province = 652 data = RUS }
owned = { province = 653 data = RUS }
owned = { province = 654 data = RUS }
owned = { province = 655 data = RUS }
owned = { province = 656 data = RUS }
owned = { province = 657 data = RUS }
owned = { province = 658 data = RUS }
owned = { province = 659 data = RUS }
owned = { province = 660 data = RUS }
owned = { province = 661 data = RUS }
owned = { province = 689 data = RUS }
owned = { province = 1397 data = RUS }
owned = { province = 1446 data = RUS }
owned = { province = 1447 data = RUS }
owned = { province = 1448 data = RUS }
owned = { province = 1449 data = RUS }
owned = { province = 1455 data = RUS }
owned = { province = 1540 data = RUS }
owned = { province = 1542 data = RUS }
owned = { province = 1543 data = RUS }
owned = { province = 1544 data = RUS }
owned = { province = 1553 data = RUS }
owned = { province = 1554 data = RUS }
owned = { province = 1555 data = RUS }
owned = { province = 1556 data = RUS }
owned = { province = 1557 data = RUS }
owned = { province = 1558 data = RUS }
owned = { province = 1559 data = RUS }
owned = { province = 1560 data = RUS }
owned = { province = 1562 data = RUS }
owned = { province = 1563 data = RUS }
owned = { province = 1564 data = RUS }
owned = { province = 1565 data = RUS }
owned = { province = 1566 data = RUS }
owned = { province = 1567 data = RUS }
owned = { province = 1606 data = RUS }
owned = { province = 1607 data = RUS }
owned = { province = 1608 data = RUS }
owned = { province = 1782 data = RUS }
owned = { province = 1783 data = RUS }
owned = { province = 1807 data = RUS }
owned = { province = 1808 data = RUS }
owned = { province = 1813 data = RUS }
owned = { province = 1814 data = RUS }
owned = { province = 1815 data = RUS }
owned = { province = 1817 data = RUS }
owned = { province = 1818 data = RUS }
owned = { province = 1819 data = RUS }
owned = { province = 1820 data = RUS }
owned = { province = 1821 data = RUS }
owned = { province = 1822 data = RUS }
owned = { province = 2005 data = RUS }
         
owned = { province = 618 data = USA }
owned = { province = 631 data = USA }
owned = { province = 632 data = USA }
owned = { province = 634 data = USA }
owned = { province = 635 data = USA }
owned = { province = 640 data = USA }
owned = { province = 641 data = USA }
owned = { province = 642 data = USA }
owned = { province = 643 data = USA }
owned = { province = 644 data = USA }
owned = { province = 645 data = USA }
owned = { province = 646 data = USA }
owned = { province = 647 data = USA }
owned = { province = 648 data = USA }
owned = { province = 649 data = USA }
owned = { province = 650 data = USA }
owned = { province = 651 data = USA }
owned = { province = 652 data = USA }
owned = { province = 653 data = USA }
owned = { province = 654 data = USA }
owned = { province = 655 data = USA }
owned = { province = 656 data = USA }
owned = { province = 657 data = USA }
owned = { province = 658 data = USA }
owned = { province = 659 data = USA }
owned = { province = 660 data = USA }
owned = { province = 661 data = USA }
owned = { province = 689 data = USA }
owned = { province = 1397 data = USA }
owned = { province = 1446 data = USA }
owned = { province = 1447 data = USA }
owned = { province = 1448 data = USA }
owned = { province = 1449 data = USA }
owned = { province = 1455 data = USA }
owned = { province = 1540 data = USA }
owned = { province = 1542 data = USA }
owned = { province = 1543 data = USA }
owned = { province = 1544 data = USA }
owned = { province = 1553 data = USA }
owned = { province = 1554 data = USA }
owned = { province = 1555 data = USA }
owned = { province = 1556 data = USA }
owned = { province = 1557 data = USA }
owned = { province = 1558 data = USA }
owned = { province = 1559 data = USA }
owned = { province = 1560 data = USA }
owned = { province = 1562 data = USA }
owned = { province = 1563 data = USA }
owned = { province = 1564 data = USA }
owned = { province = 1565 data = USA }
owned = { province = 1566 data = USA }
owned = { province = 1567 data = USA }
owned = { province = 1606 data = USA }
owned = { province = 1607 data = USA }
owned = { province = 1608 data = USA }
owned = { province = 1782 data = USA }
owned = { province = 1783 data = USA }
owned = { province = 1807 data = USA }
owned = { province = 1808 data = USA }
owned = { province = 1813 data = USA }
owned = { province = 1814 data = USA }
owned = { province = 1815 data = USA }
owned = { province = 1817 data = USA }
owned = { province = 1818 data = USA }
owned = { province = 1819 data = USA }
owned = { province = 1820 data = USA }
owned = { province = 1821 data = USA }
owned = { province = 1822 data = USA }
owned = { province = 2005 data = USA }
	} 
}
	random = no
      	country = CHI
	name = "The Self-Strengthening Movement"
	desc = "After China was forcefully cracked open by the Western Powers, it appeared that the dynasty was doomed. After a decade however, the situation looked brighter and the Qing Dynasty appeared to have retained the Mandate of Heaven. Historians speak of this period of renewal of strength as the Tong Zhi Restoration, named after the Emperor who reigned at the time. The movement as a whole, which lasted for the rest of the century, was known as the Self-Strengthening Movement. During these years China seemed to turn towards the West, which she had shut out for so long. But those with high hopes of her westernisation overlooked the fact,  that the Chinese - exploited by the West, yet still proud and certain of their superiority - did not hold any love for the West at all, and resented their ways and customs."
	style = 5
      	date = { day = 20 month = march year = 1860 }
      	offset = 100

	action_a = {
		name = "Let us turn towards the West"
             	command = { type = domestic which = innovative value = 3 }
             	command = { type = domestic which = mercantilism value = -3 }
             	command = { type = domestic which = serfdom value = -3 }
		command = { type = land value = 2000 }
             	command = { type = naval value = 2000 }
             	command = { type = infra value = 5000 }
             	command = { type = trade value = 5000 }
             	command = { type = stability value = -4 }
             	command = { type = revoltrisk which = 120 value = 5 }
             	command = { type = technology which = muslim }
	}
	action_b = {
		name = "The Western ways are not to be trusted"
             	command = { type = stability value = 3 }
		command = { type = sleepevent which = 15410 }
		command = { type = sleepevent which = 15414 }
      }
}

#Empress Dowager Cixi's Rise to Power# 
event = { 
	id = 15410
	trigger = { 
		event = 15409
	} 
	random = no 
	country = CHI 
	name = "Empress Dowager Cixi's Rise to Power" 
	desc = "Empress Dowager Cixi was born in 1835 in the Shanxi Province. She was of Manchurian origin and her father was a provincial governor from South China. When she was 17 years old, she was selected to become a concubine of Emperor Xianfeng and moved into the Forbidden City. She gave birth to a son named Tong Zhi when she was 21 years old, and was made one of the eight regents named by the Emperor to rule during Tong Zhi's youth; For he was only 5 years old when he ascended the throne. The other seven regents could have removed her from power, but she had powerful allies. With the support of Jung Lu and his banner men - revoultionary eunichs - the Empress seized control of the government. She was afraid that the westernization process of the government would reduce her power in court, and as a result she made every effort to stop the westernization of China. She would not succeed to stop it completely until the end of the century though." 
	style = 5 
	date = { day = 23 month = august year = 1861 } 
	offset = 50 
	
	action_a = { 
		name = "Ok"
		command = { type = stability value = 1 } 
		command = { type = domestic which = innovative value = -2 } 
		command = { type = domestic which = mercantilism value = 1 } 
		command = { type = domestic which = serfdom value = 1 }
	} 
}

#The Summer Palace# 
event = { 
	id = 15411
	trigger = { 
		event = 15410
	} 
	random = no 
	country = CHI 
	name = "The Summer Palace" 
	desc = "Prince Shun, the head of the Board of Admiralty, diverted funds to the construction of the Summer Palace in order to please the Empress Dowager Cixi. Cixi also used naval funds for the construction of a very large and expensive jade boat. These actions severely handicapped the growth of the navy." 
	style = 5  
	date = { day = 1 month = january year = 1888 } 
	offset = 150 
	
	action_a = { 
		name = "Ok"
		command = { type = stability value = -1 } 
		command = { type = naval value = -2000 } 
		command = { type = treasury value = -100 } 
	} 
}

#Cixi's Coup d'Etat# 
event = { 
	id = 15414 
	random = no 
	country = CHI 
	name = "Cixi's Coup d'Etat" 
	desc = "On 11 June 1898 Emperor Guangxu - sincere, enthusiastic and deeply wounded by his country's disgrace - issued the first of his many reform edicts. The combined effect of these edicts would have been to revolutionise the Chinese lifestyle. From early June to late September many edicts were carried out from the Dragon Throne. Every branch of western learning had to be investigated, according to the Emperor. Kang Youwei, knowing that the Empress Dowager Cixi was opposed to reform, advised the Emperor to take his aunt captive. The Emperor decided to do so. But instead he himself was made captive. On September 22 1898 at dawn, guards and eunuchs in the employ of Cixi seized Guangxu as he was leaving the Throne Hall of Perfect Harmony. Kang Youwei escaped the wrath of Cixi, fleeing to Hong Kong. Save for the decrees ordering the establishment of The Beijing University and the formation of militia forces, all of Guangxu's many reform edicts were rescinded. The Self-Strengthening movement was over for good." 
	style = 5 
	date = { day = 22 month = september year = 1898 }
 
	action_a = { 
		name = "Ok"
		command = { type = stability value = 2 }
		command = { type = sleepmonarch which = 16134 }
		command = { type = monarch which = 65059 }
		command = { type = domestic which = innovative value = -3 }
             	command = { type = domestic which = mercantilism value = 3 }
             	command = { type = domestic which = serfdom value = 3 }
		command = { type = technology which = china } 
	} 
}

#The Boxer Rebellion# 
event = { 
	id = 15415
	trigger = { 
		event = 15414
	} 
	random = no 
	country = CHI 
	name = "The Boxer Rebellion" 
	desc = "It was in Shandong the Boxers - peasant bands who feared and hated western aggression - struck their first blows. These men, usually known by their western nickname, belonged to a secret society, the Righteous and Harmonious Boxing Order. They were given this name because they practised a special kind of Oriental boxing. When Guangxu ordered the formation of militia bands for the purpose of 'strengthening the Empire', the Boxers became a legitimate militia and were no longer a secret society. The Boxers attacked everything foreign and Christian. The Chinese government could not (and did not try very hard) to control the Boxers. They were a menace to the Western powers present in China, and the Boxer Rebellion brought the West back to China." 
	style = 5 
	date = { year = 1900 }
	offset = 150 
 
	action_a = { 
		name = "Ok" 
		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 = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = USA value = -150 }
		command = { type = relation which = HOL value = -150 }
		command = { type = relation which = POR value = -150 }
		command = { type = relation which = HEI value = -150 } 
	} 
}

#Republic of China# 
event = { 
	id = 15416
	random = no 
	country = CHI 
	name = "Republic of China" 
	desc = "The harvests were poor in the years 1910-1911. Plague and flood brought distress to thousands. Then came the dispute over the national railways and loans given out to western companies to complete these railways. The provinces claimed that Beijing was playing into the hands of foreign creditors. Discontent was triving throughout China. On 10 OCtober 1911 soldiers stationed in Wuzhang rose in mutiny. The uprising quickly spread, and revolts broke out in province after province. Sun Yixian, exiled in the United States for his revolutionary activities, returned in haste to China. An assembly of delegates from the provinces that had revolted met in Nanjing, proclaimed a republic and elected Sun President. Meanwhile, Emperor Xuantong ordered the retired Yuan Shikai to return and suppress the revolution. But Yuan choose not to suppress the revolutionaries. Instead, he came to terms with them. Shortly thereafter, Xuantong, on the advice of Yuan, abdicated and delivered sovereignity into the hands of the people." 
	style = 5 
	date = { day = 10 month = october year = 1911 }
      	offset = 15 

	action_a = { 
		name = "Ok" 
		command = { type = stability value = -5 }
		command = { type = domestic which = centralization value = -8 }
		command = { type = domestic which = innovative value = 5 }
             	command = { type = domestic which = serfdom value = -6 }
		command = { type = revoltrisk which = 120 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 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -1 } 
	} 
}


##################Mongol Rule#################

event = {
	id = 7845960
	random = no 
	country = CHI 
	name = "The Salt Monopoly"
	desc = "While the central government waged endless power struggles, people in the countryside suffered from frequent natural disasters; droughts, floods and the ensuing famines. The government's lack of policy led to a loss of the support from people. Illicit salt dealers who were disaffected with the government's salt monopoly raised a rebellion in 1348."
	style = 5 
	date = { day = 1 month = march year = 1348 }
      	offset = 15

	action_a = { 
		name = "Ok"
		command = { type = stability value = -5 }
		command = { type = domestic which = centralization value = -4 }
             	command = { type = domestic which = mercantilism value = 5 }
		command = { type = revoltrisk which = 36 value = 10 }
		command = { type = revolt which = 659 }
		command = { type = revolt which = 659 }
		command = { type = revolt which = 1817 } 
		command = { type = revolt which = 1817 }
		command = { type = revolt which = 657 } 
		command = { type = revolt which = 657 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1555 }
	}
}

event = {
	id = 7845961
	random = no
	country = CHI
	name = "Red Turban Rebellion"
	desc = "In 1351, the society plotted an armed rebellion, but the plan was disclosed and Han Shantong was arrested and executed by the Yuan Government. After his death, Liu Futong, a prominent member of the White Lotus, assisted Han's son, Han Liner, to succeed his father and establish the Red Turban Army. After that, several other Han rebels in the south of the Yangtze River revolted under the name of the Southern Red Turbans. Among the key leaders of the Southern Red Turbans were Xu Shouhui and Chen Youliang."
	style = 5
	date = { day = 1 month = march year = 1351 }
      	offset = 15

	action_a = { 
		name = "Ok"
		command = { type = stability value = -7 }
		command = { type = domestic which = centralization value = -4 }
             	command = { type = domestic which = mercantilism value = 5 }
		command = { type = revoltrisk which = 120 value = 3 }
		command = { type = revolt which = 659 }
		command = { type = revolt which = 659 }
		command = { type = revolt which = 1817 } 
		command = { type = revolt which = 1817 }
		command = { type = revolt which = 657 } 
		command = { type = revolt which = 657 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1446 }
		command = { type = revolt which = 1555 }
		command = { type = provincetax which = 659 value = 1 }
		command = { type = provincetax which = 1817 value = 1 }
		command = { type = provincetax which = 657 value = 1 }
		command = { type = provincetax which = 661 value = 1 }
		command = { type = provincetax which = 1446 value = 1 }
		command = { type = provincetax which = 1555 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

event = {
	id = 7845962
	trigger = { 
	NOT = {
        		OR = {
			control = { province = 648 data = -1 }
			control = { province = 650 data = -1 }
			control = { province = 651 data = -1 }
			control = { province = 652 data = -1 }
			control = { province = 654 data = -1 }
			}
        		OR = {
			control = { province = 1564 data = -1 }
			control = { province = 1608 data = -1 }
			control = { province = 1820 data = -1 }
			control = { province = 1822 data = -1 }
			}
        		OR = {
			control = { province = 1397 data = -1 }
			control = { province = 1558 data = -1 }
			control = { province = 1560 data = -1 }
			control = { province = 1561 data = -1 }
			control = { province = 1562 data = -1 }
			}
			exists = U34
			event = 7845966
		}
         }
	random = no
	country = CHI
	name = "Hongwu Emperor"
	desc = "Between 1356 and 1367, Zhu began a series of campaigns seeking to defeat his opponents in the Red Turbans. At first, he nominally supported Han Liner to stablize his northern frontier. Then he defeated his rivals Chen Youliang, Zhang Shicheng and Fang Guozhen one by one. After rising to dominance, he drowned Han Liner. Calling for a racial revolution to overthrow the Mongols and restore the Han Chinese, Zhu gained popular support."
	style = 5
	date = { day = 1 month = january year = 1356 }
      	offset = 30
	deathdate = { day = 29 month = december year = 1367 }

	action_a = {
		name = "Ok"
                command = { type = capital which = 633 }
                command = { type = country which = U34 }
                command = { type = sleepevent which = 7845966 }
	}
}

event = {
	id = 7845966
	trigger = { 
	NOT = {
        		OR = {
			control = { province = 648 data = -1 }
			control = { province = 650 data = -1 }
			control = { province = 651 data = -1 }
			control = { province = 652 data = -1 }
			control = { province = 654 data = -1 }
			}
        		OR = {
			control = { province = 1564 data = -1 }
			control = { province = 1608 data = -1 }
			control = { province = 1820 data = -1 }
			control = { province = 1822 data = -1 }
			}
        		OR = {
			control = { province = 1397 data = -1 }
			control = { province = 1558 data = -1 }
			control = { province = 1560 data = -1 }
			control = { province = 1561 data = -1 }
			control = { province = 1562 data = -1 }
			}
                        event = 7845962
                         }
			exists = U34

         }
	random = no
	country = CHI
	name = "Hongwu Emperor"
	desc = "Between 1356 and 1367, Zhu began a series of campaigns seeking to defeat his opponents in the Red Turbans. At first, he nominally supported Han Liner to stablize his northern frontier. Then he defeated his rivals Chen Youliang, Zhang Shicheng and Fang Guozhen one by one. After rising to dominance, he drowned Han Liner. Calling for a racial revolution to overthrow the Mongols and restore the Han Chinese, Zhu gained popular support."
	style = 5
	date = { day = 1 month = january year = 1356 }
      	offset = 30
	deathdate = { day = 29 month = december year = 1367 }

	action_a = {
		name = "Ok"
                command = { type = inherit which = U34 }
                command = { type = sleepevent which = 7845962 }
                command = { type = trigger which = 7845967 }
	}
}

event = {
	id = 7845967
	random = no
	country = CHI
	name = "Hongwu Emperor"
	desc = "Between 1356 and 1367, Zhu began a series of campaigns seeking to defeat his opponents in the Red Turbans. At first, he nominally supported Han Liner to stablize his northern frontier. Then he defeated his rivals Chen Youliang, Zhang Shicheng and Fang Guozhen one by one. After rising to dominance, he drowned Han Liner. Calling for a racial revolution to overthrow the Mongols and restore the Han Chinese, Zhu gained popular support."
	style = 5
	date = { day = 1 month = january year = 1356 }
      	offset = 30
	deathdate = { day = 29 month = december year = 1367 }

	action_a = {
		name = "Ok"
                command = { type = capital which = 633 }
                command = { type = country which = U34 }
	}
}


event = {
	id = 7845964
	random = no
	country = CHI
	name = "Ming Dynasty"
	desc = "Between 1356 and 1367, Zhu began a series of campaigns seeking to defeat his opponents in the Red Turbans. At first, he nominally supported Han Liner to stablize his northern frontier. Then he defeated his rivals Chen Youliang, Zhang Shicheng and Fang Guozhen one by one. After rising to dominance, he drowned Han Liner. Calling for a racial revolution to overthrow the Mongols and restore the Han Chinese, Zhu gained popular support."
	style = 5

	action_a = {
		name = "Ok"
        command = { type = religion which = confucianism }
        command = { type = add_countryculture   which = chihan }
        command = { type = add_countryculture   which = cantonese }
        command = { type = remove_countryculture   which = mongol }
        command = { type = capital which = 1819 }
        command = { type = breakvassal which = U34 }
        command = { type = trigger which = 7845965 } #Ming Dynasty#
	command = { type = addcore which = 646 }
	command = { type = addcore which = 647 }
	command = { type = addcore which = 649 }
	command = { type = addcore which = 650 }
	command = { type = addcore which = 651 }
	command = { type = addcore which = 652 }
	command = { type = addcore which = 653 }
	command = { type = addcore which = 654 }
	command = { type = addcore which = 655 }
	command = { type = addcore which = 656 }
	command = { type = addcore which = 657 }
	command = { type = addcore which = 658 }
	command = { type = addcore which = 659 }
	command = { type = addcore which = 660 }
	command = { type = addcore which = 661 }
	command = { type = addcore which = 1397 }
	command = { type = addcore which = 1446 }
	command = { type = addcore which = 1447 }
	command = { type = addcore which = 1448 }
	command = { type = addcore which = 1449 }
	command = { type = addcore which = 1455 }
	command = { type = addcore which = 1553 }
	command = { type = addcore which = 1554 }
	command = { type = addcore which = 1555 }
	command = { type = addcore which = 1556 }
	command = { type = addcore which = 1557 }
	command = { type = addcore which = 1558 }
	command = { type = addcore which = 1559 }
	command = { type = addcore which = 1560 }
	command = { type = addcore which = 1561 }
	command = { type = addcore which = 1562 }
	command = { type = addcore which = 1563 }
	command = { type = addcore which = 1564 }
	command = { type = addcore which = 1565 }
	command = { type = addcore which = 1566 }
	command = { type = addcore which = 1567 }
	command = { type = addcore which = 1807 }
	command = { type = addcore which = 1808 }
	command = { type = addcore which = 1817 }
	command = { type = addcore which = 1818 }
	command = { type = addcore which = 1820 }
	command = { type = addcore which = 1821 }
	command = { type = addcore which = 2005 }
	command = { type = stability value = 6 }
	}
}