#####     Manchu Major Events      #####
#                                      #
#     By Tom Rinschler                 #
#        Håvard Moe                    #
#        Joakim 'Greven' Bergqwist     #
#        Henrik Fåhraeus               #
#                                      #
########################################

#Nurhachi's Reforms#
event = {

	id = 3699
	random = no
	country = MCH
	name = "EVENTNAME3699"
	desc = "EVENTHIST3699"
	style = 2

	date = { day = 1 month = january year = 1584 }
	offset = 120
	deathdate = { day = 30 month = december year = 1584 }


	action_a ={				#Innovative Reform#
		name = "ACTIONNAME3699A"
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = domestic which = LAND value = 2 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = domestic which = INNOVATIVE value = 3 }
		command = { type = land value = 2000 }
		command = { type = infra value = 2000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Conservative Reform#
		name = "ACTIONNAME3699B"
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = ARISTOCRACY value = 5 }
		command = { type = domestic which = QUALITY value = -5 }
		command = { type = domestic which = LAND value = 5 }
		command = { type = domestic which = OFFENSIVE value = 5 }
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = land value = 2000 }
		command = { type = infra value = 2000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = stability value = 3  }
	}
}

#The Eastern Mongols Assimilated#
event = {

	id = 3700
	random = no
	country = MCH
	name = "EVENTNAME3700"
	desc = "EVENTHIST3700"
	style = 3

	date = { day = 1 month = january year = 1608 }
	offset = 120
	deathdate = { day = 30 month = december year = 1608 }

	action_a ={				#We are ready to attack#
		name = "ACTIONNAME3700A"
		command = { type = casusbelli which = CHI value = 1200 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = domestic which = LAND value = 5 }
		command = { type = domestic which = OFFENSIVE value = 5 }
		command = { type = INF which = -1 value = 25000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 25000 }
		command = { type = INF which = -1 value = 15000 }
		command = { type = CAV which = -3 value = 25000 }
		command = { type = INF which = -1 value = 25000 }
		command = { type = CAV which = -3 value = 15000 }
		command = { type = stability value = 3  }
		command = { type = addcore which = 647 }
		command = { type = addcore which = 648 }
		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 = 1544 }
		command = { type = addcore which = 1545 }
		command = { type = addcore which = 1553 }
		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 }
	}
}

#The Takeover of China#
event = {
	id =10015
	random = no
	country = MCH
	name = "EVENTNAME10015"
	desc = "EVENTHIST10015"
	style = 3
	
	#Triggered by CHI event 10014B#
	
	action_a = { #We accept their offer to unite with them#
		name = "ACTIONNAME10015A"
		command = { type = trigger   which = 10016 } # CHI
	}
	action_b = { #No, they will unite with us, not us with them#
		name = "ACTIONNAME10015B"
		command = { type = trigger   which = 10017 }
	}
}

#The Manchu takeover of China#
event = {
	id = 10018
	random = no
	country = MCH
	name = "EVENTNAME10018"
	desc = "EVENTHIST10018"
	style = 3
	
	#Triggered by CHI event 10017A#
	
	action_a ={#We are now the rulers of China!#
		name = "ACTIONNAME10018A"
		command = { type = inherit which = CHI }
		command = { type = revolt which = 653 }
		command = { type = revolt which = 654 }
		command = { type = revolt which = 655 }
		command = { type = revolt which = 656 }
		command = { type = revolt which = 657 }
		command = { type = revolt which = 658 }
		command = { type = revolt which = 659 }
		command = { type = revolt which = 660 }
		command = { type = revolt which = 661 }
		command = { type = revolt which = 689 }
	}
}



#The Manchu takeover of China#
event = {
	id = 10019
	random = no
	country = MCH
	name = "EVENTNAME10019"
	desc = "EVENTHIST10019"
	style = 3
	
	#Triggered by CHI event 10017B#
	
	action_a ={#Then they will be our vassals#
		name = "ACTIONNAME10019A"
		command = { type = vassal which = CHI }
		command = { type = relation which = CHI value = 400 }
	}
}

#The Manchu Army Reforms#
event = {
	id = 10020
	trigger = {
		owned   = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10020"
	desc = "EVENTHIST10020"
	style = 3
	
	date = { day = 1 month = january year = 1645 }
	offset = 300
	deathdate = { day = 1 month = january year = 1646 }
	
	action_a ={#Yes, reform the military, as the old Chinese ways are inferior#
		name = "ACTIONNAME10020A"
		command = { type = treasury   value = -500 }
		command = { type = land   value = 200 }
		command = { type = INF   which = -1 value = 5000 }
		command = { type = INF   which = -1 value = 5000 }
		command = { type = domestic   which = land value = 2 }
		command = { type = domestic   which = offensive value = 1 }
		command = { type = domestic   which = quality value = 1 }
		command = { type = stability   value = -1 }
	}
	action_b ={#Bah! What could such barbarians show the nation of Sun Tzu?#
		name = "ACTIONNAME10020B"
		command = { type = treasury   value = 200 }
		command = { type = stability   value = 1 }
		command = { type = land   value = -200 }
		command = { type = domestic   which =  offensive value = -2 }
	}
}

#The Manchu Advance#
event = {
	id = 10035
	trigger = {
		atwar = no
		exists = CHI
		NOT = { vassal   = { country = MCH country = CHI } 
			}
		}
	random = no
	country = MCH
	name = "EVENTNAME10035"
	desc = "EVENTHIST10035"
	style = 3
	
	date = { day = 1 month = june year = 1644 }
	offset = 300
	deathdate = { day = 1 month = january year = 1650 }
	
	action_a ={#Attack them now while they are weak!#
		name = "ACTIONNAME10035A"
		command = { type = war  which = CHI }
		command = { type = relation   which = CHI value = -100 }
		command = { type = stability   value = 3 }
	}
	action_b ={#No, we will leave them be#
		name = "ACTIONNAME10035B"
		command = { type = stability   value = -1 }
		command = { type = relation   which = CHI value = 100 }
	}
}

#The End of the Ming Rebellions in the South#
event = {
	id = 10021
	trigger = {
		owned   = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10021"
	desc = "EVENTHIST10021"
	style = 3
	
	date = { day = 1 month = january year = 1659 }
	offset = 300
	deathdate = { day = 1 month = january year = 1660 }
	
	action_a ={#Great!#
		name = "ACTIONNAME10021A"
		command = { type = stability value = 4 }
	}
}

#The Coastal Evacuation#
event = {
	id = 10022
	random = no
	country = MCH
	name = "EVENTNAME10022"
	desc = "EVENTHIST10022"
	style = 3
	
	date = { day = 1 month = january year = 1661 }
	offset = 300
	deathdate = { day = 1 month = january year = 1662 }
	
	action_a ={#Evacuate the coasts!#
		name = "ACTIONNAME10022A"
		command = { type = population which = 650 value = -20000 }
		command = { type = population which = 652 value = -20000 }
		command = { type = population which = 653 value = -20000 }
		command = { type = population which = 655 value = -20000 }
		command = { type = population which = 656 value = -20000 }
		command = { type = population which = 657 value = -20000 }
		command = { type = population which = 658 value = -20000 }
		command = { type = population which = 659 value = -20000 }
		command = { type = population which = 660 value = -20000 }
		command = { type = population which = 1555 value = 20000 }
		command = { type = population which = 1562 value = 20000 }
		command = { type = population which = 1563 value = 20000 }
		command = { type = population which = 1564 value = 20000 }
		command = { type = population which = 1565 value = 20000 }
		command = { type = population which = 1566 value = 20000 }
		command = { type = population which = 1567 value = 20000 }
		command = { type = population which = 651 value = 20000 }
		command = { type = population which = 654 value = 20000 }
		command = { type = treasury value = -500 }
	}
	action_b ={#This would cause too much disruption.  Let the pirates pillage!#
		name = "ACTIONNAME10022B"
		command = { type = stability value = -3 }
		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 = 655 value = -5000 }
		command = { type = population which = 656 value = -5000 }
		command = { type = population which = 657 value = -5000 }
		command = { type = population which = 658 value = -5000 }
		command = { type = population which = 659 value = -5000 }
		command = { type = population which = 660 value = -5000 }
		command = { type = provincetax which = 650 value = -3 }
		command = { type = provincetax which = 652 value = -3 }
		command = { type = provincetax which = 653 value = -3 }
		command = { type = provincetax which = 655 value = -3 }
		command = { type = provincetax which = 656 value = -3 }
		command = { type = provincetax which = 657 value = -3 }
		command = { type = provincetax which = 658 value = -3 }
		command = { type = provincetax which = 659 value = -3 }
		command = { type = provincetax which = 660 value = -3 }
	}
}

#The Revolt of the Three Feudatories#
event = {
	id = 10023
	random = no
	country = MCH
	name = "EVENTNAME10023"
	desc = "EVENTHIST10023"
	style = 3
	
	date = { day = 1 month = january year = 1674 }
	offset = 300
	deathdate = { day = 1 month = january year = 1675 }
	
	action_a ={#Let them revolt#
		name = "ACTIONNAME10023A"
		command = { type = revoltrisk   which = 84 value = 10 }
		command = { type = stability   value = -5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
	action_b ={#Accede to their demands#
		name = "ACTIONNAME10023B"
		command = { type = stability   value = -2 }
		command = { type = revoltrisk   which = 84 value = 5 }
		command = { type = domestic   which = centralization value = -4 }
		command = { type = treasury   value = -1200 }
	}
}


#The Empire of China#
event = {
	id = 10024
	trigger = {
		NOT = { exists = CHI }
		owned   = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10024"
	desc = "EVENTHIST10024"
	style = 3
	
	date = { day = 1 month = january year = 1683 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }
	
	action_a ={#We are China!#
		name = "ACTIONNAME10024A"
		command = { type = country which = CHI }
		command = { type = stability value = 3 }
		command = { type = revolt which = 689 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = add_countryculture which = cantonese }
	}
	action_b ={#No, we will remain as the Manchu#
		name = "ACTIONNAME10024B"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 84 value = 2 }
		command = { type = land value = 500 }
		command = { type = domestic which = land value = 2 }
		command = { type = domestic which = offensive value = 1 }
	}
}

#The End of the Ming Dynasty#
event = {
	id = 10027
	random = no
	country = MCH
	name = "EVENTNAME10027"
	desc = "EVENTHIST10027"
	style = 3

	#Triggered by CHI event 10026A#
	
	action_a ={#Great!#
		name = "ACTIONNAME10027A"
		command = { type = inherit which = CHI }
	}
}

#The Move to Beijing#
event = {
    id = 10028
    trigger = {
        owned = { province = 649 data = -1 }
        exists = CHI
    }
    random = no
    country = MCH
    name = "EVENTNAME10028"
    desc = "EVENTHIST10028"
    style = 3
    date = { day = 1 month = may year = 1644 }
    offset = 30
    deathdate = { day = 1 month = june year = 1644 }

    action_a ={ # Yes, let us move to the Chinese capital!#
        name = "ACTIONNAME10028A"
        command = { type = capital which = 649 }
        command = { type = treasury   value =  -100 }
        command = { type = stability value = -2 }
        command = { type = domestic which = centralization  value = 1 }
    }
    action_b ={ #No, we will remain in our old capital#
        name = "ACTIONNAME10028B"
        command = { type = domestic which = centralization  value = -1 }
        command = { type = stability value = 1 }
    }
}

#The Expulsion of the Jesuits#
event = {
	id = 10029
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10029"
	desc = "EVENTHIST10029"
	style = 4
	
	date = { day = 1 month = january year = 1722 }
	offset = 300
	deathdate = { day = 1 month = january year = 1723 }
	
	action_a ={#Expel them!#
		name = "ACTIONNAME10029A"
		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 }
	}
	action_b ={#No, they are too valuable#
		name = "ACTIONNAME10029B"
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = -3 }
	}
}

#The Appointment of Heshen#
event = {
	id = 10030
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10030"
	desc = "EVENTHIST10030"
	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 = "ACTIONNAME10030A"
		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 = "ACTIONNAME10030B"
		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 = 10031
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10031"
	desc = "EVENTHIST10031"
	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 = "ACTIONNAME10031A"
		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 = "ACTIONNAME10031B"
		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 = 10032
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10032"
	desc = "EVENTHIST10032"
	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 = "ACTIONNAME10032A"
		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 = "ACTIONNAME10032B"
		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 = 10033
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10033"
	desc = "EVENTHIST10033"
	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 = "ACTIONNAME10033A"
		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 = "ACTIONNAME10033B"
		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 = 10434
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10434"
	desc = "EVENTHIST10434"
	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 = "ACTIONNAME10434A"
		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 = "ACTIONNAME10434B"
		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 }
	}
}