#Manchus (MCH)

#-----------------------------------------------------------------------------------------------

#(1584) Nurhachi's Reforms
event = {
	id = 3699
	random = no
	country = MCH
	name = "EVENTNAME3699" #Nurhachi's Reforms
	desc = "EVENTHIST3699"
	#-#In 1584, the Khan Nurchachi managed to unite all the Tungusian tribes, the so-called Kin-Tungus, later known as Manchus. He also reformed government, administration and the judicial system with China as model. Nurhachi also invented the written Manchurian language.

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

	action_a = {
		name = "ACTIONNAME3699A" #Innovative Reform
		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 = {
		name = "ACTIONNAME3699B" #Conservative Reform
		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 }
	}
}

#(1608-1629) The Eastern Mongols Assimilated
event = {
	id = 3700
	trigger = {
		exists = CHI
	}
	random = no
	country = MCH
	name = "EVENTNAME3700" #The Eastern Mongols Assimilated
	desc = "EVENTHIST3700"
	#-#Several large Eastern Mongol tribes unite under Nurchachi and his number of 'flags' (armies) increases from four to eight. It is now that he set his goal to conquer China. In 1616 he take the title 'Kin-Khan' to show that his people descend from the Kin-Tungus. He also takes the name 'Aisin Giorin (Golden tribe). In 1625 he attacked China, a development that ultimately ended in a total Manchurian victory.

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

	action_a = {
		trigger = {
			    NOT = { vassal = { country = CHI country = MCH } }
		}
		name = "ACTIONNAME3700A" #We are ready to attack
		command = { type = relation which = CHI value = -150 }
		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_claim which = 645 } #Johol
		command = { type = cityname which = 645 value = "Tongliao" }
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
	}
	action_b = {
		trigger = {
			    vassal = { country = CHI country = MCH }
		}
		name = "ACTIONNAME3700A" #We are ready to attack
		command = { type = breakvassal which = CHI }
		command = { type = relation which = CHI value = -300 }
		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 = 6 }
		command = { type = addcore_claim which = 645 } #Johol
		command = { type = cityname which = 645 value = "Tongliao" }
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
	}
}

#(1621-1644) Moving the capital to Liaoning?
#by ConjurerDragon
event = {
	id = 221011
	trigger = {
		owned = { province = 646 data = -1 }
		control = { province = 646 data = -1 }
		capital = 643 #Jilin MCH has not already moved capital to Beijing
	}
	random = no
	country = MCH
	name = "EVENTNAME221011" #Moving the capital to Liaoning?
	desc = "EVENTHIST221011"
	#-#After gaining control of Liaoning, the Manchus determined that it would be the best place from which to assemble their armies for further battles with the Ming.

	date = { year = 1621 }
	offset = 30
	deathdate = { year = 1644 }

	action_a = {
		name = "ACTIONNAME10028A" #Yes,let us move the capital!
		command = { type = capital which = 646 } #Liaoning
		command = { type = treasury value = -10 }
		command = { type = stability value = -1 }
        command = { type = addcore_national which = 650 } #Shandong
		command = { type = addcore_national which = 651 } #Jinan
		command = { type = addcore_national which = 652 } #Jiangsu
		command = { type = addcore_claim which = 653 } #Shanghai
		command = { type = addcore_claim which = 654 } #Anhui
		command = { type = addcore_claim which = 655 } #Zhejiang
		command = { type = addcore_claim which = 656 } #Fujian
		command = { type = addcore_claim which = 657 } #Kowloon
		command = { type = addcore_claim which = 658 } #Guangzhou
		command = { type = addcore_claim which = 659 } #Guangdong
		command = { type = addcore_claim which = 660 } #Hainan
		command = { type = addcore_claim which = 661 } #Guangxi
		command = { type = addcore_national which = 1553 } #Yunnan
		command = { type = addcore_national which = 1555 } #Wenshan
		command = { type = addcore_national which = 1556 } #Guizhou
		command = { type = addcore_national which = 1557 } #Sichuan Pendi
		command = { type = addcore_national which = 1558 } #Lanzhou
		command = { type = addcore_national which = 1559 } #Xining
		command = { type = addcore_national which = 1560 } #Ningxia
		command = { type = addcore_national which = 1561 } #Hohhot
		command = { type = addcore_national which = 1562 } #Shanxi
		command = { type = addcore_national which = 1563 } #Shaanxi
		command = { type = addcore_national which = 1564 } #Henan
		command = { type = addcore_national which = 1565 } #Hubei
		command = { type = addcore_national which = 1566 } #Hunan
		command = { type = addcore_national which = 1567 } #Nanchang
		command = { type = addcore_national which = 1608 } #Qilian Pendi
			}
	action_b = {
		name = "ACTIONNAME10028B" #No, we will remain in our old capital
		command = { type = domestic which = centralization value = -1 }
		command = { type = stability value = 1 }
	}
}

#(1627-1630) Submission of Korea
event = {
	id = 221006
	trigger = {
		event = 204007 #KOR: The Manchu advance
	}
	random = no
	country = MCH
	name = "EVENTNAME221006" #Submission of Korea
	desc = "EVENTHIST204007"
	#-#As the Manchu continued to advance and the Ming dynasty looked doomed, they suddenly crossed the Yalu. Manchu demanded that Korea stop supporting the Ming.

	date = { day = 1 month = january year = 1627 }
	offset = 20
	deathdate = { day = 1 month = january year = 1630 }

	action_a = {
		name = "OK"
		command = { type = relation which = KOR value = 200 }
		command = { type = vassal which = KOR }
	}
}
#(1627-1629) Eyes on Chosin
event = {
	id = 221007 #triggered by KOR_204007 B
	random = no
	country = MCH
	name = "EVENTNAME221007" #Eyes on Chosin
	desc = "EVENTHIST204007"
	#-#As the Manchu continued to advance and the Ming dynasty looked doomed, they suddenly crossed the Yalu. Manchu demanded that Korea stop supporting the Ming.

	action_a = {
		name = "ACTIONNAME221007A" #They will pay
		command = { type = relation which = KOR value = -300 }
		command = { type = addcore which = 641 } #Kyongju
		command = { type = addcore which = 642 } #Yalu
		command = { type = war which = KOR }
	}
}

#(1644) The Move to Beijing
event = {
	id = 10028
	trigger = {
		owned = { province = 649 data = -1 }
		control = { province = 649 data = -1 }
		exists = CHI
	}
	random = no
	country = MCH
	name = "EVENTNAME10028" #The Move to Beijing
	desc = "EVENTHIST10028"
	#-#Now that the we have gained control of northern China, it would seem that the most reasonable place to rule our expanded realm would be from the Chinese capital of Beijing. What shall we do?

	date = { day = 1 month = may year = 1644 }
	offset = 30
	deathdate = { day = 1 month = june year = 1644 }

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

#(1644-1650) The Manchu Advance
event = {
	id = 10035
	trigger = {
		atwar = no
		exists = CHI
		NOT = { vassal = { country = MCH country = CHI } }
	}
	random = no
	country = MCH
	name = "EVENTNAME10035" #The Manchu Advance
	desc = "EVENTHIST10035"
	#-#Although we are now at peace with China, it is obvious that they are a nation in the process of disintegration. Surely it would be wise to attack them while they are so weak and make even more spectacular advances!

	date = { day = 1 month = june year = 1644 }
	offset = 300
	deathdate = { day = 1 month = january year = 1650 }

	action_a = {
		name = "ACTIONNAME10035A" #Attack them now while they are weak!
		command = { type = war which = CHI }
		command = { type = relation which = CHI value = -100 }
		command = { type = stability value = 3 }
	}
	action_b = {
		name = "ACTIONNAME10035B" #No, we will leave them be
		command = { type = stability value = -1 }
		command = { type = relation which = CHI value = 100 }
	}
}

#(1644) The Takeover of China
event = {
	id = 10015 #triggered by CHI_10014 B
	random = no
	country = MCH
	name = "EVENTNAME10015" #The Takeover of China
	desc = "EVENTHIST10015"
	#-#Wonderful news! The people of China have revolted against their present dynasty and they have opened the gates of their capital to us! Their officials are offering to merge our two governments. However, it would seem likely that if we were to do this, they would be the ones in real control, so there is danger in accepting their offer unconditionally. Maybe we should rule the two states separately, with China being our vassal, or maybe we should make it clear who will really rule if the nations unite. What shall be our choice?

	action_a = {
		name = "ACTIONNAME10015A" #We accept their offer to unite with them (End Game)
		command = { type = trigger which = 10016 } #CHI: The Manchu Takeover of China
	}
	action_b = {
		name = "ACTIONNAME10015B" #No, they will unite with us, not us with them
		command = { type = trigger which = 10017 } #CHI: The Manchu Takeover of China
	}
}
#(1644) The Manchu takeover of China
event = {
	id = 10018 #triggered by CHI_10017 A
	random = no
	country = MCH
	name = "EVENTNAME10018" #The Manchu Takeover of China
	desc = "EVENTHIST10018"
	#-#Wonderful news! The Chinese have accepted our offer, although it wold seem likely that many in the south would still prefer the old Ming Dynasty, which will likely result in instability in those areas.

	action_a = {
		name = "ACTIONNAME10018A" #We are now the rulers of China!
		command = { type = annex which = CHI }
	}
}
#(1644) The Manchu takeover of China
event = {
	id = 10019 #triggered by CHI_10017 B
	random = no
	country = MCH
	name = "EVENTNAME10019" #The Manchu Takeover of China
	desc = "EVENTHIST10019"
	#-#The Chinese have rejected the possibility of our complete control of their nation.

	action_a = {
		name = "ACTIONNAME10019A" #Then they will be our vassals.
		command = { type = vassal which = CHI }
		command = { type = relation which = CHI value = 400 }
	}
}
#(1644-1820) Claiming the Imperial Throne
event = {
	id = 221000
	trigger = {
		OR = {
			AND = {
				control = { province = 649 data = -1 } #Hebei
				control = { province = 650 data = -1 } #Shandong
				control = { province = 651 data = -1 } #Jinan
				control = { province = 652 data = -1 } #Jiangsu
				control = { province = 653 data = -1 } #Shanghai
				control = { province = 654 data = -1 } #Anhui
				control = { province = 655 data = -1 } #Zhejiang
				control = { province = 1562 data = -1 } #Shanxi
				control = { province = 1563 data = -1 } #Shaanxi
				control = { province = 1564 data = -1 } #Henan
				control = { province = 1565 data = -1 } #Hubei
				control = { province = 1567 data = -1 } #Nanchang
				countrysize = 16
			}
			AND = {
				owned = { province = 649 data = -1 } #Hebei
				control = { province = 649 data = -1 } #Hebei
				countrysize = 35
			}
		}
		exists = CHI
	}
	random = no
	country = MCH
	name = "EVENTNAME221000" #Claiming the Imperial Throne
	desc = "EVENTHIST221000"
	#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Manchu nation declares himself the new legitimate Emperor of China.

	date = { day = 26 month = april year = 1644 }
	offset = 30
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME221000A" #A new Emperor?
		command = { type = vp value = 200 }
	}
}
#(1644-1820) The Imperial Throne
event = {
	id = 221001 #triggered by CHI_147127
	random = no
	country = MCH
	name = "EVENTNAME221001" #The Imperial Throne
	desc = "EVENTHIST221001"
	#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Manchu nation becomes the new legitimate Emperor of China.

	action_a = {
		name = "ACTIONNAME221001A" #Long live the Emperor!
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = add_countryculture which = han }
		command = { type = add_countryculture which = zhuang }
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
		command = { type = trigger which = 147135 } #CHI: The Qing dynasty in China
	}
}
#(1644-1820) The Imperial Throne
event = {
	id = 221008 #triggered by SMI_317012
	random = no
	country = MCH
	name = "EVENTNAME221001" #The Imperial Throne
	desc = "EVENTHIST221001"
	#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Manchu nation becomes the new legitimate Emperor of China.

	action_a = {
		name = "ACTIONNAME221001A" #Long live the Emperor!
		command = { type = inherit which = SMI }
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		command = { type = add_countryculture which = han }
		command = { type = add_countryculture which = zhuang }
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
		command = { type = trigger which = 221010 } #MCH: A new dynasty for China
	}
}
#(1644-1820) A new dynasty for China
event = {
	id = 221010 #triggered by MCH_221008
	random = no
	country = MCH
	name = "EVENTNAME221010" #A new dynasty for China
	desc = "EVENTHIST221001"
	#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Manchu nation becomes the new legitimate Emperor of China.

	action_a = {
		name = "ACTIONNAME221001A" #Long live the Emperor!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = trigger which = 147135 } #CHI: The Qing dynasty in China
	}
}

#(1645) The Manchu Army Reforms
event = {
	id = 10020
	trigger = { owned = { province = 649 data = -1 } }
	random = no
	country = MCH
	name = "EVENTNAME10020" #The Manchu Army Reforms
	desc = "EVENTHIST10020"
	#-#Now that the Manchu are firmly in control of northern China, it may now be time to use Manchu military expertise to reform the old Chinese army. However, this will likely be expensive and many in the military will resent such an attempt. What shall we do?

	date = { day = 1 month = january year = 1645 }
	offset = 300
	deathdate = { day = 1 month = january year = 1646 }

	action_a = {
		name = "ACTIONNAME10020A" #Yes, reform the military, as the old Chinese ways are inferior
		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 = {
		name = "ACTIONNAME10020B" #Bah! What could barbarians teach the nation of Sun Tzu?
		command = { type = treasury value = 200 }
		command = { type = stability value = 1 }
		command = { type = land value = -200 }
		command = { type = domestic which = offensive value = -2 }
	}
}

#(1661) The Coastal Evacuation
event = {
	id = 10022
	trigger = {
		exists = CHI
		OR = {
			owned = { province = 650 data = -1 } #Shandong
			owned = { province = 652 data = -1 } #Jiangsu
			owned = { province = 653 data = -1 } #Shanghai
			owned = { province = 655 data = -1 } #Zhejiang
			owned = { province = 656 data = -1 } #Fujian
			owned = { province = 657 data = -1 } #Kowloon
			owned = { province = 659 data = -1 } #Guangdong
			owned = { province = 660 data = -1 } #Hainan
		}
	}
	random = no
	country = MCH
	name = "EVENTNAME10022" #The Coastal Evacuation
	desc = "EVENTHIST10022"
	#-#Pirates under the rogue Ming pretender Koxinga and others have so ravaged our coasts that it is widely believed that wholesale evacuations from coastal provinces might be the only solution. Of course, this will vastly depopulate those provinces, but the pillaging by pirates may be worse in the long run. What shall we do?

	date = { day = 1 month = january year = 1661 }
	offset = 300
	deathdate = { day = 29 month = december year = 1661 }

	action_a = {
		name = "ACTIONNAME10022A" #Evacuate the coasts!
		command = { type = population which = 650 value = -20000 } #Shandong
		command = { type = population which = 652 value = -20000 } #Jiangsu
		command = { type = population which = 653 value = -20000 } #Shanghai
		command = { type = population which = 655 value = -20000 } #Zhejiang
		command = { type = population which = 656 value = -20000 } #Fujian
		command = { type = population which = 657 value = -20000 } #Kowloon
		command = { type = population which = 659 value = -20000 } #Guangdong
		command = { type = population which = 660 value = -20000 } #Hainan
		command = { type = population which = 1555 value = 20000 } #Wenshan
		command = { type = population which = 1562 value = 20000 } #Shanxi
		command = { type = population which = 1564 value = 20000 } #Henan
		command = { type = population which = 1565 value = 20000 } #Hubei
		command = { type = population which = 1566 value = 20000 } #Hunan
		command = { type = population which = 1567 value = 20000 } #Nanchang
		command = { type = population which = 651 value = 20000 } #Jinan
		command = { type = population which = 654 value = 20000 } #Anhui
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "ACTIONNAME10022B" #Let the pirates pillage!
		command = { type = stability value = -3 }
		command = { type = population which = 650 value = -5000 } #Shandong
		command = { type = population which = 652 value = -5000 } #Jiangsu
		command = { type = population which = 653 value = -5000 } #Shanghai
		command = { type = population which = 655 value = -5000 } #Zhejiang
		command = { type = population which = 656 value = -5000 } #Fujian
		command = { type = population which = 657 value = -5000 } #Kowloon
		command = { type = population which = 659 value = -5000 } #Guangdong
		command = { type = population which = 660 value = -5000 } #Hainan
		command = { type = provincetax which = 650 value = -3 } #Shandong
		command = { type = provincetax which = 652 value = -3 } #Jiangsu
		command = { type = provincetax which = 653 value = -3 } #Shanghai
		command = { type = provincetax which = 655 value = -3 } #Zhejiang
		command = { type = provincetax which = 656 value = -3 } #Fujian
		command = { type = provincetax which = 657 value = -3 } #Kowloon
		command = { type = provincetax which = 659 value = -3 } #Guangdong
		command = { type = provincetax which = 660 value = -3 } #Hainan
	}
}

#(1672-1721) Kiangxi is ready to take to the field of battle
event = {
	id = 221009
	trigger = {
		NOT = {
			event = 10043 #CHI: The Qing Dynasty
			event = 221001 #MCH: The Imperial Throne
			event = 10027 #MCH: The End of the Ming Dynasty
			event = 221008 #MCH: The Imperial Throne
		}
		NOT = {
			leader = 032327 #Kiangxi (CHI)
		}
	}
	random = no
	country = MCH
	name = "EVENTNAME147062" #Kiangxi is ready to take to the field of battle
	desc = "EVENTHIST221009"
	#-#The Emperor is ready to command in battle.

	date = { day = 1 month = january year = 1672 }
	offset = 1
	deathdate = { day = 29 month = december year = 1721 }

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 084303 } #Kiangxi (MCH)
	}
}

#(1683) The End of the Ming Dynasty
event = {
	id = 10027 #triggered by CHI_10026 A
	random = no
	country = MCH
	name = "EVENTNAME10027" #The End of the Ming Dynasty
	desc = "EVENTHIST10027"
	#-#The last of the Ming pretenders has fled and the remnant Chinese forces in the south are offering to surrender to us unconditionally!

	action_a = {
		name = "GREAT"
		command = { type = annex which = CHI }
	}
}
#(1683-1820) The Empire of China
event = {
	id = 10024
	trigger = {
		NOT = { exists = CHI }
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10024" #The Empire of China
	desc = "EVENTHIST10024"
	#-#The native forces of China have now been totally defeated. However, the name of China still holds much prestige in the minds of our subjects and neighbors. Now that we reign supreme, perhaps it would be wise to take up the name of the old empire and make it our own. Should we take up the mantle of the Chinese Empire?

	date = { day = 1 month = january year = 1683 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
		name = "ACTIONNAME10024A" #We are China!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = stability value = 3 }
		command = { type = revolt which = 689 } #Taiwan
		command = { type = domestic which = centralization value = 2 }
		command = { type = add_countryculture which = han }
		command = { type = add_countryculture which = zhuang }
		command = { type = trigger which = 147135 } #CHI: The Qing dynasty in China
	}
	action_b = {
		name = "ACTIONNAME10024B" #No, we will remain as the Manchu
		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 }
		command = { type = sleepevent which = 221000 } #MCH: Claiming the Imperial Throne
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
	}
}
#(1683-1820) Claiming the Imperial Throne
#possible for a Manchu revolter only
event = {
	id = 221002
	trigger = {
		owned = { province = 649 data = -1 } #Hebei
		owned = { province = 650 data = -1 } #Shandong
		owned = { province = 651 data = -1 } #Jinan
		owned = { province = 652 data = -1 } #Jiangsu
		owned = { province = 653 data = -1 } #Shanghai
		owned = { province = 654 data = -1 } #Anhui
		owned = { province = 655 data = -1 } #Zhejiang
		owned = { province = 1562 data = -1 } #Shanxi
		owned = { province = 1563 data = -1 } #Shaanxi
		owned = { province = 1564 data = -1 } #Henan
		owned = { province = 1565 data = -1 } #Hubei
		owned = { province = 1567 data = -1 } #Nanchang
		control = { province = 649 data = -1 } #Hebei
		NOT = { exists = CHI }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME221002" #Claiming the Imperial Throne
	desc = "EVENTHIST221002"
	#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Manchu nation declares himself the new legitimate Emperor of China.

	date = { day = 1 month = january year = 1683 }
	offset = 1
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME221002A" #Long live the Emperor!
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = add_countryculture which = han }
		command = { type = add_countryculture which = zhuang }
		command = { type = trigger which = 147135 } #CHI: The Qing dynasty in China
	}
}

#(1704) Ancestor worship is filial piety
event = {
	id = 221003 #triggered by PAP_251012 B / MUS_236001 B
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME147047" #Ancestor worship is filial piety
	desc = "EVENTHIST147047"
	#-#On several occasions since 1645, the Jesuit missionaries in China were criticized because they were letting their converts worship their ancestors. The Jesuits explained that it was only a courtesy and an act of filial piety that was facilitating the acceptation of the Christianity in the very traditional Chinese society. Surprisingly, in 1704, Rome officially declares ancestor worship to be filial piety.

	action_a = {
		name = "OK"
		command = { type = infra value = 100 }
	}
}

#(1722) The Expulsion of the Jesuits
event = {
	id = 10029
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10029" #The Expulsion of the Jesuits
	desc = "EVENTHIST10029"
	#-#Due to recent events, it now seems that the Jesuits may have outlived their usefulness. Although their knowledge is great, it is foreign to us and sometimes causes much commotion among our scholars and the common folk, disrupting the stability of our realm. They have been for decades interfering in the internal affairs of our nation - the final straw was their meddling in the recent succession. Perhaps it is time for them to go.

	date = { day = 1 month = january year = 1722 }
	offset = 300
	deathdate = { day = 1 month = january year = 1723 }

	action_a = {
		name = "ACTIONNAME10029A" #Expel them!
		command = { type = technology which = african }
		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 = {
		name = "ACTIONNAME10029B" #No, they are too valuable!
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = -3 }
	}
}

#(1723) Jesuits stay for long
event = {
	id = 221004
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
		event = 221003 #MCH: Ancestor worship is filial piety
	}
	random = no
	country = SMI
	name = "EVENTNAME147048" #Effects of Jesuit missionaries on society
	desc = "EVENTHIST147048"
	#-#With more and more conversions in Chinese Elite, society is changing...

	date = { day = 1 month = january year = 1723 }
	offset = 300
	deathdate = { day = 1 month = january year = 1724 }

	action_a = {
		name = "OH_WELL"
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = -1 }
	}
}

#(1770) The Appointment of Heshen
event = {
	id = 10030
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10030" #The Appointment of Heshen
	desc = "EVENTHIST10030"
	#-#An up-and-coming minister has recently come to our attention. His name is Heshen, and he is certainly wise in the ways of diplomacy and administration. However, rumor has it that he is also grossly corrupt, mixing his political excellence with greed and favoritism. Should we make him our chief minister?

	date = { day = 1 month = july year = 1770 }
	offset = 150
	deathdate = { day = 1 month = january year = 1771 }

	action_a = {
		name = "ACTIONNAME10030A" #Appoint him despite his faults!
		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 = 8 }
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "ACTIONNAME10030B" #No, such corruption could ruin the state!
		command = { type = domestic which = centralization value = -2 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = stability value = -3 }
	}
}

#(1793) Lord Macartney's Mission
event = {
	id = 10031
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10031" #Lord Macartney's Mission
	desc = "EVENTHIST10031"
	#-#Reports have reached us that a diplomatic mission has arrived on our shores from the far-off western barbarian nation of England, led by a certain Lord Macartney. He is said to bring with him the friendly greetings of his King, ideas for facilitating the trade between our nations, and various mechanical wonders. Shall receive this mission?

	date = { day = 1 month = october year = 1793 }
	offset = 30
	deathdate = { day = 1 month = november year = 1793 }

	action_a = {
		name = "ACTIONNAME10031A" #Reject the overtures of these rude western devils!
		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 = {
		name = "ACTIONNAME10031B" #We are interested in hearing their ideas
		command = { type = relation which = ENG value = 100 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = trade value = 500 }
		command = { type = stability value = -3 }
	}
}

#(1796) The White Lotus Rebellion
event = {
	id = 10032
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10032" #The White Lotus Rebellion
	desc = "EVENTHIST10032"
	#-#Widespread rumors seem to indicate that the Cult of the White Lotus, a secret revolutionary society, is planning rebellion. What shall we do?

	date = { day = 1 month = january year = 1796 }
	offset = 300
	deathdate = { day = 1 month = january year = 1797 }

	action_a = {
		name = "ACTIONNAME10032A" #It's likely just harmless talk
		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 = {
		name = "ACTIONNAME10032B" #Crush these plotters!
		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 }
	}
}

#(1811) The Celestial Order Rebellion
event = {
	id = 10033
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10033" #The Celestial Order Rebellion
	desc = "EVENTHIST10033"
	#-#Widespread rumors seem to indicate that the Cult of the Celestial Order, a secret revolutionary society, is planning rebellion. What shall we do?

	date = { day = 1 month = january year = 1811 }
	offset = 300
	deathdate = { day = 1 month = january year = 1812 }

	action_a = {
		name = "ACTIONNAME10033A" #It's likely just harmless talk
		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 = {
		name = "ACTIONNAME10033B" #Crush these plotters!
		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 }
	}
}

#(1813) The Eight Trigrams Rebellion
event = {
	id = 10434
	trigger = {
		owned = { province = 649 data = -1 }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10434" #The Eight Trigrams Rebellion
	desc = "EVENTHIST10434"
	#-#Widespread rumors seem to indicate that the Cult of the Eight Trigrams, a secret revolutionary society, is planning rebellion. What shall we do?

	date = { day = 18 month = october year = 1813 }
	offset = 1
	deathdate = { day = 19 month = october year = 1813 }

	action_a = {
		name = "ACTIONNAME10434A" #It's likely just harmless talk
		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 = {
		name = "ACTIONNAME10434B" #Crush these plotters!
		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 }
	}
}

#-----------------------------------------------------------------------------------------------

#First free id: 221012
