#Chung Kuo - China (CHI)

#-----------------------------------------------------------------------------------------------
#(1419-1820) The Treaty of Nerchiinsk

#Version 1
event = {
	id = 21650
	trigger = {
		neighbour = RUS
		NOT = {
			exists = MCH
			war = { country = RUS country = CHI }
		}
		OR = {
			control = { province = 605 data = RUS } #Tchita
			control = { province = 606 data = RUS } #Kalakan
			control = { province = 607 data = RUS } #Sretensk
			control = { province = 608 data = RUS } #Kalar
			control = { province = 609 data = RUS } #Mogotcha
			control = { province = 610 data = RUS } #Djagdi
			control = { province = 611 data = RUS } #Chilka
		}
		NOT = {
			control = { province = 612 data = RUS } #Stanovoe
			control = { province = 613 data = RUS } #Baladok
			control = { province = 623 data = RUS } #Tchumkan
			control = { province = 631 data = RUS } #Ekimcan
			control = { province = 632 data = RUS } #Nerchiinsk
			control = { province = 1467 data = RUS } #Nagorje
			control = { province = 1468 data = RUS } #Khretset
			#
			control = { province = 614 data = RUS } #Djugdjur
			control = { province = 615 data = RUS } #Enkan
			control = { province = 616 data = RUS } #Okhotsk
			control = { province = 617 data = RUS } #Magadan
			control = { province = 624 data = RUS } #Amgoun
			control = { province = 627 data = RUS } #Sofiisk
			control = { province = 629 data = RUS } #Tchekunda
			control = { province = 630 data = RUS } #Boureia
			control = { province = 633 data = RUS } #Norsk
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME21650" #Initiating the Treaty of Nerchiinsk
	desc = "EVENTHIST21650"
	#-#The Russians are sneaking into our borders with suspicious intents. Should we offer them a treaty to make clear our respective borders?

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

	action_a = {
		name = "ACTIONNAME21650A" #Yes, we need to clarify the issue
		command = { type = trigger which = 3421 } #RUS: The Treaty of Nerchiinsk
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = diplomats value = -2 }
		command = { type = vp value = 20 }
		command = { type = DIP which = 2 value = 180 }
		command = { type = sleepevent which = 21651 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21652 } #CHI: Initiating the Treaty of Nerchiinsk
	}
	action_b = {
		name = "ACTIONNAME21650B" #No, it will be a waste of our efforts to deal with the untrustworthy Russians
		command = { type = relation which = RUS value = -100 }
		command = { type = casusbelli which = RUS value = 100 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = vp value = -20 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 21651 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21652 } #CHI: Initiating the Treaty of Nerchiinsk
	}
}
#Version 2
event = {
	id = 21651
	trigger = {
		neighbour = RUS
		NOT = {
			exists = MCH
			war = { country = RUS country = CHI }
		}
		OR = {
			control = { province = 605 data = RUS } #Tchita
			control = { province = 606 data = RUS } #Kalakan
			control = { province = 607 data = RUS } #Sretensk
			control = { province = 608 data = RUS } #Kalar
			control = { province = 609 data = RUS } #Mogotcha
			control = { province = 610 data = RUS } #Djagdi
			control = { province = 611 data = RUS } #Chilka
		}
		OR = {
			control = { province = 612 data = RUS } #Stanovoe
			control = { province = 613 data = RUS } #Baladok
			control = { province = 623 data = RUS } #Tchumkan
			control = { province = 631 data = RUS } #Ekimcan
			control = { province = 632 data = RUS } #Nerchiinsk
			control = { province = 1467 data = RUS } #Nagorje
			control = { province = 1468 data = RUS } #Khretset
		}
		NOT = {
				control = { province = 614 data = RUS } #Djugdjur
				control = { province = 615 data = RUS } #Enkan
				control = { province = 616 data = RUS } #Okhotsk
				control = { province = 617 data = RUS } #Magadan
				control = { province = 624 data = RUS } #Amgoun
				control = { province = 627 data = RUS } #Sofiisk
				control = { province = 629 data = RUS } #Tchekunda
				control = { province = 630 data = RUS } #Boureia
				control = { province = 633 data = RUS } #Norsk
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME21650" #Initiating the Treaty of Nerchiinsk
	desc = "EVENTHIST21650"
	#-#The Russians are sneaking into our borders with suspicious intents. Should we offer them a treaty to make clear our respective borders?

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

	action_a = {
		name = "ACTIONNAME21650A" #Yes, we need to clarify the issue
		command = { type = trigger which = 21653 } #RUS: The Treaty of Nerchiinsk
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = diplomats value = -2 }
		command = { type = vp value = 20 }
		command = { type = DIP which = 2 value = 180 }
		command = { type = sleepevent which = 21650 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21652 } #CHI: Initiating the Treaty of Nerchiinsk
	}
	action_b = {
		name = "ACTIONNAME21650B" #No, it will be a waste of our efforts to deal with the untrustworthy Russians
		command = { type = relation which = RUS value = -100 }
		command = { type = casusbelli which = RUS value = 100 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = vp value = -20 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 21650 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21652 } #CHI: Initiating the Treaty of Nerchiinsk
	}
}
#Version 3
event = {
	id = 21652
	trigger = {
		neighbour = RUS
		NOT = {
			exists = MCH
			war = { country = RUS country = CHI }
		}
		OR = {
			control = { province = 605 data = RUS } #Tchita
			control = { province = 606 data = RUS } #Kalakan
			control = { province = 607 data = RUS } #Sretensk
			control = { province = 608 data = RUS } #Kalar
			control = { province = 609 data = RUS } #Mogotcha
			control = { province = 610 data = RUS } #Djagdi
			control = { province = 611 data = RUS } #Chilka
		}
		OR = {
			control = { province = 614 data = RUS } #Djugdjur
			control = { province = 615 data = RUS } #Enkan
			control = { province = 616 data = RUS } #Okhotsk
			control = { province = 617 data = RUS } #Magadan
			control = { province = 624 data = RUS } #Amgoun
			control = { province = 627 data = RUS } #Sofiisk
			control = { province = 629 data = RUS } #Tchekunda
			control = { province = 630 data = RUS } #Boureia
			control = { province = 633 data = RUS } #Norsk
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME21650" #Initiating the Treaty of Nerchiinsk
	desc = "EVENTHIST21650"
	#-#The Russians are sneaking into our borders with suspicious intents. Should we offer them a treaty to make clear our respective borders?

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

	action_a = {
		name = "ACTIONNAME21650A" #Yes, we need to clarify the issue
		command = { type = trigger which = 21654 } #RUS: The Treaty of Nerchiinsk
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -1 value = 50 }
		command = { type = diplomats value = -2 }
		command = { type = vp value = 20 }
		command = { type = DIP which = 2 value = 180 }
		command = { type = sleepevent which = 21650 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21651 } #CHI: Initiating the Treaty of Nerchiinsk
	}
	action_b = {
		name = "ACTIONNAME21650B" #No, it will be a waste of our efforts to deal with the untrustworthy Russians
		command = { type = relation which = RUS value = -100 }
		command = { type = casusbelli which = RUS value = 100 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = vp value = -20 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 21650 } #CHI: Initiating the Treaty of Nerchiinsk
		command = { type = sleepevent which = 21651 } #CHI: Initiating the Treaty of Nerchiinsk
	}
}
#Russia acccepts - Version 1
event = {
	id = 3705 #triggered by RUS_3421 A
	random = no
	country = CHI
	name = "EVENTNAME3421" #The Treaty of Nerchiinsk
	desc = "EVENTHIST3421"
	#-#The permanent Russian exploration and colonization of Siberia that started under Ivan the Terrible had regularly continued all along the 17th century, with most of eastern Siberia discovered by the end of the century (Kamchatska was reached in 1679). The Amur basin had been explored by Khabarov in the 1650s and in 1689, a Russo-Chinese border conflict was settled by the first Chinese-European agreement, the Treaty of Nerchiinsk, fixing the Amur border. In 1727, the Kyakhta treaty would even make provisions for a Russian trading station to be established in Peking, the capital of the new Manchu dynasty (1644-1911).

	action_a = {
		name = "ACTIONNAME3705A" #Our Victory has been acknowledged
		command = { type = vp value = 30 }
		command = { type = land value = 2000 }
		command = { type = trade value = 500 }
		command = { type = relation which = RUS value = 250 }
		command = { type = stability value = 2 }
		command = { type = cedeprovince which = RUS value = 602 } #Selenga
		command = { type = cedeprovince which = RUS value = 603 } #Ulan Ude
		command = { type = cedeprovince which = RUS value = 604 } #Buriat
		command = { type = cedeprovince which = RUS value = 605 } #Tchita
		command = { type = cedeprovince which = RUS value = 606 } #Kalakan
		command = { type = cedeprovince which = RUS value = 607 } #Sretensk
		command = { type = cedeprovince which = RUS value = 608 } #Kalar
		command = { type = cedeprovince which = RUS value = 609 } #Mogotcha
		command = { type = cedeprovince which = RUS value = 610 } #Djagdi
		command = { type = addcore which = 623 } #Tchumkan
		command = { type = addcore which = 624 } #Amgoun
		command = { type = addcore which = 629 } #Tchekunda
		command = { type = addcore which = 630 } #Boureia
		command = { type = addcore which = 631 } #Ekimcan
		command = { type = addcore which = 632 } #Nerchiinsk
		command = { type = addcore which = 633 } #Norsk
		command = { type = addcore which = 1467 } #Nagorje
		command = { type = addcore which = 1468 } #Khretset
		command = { type = addcore which = 611 } #Chilka
		command = { type = addcore which = 625 } #Bogorodsk
		command = { type = addcore which = 626 } #Vanin
		command = { type = addcore which = 627 } #Sofiisk
		command = { type = addcore which = 628 } #Amour
		command = { type = addcore which = 634 } #Birobidjan
		#Manchus lands (if Ming dynasty)
		command = { type = addcore which = 635 } #Heilongjiang
		command = { type = addcore which = 636 } #Viazemski
		command = { type = addcore which = 637 } #Sikhote
		command = { type = addcore which = 638 } #Nelma
		command = { type = addcore which = 639 } #Olga
		command = { type = addcore which = 640 } #Nakhodka
		command = { type = addcore which = 643 } #Jilin
		command = { type = addcore which = 644 } #Baicheng
		command = { type = addcore which = 645 } #Jehol
		command = { type = addcore which = 646 } #Liaotung
	}
}
#Russia accepts - Version 2/3
event = {
	id = 21655 #triggered by RUS_21653 A / RUS_21654 B
	random = no
	country = CHI
	name = "EVENTNAME3421" #The Treaty of Nerchiinsk
	desc = "EVENTHIST21653"
	#-#Russian exploration and colonization of Siberia started under Ivan the Terrible. By the end of the 17th century, most of eastern Siberia was discovered (the Amur basin was explored by Khabarov in the 1650s and Kamchatka was reached in 1679). In 1689, a Russo-Chinese border conflict was settled by the first Chinese-European agreement, the Treaty of Nerchiinsk, wherein it was recognised that the Amur basin lay within Chinese borders while the Baikal Lake region belonged to Russia. In 1727, the Kyakhta treaty would even make provisions for a Russian trading station to be established in Peking, the capital of the new Manchu dynasty (1644-1911).

	action_a = {
		name = "ACTIONNAME3705A" #Our Victory has been acknowledged
		command = { type = vp value = 30 }
		command = { type = land value = 2000 }
		command = { type = trade value = 500 }
		command = { type = relation which = RUS value = 250 }
		command = { type = stability value = 2 }
		command = { type = cedeprovince which = RUS value = 602 } #Selenga
		command = { type = cedeprovince which = RUS value = 603 } #Ulan Ude
		command = { type = cedeprovince which = RUS value = 604 } #Buriat
		command = { type = cedeprovince which = RUS value = 605 } #Tchita
		command = { type = cedeprovince which = RUS value = 606 } #Kalakan
		command = { type = cedeprovince which = RUS value = 607 } #Sretensk
		command = { type = cedeprovince which = RUS value = 608 } #Kalar
		command = { type = cedeprovince which = RUS value = 609 } #Mogotcha
		command = { type = cedeprovince which = RUS value = 610 } #Djagdi
		command = { type = cedeprovince which = RUS value = 612 } #Stanovoe
		command = { type = cedeprovince which = RUS value = 613 } #Baladok
		command = { type = cedeprovince which = RUS value = 614 } #Djugdjur
		command = { type = cedeprovince which = RUS value = 615 } #Enkan
		command = { type = cedeprovince which = RUS value = 616 } #Okhotsk
		command = { type = cedeprovince which = RUS value = 617 } #Magadan
		command = { type = addcore which = 623 } #Tchumkan
		command = { type = addcore which = 624 } #Amgoun
		command = { type = addcore which = 629 } #Tchekunda
		command = { type = addcore which = 630 } #Boureia
		command = { type = addcore which = 631 } #Ekimcan
		command = { type = addcore which = 632 } #Nerchiinsk
		command = { type = addcore which = 633 } #Norsk
		command = { type = addcore which = 1467 } #Nagorje
		command = { type = addcore which = 1468 } #Khretset
		command = { type = addcore which = 611 } #Chilka
		command = { type = addcore which = 625 } #Bogorodsk
		command = { type = addcore which = 626 } #Vanin
		command = { type = addcore which = 627 } #Sofiisk
		command = { type = addcore which = 628 } #Amour
		command = { type = addcore which = 634 } #Birobidjan
		#Manchus lands (if Ming dynasty)
		command = { type = addcore which = 635 } #Heilongjiang
		command = { type = addcore which = 636 } #Viazemski
		command = { type = addcore which = 637 } #Sikhote
		command = { type = addcore which = 638 } #Nelma
		command = { type = addcore which = 639 } #Olga
		command = { type = addcore which = 640 } #Nakhodka
		command = { type = addcore which = 643 } #Jilin
		command = { type = addcore which = 644 } #Baicheng
		command = { type = addcore which = 645 } #Jehol
		command = { type = addcore which = 646 } #Liaotung
	}
}
#Russia refuses
event = {
	id = 3793 #triggered by RUS_3421 B / RUS_21653 B / RUS_21654 A
	random = no
	country = CHI
	name = "EVENTNAME3421" #The Treaty of Nerchiinsk
	desc = "EVENTHIST3421"
	#-#The permanent Russian exploration and colonization of Siberia that started under Ivan the Terrible had regularly continued all along the 17th century, with most of eastern Siberia discovered by the end of the century (Kamchatska was reached in 1679). The Amur basin had been explored by Khabarov in the 1650s and in 1689, a Russo-Chinese border conflict was settled by the first Chinese-European agreement, the Treaty of Nerchiinsk, fixing the Amur border. In 1727, the Kyakhta treaty would even make provisions for a Russian trading station to be established in Peking, the capital of the new Manchu dynasty (1644-1911).

	action_a = {
		name = "ACTIONNAME3793A" #Exterminate these Rude Barbarians
		command = { type = casusbelli which = RUS value = 1200 }
		command = { type = manpower value = 30 }
		command = { type = INF which = 634 value = 10000 } #Birobidjan
		command = { type = CAV which = 634 value = 3000 } #Birobidjan
		command = { type = treasury value = -150 }
		command = { type = stability value = 1 }
		command = { type = war which = RUS }
		command = { type = addcore which = 609 } #Mogotcha
		command = { type = addcore which = 611 } #Chilka
		command = { type = addcore which = 623 } #Tchumkan
		command = { type = addcore which = 624 } #Amgoun
		command = { type = addcore which = 629 } #Tchekunda
		command = { type = addcore which = 630 } #Boureia
		command = { type = addcore which = 631 } #Ekimcan
		command = { type = addcore which = 632 } #Nerchiinsk
		command = { type = addcore which = 633 } #Norsk
		command = { type = addcore which = 1467 } #Nagorje
		command = { type = addcore which = 1468 } #Khretset
		command = { type = addcore which = 603 } #Ulan Ude
		command = { type = addcore which = 605 } #Tchita
		command = { type = addcore which = 607 } #Sretensk
		command = { type = addcore which = 608 } #Kalar
		command = { type = addcore which = 610 } #Djagdi
		command = { type = addcore which = 612 } #Stanovoe
		command = { type = addcore which = 613 } #Baladok
		command = { type = addcore which = 614 } #Djugdjur
		command = { type = addcore which = 615 } #Enkan
		command = { type = addcore which = 625 } #Bogorodsk
		command = { type = addcore which = 626 } #Vanin
		command = { type = addcore which = 627 } #Sofiisk
		command = { type = addcore which = 628 } #Amour
		command = { type = addcore which = 634 } #Birobidjan
		#Manchus lands (if Ming dynasty)
		command = { type = addcore which = 635 } #Heilongjiang
		command = { type = addcore which = 636 } #Viazemski
		command = { type = addcore which = 637 } #Sikhote
		command = { type = addcore which = 638 } #Nelma
		command = { type = addcore which = 639 } #Olga
		command = { type = addcore which = 640 } #Nakhodka
		command = { type = addcore which = 643 } #Jilin
		command = { type = addcore which = 644 } #Baicheng
		command = { type = addcore which = 645 } #Jehol
		command = { type = addcore which = 646 } #Liaotung
	}
}
#End of Treaty of Nerchiinsk
#-----------------------------------------------------------------------------------------------

#(1419) Japanese Pirate Raids
event = {
	id = 147000
	random = no
	country = CHI
	name = "EVENTNAME147000" #Japanese Pirate Raids
	desc = "EVENTHIST147000"
	#-#In Yong Le year 17 (AD 1419), Japanese pirates raided an area on the east coast of the Liao Dong peninsula.

	date = { day = 1 month = march year = 1419 }
	offset = 300
	deathdate = { day = 0 month = january year = 1420 }

	action_a = {
		name = "OH_WELL"
		command = { type = revolt which = 646 } #Liaotung
		command = { type = pirates which = 940 value = 1 } #Korea Bay
	}
}

#-----------------------------------------------------------------------------------------------
#"Le Loi" Sequence

#(1420) Le Loi's Lam Son resistance against Ming rule in Vietnam
event = {
	id = 147001
	trigger = {
		OR = {
			owned = { province = 663 data = -1 } #Tanh Noah
			owned = { province = 662 data = -1 } #Hanoi
			owned = { province = 1554 data = -1 } #Lao Cai
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147001" #Le Loi's Lam Son resistance in Vietnam
	desc = "EVENTHIST147001"
	#-#The region of An Nam covers northern Vietnam, had been part of China until 939 BC when warlords in An Nam defeated invading warlords from China and established separate rule. However, tributes were payed to China which also granted titles. An Nam expanded aggressively and invaded the Song dynasty to its north, Champa to its south, Laos and affiliated tribes to its west. After the Ming dynasty was founded in China An Nam continued to recognise Chinese overlordship. Through 400 years of independence, the people in An Nam developed a sense of national identity.\n \n In the late 1300s, the ruling Tran dynasty was overthrown and a powerful former minister tried to set up the Ho dynasty by making his son King in 1402 BC. However, a Tran prince had fled to China. Rather than recognising the usurpers China tried to restore the Tran dynasty, but this failed when the prince was murdered. China responded by invading the country in 1406 and made it into a new province, Jiao Zhi.\n \n This led to discontent amongst the local upper class who expected their privileges to be restored along with the Tran dynasty. The Ming administrative and military officials were domineering and insensitive to distinct local cultural practices. They applied the Chinese system of taxation, education, examination, and formal rites on the people abruptly. Rebellion soon spread rapidly. Zhang Fu, now Duke of Ying, was again sent to pacify An Nam twice. By Yong Le year 12 (AD 1414), almost all resistance forces within Jiao Zhi and hiding in neighbouring countries were eliminated. To pacify the people, Zhang Fu actively built up defences, forcefully organised many bandits into agricultural production, and employed surrendered Vietnamese leaders as officials.\n Zhang Fu was later replaced by Li Bin and a eunuch, Ma Qi. He began massively searching and extracting riches and treasures within the area, causing great discontent and immediate rebellion of many surrendered Vietnamese leaders, including the famous Le Loi who began the Lam Son resistance in 1418. Li Bin was forced to pursue Vietnamese leaders from all directions. In Yong Le year 18 (AD 1420), Chen Zhi was sent to assist Li Bin.

	date = { day = 1 month = april year = 1420 }
	offset = 60
	deathdate = { day = 1 month = november year = 1420 }

	action_a = {
		name = "ACTIONNAME147001A" #Send Chen Zhi to assist Li Bin in Jiao Zhi
		command = { type = treasury value = -80 }
		command = { type = INF which = 662 value = 17500 } #Hanoi
		command = { type = wakeleader which = 032308 } #Chen Zhi (CHI)
	}
	action_b = {
		name = "ACTIONNAME147001B" #Raise another army and send Zhang Fu to crush the rebels
		command = { type = MIL which = -3 value = 48 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = treasury value = -400 }
		command = { type = INF which = -2 value = 28000 }
		command = { type = CAV which = -2 value = 10000 }
		command = { type = ART which = -2 value = 20 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = wakeleader which = 032306 } #Zhang Fu (CHI)
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 1554 } #Lao Cai
		command = { type = revolt which = 1554 } #Lao Cai
		command = { type = revolt which = 1554 } #Lao Cai
	}
	action_c = {
		name = "ACTIONNAME147001C" #Reform the administrative system
		command = { type = setflag which = [reformvietnam1] }
		command = { type = domestic which = centralization value = -2 }
		command = { type = revoltrisk which = 72 value = 10 }
		command = { type = stability value = -1 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = treasury value = -180 }
		command = { type = provincetax which = 662 value = -1 } #Hanoi
		command = { type = provincetax which = 663 value = -1 } #Tanh Noah
		command = { type = provincetax which = 1554 value = -1 } #Lao Cai
	}
	action_d = {
		name = "ACTIONNAME147001D" #Listen to Confucian advisors and give up Jiao Zhi
		command = { type = independence which = DAI }
		command = { type = cedeprovince which = DAI value = 662 } #Hanoi
		command = { type = cedeprovince which = DAI value = 663 } #Tanh Noah
		command = { type = cedeprovince which = DAI value = 1554 } #Lao Cai
		command = { type = relation which = DAI value = 100 }
		command = { type = badboy value = -2 }
		command = { type = sleepevent which = 147002 } #CHI: Spread of Le Loi's Lam Son resistance in Vietnam
		command = { type = trigger which = 147004 } #CHI: Failure to pacify An Nam
	}
}
#Sources
#http://www.rthk.org.hk/chiculture/fivethousandyears/subpage13.htm
#http://www.geocities.com/Yosemite/7915/VN-Hist.html
#History of Ming (the official chronicle)
#(1426) Spread of Le Loi's Lam Son resistance against Ming rule in Vietnam
event = {
	id = 147002
	trigger = {
		NOT = { exists = DAI }
	}
	random = no
	country = CHI
	name = "EVENTNAME147002" #Spread of Le Loi's Lam Son resistance in Vietnam
	desc = "EVENTHIST147002"
	#-#Le Loi began the Lam Son resistance in AD 1418. Li Bin, the commander in Jiao Zhi, was forced to pursue Vietnamese leaders from all directions. In Yong Le year 18 (AD 1420), Chen Zhi was sent to assist Li Bin. By autumn of the next year, the rebels were defeated, but Le Loi was not captured. In Yong Le year 20 (AD 1422), Li Bin died, Chen Zhi replaced him as commander. Chen Zhi and another general Fang Zheng did not get along. They met several defeats and neither succeeded in getting Le Loi under control. By Xuan De year 1, month 4 (May, AD 1426), Ming Emperor Xuan Zong ordered Wang Tong to replace both generals.

	date = { day = 1 month = may year = 1426 }
	offset = 5
	deathdate = { day = 1 month = june year = 1426 }

	action_a = {
		name = "ACTIONNAME147002A" #Send Wang Tong to replace Chen Zhi
		command = { type = treasury value = -80 }
		command = { type = INF which = 662 value = 17500 } #Hanoi
		command = { type = wakeleader which = 032307 } #Wang Tong (CHI)
		command = { type = setflag which = [Wang_Tong] }
	}
	action_b = {
		name = "ACTIONNAME147002B" #Listen to Confucian advisors and give up Jiao Zhi
		command = { type = independence which = DAI }
		command = { type = badboy value = -1 }
		command = { type = trigger which = 147004 } #CHI: Failure to pacify An Nam
	}
	action_c = {
		name = "ACTIONNAME147002C" #Send Zhang Fu again to lead an army to crush the rebellion
		command = { type = MIL which = -3 value = 72 }
		command = { type = ADM which = -2 value = 72 }
		command = { type = treasury value = -300 }
		command = { type = INF which = -2 value = 23000 }
		command = { type = CAV which = -2 value = 10000 }
		command = { type = ART which = -2 value = 20 }
		command = { type = wakeleader which = 032309 } #Zhang Fu (CHI)
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 662 } #Hanoi
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 663 } #Tanh Noah
		command = { type = revolt which = 1554 } #Lao Cai
		command = { type = revolt which = 1554 } #Lao Cai
		command = { type = revolt which = 1554 } #Lao Cai
	}
	action_d = {
		name = "ACTIONNAME147002D" #Reform the administrative system
		command = { type = setflag which = [reformvietnam2] }
		command = { type = domestic which = centralization value = -1 }
		command = { type = revoltrisk which = 72 value = 10 }
		command = { type = stability value = -1 }
		command = { type = MIL which = -2 value = 72 }
		command = { type = treasury value = -180 }
		command = { type = provincetax which = 662 value = -1 } #Hanoi
		command = { type = provincetax which = 663 value = -1 } #Tanh Noah
		command = { type = provincetax which = 1554 value = -1 } #Lao Cai
	}
}
#(1427-1429) Truce with Le Loi
event = {
	id = 147003
	trigger = {
		flag = [Wang_Tong] #leader 08848 could die before
		NOT = { exists = DAI }
		OR = { #for Dai Viet government not to fall too quickly in action_b
			AND = {
				control = { province = 663 data = -1 } #Tanh Noah
				control = { province = 662 data = -1 } #Hanoi
			}
			AND = {
				control = { province = 662 data = -1 } #Hanoi
				control = { province = 1554 data = -1 } #Lao Cai
			}
			AND = {
				control = { province = 663 data = -1 } #Tanh Noah
				control = { province = 1554 data = -1 } #Lao Cai
			}
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147003" #Truce with Le Loi
	desc = "EVENTHIST147003"
	#-#By Xuan De year 1, month 4 (May, AD 1426), Ming Emperor, Ming Xuan Zong ordered Wang Tong as commander in Jiao Zhi. Wong Tong, however, inherited his position from his father and was in fact a person with little courage. After a major defeat, he did not dare to fight Le Loi and retreated into the cities. In the winter of the same year, the Emperor sent yet another general, Liu Sheng, to lead 70 000 men to reinforce Li Tong. It took until the 9th month of the next year for Liu Sheng to enter Jiao Zhi, who was quickly ambushed and killed. By this time, Li Tong was shaken greatly, and decided, without imperial authority, to accept a truce offered by Le Loi. Under the truce, Le Loi claimed to have found a descendant of the Tran royal family and sought to reinstall him in return for Ming retreat from Jiao Zhi. Without imperial authority, Li Tong and Ma Qi then led about 80 000 officials, soldiers and their families back to China.\n \n Xuan Zong, had expressed the desire to retreat from Jiao Zhi since he first inherited the throne. He was supported by cabinet advisors Yang Shi Qi and Yang Ron, but was opposed by other bureaucrats. After the defeat of Liu Sheng, in Xuan De year 2, month 11 (November AD 1427) Xuan Zong ordered the retreat from Jiao Zhi and restoration of the Tran dynasty. However, before this order reached its destination, Wang Tong had already fully withdrew from Jiao Zhi. Xuan Zong therefore approved the truce.\n \n Very soon after this, in AD 1428, Le Loi poisoned the new nominal Tran King and declared himself King, founding the Le Dynasty and changing the name of the country to Dai Viet. Le Loi sent ambassadors to the Ming Emperor, seeking the title of King to be granted to himself, He claimed that there were no descendants of the Tran family and that the Vietnamese people wanted him to lead the country. This led to a diplomatic deadlock for some years. It was not until the summer of Xuan De year 6 (AD 1431) that Xuan Zong finally recognised Le Loi's authority over An Nam's national affairs.\n \n Anyway, if China wants to go to war, never make peace without vassalizing. Otherwise, attempt to incorporate Vietnamese as a normal part of the Empire will become impossible...

	date = { day = 1 month = October year = 1427 }
	offset = 1
	deathdate = { day = 1 month = january year = 1429 }

	action_a = {
		name = "ACTIONNAME147003A" #Wang Tong betrayal of the Empire cannot be undone
		command = { type = independence which = DAI }
		command = { type = trigger which = 147004 } #CHI: Failure to pacify An Nam
	}
	action_b = {
		name = "ACTIONNAME147003B" #Go to war and teach the rebels a bitter lesson
		command = { type = sleepevent which = 147004 } #CHI: Failure to pacify An Nam
		command = { type = setflag which = [2ndwarvietnam] }
		command = { type = independence which = DAI }
		command = { type = MIL which = -3 value = 72 }
		command = { type = ADM which = -2 value = 72 }
		command = { type = treasury value = -400 }
		command = { type = INF which = -2 value = 28000 }
		command = { type = CAV which = -2 value = 10000 }
		command = { type = ART which = -2 value = 20 }
		command = { type = wakeleader which = 032309 } #Zhang Fu (CHI)
		command = { type = trigger which = 157012 } #DAI: Le Loi defends 2nd invasion of Dai Viet
	}
}
#(1419-1582) Failure to pacify An Nam
event = {
	id = 147004 #also triggered by CHI_147003 A / CHI_147002 B / CHI_147001 D
	trigger = { exists = DAI }
	random = no
	country = CHI
	name = "EVENTNAME147004" #Failure to pacify An Nam
	desc = "EVENTHIST147004"
	#-#The failure to pacify Dai Viet signifies that it is never possible to incorporate Dai Viet as part of the central Chinese empire anymore. It had previously been independent for too long that we have forever lost this area.

	date = { day = 1 month = October year = 1419 }
	offset = 30
	deathdate = { day = 1 month = October year = 1582 }

	action_a = {
		name = "ACTIONNAME147004A" #We must accept that as truth
		command = { type = relation which = DAI value = 100 }
		command = { type = sleepevent which = 147001 } #CHI: Le Loi's Lam Son resistance in Vietnam
		command = { type = sleepevent which = 147002 } #CHI: Spread of Le Loi's Lam Son resistance in Vietnam
		command = { type = sleepevent which = 147003 } #CHI: Truce with Le Loi
		command = { type = sleepevent which = 147009 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147010 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147011 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147012 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147013 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147014 } #CHI: Final Pacification of An Nam
		command = { type = sleepevent which = 147015 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147016 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147017 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147018 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147019 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147020 } #CHI: Final Pacification of An Nam
		#command = { type = ai which = China_3XuanZong.txt }
	}
}
#(1427-1433) Failure to pacify An Nam after 2nd invasion
event = {
	id = 147005
	trigger = {
		flag = [2ndwarvietnam]
 		OR = {
			NOT = { war = { country = CHI country = DAI } }
			year = 1433
		}
		NOT = { vassal = { country = CHI country = DAI } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147005" #Failure to pacify An Nam after 2nd invasion
	desc = "EVENTHIST147005"
	#-#The failure to pacify Dai Viet signifies that it is never possible to incorporate Dai Viet as part of the central Chinese empire anymore. It had previously been independent for too long that we have forever lost this area.

	date = { day = 1 month = October year = 1427 }
	offset = 1
	deathdate = { day = 1 month = april year = 1433 }

	action_a = {
		name = "ACTIONNAME147005A" #We must accept that as truth
		command = { type = sleepevent which = 147006 } #CHI: Success of 2nd invasion of An Nam
		command = { type = sleepevent which = 147009 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147010 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147011 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147012 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147013 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147014 } #CHI: Final Pacification of An Nam
		command = { type = sleepevent which = 147015 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147016 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147017 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147018 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147019 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147020 } #CHI: Final Pacification of An Nam
		#command = { type = ai which = China_3XuanZong.txt }
	}
}
#(1427-1433) Success of 2nd invasion of An Nam
event = {
	id = 147006
	trigger = {
		flag = [2ndwarvietnam]
		OR = {
			AND = {
				control = { province = 662 data = CHI } #Hanoi
 				control = { province = 663 data = CHI } #Tanh Noah
 				control = { province = 1554 data = CHI } #Lao Cai
			}
			vassal = { country = CHI country = DAI } #if peace with vassalization the day before
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147006" #Success of 2nd invasion of An Nam
	desc = "EVENTHIST147006"
	#-#We have succeeded in our 2nd invasion of An Nam, our efforts to incorporate it as a normal part of the Empire continues.

	date = { day = 1 month = October year = 1427 }
	offset = 1
	deathdate = { day = 1 month = april year = 1433 }

	action_a = {
		name = "GREAT"
		command = { type = sleepevent which = 147005 } #CHI: Failure to pacify An Nam after 2nd invasion
		command = { type = annex which = DAI }
		command = { type = setflag which = [win2ndwarvietnam] }
	}
}
#(1427-1433) Success of 2nd invasion of Dai Viet and continued incorporation
event = {
	id = 147007
	trigger = {
		event = 147006
		owned = { province = 663 data = -1 } #Tanh Noah
		owned = { province = 662 data = -1 } #Hanoi
		owned = { province = 1554 data = -1 } #Lao Cai
	}
	random = no
	country = CHI
	name = "EVENTNAME147007" #Success of 2nd invasion of Dai Viet and continued incorporation
	desc = "EVENTHIST147007"
	#-#We must continue the incorporation of An Nam.

	date = { day = 1 month = november year = 1427 }
	offset = 5
	deathdate = { day = 1 month = may year = 1433 }

	action_a = {
		name = "ACTIONNAME147007A" #Incorporate it!
		command = { type = province_revoltrisk which = 662 value = 800 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = 800 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = 800 } #Lao Cai
	}
}
#(1427-1582) Continuing the Failure to pacify An Nam
event = {
	id = 147008
	trigger = {
		flag = [win2ndwarvietnam]
		exists = DAI
	}
	random = no
	country = CHI
	name = "EVENTNAME147008" #Failure to pacify An Nam
	desc = "EVENTHIST147008"
	#-#The failure to pacify Dai Viet signifies that it is never possible to incorporate Dai Viet as part of the central Chinese empire anymore. It had previously been independent for too long that we have forever lost this area.

	date = { day = 1 month = October year = 1427 }
	offset = 30
	deathdate = { day = 1 month = October year = 1582 }

	action_a = {
		name = "ACTIONNAME147008A" #We must accept that as truth
		command = { type = sleepevent which = 147009 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147010 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147011 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147012 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147013 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147014 } #CHI: Final Pacification of An Nam
		command = { type = sleepevent which = 147015 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147016 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147017 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147018 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147019 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147020 } #CHI: Final Pacification of An Nam
		#command = { type = ai which = China_3XuanZong.txt }
	}
}
#(1433) Death of Le Loi
event = {
	id = 147009
	random = no
	country = CHI
	name = "EVENTNAME147009" #Death of Le Loi
	desc = "EVENTHIST147009"
	#-#Le Loi died in July 1433.

	date = { day = 1 month = july year = 1433 }
	offset = 5
	deathdate = { day = 1 month = august year = 1433 }

	action_a = {
		name = "GOOD"
		command = { type = sleepevent which = 147015 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147016 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147017 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147018 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147019 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147020 } #CHI: Final Pacification of An Nam
		command = { type = province_revoltrisk which = 662 value = -100 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -100 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -100 } #Lao Cai
	}
}
#(1463) Gradual Pacification of An Nam
event = {
	id = 147010
	random = no
	country = CHI
	name = "EVENTNAME147010" #Gradual Pacification of An Nam
	desc = "EVENTHIST147010"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = august year = 1463 }
	offset = 30
	deathdate = { day = 1 month = november year = 1463 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -150 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -150 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -150 } #Lao Cai
	}
}
#(1493) Gradual Pacification of An Nam 2
event = {
	id = 147011
	random = no
	country = CHI
	name = "EVENTNAME147011" #Gradual Pacification of An Nam
	desc = "EVENTHIST147011"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire..

	date = { day = 1 month = august year = 1493 }
	offset = 30
	deathdate = { day = 1 month = november year = 1493 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -200 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -200 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -200 } #Lao Cai
	}
}
#(1523) Gradual Pacification of An Nam 3
event = {
	id = 147012
	random = no
	country = CHI
	name = "EVENTNAME147012" #Gradual Pacification of An Nam
	desc = "EVENTHIST147012"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = august year = 1523 }
	offset = 30
	deathdate = { day = 1 month = november year = 1523 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -200 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -200 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -200 } #Lao Cai
	}
}
#(1553) Gradual Pacification of An Nam 4
event = {
	id = 147013
	random = no
	country = CHI
	name = "EVENTNAME147013" #Gradual Pacification of An Nam
	desc = "EVENTHIST147013"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = august year = 1553 }
	offset = 30
	deathdate = { day = 1 month = november year = 1553 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -100 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -100 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -100 } #Lao Cai
	}
}
#(1583) Final Pacification of An Nam
event = {
	id = 147014
	random = no
	country = CHI
	name = "EVENTNAME147014" #Final Pacification of An Nam
	desc = "EVENTHIST147014"
	#-#After well over a century of continuous rule, the people in An Nam has finally accepted themselves as a normal part of the Empire. We have succeeded in reincorporating this area which had been part of Empires in central China such as the Han and Tang for 1000 years but lost for 400 years after the Tang dynasty.

	date = { day = 1 month = august year = 1583 }
	offset = 30
	deathdate = { day = 1 month = november year = 1583 }

	action_a = {
		name = "GREAT"
		command = { type = province_revoltrisk which = 662 value = -50 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -50 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -50 } #Lao Cai
		command = { type = addcore which = 662 } #Hanoi
		command = { type = addcore which = 663 } #Tanh Noah
		command = { type = addcore which = 1554 } #Lao Cai
		command = { type = provinceculture which = 662 value = han } #Hanoi
		command = { type = provinceculture which = 663 value = han } #Tanh Noah
		command = { type = provinceculture which = 1554 value = han } #Lao Cai
	}
}
#(1433) Alternate Death of Le Loi
event = {
	id = 147015
	trigger = {
		NOT = { domestic = { type = centralization value = 7 } }
		flag = [reformvietnam2]
 		flag = [reformvietnam1]
	}
	random = no
	country = CHI
	name = "EVENTNAME147015" #Death of Le Loi
	desc = "EVENTHIST147015"
	#-#Le Loi died in July 1433.

	date = { day = 1 month = july year = 1433 }
	offset = 5
	deathdate = { day = 1 month = august year = 1433 }

	action_a = {
		name = "GOOD"
		command = { type = sleepevent which = 147009 } #CHI: Death of Le Loi
		command = { type = sleepevent which = 147010 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147011 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147012 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147013 } #CHI: Gradual Pacification of An Nam
		command = { type = sleepevent which = 147014 } #CHI: Final Pacification of An Nam
		command = { type = province_revoltrisk which = 662 value = -150 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -150 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -150 } #Lao Cai
	}
}
#(1453) Alternate Gradual Pacification of An Nam
event = {
	id = 147016
	random = no
	country = CHI
	name = "EVENTNAME147016" #Gradual Pacification of An Nam
	desc = "EVENTHIST147016"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = july year = 1453 }
	offset = 30
	deathdate = { day = 1 month = october year = 1453 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -200 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -200 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -200 } #Lao Cai
	}
}
#(1473) Alternate Gradual Pacification of An Nam 2
event = {
	id = 147017
	random = no
	country = CHI
	name = "EVENTNAME147017" #Gradual Pacification of An Nam
	desc = "EVENTHIST147017"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = july year = 1473 }
	offset = 30
	deathdate = { day = 1 month = october year = 1473 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -200 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -200 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -200 } #Lao Cai
	}
}
#(1493) Alternate Gradual Pacification of An Nam 3
event = {
	id = 147018
	random = no
	country = CHI
	name = "EVENTNAME147018" #Gradual Pacification of An Nam
	desc = "EVENTHIST147018"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = july year = 1493 }
	offset = 30
	deathdate = { day = 1 month = october year = 1493 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -150 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -150 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -150 } #Lao Cai
	}
}
#(1513) Alternate Gradual Pacification of An Nam 4
event = {
	id = 147019
	random = no
	country = CHI
	name = "EVENTNAME147019" #Gradual Pacification of An Nam
	desc = "EVENTHIST147019"
	#-#The longer we rule Da Viet, the more the people gradual accept themselves as a normal part of the Empire.

	date = { day = 1 month = july year = 1513 }
	offset = 30
	deathdate = { day = 1 month = october year = 1513 }

	action_a = {
		name = "GOOD"
		command = { type = province_revoltrisk which = 662 value = -50 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -50 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -50 } #Lao Cai
	}
}
#(1533) Alternate Final Pacification of An Nam
event = {
	id = 147020
	random = no
	country = CHI
	name = "EVENTNAME147020" #Final Pacification of An Nam
	desc = "EVENTHIST147020"
	#-#After well over a century of continuous rule, the people in An Nam has finally accepted themselves as a normal part of the Empire. We have succeeded in reincorporating this area which had been part of Empires in central China such as the Han and Tang for 1000 years but lost for 400 years after the Tang dynasty.

	date = { day = 1 month = july year = 1533 }
	offset = 30
	deathdate = { day = 1 month = october year = 1533 }

	action_a = {
		name = "GREAT"
		command = { type = province_revoltrisk which = 662 value = -50 } #Hanoi
		command = { type = province_revoltrisk which = 663 value = -50 } #Tanh Noah
		command = { type = province_revoltrisk which = 1554 value = -50 } #Lao Cai
		command = { type = addcore which = 662 } #Hanoi
		command = { type = addcore which = 663 } #Tanh Noah
		command = { type = addcore which = 1554 } #Lao Cai
		command = { type = provinceculture which = 662 value = han } #Hanoi
		command = { type = provinceculture which = 663 value = han } #Tanh Noah
		command = { type = provinceculture which = 1554 value = han } #Lao Cai
	}
}
#End of "Le Loi" Sequence
#-----------------------------------------------------------------------------------------------

#Sources
#http://www.chilicity.com/publishhtml/3/2004-09-17/20040917082127.html
#http://www.bj.xinhuanet.com/mqjzt/xgbd04.htm

#(1420-1422) The Eastern Investigation Agency
event = {
	id = 147022
	random = no
	country = CHI
	name = "EVENTNAME147022" #The Eastern Investigation Agency (Eastern Agency)
	desc = "EVENTHIST147022"
	#-#The founding Emperor of the Ming dynasty, Tai Zu (Zhu Yuan Zhang), started out from the poorest and lowest backgrounds. He was orphaned at a young age, and his elder brothers and sisters either died or abandoned him soon after. Because of his background, he always felt insecure about his authority as Emperor. He was particularly suspicious of those officials or generals who made vital contributions in establishing the Ming dynasty and reunifying the whole country, and killed many of them soon afterwards. He also ordered that officials are to kneel down when petitioning to the Emperor and could be caned in court if they said anything he felt improper. To protect the Emperor's authority, Tai Zu assigned all of his 26 sons, except the eldest and another who died early, to major cities across the Empire as Lords of various fiefdoms.\n \n However, after Tai Zu's death, his fourth son, Zhu Di, Lord of Yan, started a rebellion and defeated the new Emperor, who was Zhu Di's nephew (Tai Zu's grandson). Zhu Di then became Emperor, title Cheng Zu (year title Yong Le). Cheng Zu recognised that assigning princes to fiefdoms could be a threat to imperial authority. He preferred the use of eunuchs to extend imperial authority even though under a family teaching laid down by Tai Zu, eunuchs are only supposed to run affairs inside the palace and forbidden to interfere in the running of the country's affairs. Eunuchs helped Cheng Zu during his rebellion by sending him secret intelligence from within the imperial palace.\n \n In Yong Le year 18, month 8 (September, AD 1420), Cheng Zu established the Eastern Investigation Agency (Eastern Agency), headed by eunuchs directly responsible to the Emperor, to eliminate remnants of loyalists to his nephew and monitor the situation of the civilians. It had the power to supervise, investigate and arrest officials and civilians without judicial permission.

	date = { day = 20 month = august year = 1420 }
	offset = 30
	deathdate = { day = 1 month = january year = 1422 }

	action_a = {
		name = "ACTIONNAME147022A" #Establish it
		command = { type = setflag which = [eunuchagency] }
		command = { type = domestic which = innovative value = -1 }
	}
	action_b = {
		name = "ACTIONNAME147022B" #Adhere to Tai Zu's decree
		command = { type = domestic which = centralization value = -2 }
		command = { type = ADM which = -2 value = 50 }
	}
}

#(1420-1421) The Move to Beijing
event = {
	id = 10000
	trigger = {
		owned = { province = 649 data = -1 } #Hebei
		control = { province = 649 data = -1 } #Hebei
	}
	random = no
	country = CHI
	name = "EVENTNAME10000" #The Move to Beijing
	desc = "EVENTHIST10000"
	#-#The Ming Emperor Ming Cheng Zu seized the throne from his nephew by starting a rebellion from his fiefdom in Bei Ping. His armies entered the imperial capital in Jian Wen year 4, month 6 (July, AD 1402). As the place of origin of his prosperity, Bei Ping was given the title Bei Jing (meaning northern capital) and Cheng Zu ordered the construction of Bei Jing in Yong Le year 4, leap month 7 (Aug-Sep, AD 1406). Cheng Zu was more comfortable in Bei Jing, where many of his loyal generals, soldiers and their families came from. Also moving the capital to the north strengthens the ability to defend and attack the Mongols from northern China, which had been a major concern.\n \n The construction of Bei Jing took 200 000 artisans, craftsmans, blacksmiths, carpenters, etc and 1 million civilian labourers. Materials such as bricks, gold, stones and timber were extracted, manufactured in and transported from all over the Empire. The Bei Jing city was rectangular in shape, 7 km east-west by 5.7 km north-south, surrounded by a moat and walls 12 m high and close to 20 m thick. In the centre of the City, occupying one-sixth its area, is the square shaped, similarly walled, Royal City - forbidden to civilians. The Royal City in Bei Jing was similar to the Royal City in the imperial capital. Inside the Royal City are lakes, small islands, hills, pavillions, terraces and a 720000 square metres rectangular walled compound called the Purple Forbidden City. The Purple Forbidden City consisted of around 1000 buildings including over 9000 rooms, antechamers and halls. The front part is where the Emperor handed down imperial decrees, receive audience of officials to administer the Empire, interview the best imperial examinees, receive foreign ambassadors, conduct cermonies, hold banquets, and study books. The rear of the Purple Forbidden City is where the Emperor, his family and servants reside.\n \n After 14 years of intermittent effort, the Royal City was basically completed. In Yong Le year 18, month 11, day 4 (8th December AD 1420), Cheng Zu decreed the capital be moved to Bei Jing, the original capital was to be called Nan Jing (southern capital).

	date = { day = 15 month = October year = 1420 }
	offset = 120
	deathdate = { day = 15 month = October year = 1421 }

	action_a = {
		name = "ACTIONNAME10000A" #The move to the Northern Capital is complete!
		command = { type = capital which = 649 } #Hebei
		command = { type = provincetax which = 649 value = 2 } #Hebei
		command = { type = provincemanpower which = 649 value = 2 } #Hebei
		command = { type = provincemanpower which = 1561 value = 1 } #Hohhot
		command = { type = provincemanpower which = 1562 value = 1 } #Shanxi
		command = { type = population which = 649 value = 20000 } #Hebei
		command = { type = fortress which = 649 value = 1 } #Hebei
		command = { type = domestic which = offensive value = 1 }
		command = { type = MIL which = 2 value = 48 }
		command = { type = land value = 5000 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -1 }
		command = { type = provincetax which = 653 value = -1 } #Shanghai
		command = { type = population which = 653 value = -20000 } #Shanghai
		command = { type = provincetax which = 654 value = -1 } #Anhui
		command = { type = provincetax which = 655 value = -1 } #Zhejiang
		command = { type = provincetax which = 652 value = -1 } #Jiangsu
	}
}

#-----------------------------------------------------------------------------------------------
#"Rebellion of the Lord of Han" Sequence

#Sources
#http://bbs.ynet.com/cgi-bin/ReadFile?whichfile=37321&typeid=33
#Chinese History Textbook, book 2, Chiu Ming education, 1986.
#http://www.rthk.org.hk/chiculture/fivethousandyears/subpage13.htm

#(1426) Rebellion of the Lord of Han - high centralisation
event = {
	id = 147023
	trigger = {
		domestic = { type = centralization value = 7 }
		owned = { province = 649 data = -1 } #Hebei
		owned = { province = 650 data = -1 } #Shandong
		NOT = { event = 147024 }
	}
	random = no
	country = CHI
	name = "EVENTNAME147023" #Rebellion of the Lord of Han
	desc = "EVENTHIST147023"
	#-#Cheng Zu did not favour his eldest son, Zhu Gao Chi, who was quiet, obese and had trouble moving around. However, Zhu Gao Chi had a benevolent personality, and attracted the support of many Confucian officials. In contrast, Cheng Zu's second son, Zhu Gao Xu, took part in many battles when his father started the rebellion to seize the throne. He was known to be ambitious, brave and fierce and had the loyalty of those generals and officials who contributed to secure Cheng Zu's throne. However, as time passed, Cheng Zu found that Zhu Gao Chi's eldest son, Zhu Zhan Ji, was brave and intelligent. This caused Cheng Zu to confirm the tradition of making eldest son, Zhu Gao Chi, the heir.\n \n Despite this many still petitioned Cheng Zu to make Zhu Gao Xu move to an assigned fiefdom so as to end any remaining factioning amongst officials in the imperial capital. Cheng Zu declined and punished those officials who interfered with the issue of succession. Finally, in Yong Le year 13 (AD 1415), Cheng Zu ordered Zhu Gao Xu to go to his newly assigned fiefdom in Shan Dong province. However, some of Zhu Gao Xu's loyalists remained in the capital.\n \n After Cheng Zu died, Zhu Gao Chi succeeded as Ren Zong, but died less than 1 year later. His son, Zhu Zhan Ji succeeded as Xuan Zong, as Cheng Zu had earlier wished. By this time, Zhu Gao Xu, Lord of Han, decided to rebel against his nephew to seize the throne, just like Cheng Zu had done before.

	date = { day = 2 month = may year = 1426 }
	offset = 30
	deathdate = { day = 2 month = august year = 1426 }

	action_a = {
		name = "ACTIONNAME147023A" #Bad news
		command = { type = province_revoltrisk which = 650 value = 800 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = trigger which = 147025 } #CHI: Response to Lord of Han's Rebellion
		command = { type = sleepevent which = 147024 } #CHI: Rebellion of the Lord of Han
	}
}
#(1426) Rebellion of the Lord of Han - if centralisation is low the local prince-lords will be much more powerful
event = {
	id = 147024
	trigger = {
		NOT = { domestic = { type = centralization value = 7 } }
		owned = { province = 649 data = -1 } #Hebei
		owned = { province = 650 data = -1 } #Shandong
		NOT = { event = 147023 }
	}
	random = no
	country = CHI
	name = "EVENTNAME147024" #Rebellion of the Lord of Han
	desc = "EVENTHIST147023"
	#-#Cheng Zu did not favour his eldest son, Zhu Gao Chi, who was quiet, obese and had trouble moving around. However, Zhu Gao Chi had a benevolent personality, and attracted the support of many Confucian officials. In contrast, Cheng Zu's second son, Zhu Gao Xu, took part in many battles when his father started the rebellion to seize the throne. He was known to be ambitious, brave and fierce and had the loyalty of those generals and officials who contributed to secure Cheng Zu's throne. However, as time passed, Cheng Zu found that Zhu Gao Chi's eldest son, Zhu Zhan Ji, was brave and intelligent. This caused Cheng Zu to confirm the tradition of making eldest son, Zhu Gao Chi, the heir.\n \n Despite this many still petitioned Cheng Zu to make Zhu Gao Xu move to an assigned fiefdom so as to end any remaining factioning amongst officials in the imperial capital. Cheng Zu declined and punished those officials who interfered with the issue of succession. Finally, in Yong Le year 13 (AD 1415), Cheng Zu ordered Zhu Gao Xu to go to his newly assigned fiefdom in Shan Dong province. However, some of Zhu Gao Xu's loyalists remained in the capital.\n \n After Cheng Zu died, Zhu Gao Chi succeeded as Ren Zong, but died less than 1 year later. His son, Zhu Zhan Ji succeeded as Xuan Zong, as Cheng Zu had earlier wished. By this time, Zhu Gao Xu, Lord of Han, decided to rebel against his nephew to seize the throne, just like Cheng Zu had done before.

	date = { day = 2 month = may year = 1426 }
	offset = 30
	deathdate = { day = 2 month = august year = 1426 }

	action_a = {
		name = "ACTIONNAME147024A" #Bad news
		command = { type = province_revoltrisk which = 650 value = 800 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = revolt which = 650 } #Shandong
		command = { type = trigger which = 147025 } #CHI: Response to Lord of Han's Rebellion
		command = { type = sleepevent which = 147023 } #CHI: Rebellion of the Lord of Han
	}
}
#(1426) Rebellion of the Lord of Han - Response
event = {
	id = 147025 #triggered by CHI_147024 / CHI_147023
	random = no
	country = CHI
	name = "EVENTNAME147025" #Response to Lord of Han's Rebellion
	desc = "EVENTHIST147025"
	#-#The Lord of Han's preparatory activities to rebel were detected by Xuan Zong. He immediately led an army personally to attack the Lord of Han before the rebellion was openly declared. The rebellion was crushed in Xuan De year 1, month 8 (AD 1426).

	action_a = {
		name = "ACTIONNAME147025A" #Lead an army to crush the rebellion
		command = { type = treasury value = -300 }
		command = { type = INF which = -2 value = 30000 }
		command = { type = CAV which = -2 value = 10000 }
	}
	action_b = {
		name = "ACTIONNAME147025B" #Avoid conflict in the royal family
		command = { type = vp value = -5 }
	}
}
#(1426-1440) Rebellion of the Lord of Han - success of rebellion
event = {
	id = 147026
	trigger = {
		OR = {
			event = 147024
			event = 147023
		}
		NOT = { event = 147027 }
		control = { province = 649 data = REB } #Hebei
	}
	random = no
	country = CHI
	name = "EVENTNAME147026" #The Lord of Han seized the throne
	desc = "EVENTHIST147026"
	#-#Lord of Han, Zhu Gao Yu's armies have entered the capital and seized the throne. Order has to be restored in the Empire...

	date = { day = 2 month = may year = 1426 }
	offset = 1
	deathdate = { day = 1 month = january year = 1440 }

	action_a = {
		name = "ACTIONNAME147026A" #A new Emperor...
		command = { type = province_revoltrisk which = 650 value = -800 } #Shandong
		command = { type = stability value = -2 }
		command = { type = wakemonarch which = 032030 } #Zhu Gao Yu 
		command = { type = wakemonarch which = 032031 } #Zhu Zhan Tan 
		command = { type = sleepmonarch which = 032002 } #Xuan Zong
		command = { type = sleepmonarch which = 032003 } #Ying Zong
		command = { type = sleepevent which = 147027 } #CHI: Qingdao under control
		command = { type = sleepevent which = 147028 } #CHI: The Lord of Han has died
		command = { type = sleepevent which = 147039 } #CHI: Three Yang Counselling Imperial Administration
		command = { type = sleepevent which = 147040 } #CHI: End of Three Yang Counselling
	}
}
#(1427-1440) Rebellion of the Lord of Han - failure of rebellion
event = {
	id = 147027
	trigger = {
		OR = {
			event = 147024
			event = 147023
		}
		NOT = { event = 147026 }
		control = { province = 650 data = -1 } #Shandong
	}
	random = no
	country = CHI
	name = "EVENTNAME147027" #Qingdao under control
	desc = "EVENTHIST147027"
	#-#Qingdao is under our control. Without support of its base, Lord of Han's Rebellion has failed.

	date = { day = 2 month = november year = 1427 }
	offset = 1
	deathdate = { day = 1 month = january year = 1440 }

	action_a = {
		name = "OK"
		command = { type = province_revoltrisk which = 650 value = -800 } #Shandong
		command = { type = sleepevent which = 147026 } #CHI: The Lord of Han seized the throne
		command = { type = sleepevent which = 147028 } #CHI: The Lord of Han has died
	}
}
#(1440) Rebellion of the Lord of Han - time limit
event = {
	id = 147028
	trigger = {
		monarch = 032003 #Ying Zong
	}
	random = no
	country = CHI
	name = "EVENTNAME147028" #The Lord of Han has died
	desc = "EVENTHIST147028"
	#-#Lord of Han has died and his rebellion has subsided.

	date = { day = 1 month = march year = 1440 }
	offset = 20
	deathdate = { day = 1 month = may year = 1440 }

	action_a = {
		name = "OK"
		command = { type = province_revoltrisk which = 650 value = -800 } #Shandong
		command = { type = sleepevent which = 147026 } #CHI: The Lord of Han seized the throne
		command = { type = sleepevent which = 147027 } #CHI: Qingdao under control
	}
}
#End of "Rebellion of the Lord of Han" Sequence
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#"Lu Chuan rebellion" Sequence

#Sources
#http://www.cwi.gov.cn/cwi_zt/mcq/index.htm
#http://www.china.org.cn/chinese/zhuanti/gujian/481829.htm
#http://www.websitesaboutchina.com/citi/cities_1_1.htm
#http://www.ubbinfo.com/portal/modules.php?name=Content&pa=showpage&pid=80
#History of Ming (the official chronicle)
#Chinese Historical Maps Collection, Liaoning education press, 1990.
#Liu Xin Feng, Chinese History Treasury, Ming dynasty volume, China press, 1992.

#(1428-1430) Border dispute with Lu Chuan
event = {
	id = 147029
	trigger = {
		OR = {
			owned = { province = 1557 data = -1 } #Sichuan Pendi
			neighbour = LCH
		}
		NOT = { war = { country = CHI country = LCH } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147029" #Complaint against Lu Chuan
	desc = "EVENTHIST147029"
	#-#In Xuan De year 3 (AD 1428), Yun Nan's 3 provicial administrators complained that Si Ren Fa, the chief administrator of Lu Chuan, had been invading other tribes. Mu Cheng, the Duke of Qian, requested the sending of 50,000 soldiers to invade Lu Chuan as a punishment, but the Emperor refused, saying that the population was still very unsettled from the campaigns in An Nam and Si Chuan. The Emperor ordered Mu Cheng, along with officials in Yun Nan to diplomatically resolve the issue through decreeing, warning and persuading Si Ren Fa to secure his own borders and pacify his own people. However, by Xuan De year 5 (AD 1430), Si Ren Fa has occupied the area of Meng Yang west of Lu Chuan.

	date = { day = 1 month = january year = 1428 }
	offset = 150
	deathdate = { day = 1 month = january year = 1430 }

	action_a = {
		name = "ACTIONNAME147029A" #They will be deterred by simple threats
		command = { type = domestic which = offensive value = -1 }
		command = { type = relation which = MUB value = 30 }
		command = { type = relation which = BRM value = 30 }
		command = { type = relation which = MYG value = 30 }
	}
	action_b = {
		name = "ACTIONNAME147029B" #We must teach them a bitter lesson
		command = { type = revolt which = 1557 } #Sichuan Pendi
		command = { type = revolt which = 1557 } #Sichuan Pendi
		command = { type = revolt which = 1557 } #Sichuan Pendi
		command = { type = revolt which = 1557 } #Sichuan Pendi
		command = { type = relation which = LCH value = -200 }
		command = { type = casusbelli which = LCH value = 1 }
		command = { type = trigger which = 378000 } #LCH: China complains...
	}
}
#(1428-1431) Border dispute with Lu Chuan - War
event = {
	id = 147030
	trigger = {
		neighbour = LCH
		event = 378000
		NOT = {	war = { country = CHI country = LCH } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147030" #War with Lu Chuan
	desc = "EVENTHIST147030"
	#-#In Xuan De year 3 (AD 1428), Yun Nan's 3 provincial administrators complained that Si Ren Fa, the chief administrator of Lu Chuan, had been invading other tribes. Mu Cheng, the Duke of Qian, requested the sending of 50,000 soldiers to invade Lu Chuan as a punishment, but the Emperor refused, saying that the population was still very unsettled from the campaigns in An Nam and Si Chuan. The Emperor ordered Mu Cheng, along with officials in Yun Nan to diplomatically resolve the issue through decreeing, warning and persuading Si Ren Fa to secure his own borders and pacify his own people. However, by Xuan De year 5 (AD 1430), Si Ren Fa has occupied the area of Meng Yang west of Lu Chuan.

	date = { day = 1 month = january year = 1428 }
	offset = 5
	deathdate = { day = 1 month = january year = 1431 }

	action_a = {
		name = "ACTIONNAME147030A" #Go to war!
		command = { type = casusbelli which = LCH value = 1 }
		command = { type = war which = LCH }
	}
}
#(1436-1437) Lu Chuan rebellion
event = {
	id = 147031
	trigger = {
		OR = {
			owned = { province = 1557 data = -1 } #Sichuan Pendi
			neighbour = LCH
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147031" #Lu Chuan Rebellion
	desc = "EVENTHIST147031"
	#-#In Zheng Tong year 1 (AD 1436), the Emperor granted permission to write off Lu Chuan's large amounts of overdue tribute to the Ming Emperor. The Emperor had been persuaded by Lu Chuan's chief administrator, Si Ren Fa, that he was unable to pay because his land had been invaded by Mu Bang and few people were left on his land to be taxed. However, soon after making this excuse, Si Ren Fa launched attacks across large areas in Sout West Yun Nan, and seized the land of other tribes which were loyal to Ming. By Zheng Tong year 3, month 7 (August, AD 1438), Si Ren Fa declared himself King. Mu Cheng (Duke of Qian) and general Fang Zheng were ordered to crush the rebellion. However, the two generals were at odds about the strategy which led to disaster by the next year. Fang Zheng led an army by himself and pursued deep into enemy territory but was killed in an ambush. Shocked by this news, Mu Cheng died suddenly in the army. His brother Mu Ang replaced him as commander but by Zheng Tong year 6, month 1, day 17 (8th february, AD 1441), Wang Zhen, the powerful eunuch in Ming government, decided to send 150,000 men, led by general Jiang Gui and commanded by military secretary Wang Ji, to eliminate the rebellion.

	date = { day = 1 month = October year = 1436 }
	offset = 120
	deathdate = { day = 1 month = march year = 1437 }

	action_a = {
		name = "ACTIONNAME147031A" #What treacherous barbarians. Let us crush them!
		command = { type = independence which = LCH }
		command = { type = casusbelli which = LCH value = 60 }
		command = { type = relation which = LCH value = -200 }
		command = { type = trigger which = 378001 } #LCH: Lu Chuan Rebellion
	}
}
#(1440-1450) Lu Chuan rebellion (2)
event = {
	id = 147032
	trigger = {
		OR = {
			owned = { province = 1557 data = -1 } #Sichuan Pendi
			neighbour = LCH
		}
		NOT = {	war = { country = CHI country = LCH } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147032" #Another Rebellion in Lu Chuan
	desc = "EVENTHIST147032"
	#-#Wang Zhen, the powerful eunuch in Ming government, decided to send 150,000 men, led by general Jiang Gui and commanded by military secretary Wang Ji, to eliminate the Lu Chuan rebellion started by Si Ren Fa. Rebel forces were defeated and Ming army entered Lu Chuan. However, Si Ren Fa escaped to Myanmar. Ming government decreed that whichever tribe hands over Si Ren Fa to China would be rewarded with the land of Lu Chuan. Myanmar was hesitant about handing over Si Ren Fa, as they did not trust China about rewarding the land to them and feared revenge by Si Ren Fa's son, who fled to Meng Yang. After Ming troops returned home, Si Ren Fa's son, Si Ji Fa, returned to Lu Chuan and continued the rebellion.

	date = { day = 1 month = june year = 1440 }
	offset = 270
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147032A" #The rebels must be eliminated and Si Ren Fa must be executed
		command = { type = independence which = LCH }
		command = { type = casusbelli which = BRM value = 60 }
		command = { type = relation which = BRM value = -100 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = trigger which = 136017 } #BRM: China promises Lu Chuan land in exchange for rebel leader
		command = { type = trigger which = 378002 } #LCH: New rebellion against China
		command = { type = trigger which = 378003 } #LCH: Open war against China
		command = { type = trigger which = 147033 } #CHI: Loss of Kachin
		#command = { type = ai which = China_6YingZong_Eunuch.txt }
	}
	action_b = {
		name = "ACTIONNAME147032B" #We shall not get involved in barbaric feuds anymore
		command = { type = independence which = LCH }
		command = { type = relation which = BRM value = 50 }
		command = { type = relation which = LCH value = 50 }
		command = { type = domestic which = offensive value = -1 }
		command = { type = trigger which = 136017 } #BRM: China promises Lu Chuan land in exchange for rebel leader
		command = { type = trigger which = 147033 } #CHI: Loss of Kachin
	}
}
#(1440-1450) Lu Chuan rebellion (2)
event = {
	id = 147033 #triggered by CHI_147032 B
	trigger = {
		owned = { province = 1545 data = -1 } #Kachin
	}
	random = no
	country = CHI
	name = "EVENTNAME147033" #Loss of Kachin
	desc = "EVENTHIST147033"
	#-#As a consequence of Lu Chuan Rebellion, Kachin is lost!

	action_a = {
		name = "OH_WELL"
		command = { type = cedeprovince which = LCH value = 1545 } #Kachin
	}
}
#(1443-1451) Lu Chuan rebellion (3)
event = {
	id = 147034
	trigger = {
		OR = {
			owned = { province = 1557 data = CHI } #Sichuan Pendi
			owned = { province = 1545 data = CHI } #Kachin
		}
		NOT = { war = { country = CHI country = LCH } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147032" #Another Rebellion in Lu Chuan
	desc = "EVENTHIST147034"
	#-#The second invasion of Lu Chuan ended after the defeat of Si Ji Fa. Si Ji Fa fled to Meng Yang, and seized control of the area. The Ming government made failed attempts to capture him.

	date = { day = 1 month = july year = 1443 }
	offset = 180
	deathdate = { day = 1 month = july year = 1451 }

	action_a = {
		name = "ACTIONNAME147034A" #This is frustrating
		command = { type = independence which = MYG }
		command = { type = annex which = LCH }
		command = { type = trigger which = 384000 } #MYG: Another Rebellion in Lu Chuan
	}
}
#(1443-1452) Lu Chuan rebellion (3)
event = {
	id = 147035
	trigger = {
		event = 384000 #MYG: Another Rebellion in Lu Chuan
		exists = MYG
	}
	random = no
	country = CHI
	name = "EVENTNAME147032" #Another Rebellion in Lu Chuan
	desc = "EVENTHIST147035"
	#-#Myanmar finally handed over the rebel leader Si Ren Fa (Si Ji Fa's father) to Ming authorities, but the Ming government did not give any reward to Myanmar because of the delay. The Emperor ordered the ambassador of Meng Yang to bring Si Ji Fa to see him. Si Ji Fa was too afraid to go, and the Emperor, for the third time, ordered Wang Ji to Yun Nan to capture Si Ji Fa.

	date = { day = 1 month = august year = 1443 }
	offset = 1
	deathdate = { day = 1 month = january year = 1452 }

	action_a = {
		name = "ACTIONNAME147035A" #The rebels must be exterminated. Move our troops into Meng Yang
		command = { type = casusbelli which = MYG value = 1 }
		command = { type = war which = MYG }
		command = { type = stability value = 1 }
		command = { type = vp value = 10 }
	}
	action_b = {
		name = "ACTIONNAME147035B" #The barbarians are impossible to eliminate. Let us have peace
		command = { type = vassal which = MYG }
		command = { type = relation which = MYG value = 50 }
		command = { type = sleepevent which = 147036 } #CHI: End of Lu Chuan Rebellion
	}
}
#(1446-1452) End of Lu Chuan rebellion
event = {
	id = 147036
	trigger = {
		event = 147035 #CHI: Another Rebellion in Lu Chuan
		NOT = { war = { country = CHI country = MYG } }
	}
	random = no
	country = CHI
	name = "EVENTNAME147036" #End of Lu Chuan Rebellion
	desc = "EVENTHIST147036"
	#-#For the third time, the Emperor ordered Wang Ji to Yun Nan to capture Si Ji Fa. Wang Ji defeated Si Ji Fa, but was still unable to capture him. The army went past Meng Yang and reached Meng Na (near modern day Katha on the border of Kachin and Sagaing in northern Burma), to the astonishment and shock of many local tribes, who did not know of any Han Chinese who had ever crossed the Irrawaddy river since the time of antiquity. Wang Ji ordered the army to return home. The rebels supported Si Ren Fa's young son Si Lu as leader and continued to occupy the Meng Yang area. Wang Ji knew that the rebels could not be eliminated, and thus made an agreement with Si Lu, allowing them to reside in Meng Yang, but erected a stone tablet at Irrawaddy River, with the words 'thou shall not cross until the seas dry up and the rocks crumble'. The Ming Emperor then granted Myanmar authority to govern the Meng Yang area and to capture Si Ji Fa.

	date = { day = 12 month = july year = 1446 }
	offset = 30
	deathdate = { day = 12 month = july year = 1452 }

	action_a = {
		name = "ACTIONNAME147036A" #The barbarians are impossible to eliminate. Let us have peace.
		command = { type = vassal which = MYG }
		command = { type = relation which = MYG value = 50 }
		command = { type = relation which = BRM value = 50 }
		command = { type = trigger which = 136018 } #BRM: End of Lu Chuan Rebellion
		command = { type = sleepevent which = 147037 } #CHI: The Meng Yang Area is Pacified
	}
	action_b = {
		name = "ACTIONNAME147036B" #We will never give up!
		command = { type = war which = MYG }
		command = { type = revolt which = 1545 } #Kachin
		command = { type = revolt which = 1545 } #Kachin
		command = { type = revolt which = 1545 } #Kachin
		command = { type = revolt which = 1545 } #Kachin
		command = { type = province_revoltrisk which = 1545 value = 300 } #Kachin
	}
}
#(1460) Meng Yang Area Pacified
event = {
	id = 147037
	trigger = {
		event = 147036 #CHI: End of Lu Chuan Rebellion
	}
	random = no
	country = CHI
	name = "EVENTNAME147037" #The Meng Yang Area is Pacified
	desc = "EVENTHIST147037"
	#-#After occupying the area for 10 years, the Meng Yang area is finally rid of rebels.

	date = { day = 12 month = july year = 1460 }
	offset = 120
	deathdate = { day = 1 month = december year = 1460 }

	action_a = {
		name = "ACTIONNAME147037A" #Finally
		command = { type = province_revoltrisk which = 1545 value = -300 } #Kachin
	}
}
#End of "Lu Chuan Rebellion" Sequence
#-----------------------------------------------------------------------------------------------

#(1429-1431) Classes in the Internal Palace
event = {
	id = 147038
	random = no
	country = CHI
	name = "EVENTNAME147038" #Classes in the Internal Palace
	desc = "EVENTHIST147038"
	#-#The founding Emperor of the Ming Dynasty, Ming Tai Zu, laid down a family teaching that eunuchs are only supposed to be servants running affairs inside the palace and forbidden to interfere in the running of the country's affairs. He also laid down the teaching that eunuchs are forbidden to be literate so as to curtail them from gaining power over the Emperor. But the later Emperor, Cheng Zu, breached this and began to use eunuchs as ambassadors to foreign countries, supervise armies outside the capital, and investigate civilian matters. Ming Xuan Zong continued this policy to delegate power to the eunuchs and in AD 1429 he established classes in the internal palace to teach eunuchs to be literate. Having eunuchs being literate is supposed to help the Emperor deal with national affairs in his palace more smoothly.

	date = { day = 4 month = february year = 1429 }
	offset = 360
	deathdate = { day = 4 month = february year = 1431 }

	action_a = {
		name = "ACTIONNAME147038A" #Establish it
		command = { type = setflag which = [eunuchagency2] }
	}
	action_b = {
		name = "ACTIONNAME147038B" #Adhere to Tai Zu's decree
		command = { type = domestic which = centralization value = -1 }
		command = { type = ADM which = -2 value = 50 }
	}
}

#-----------------------------------------------------------------------------------------------
#"Three Yang Counselling" Sequence

#Sources
#http://www.lib.cuhk.edu.hk/collections/sikuquanshu.html
#http://big5.xinhuanet.com/gate/big5/news.xinhuanet.com/book/2003-03/13/content_776422.htm
#http://www.geocities.com/newlooktea/xiaolan.htm
#(1435) Three Yang Counselling Imperial Administration
event = {
	id = 147039
	trigger = {
		monarch = 032003 #Ying Zong
	}
	random = no
	country = CHI
	name = "EVENTNAME147039" #Three Yang Counselling Imperial Administration
	desc = "EVENTHIST147039"
	#-#The Three Yang refers to Yang Pu, Yang Shi Qi, and Yang Rong. The three of them served in the cabinet during the administration of 4 Emperors, Cheng Zu, Ren Zong, Xuan Zong and Ying Zong, participating in the administration of the most important classified imperial matters. Yang Shi Qi made proposals which contributed to reduced taxes, reduced labour service, pacification of outlaws, strengthening supervision of officials, and nomination of capable officials. Yang Rong was flexible, vigilant, astute, decisive and observant. He was also learned in geography, and contributed to various successful military policies.\n \n When Ying Zong ascended the throne in 1435, he was only aged 9. Grand Dowager Empress Zhang, grandmother of Ying Zong and widow of Ren Zong, supervised the administration, and placed faith on the advice of the Three Yang to make decisions. During the times of their Counsel, the imperial administration constantly trained its armies, strictly defended the borders, effectively supervised the officials and restrained the use of criminal punishments. The assistance of Three Yang for a long period contributed to peace and stability of early Ming.

	date = { day = 25 month = january year = 1435 }
	offset = 1
	deathdate = { day = 5 month = february year = 1435 }

	action_a = {
		name = "ACTIONNAME147039A" #Hail the Three Yang
		command = { type = DIP which = 1 value = 90 }
		command = { type = ADM which = 4 value = 90 }
		command = { type = MIL which = 2 value = 60 }
	}
}
#Sources
#http://www.china10k.com/trad/history/
#http://www.jianou.gov.cn/jogl/6/jogl60.asp
#(1442) End of Three Yang Counselling
event = {
	id = 147040
	trigger = { event = 147039 }
	random = no
	country = CHI
	name = "EVENTNAME147040" #End of Three Yang Counselling
	desc = "EVENTHIST147040"
	#-#Ming Emperor, Ying Zong, favoured the eunuch Wang Zhen, who had been by his side ever since boyhood when he was still the Grand Prince. Wang Zhen used this favouritism to interfere in imperial politics and punished officials at will, contrary to a familly teaching laid down by Tai Zu, the founding Emperor of the Ming dynasty, that eunuchs were not to interfere with imperial politics. Grand Dowager Empress Zhang thus threatened Wang Zhen with a knife at his neck and ordered him to be executed. But Ying Zong saved Wang Zhen.\n \n In late 1442, the Grand Dowage Empress Zhang died. Of the Three Yang Counsels, Yang Rong died in 1440. In 1442, an ordinary village elder alleged that Yang Shi Qi's eldest son had evaded imperial taxes and unlawfully occupied estate lands. Yang Shi Qi did not attempt to suppress or attack the allegation maker but instead admitted his son's offences and sought leniency from Ying Zong. Ying Zong, now aged 16, favoured Wang Zhen and was uneasy with the prestige of the Three Yang Counsels. He refused leniency for Yang Shi Qi's son. In the same year Yang Shi Qi himself, now aged 79 died in shame. Of the 3 counsels to the Emperor, only Yang Pu remained, without support, until 1446 when he died at age 74.

	date = { day = 20 month = august year = 1442 }
	offset = 30
	deathdate = { day = 1 month = october year = 1442 }

	action_a = {
		name = "ACTIONNAME147040A" #Punish the criminals
		command = { type = inflation value = -1 }
	}
	action_b = {
		name = "ACTIONNAME147040B" #Allow leniency
		command = { type = DIP which = 1 value = 45 }
		command = { type = ADM which = 3 value = 45 }
		command = { type = infra value = -2000 }
	}
}
#End of "Three Yang Counselling" Sequence
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#"Ye Zong Liu and Deng Mao Qi's Rebellion" Sequence

#(1444) Ye Zong Liu's Rebellion
event = {
	id = 147041
	random = no
	country = CHI
	name = "EVENTNAME147041" #Ye Zong Liu's Rebellion
	desc = "EVENTHIST147041"
	#-#The Ming Empire's expensive foreign campaigns required the supply of large amounts of gold, silver and other metals. At the same time, as the Three Yang counsels declined in power and Wang Zhen rose to power in the central government, an atmosphere of corruption began to spread amongst the ruling class. In order to afford bribes, which is now endorsed by Wang Zhen, officials and rich people greatly increased their demand for personal wealth. This led to increased upper class domination and exploitation of the population, such as demanding higher rent from peasant farmers. Another unfortunate group were the mining workers, who because of their chance of being in contact with valuable metals were strictly and harshly treated and worked in poor conditions. A mining worker Ye Zong Liu was alleged to have stolen some silver. He killed a local official and began leading other miners in a rebellion. The rebels fought along the area of northern Fu Jian, southern Jie Jiang and eastern Jiang Xi. This developed into a substantial rebellion numbered into the tens of thousands. The government failed to successfully eliminate or pacify them. Although Ye Zong Liu was later killed by a fellow rebel leader, the rebellion did not die down until the earlier years of Jing Tai period (AD 1450s).

	date = { day = 1 month = may year = 1444 }
	offset = 150
	deathdate = { day = 1 month = december year = 1444 }

	action_a = {
		name = "OH_WELL"
		command = { type = revolt which = 655 } #Zhejiang
		command = { type = revolt which = 655 } #Zhejiang
		command = { type = revolt which = 655 } #Zhejiang
		command = { type = revolt which = 655 } #Zhejiang
		command = { type = province_revoltrisk which = 655 value = 400 } #Zhejiang
		command = { type = province_revoltrisk which = 654 value = 200 } #Anhui
	}
}
#(1448) Deng Mao Qi's Rebellion
event = {
	id = 147042
	random = no
	country = CHI
	name = "EVENTNAME147042" #Deng Mao Qi's Rebellion
	desc = "EVENTHIST147042"
	#-#In a similar situation to Ye Zong Liu is another rebel leader Deng Mao Qi. He started a rebellion in central Fujian province on Zheng Tong year 13, month 8, day 2 (30th August, AD 1448). Rebel forces attacked and captured several cities in central Fu Jian province, and the forces grew rapidly. However, Deng Mao Qi was killed by government forces on Zheng Tong year 14, month 2, day 6 (28th February, AD 1449).

	date = { day = 1 month = june year = 1448 }
	offset = 150
	deathdate = { day = 1 month = december year = 1448 }

	action_a = {
		name = "OH_WELL"
		command = { type = revolt which = 656 } #Fujian
		command = { type = revolt which = 656 } #Fujian
		command = { type = revolt which = 656 } #Fujian
		command = { type = revolt which = 656 } #Fujian
		command = { type = province_revoltrisk which = 656 value = 400 } #Fujian
	}
}
#(1451-1453) End of Ye Zong Liu and Deng Mao Qi's Rebellion
event = {
	id = 147043
	random = no
	country = CHI
	name = "EVENTNAME147043" #End of Ye Zong Liu and Deng Mao Qi's Rebellion
	desc = "EVENTHIST147043"
	#-#By this time Ye Zong Liu and Deng Mao Qi's Rebellion have died down.

	date = { day = 1 month = june year = 1451 }
	offset = 360
	deathdate = { day = 1 month = june year = 1453 }

	action_a = {
		name = "OH_WELL"
		command = { type = province_revoltrisk which = 656 value = -400 } #Fujian
		command = { type = province_revoltrisk which = 655 value = -400 } #Zhejiang
		command = { type = province_revoltrisk which = 654 value = -200 } #Anhui
	}
}
#End of "Ye Zong Liu and Deng Mao Qi's Rebellion" Sequence
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#"Miao people Rebellion" Sequence

#(1449) Large Scale Rebellion of the Miao people
event = {
	id = 147044
	trigger = { domestic = { type = centralization value = 5 } }
	random = no
	country = CHI
	name = "EVENTNAME147044" #Large Scale Rebellion of the Miao people
	desc = "EVENTHIST147044"
	#-#Large scale rebellion of the Miao people occurred in Gui Zhou and Hu Guang provinces. They numbered into the hundred thousands and surrounded many cities. Wang Ji, on his return from pursuing Si Ji Fa in Yun Nan, was ordered to put out the rebellion. However, he halted his armies from fighting. After the Tu Mu incident, he was replaced by other generals who swiftly defeated the rebels.

	date = { day = 1 month = april year = 1449 }
	offset = 90
	deathdate = { day = 1 month = april year = 1449 }

	action_a = {
		name = "OH_WELL"
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1566 } #Hunan
		command = { type = revolt which = 1567 } #Nanchang
		command = { type = revolt which = 1567 } #Nanchang
		command = { type = revolt which = 1556 } #Guizhou
		command = { type = revolt which = 1556 } #Guizhou
		command = { type = revolt which = 1555 } #Wenshan
		command = { type = revolt which = 1555 } #Wenshan
		command = { type = province_revoltrisk which = 1566 value = 400 } #Hunan
		command = { type = province_revoltrisk which = 1567 value = 200 } #Nanchang
		command = { type = province_revoltrisk which = 1556 value = 200 } #Guizhou
		command = { type = province_revoltrisk which = 1555 value = 200 } #Wenshan
	}
}
#(1451-1453) End of the Miao Rebellion
event = {
	id = 147045
	trigger = { event = 147044 }
	random = no
	country = CHI
	name = "EVENTNAME147045" #End of the Miao Rebellion
	desc = "EVENTHIST147045"
	#-#Large scale rebellion of the Miao people occurred in Gui Zhou and Hu Guang provinces. They numbered into the hundred thousands and surrounded many cities. Wang Ji, on his return from pursuing Si Ji Fa in Yun Nan, was ordered to put out the rebellion. However, he halted his armies from fighting. After the Tu Mu incident, he was replaced by other generals who swiftly defeated the rebels.

	date = { day = 1 month = april year = 1451 }
	offset = 360
	deathdate = { day = 1 month = april year = 1453 }

	action_a = {
		name = "OH_WELL"
		command = { type = province_revoltrisk which = 1566 value = -400 } #Hunan
		command = { type = province_revoltrisk which = 1567 value = -200 } #Nanchang
		command = { type = province_revoltrisk which = 1556 value = -200 } #Guizhou
		command = { type = province_revoltrisk which = 1555 value = -200 } #Wenshan
	}
}
#End of "Miao people Rebellion" Sequence
#-----------------------------------------------------------------------------------------------

#(1449) The Emperor has been captured
event = {
	id = 10001 #triggered by MGL_115018
	random = no
	country = CHI
	name = "EVENTNAME10001" #The Emperor has been captured
	desc = "EVENTHIST10001"
	#-#The Emperor has been captured while campaigning against the Mongols. Jingtai, Zhengtong's brother, has seized the throne, but the Mongols are threatening to release the captured Emperor, thus starting a succession crisis, if not an all-out civil war. The country is descending into chaos!

	action_a = {
		name = "ACTIONNAME10001A" #This is terrible news!
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 96 value = 3 }
		command = { type = setflag which = [Jingtai] }
		command = { type = wakemonarch which = 032004 } #Jingtai
	}
}
#(1449-1457) AI event - For a revolter China...
event = {
	id = 147057
	trigger = {
		ai = yes #could not happen to a player
		event = 10001 #CHI: The Emperor has been captured
		NOT = { flag = [Jingtai] }
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = "Jingtai to the Throne"

	date = { day = 22 month = november year = 1449 }
	offset = 0
	deathdate = { day = 23 month = february year = 1457 }

	action_a = {
		name = "OK"
		command = { type = setflag which = [Jingtai] }
		command = { type = wakemonarch which = 032004 } #Jingtai
	}
}

#(1457) Zhengtong (returns) to the throne
event = {
	id = 10002
	trigger = {
		event = 10001 #CHI: The Emperor has been captured
	}
	random = no
	country = CHI
	name = "EVENTNAME10002" #Zhengtong to the Throne
	desc = "EVENTHIST10002"
	#-#Zhengtong seized the throne from his brother and taking the new throne name Tianshun. The instability of the past few years now seems to be over!

	date = { day = 24 month = february year = 1457 }

	action_a = {
		name = "GREAT"
		command = { type = stability value = 2 }
		command = { type = setflag which = [Tianshun] }
		command = { type = wakemonarch which = 032005 } #Tianshun
	}
}
#(1457-1464) AI event - For a revolter China...
event = {
	id = 147058
	trigger = {
		ai = yes #could not happen to a player
		OR = {
			event = 10001 #CHI: The Emperor has been captured
			event = 10002 #CHI: Zhengtong to the Throne
		}
		NOT = { flag = [Tianshun] }
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = "Tianshun to the Throne"

	date = { day = 25 month = february year = 1457 }
	offset = 0
	deathdate = { day = 22 month = march year = 1464 }

	action_a = {
		name = "OK"
		command = { type = setflag which = [Tianshun] }
		command = { type = wakemonarch which = 032005 } #Tianshun
	}
}

#(1450-1490) Repairing the Great Wall
event = {
	id = 10003
	random = no
	country = CHI
	name = "EVENTNAME10003" #Repairing the Great Wall
	desc = "EVENTHIST10003"
	#-#Ever since the capture of the Emperor Zhengtong by the Mongols, security on the northern frontier has been an important issue. One problem is the sorry state of the Great Wall, built in ancient times, but left to crumble in recent centuries. We could repair the Great Wall, but it would be expensive and the effort, both physical and fiscal, would likely cause some unrest among the people. However, with improved defenses, the provinces in the area would likely become more productive and secure, while without them people may leave to safer havens. What shall we do?

	date = { day = 1 month = january year = 1450 }
	offset = 10000
	deathdate = { day = 1 month = january year = 1490 }

	action_a = {
		name = "ACTIONNAME10003A" #Yes, we need to repair the Great Wall!
		command = { type = domestic which = offensive value = -2 }
		command = { type = fortress which = 648 value = 1 } #Hepei
		command = { type = provincetax which = 648 value = 1 } #Hepei
		command = { type = fortress which = 1561 value = 1 } #Hohhot
		command = { type = provincetax which = 1561 value = 1 } #Hohhot
		command = { type = stability value = -1 }
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "ACTIONNAME10003B" #Let it continue to crumble
		command = { type = domestic which = offensive value = 1 }
		command = { type = stability value = 1 }
		command = { type = population which = 648 value = -1000 } #Hepei
		command = { type = population which = 1561 value = -1000 } #Hohhot
	}
}

#(1500-1540) Further Repairs for the Great Wall
event = {
	id = 10034
	random = no
	country = CHI
	name = "EVENTNAME10034" #More Repairs for the Great Wall
	desc = "EVENTHIST10034"
	#-#Ever since the capture of the Emperor Zhengtong by the Mongols, security on the northern frontier has been an important issue. One problem is the sorry state of the Great Wall, built in ancient times, but left to crumble in recent centuries. We could repair the Great Wall, but it would be expensive and the effort, both physical and fiscal, would likely cause some unrest among the people. However, with improved defenses, the provinces in the area would likely become more productive and secure, while without them people may leave to safer havens. What shall we do?

	date = { day = 1 month = january year = 1500 }
	offset = 10000
	deathdate = { day = 1 month = january year = 1540 }

	action_a = {
		name = "ACTIONNAME10034A" #Yes, we need further repairs to the Great Wall!
		command = { type = domestic which = offensive value = -2 }
		command = { type = fortress which = 647 value = 1 } #Liaoning
		command = { type = provincetax which = 647 value = 1 } #Liaoning
		command = { type = fortress which = 1560 value = 1 } #Ningxia
		command = { type = provincetax which = 1560 value = 1 } #Ningxia
		command = { type = stability value = -1 }
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "ACTIONNAME10034B" #Let it continue to crumble
		command = { type = domestic which = offensive value = 1 }
		command = { type = stability value = 1 }
		command = { type = population which = 647 value = -1000 } #Liaoning
		command = { type = population which = 1560 value = -1000 } #Ningxia
	}
}

#(1500-1510) The Perfection of Ming Porcelain
event = {
	id = 10004
	random = no
	country = CHI
	name = "EVENTNAME10004" #The Perfection of Ming Porcelain
	desc = "EVENTHIST10004"
	#-#Recent advances in glazes, painting techniques, and pottery-making have resulted in a product that many experts claim is perfection. Exports in chinaware have increased as our product is in high demand. Provinces especially dedicated to the production of the finest porcelain have grown rich on the trade, increasing our revenue from those areas!

	date = { day = 1 month = january year = 1500 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1510 }

	action_a = {
		name = "ACTIONNAME10004A" #Perfect!
		command = { type = provincetax which = 654 value = 2 } #Anhui
		command = { type = provincetax which = 1563 value = 2 } #Shaanxi
	}
}

#(1523) Japanese Pirates Attack
event = {
	id = 10005
	random = no
	country = CHI
	name = "EVENTNAME10005" #Japanese Pirates Attack
	desc = "EVENTHIST10005"
	#-#Japanese pirate attacks have grown worse in recent years, but in the last few months they have markedly increased their activity along our coasts. They are destroying our income from those areas, and people are fleeing inland, when they aren't killed outright. We could attempt to combat them, but it would be expensive to do so. We could also let local authorities combat them - it would save us money, but probably wouldn't be particularly successful. What wall be our policy?

	date = { day = 1 month = january year = 1523 }
	offset = 300
	deathdate = { day = 1 month = january year = 1524 }

	action_a = {
		name = "ACTIONNAME10005A" #Let the provinces look after their own defense.
		command = { type = stability value = -2 }
		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 = domestic which = centralization value = -1 }
	}
	action_b = {
		name = "ACTIONNAME10005B" #Combat the pirates
		command = { type = treasury value = -300 }
		command = { type = population which = 650 value = -1000 } #Shandong
		command = { type = population which = 652 value = -1000 } #Jiangsu
		command = { type = population which = 653 value = -1000 } #Shanghai
		command = { type = sleepevent which = 10006 } #CHI: Pirates besiege Nanjing
		command = { type = naval value = 200 }
		command = { type = relation which = NIP value = -100 }
	}
}

#(1555) Pirates besiege Nanjing
event = {
	id = 10006
	random = no
	country = CHI
	name = "EVENTNAME10006" #Pirates besiege Nanjing
	desc = "EVENTHIST10006"
	#-#Since we decided to let the provinces defend themselves against Japanese pirate attacks, things have gotten only worse. Now pirates are actually besieging Nanjing, the old capital of our dynasty and a city of immense wealth. Our people clamor for us to go to the city's rescue, but it will be extremely expensive. But if we don't, the great city of Nanjing may be sacked by the pirates. What shall we do?

	date = { day = 1 month = january year = 1555 }
	offset = 300
	deathdate = { day = 1 month = january year = 1556 }

	action_a = {
		name = "ACTIONNAME10006A" #Drive the pirates away
		command = { type = treasury value = -400 }
		command = { type = naval value = 200 }
	}
	action_b = {
		name = "ACTIONNAME10006B" #Let them sack the city
		command = { type = population which = 653 value = -5000 } #Shanghai
		command = { type = provincetax which = 653 value = -1 } #Shanghai
		command = { type = revolt which = 653 } #Shanghai
		command = { type = stability value = -2 }
	}
}

#(1557) The Closure of China in 1557
event = {
	id = 3704
	random = no
	country = CHI
	name = "EVENTNAME3704" #The Closure of China
	desc = "EVENTHIST3704"
	#-#European traders seemingly can be found everywhere in China. They are draining the profits away from our own traders and driving them into bankruptcy, causing us much lost revenue in taxes and tariffs. Perhaps we should ban them altogether or confine them to a single city in order to better control them and make it easier to impose trade tariffs. Our experts believe that giving the city of Macau to the Portuguese and only allowing the Europeans to trade there might be the best solution. This will also give us the benefit of expanding trade in our southern regions around Canton. Then again, we could chose to shun outside trade altogether or to open our shores to free and unhindered trade by all. What shall be our policy?

	date = { day = 1 month = january year = 1557 }
	offset = 300
	deathdate = { day = 1 month = january year = 1558 }

	action_a = {
		name = "ACTIONNAME3704A" #Hold a small breathing hole open in Macau
		command = { type = domestic which = innovative value = -2 }
		command = { type = domestic which = mercantilism value = 3 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = relation which = POR value = 100 }
	}
	action_b = {
		name = "ACTIONNAME3704B" #Close China to the outside world
		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 = {
		name = "ACTIONNAME3704C" #Keep trade open for all
		command = { type = domestic which = innovative value = 2 }
		command = { type = domestic which = mercantilism value = -3 }
		command = { type = domestic which = aristocracy value = -2 }
		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 }
	}
}

#(1558-1564) Second Copy of the Great Yong Le Encyclopedia
event = {
	id = 147046
	random = no
	country = CHI
	name = "EVENTNAME147046" #Second Copy of the Great Yong Le Encyclopedia
	desc = "EVENTHIST147046"
	#-#The Great Yong Le Encyclopedia was commissioned by Ming Emperor Cheng Zu (year title Yong Le). More than 3000 people compiled the Encyclopedia from 7000 to 8000 historical and contemporary books. It took 4 years and was completed in Yong Le year 5 (AD 1407). The Encyclopedia consisted of 370 million words, 22937 volumes, including 60 volumes of table of contents, classified into 11095 books. It was compiled from 7000 to 8000 historical and contemporary books. The Encyclopedia was hailed as the best, most developed, detailed and thorough Encyclopedia in traditional China. Its subjects include astromony, geography, political sytem, personal relationships, philosophy, notable objects, legends, climate, medicine, science, history and arts. A suggestion at the time to print copies and widely distribute the Encyclopedia was dismissed as the cost was too great. The Encycledia was kept in one of the towers in the Imperial Palace.\n \n Amongst all Ming Emperors, Emperor Shi Zong (year title Jia Jing) loved reading most, and often had the Encyclopedia placed at the desk. In Jia Jing year 36 (AD 1557), part of the Imperial Palace caught fire. Shi Zong made several imperial decrees within one single night, directing the saving of the Encyclopedia. Luckily the Encyclopedia was transported away and saved in time. Shaken by this experience, in Jia Jing year 41 (AD 1562), Shi Zong ordered an exact copy to be made through very strict copying procedures. The copy was kept at a different place in the Imperial Palace.\n \n The Encyclopedia met its fate at the end of the 1800s during late Qing dynasty when much of it was either burnt or stolen during Western invasions into Bei Jing. Only a few hundred volumes of the original Encyclopedia is left today.

	date = { day = 1 month = february year = 1558 }
	offset = 2000
	deathdate = { day = 1 month = february year = 1564 }

	action_a = {
		name = "ACTIONNAME147046A" #Commission a second copy
		command = { type = treasury value = -200 }
		command = { type = infra value = 800 }
		command = { type = ADM which = 1 value = 120 }
		command = { type = vp value = 10 }
	}
	action_b = {
		name = "ACTIONNAME147046B" #We cannot afford a second copy
		command = { type = vp value = -40 }
	}
	action_c = {
		name = "ACTIONNAME147046C" #Print and distribute the Encyclopedia
		command = { type = treasury value = -600 }
		command = { type = infra value = 6000 }
		command = { type = ADM which = 1 value = 120 }
		command = { type = vp value = 70 }
	}
}

#(1563) Qi Jiguang's Army Reforms
event = {
	id = 10007
	random = no
	country = CHI
	name = "EVENTNAME10007" #Qi Jiguang's Army Reforms
	desc = "EVENTHIST10007"
	#-#The noted general Qi Jiguang has proposed a series of military reforms which, if implemented, would make our armies stronger and our men fight more effectively. Unfortunately, a thorough overhaul of the military is quite an undertaking. It will take quite a bit of money and effort, and even then the armed forces may not appreciate the changes, leading to instability and desertions. Shall we implement the reforms?

	date = { day = 1 month = january year = 1563 }
	offset = 150
	deathdate = { day = 1 month = january year = 1564 }

	action_a = {
		name = "ACTIONNAME10007A" #Go with the reforms!
		command = { type = treasury value = -500 }
		command = { type = land value = 1000 }
		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 = {
		name = "ACTIONNAME10007B" #No, such reforms are too costly
		command = { type = land value = -500 }
		command = { type = domestic which = innovative value = -1 }
	}
}

#(1581) The Arrival of the Jesuits
event = {
	id = 10008
	random = no
	country = CHI
	name = "EVENTNAME10008" #The arrival of the Jesuits
	desc = "EVENTHIST10008"
	#-#In 1581, the first Jesuit missionaries arrived in China, bringing gifts to the Emperor and exhibiting various mechanical inventions from Europe. They also exhibited great knowledge by creating a huge map of the world and in proposing sound ideas for calendar reform. But they also brought with them strange religious and philosophical ideas, which started to disrupt the traditional order of China. Should these missionaries be allowed to stay?

	date = { day = 1 month = january year = 1581 }
	offset = 150
	deathdate = { day = 1 month = january year = 1582 }

	action_a = {
		name = "ACTIONNAME10008A" #Yes, we may benefit from their learning
		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 = {
		name = "ACTIONNAME10008B" #No, their foreign ideas are not acceptable in our society
		command = { type = stability value = 2 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 10036 } #CHI: The Expulsion of the Jesuits
		command = { type = sleepevent which = 317010 } #SMI: The Celestial Order Rebellion
		command = { type = sleepevent which = 10029 } #MCH: The Expulsion of the Jesuits
		command = { type = sleepevent which = 251018 } #PAP: Matteo Ricci in China
		command = { type = sleepevent which = 251012 } #PAP: The Question of the Chinese Rites
		command = { type = sleepevent which = 236001 } #MUS: The Question of the Chinese Rites
	}
}

#(1588) Famine
event = {
	id = 10009
	random = no
	country = CHI
	name = "EVENTNAME10009" #Famine
	desc = "EVENTHIST10009"
	#-#A famine of epic proportions has stricken our nation! A prolonged drought has caused harvests in the last few years to be exceedingly poor, leaving the people with very little, or nothing to eat. Deaths due to starvation or disease are rampant in the countryside, and reports of cannibalism and peasants grinding stones to make flour are commonplace. Many have resorted to banditry in order to feed themselves. The people cry out for the government to relieve their suffering, but to help so many will be costly indeed. Shall we attempt to ease the misery of the people?

	date = { day = 1 month = january year = 1588 }
	offset = 350
	deathdate = { day = 1 month = january year = 1589 }

	action_a = {
		name = "ACTIONNAME10009A" #Try to alleviate the suffering
		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 = {
		name = "ACTIONNAME10009B" #We are helpless in the face of such a disaster...
		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 }
	}
}

#(1615) The Manchu Rebellion - inserted trigger suggestion from doktarr thread 89759, and more suggestions in thread 139955#
event = {
	id = 10010
	trigger = {
		OR = {
			owned = { province = 625 data = -1 } #Bogorodsk
			owned = { province = 626 data = -1 } #Vanin
			owned = { province = 627 data = -1 } #Sofiisk
			owned = { province = 628 data = -1 } #Amour
			owned = { province = 634 data = -1 } #Birobidjan
			owned = { province = 635 data = -1 } #Heilongjiang
			owned = { province = 636 data = -1 } #Viazemski
			owned = { province = 637 data = -1 } #Sikhote
			owned = { province = 638 data = -1 } #Nelma
			owned = { province = 639 data = -1 } #Olga
			owned = { province = 640 data = -1 } #Nakhodka
			owned = { province = 643 data = -1 } #Jilin
			owned = { province = 644 data = -1 } #Baicheng
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME10010" #The Manchu Rebellion
	desc = "EVENTHIST10010"
	#-#The Manchu leader Nurhachi has rallied the Jurchen tribes to his banner. They are reorganizing the Manchu state to our north, and are causing some of our northern provinces to rebel. How shall we deal with this crisis?

	date = { day = 1 month = january year = 1615 }
	offset = 300
	deathdate = { day = 1 month = january year = 1616 }

	action_a = {
		name = "ACTIONNAME10010A" #We are too weak to crush the rebels
		command = { type = independence which = MCH }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = cedeprovince which = MCH value = 635 } #Heilongjiang
		command = { type = cedeprovince which = MCH value = 636 } #Viazemski
		command = { type = cedeprovince which = MCH value = 637 } #Sikhote
		command = { type = cedeprovince which = MCH value = 638 } #Nelma
		command = { type = cedeprovince which = MCH value = 639 } #Olga
		command = { type = cedeprovince which = MCH value = 640 } #Nakhodka
		command = { type = cedeprovince which = MCH value = 643 } #Jilin
		command = { type = cedeprovince which = MCH value = 644 } #Baicheng
		command = { type = trigger which = 147051 } #CHI: The Manchu independence
	}
	action_b = {
		name = "ACTIONNAME10010B" #Attempt to crush the rebels
		command = { type = treasury value = -1000 }
		command = { type = stability value = -5 }
		command = { type = revoltrisk which = 60 value = 10 }
		command = { type = revolt which = 625 } #Bogorodsk
		command = { type = revolt which = 626 } #Vanin
		command = { type = revolt which = 627 } #Sofiisk
		command = { type = revolt which = 628 } #Amour
		command = { type = revolt which = 634 } #Birobidjan
		command = { type = revolt which = 635 } #Heilongjiang
		command = { type = revolt which = 636 } #Viazemski
		command = { type = revolt which = 637 } #Sikhote
		command = { type = revolt which = 638 } #Nelma
		command = { type = revolt which = 639 } #Olga
		command = { type = revolt which = 640 } #Nakhodka
		command = { type = revolt which = 643 } #Jilin
		command = { type = revolt which = 644 } #Baicheng
		command = { type = revolt which = 645 } #Jehol
		command = { type = revolt which = 646 } #Liaotung
	}
}
#(1615) The Manchu independence
event = {
	id = 147051 #triggered by CHI_10010 A
	trigger = {
		OR = {
			owned = { province = 625 data = -1 } #Bogorodsk
			owned = { province = 626 data = -1 } #Vanin
			owned = { province = 627 data = -1 } #Sofiisk
			owned = { province = 628 data = -1 } #Amour
			owned = { province = 634 data = -1 } #Birobidjan
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147051" #The Manchu independence
	desc = "EVENTHIST147051"
	#-#Effects of the creation of a separate Manchu state.

	action_a = {
		name = "ACTIONNAME147051A" #Concede them more lands!
		command = { type = cedeprovince which = MCH value = 625 } #Bogorodsk
		command = { type = cedeprovince which = MCH value = 626 } #Vanin
		command = { type = cedeprovince which = MCH value = 627 } #Sofiisk
		command = { type = cedeprovince which = MCH value = 628 } #Amour
		command = { type = cedeprovince which = MCH value = 634 } #Birobidjan
	}
}

#(1622-1627) Eunuch Wei Zhongxian
event = {
	id = 147137
	random = no
	country = CHI
	name = "EVENTNAME147137" #Eunuch Wei Zhongxian
	desc = "EVENTHIST147137"
	#-#Tianqi, an excellent Carpenter like Peter I, did not fit the job as the emperor. He interested himself more in the job of carpenter. Thus, eunuch Wei Zhongxian leader of the East Factory, together with Keshi, acquired the power and became the true ruler of China. He only let people who gave him presents be promoted, gathered a lot of treasure, and he expelled his enemy, the party of Eastern Forest.

	date = { day = 1 month = january year = 1622 }
	offset = 60
	deathdate = { day = 1 month = january year = 1627 }

	action_a = {
		name = "OH_NO"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 72 value = 3 }
		command = { type = ADM which = -3 value = 72 }
		command = { type = revolt which = -1 }
		command = { type = treasury value = -700 }
	}
}

#(1622) The Cult of the White Lotus
event = {
	id = 10011
	random = no
	country = CHI
	name = "EVENTNAME10011" #The Cult of the White Lotus
	desc = "EVENTHIST10011"
	#-#The Cult of the White Lotus, a secret revolutionary society, has once again become popular among the common people. In the closing years of the Mongol Yuan Dynasty, they organized resistance to the foreign overlords, and now they are doing so again, but against the reigning Ming Dynasty! What should be done with these revolutionary cultists?

	date = { day = 1 month = january year = 1622 }
	offset = 300
	deathdate = { day = 1 month = january year = 1623 }

	action_a = {
		name = "ACTIONNAME10011A" #Bah, surely these cultists can do no lasting harm!
		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 = {
		name = "ACTIONNAME10011B" #Let the forces of the Empire crush the Rebellion
		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 }
	}
}

#(1628) The execution of Wei Zhongxian
event = {
	id = 147138
	trigger = {
		event = 147137 #CHI: Eunuch Wei Zhongxian
	}
	random = no
	country = CHI
	name = "EVENTNAME147138" #The execution of Wei Zhongxian
	desc = "EVENTHIST147138"
	#-#Emperor Chongzhen, began to save his kingdom with the execution of the well-hated Wei Zhongxian.

	date = { day = 1 month = january year = 1628 }
	offset = 3
	deathdate = { day = 29 month = december year = 1628 }

	action_a = {
		name = "ACTIONNAME147138A" #Execute Wei Zhongxian
		command = { type = stability value = 1 }
		command = { type = treasury value = 300 }
		command = { type = inflation value = -2 }
		command = { type = domestic which = centralization value = 1 }
	}
}

#(1630) The Trial of Yuan Chonghuan
event = {
	id = 147052
	trigger = {
		exists = MCH
		NOT = {
			vassal = { country = CHI country = MCH }
			alliance = { country = CHI country = MCH }
			relation = { country = MCH data = 100 }
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147052" #The Trial of Yuan Chonghuan
	desc = "EVENTHIST147052"
	#-#Yuan Chonghuan was one of the top Ming generals. In the late 1620s the Manchu considered him a serious threat. Manchu emperor Hong Taiji decided to attempt to eliminate Yuan. He sent spies to spread rumors that Yuan Chonghuan was a traitor to the Ming. Ming emperor Chongzhen believed the rumors, and had Yuan executed. Yuan was found to be innocent later, but it was too late. A loyal general became a tragic hero.

	date = { day = 13 month = january year = 1630 }
	offset = 50
	deathdate = { day = 22 month = september year = 1630 }

	action_a = {
		name = "ACTIONNAME147052A" #Execute him as an example to other traitors
		command = { type = MIL which = -3 value = 120 }
		command = { type = revoltrisk value = -2 }
	}
	action_b = {
		name = "ACTIONNAME147052B" #Trust in his innocence
		command = { type = ADM which = -3 value = 48 }
		command = { type = revoltrisk which = 24 value = 2 }
		command = { type = revoltrisk which = 48 value = 1 }
		command = { type = wakeleader which = 032324 } #Yuan Chonghuan (CHI)
	}
	action_c = {
		name = "ACTIONNAME147052C" #Root out the source of these rumors
		command = { type = wakeleader which = 032324 } #Yuan Chonghuan (CHI)
		command = { type = treasury value = -300 }
		command = { type = stability value = -1 }
		command = { type = casusbelli which = MCH value = 60 }
	}
}

#(1637) Disasters and taxes
event = {
	id = 147139
	random = no
	country = CHI
	name = "EVENTNAME147139" #Disasters and taxes
	desc = "EVENTHIST147139"
	#-#From 1637, many nature disasters hit China one after another. They included famine, drought, locust, earthquake, plague and so on. The rule of Wei has washed the moral away. To survive, people began to eat other people. With the three taxes Chongzhen gathered, most people had no choice but to revolt.

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

	action_a = {
		name = "OH_NO"
		command = { type = stability value = -3 }
		command = { type = population which = 649 value = -10000 } #Hebei
		command = { type = population which = 650 value = -5000 } #Shandong
		command = { type = population which = 1564 value = -5000 } #Henan
		command = { type = population which = 1565 value = -5000 } #Hunan
		command = { type = population which = 654 value = -5000 } #Anhui
		command = { type = population which = -1 value = -2000 }
		command = { type = population which = -1 value = -2000 }
		command = { type = population which = -1 value = -2000 }
	}
}

#(1640) The Financial Crisis
event = {
	id = 10012
	random = no
	country = CHI
	name = "EVENTNAME10012" #The Financial Crisis
	desc = "EVENTHIST10012"
	#-#Due to decades of rebellions, unrest, and corruption, our financial situation is in dire straits. We need a new inflow of cash, but the only way to do so is to institute new unpopular taxes. By doing so, we can temporarily relieve some of our cash flow problems, but the already unstable situation may become even worse. But if we don't, we may lose the ability to raise taxes efficiently in certain provinces due to the unrest. What shall we do?

	date = { day = 1 month = january year = 1640 }
	offset = 150
	deathdate = { day = 1 month = january year = 1641 }

	action_a = {
		name = "ACTIONNAME10012A" #Yes, let us raise the taxes
		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 = {
		name = "ACTIONNAME10012B" #No, our subjects are already angry enough!
		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 }
	}
}

#(1644) Emperor Chongzhen Commits Suicide
#Bugfix from threadid=56611
event = {
	id = 3913
	trigger = {
		NOT = { exists = MCH }
	}
	random = no
	country = CHI
	name = "EVENTNAME10435" #Emperor Chongzhen Commits Suicide
	desc = "EVENTHIST10435"
	#-#As Li Zechang's rebel forces approached the capital, Emperor Chongzhen struck a bell, signaling his ministers to appear for a conference. When no one came, he climbed to the top of Coal Hill, next to his palace, and hanged himself. With the death of the Emperor our glorious nation is descending into chaos! At least we can take comfort in the fact that the Manchu are subdued. But for how long?

	date = { day = 24 month = april year = 1644 }

	action_a = {
		name = "ACTIONNAME10435A" #Woe is us!
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revoltrisk which = 240 value = 5 }
		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 = sleepevent which = 10025 } #CHI: The Chinese Collapse
		command = { type = sleepevent which = 10026 } #CHI: The End of the Ming Dynasty
		command = { type = sleepmonarch which = 032015 } #Shunzhi
		command = { type = sleepmonarch which = 032016 } #Kangxi
		command = { type = sleepmonarch which = 032017 } #Yangzheng
		command = { type = sleepmonarch which = 032018 } #Qianlong
		command = { type = sleepmonarch which = 032019 } #Jiajing
		command = { type = sleepmonarch which = 032020 } #Daoguang
		command = { type = wakemonarch which = 032021 } #Zhu You Song (Hong Guang) 
		command = { type = wakemonarch which = 032022 } #Zhu Yu Jian (Long Wu) 
		command = { type = wakemonarch which = 032023 } #Zhu You Lang (Yong Li) 
		command = { type = wakemonarch which = 032024 } #Xingming *
		command = { type = wakemonarch which = 032025 } #Anzheng *
		command = { type = wakemonarch which = 032026 } #Yansheng *
		command = { type = wakemonarch which = 032027 } #Xiangrui *
		command = { type = wakemonarch which = 032028 } #Guangda *
		command = { type = wakemonarch which = 032029 } #Detai *
	}
}
#(1644) The Fall of the Ming Dynasty
event = {
	id = 10014
	trigger = { exists = MCH }
	random = no
	country = CHI
	name = "EVENTNAME10014" #The Fall of the Ming Dynasty
	desc = "EVENTHIST10014"
	#-#The Empire has descended into unparalleled chaos! Rebels control the countryside and march upon our capital. The armies of the barbarous Manchu move at will throughout the north and threaten Beijing. The people have completely lost faith in the current dynasty to rule. The ancients believed that when a dynasty was no longer fit to rule, the Mandate of Heaven was withdrawn from them and given to another. Many believe that this has happened and that it is time for the Ming to go, but others feel that we should fight on to the end against the rebels and the Manchu. What shall we do?

	date = { day = 24 month = april year = 1644 }

	action_a = {
		name = "ACTIONNAME10014A" #Continue to fight on in the south!
		command = { type = capital which = 659 } #Guangdong
		command = { type = relation which = MCH value = -400 }
		command = { type = stability value = -8 }
		command = { type = cedeprovince which = MCH value = 635 } #Heilongjiang
		command = { type = cedeprovince which = MCH value = 636 } #Viazemski
		command = { type = cedeprovince which = MCH value = 637 } #Sikhote
		command = { type = cedeprovince which = MCH value = 638 } #Nelma
		command = { type = cedeprovince which = MCH value = 639 } #Olga
		command = { type = cedeprovince which = MCH value = 640 } #Nakhodka
		command = { type = cedeprovince which = MCH value = 643 } #Jilin
		command = { type = cedeprovince which = MCH value = 644 } #Baicheng
		command = { type = cedeprovince which = MCH value = 645 } #Jehol
		command = { type = cedeprovince which = MCH value = 646 } #Liaotung
		command = { type = cedeprovince which = MCH value = 647 } #Liaoning
		command = { type = cedeprovince which = MCH value = 648 } #Hepei
		command = { type = cedeprovince which = MCH value = 649 } #Hebei
		command = { type = cedeprovince which = MCH value = 650 } #Shandong
		command = { type = cedeprovince which = MCH value = 651 } #Jinan
		command = { type = cedeprovince which = MCH value = 1560 } #Ningxia
		command = { type = cedeprovince which = MCH value = 1561 } #Hohhot
		command = { type = cedeprovince which = MCH value = 1562 } #Shanxi
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		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 = 032015 } #Shunzhi
		command = { type = sleepmonarch which = 032016 } #Kangxi
		command = { type = sleepmonarch which = 032017 } #Yangzheng
		command = { type = sleepmonarch which = 032018 } #Qianlong
		command = { type = sleepmonarch which = 032019 } #Jiajing
		command = { type = sleepmonarch which = 032020 } #Daoguang
		command = { type = wakemonarch which = 032021 } #Zhu You Song (Hong Guang) 
		command = { type = wakemonarch which = 032022 } #Zhu Yu Jian (Long Wu) 
		command = { type = wakemonarch which = 032023 } #Zhu You Lang (Yong Li) 
		command = { type = wakemonarch which = 032024 } #Xingming *
		command = { type = wakemonarch which = 032025 } #Anzheng *
		command = { type = wakemonarch which = 032026 } #Yansheng *
		command = { type = wakemonarch which = 032027 } #Xiangrui *
		command = { type = wakemonarch which = 032028 } #Guangda *
		command = { type = wakemonarch which = 032029 } #Detai *
	}
	action_b = {
		name = "ACTIONNAME10014B" #Throw our lot in with the Manchu and proclaim the Qing Dynasty
		command = { type = trigger which = 10015 } #MCH: The Takeover of China
		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 }
	}
}
#(1644) The Manchu takeover of China
event = {
	id = 10016 #triggered by MCH_10015 A
	random = no
	country = CHI
	name = "EVENTNAME10016" #The Manchu Takeover of China
	desc = "EVENTHIST10016"
	#-#Wonderful news! The Manchu people have accepted our offer of unification. From now on we shall be as one.

	action_a = {
		name = "ACTIONNAME10016A" #We will rule this Empire together!
		command = { type = inherit which = MCH }
	}
}
#(1644) The Manchu Takeover of China
event = {
	id = 10017 #triggered by MCH_10015 B
	random = no
	country = CHI
	name = "EVENTNAME10017" #The Manchu Takeover of China
	desc = "EVENTHIST10017"
	#-#Discouraging news! The Manchu have accepted our offer, but only on their terms - complete surrender. What shall we do?

	action_a = {
		name = "ACTIONNAME10017A" #We have no choice but to accept (End Game)
		command = { type = trigger which = 10018 } #MCH: The Manchu Takeover of China
	}
	action_b = {
		name = "ACTIONNAME10017B" #We will not completely submit to these barbarians!
		command = { type = capital which = 659 } #Guangdong
		command = { type = cedeprovince which = MCH value = 625 } #Bogorodsk
		command = { type = cedeprovince which = MCH value = 626 } #Vanin
		command = { type = cedeprovince which = MCH value = 627 } #Sofiisk
		command = { type = cedeprovince which = MCH value = 628 } #Amour
		command = { type = cedeprovince which = MCH value = 634 } #Birobidjan
		command = { type = cedeprovince which = MCH value = 635 } #Heilongjiang
		command = { type = cedeprovince which = MCH value = 636 } #Viazemski
		command = { type = cedeprovince which = MCH value = 637 } #Sikhote
		command = { type = cedeprovince which = MCH value = 638 } #Nelma
		command = { type = cedeprovince which = MCH value = 639 } #Olga
		command = { type = cedeprovince which = MCH value = 640 } #Nakhodka
		command = { type = cedeprovince which = MCH value = 643 } #Jilin
		command = { type = cedeprovince which = MCH value = 644 } #Baicheng
		command = { type = cedeprovince which = MCH value = 645 } #Jehol
		command = { type = cedeprovince which = MCH value = 646 } #Liaotung
		command = { type = cedeprovince which = MCH value = 647 } #Liaoning
		command = { type = cedeprovince which = MCH value = 648 } #Hepei
		command = { type = cedeprovince which = MCH value = 649 } #Hebei
		command = { type = cedeprovince which = MCH value = 650 } #Shandong
		command = { type = cedeprovince which = MCH value = 651 } #Jinan
		command = { type = cedeprovince which = MCH value = 1560 } #Ningxia
		command = { type = cedeprovince which = MCH value = 1561 } #Hohhot
		command = { type = cedeprovince which = MCH value = 1562 } #Shanxi
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = trigger which = 10019 } #MCH: The Manchu Takeover of China
	}
}

#(1644-1699) The Qing Dynasty
event = {
	id = 10043
	trigger = {
		event = 10016 #CHI: The Manchu Takeover of China
	}
	random = no
	country = CHI
	name = "EVENTNAME10043" #The Qing Dynasty
	desc = "EVENTHIST10043"
	#-#Now that we are one nation, we will take the name of our new rulers.

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

	action_a = {
		name = "ACTIONNAME10043A" #Long live the Qing Dynasty of the Manchu!
		command = { type = flagname which = "Manchu" }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = add_countryculture which = manchu }
		command = { type = addcore which = 625 } #Bogorodsk
		command = { type = addcore which = 626 } #Vanin
		command = { type = addcore which = 627 } #Sofiisk
		command = { type = addcore which = 628 } #Amour
		command = { type = addcore which = 634 } #Birobidjan
		command = { type = addcore which = 635 } #Heilongjiang
		command = { type = addcore which = 636 } #Viazemski
		command = { type = addcore which = 637 } #Sikhote
		command = { type = addcore which = 638 } #Nelma
		command = { type = addcore which = 639 } #Olga
		command = { type = addcore which = 640 } #Nakhodka
		command = { type = addcore which = 643 } #Jilin
		command = { type = addcore which = 644 } #Baicheng
		command = { type = sleepevent which = 10025 } #CHI: The Chinese Collapse
		command = { type = sleepevent which = 10026 } #CHI: The End of the Ming Dynasty
	}
}

#(1644-1646) The Chinese Collapse
event = {
	id = 10025
	trigger = {
		stability = 3 #Yes, stability of +3
		exists = MCH
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME10025" #The Chinese Collapse
	desc = "EVENTHIST10025"
	#-#After years of chaos, the government of China has collapsed. As a result, we have lost still more northern provinces to the advancing Manchu. Nanjing is now terribly exposed, and the government has fled south.

	date = { day = 1 month = june year = 1644 }
	offset = 5
	deathdate = { day = 1 month = june year = 1646 }

	action_a = {
		name = "DRATS"
		command = { type = cedeprovince which = MCH value = 652 } #Jiangsu
		command = { type = cedeprovince which = MCH value = 1558 } #Lanzhou
		command = { type = cedeprovince which = MCH value = 1559 } #Xining
		command = { type = cedeprovince which = MCH value = 1563 } #Shaanxi
		command = { type = cedeprovince which = MCH value = 1564 } #Henan
		command = { type = cedeprovince which = MCH value = 1565 } #Hubei
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = stability value = -4 }
		command = { type = capital which = 659 } #Guangdong
	}
}

#(1644-1683) A new hair style
event = {
	id = 147142
	trigger = {
		event = 10043 #CHI: The Qing Dynasty
	}
	random = no
	country = MCH
	name = "EVENTNAME147142" #A new hair style
	desc = "EVENTHIST147142"
	#-#Manchu published the law that all Chinese should change their hair style to the Manchu way. Because the people in Zhejiang did not obey, Manchu will kill them all.

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

	action_a = {
		name = "ACTIONNAME147142A" #This is the symbol of the successful enslavement
		command = { type = revoltrisk which = 12 value = 1 }
		command = { type = revolt which = 655 } #Zhejiang
		command = { type = domestic which = serfdom value = 1 }
	}
}

#(1650-1662) Koxinga in Ming service
#by sturmvogel
event = {
	id = 147059
	trigger = {
		exists = MCH
		NOT = { exists = SMI }
		monarch = 032023 #Zhu You Lang (Yong Li) 
	}
	random = no
	country = CHI
	name = "EVENTNAME147059" #Koxinga in Ming service
	desc = "EVENTHIST147059"
	#-#Koxinga has joined our service.

	date = { day = 1 month = january year = 1650 }
	offset = 0
	deathdate = { day = 23 month = august year = 1662 }

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 032315 } #Koxinga (CHI)
		command = { type = sleepevent which = 317020 } #SMI: Koxinga in Ming service
	}
}

#(1652-1699) Collapse of the Southern Ming
event = {
	id = 147134
	trigger = {
		event = 317019 #SMI: Refuge in Taiwan
		owned = { province = 689 data = SMI } #Taiwan
		control = { province = 689 data = -1 } #Taiwan
	}
	random = no
	country = CHI
	name = "EVENTNAME147134" #Collapse of the Southern Ming
	desc = "EVENTHIST147134"
	#-#The defeat of his fleet at the Battle of Penghu by Shi Lang caused Koxinga's grandson, leader of the remnant Ming dynasty forces in Taiwan, to offer his surrender.

	date = { day = 0 month = january year = 1652 }
	offset = 1
	deathdate = { day = 29 month = december year = 1699 }

	action_a = {
		name = "GREAT"
		command = { type = annex which = SMI }
	}
}

#(1652-1699) We have conquered Taiwan
event = {
	id = 147063
	trigger = {
		NOT = { exists = SMI }
		owned = { province = 689 data = -1 } #Taiwan
		control = { province = 689 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME147063" #We have conquered Taiwan
	desc = "EVENTHIST147063"
	#-#The Emperor Kiangxi commented when his admiral Shi Lang received the surrender of Taiwan in 1683 that ''Taiwan is no bigger than a ball of mud. We gain nothing by possessing it, and it would be no loss if we did not acquire it.'' He wished to remove the Chinese settlers and abandon Taiwan because of the deep-seated traditional idea that China was bounded by the seas. But Shi Lang argued forcefully for Taiwan's inclusion in the Qing empire: The island could not be left to its own devices because it would be used by pirates or foreign powers, who were ''drooling'' over it. It was, moreover, a bounteous place: ''Fish and salt spout forth from the sea, the mountains are filled with dense forests of tall trees and thick bamboo, there are sulfur, rattan, sugarcane, deerskins, and all that is needed for daily living. Nothing is lacking... This is truly a bountifully fertile piece of land and a strategic territory.'' Thanks to Shi Lang's arguments, the Emperor decided to make Taiwan a prefecture attached to Fujian Province. For all that Taiwan was neglected by the Qing the settlers and natives were discontented. There were more than a hundred rebellions during the Qing Dynasty. The frequency of rebellions, riots, and civil strife in Qing Dynasty Taiwan is evoked by the common saying ''every three years an uprising, every five years a rebellion''.

	date = { day = 0 month = january year = 1652 }
	offset = 30
	deathdate = { day = 29 month = december year = 1699 }

	action_a = {
		name = "ACTIONNAME147063A" #Incorporate Taiwan into China
		command = { type = addcore_claim which = 689 } #Taiwan
		command = { type = province_revoltrisk which = 689 value = 12 }
		command = { type = trade value = 500 }
		command = { type = merchants value = 1 }
	}
	action_b = {
		name = "ACTIONNAME147063B" #We do not need any overseas entanglements
		command = { type = stability value = 1 }
		command = { type = population which = 689 value = -3000 } #Taiwan
		command = { type = provincereligion which = 689 value = pagan }
	}
}

#(1652-1656) Bribe Koxinga
#by sturmvogel
event = {
	id = 147060
	trigger = {
		NOT = { exists = SMI }
		monarch = 032015 #Shunzhi
	}
	random = no
	country = CHI
	name = "EVENTNAME147060" #Bribe Koxinga
	desc = "EVENTHIST147060"
	#-#Zheng Chenggong, known as Koxinga in the West from his title of Guoxingye (Lord of the Imperial Surname), which was pronounced ''Kok seng ia'' in southern Fujianese, was the remnant Ming dynasty's best commander. Is it worth trying to bribe him into our service, Lord?

	date = { day = 1 month = january year = 1652 }
	offset = 500
	deathdate = { day = 1 month = january year = 1655 }

	action_a = {
		name = "YES"
		command = { type = treasury value = -150 }
		command = { type = wakeleader which = 032315 } #Koxinga
		command = { type = sleepevent which = 147061 } #CHI: The Coastal Evacuation
	}
	action_b = {
		name = "NO"
		command = { }
	}
}

#(1661) The Coastal Evacuation
event = {
	id = 147061
	trigger = {
		exists = SMI
		monarch = 032015 #Shunzhi
		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 = CHI
	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
	}
}

#(1661-1662) Mingshi
event = {
	id = 147140
	trigger = {
		monarch = 032016 #Kangxi
	}
	random = no
	country = CHI
	name = "EVENTNAME147140" #Mingshi
	desc = "EVENTHIST147140"
	#-#Zhuang Tinglong wrote 'Mingshi', which called the emperor of Manchu 'barbarian robber'. Kangxi decided to ban the books and cut the writer in pieces. All his relatives would be sent to jail or executed or enslaved. From then on, such cases came one after another.

	date = { day = 5 month = february year = 1661 }
	offset = 30
	deathdate = { day = 29 month = december year = 1662 }

	action_a = {
		name = "ACTIONNAME147140A" #Burn these books
		command = { type = domestic which = serfdom value = 2 }
		command = { type = infra value = -2000 }
		command = { type = revoltrisk which = 24 value = 4 }
		command = { type = population which = -1 value = -800 }
		command = { type = population which = -1 value = -700 }
	}
	action_b = {
		name = "ACTIONNAME147140B" #Let them keep their knowledge
		command = { type = stability value = -2 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = revoltrisk which = 240 value = 1 }
	}
}

#(1683) The End of the Ming Dynasty
event = {
	id = 10026
	trigger = {
		exists = MCH
		monarch = 032024 #Xingming *
	}
	random = no
	country = CHI
	name = "EVENTNAME10026" #The End of the Ming Dynasty
	desc = "EVENTHIST10026"
	#-#The last of the Ming pretenders has fled! The Manchu own the majority of China, and we are helpless against their advance and the never-ending revolts in the areas we control. Maybe it would be better to surrender now and throw ourselves on their mercy.

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

	action_a = {
		name = "ACTIONNAME10026A" #We surrender to the Manchu (End Game)
		command = { type = trigger which = 10027 } #MCH: The End of the Ming Dynasty
	}
	action_b = {
		name = "ACTIONNAME10026B" #No, we will never give up!
		command = { type = stability value = -6 }
		command = { type = revoltrisk which = 120 value = 10 }
	}
}

#(1689) Kiangxi is ready to take to the field of battle
event = {
	id = 147062
	trigger = {
		monarch = 032016 #Kiangxi
		NOT = {
			leader = 084303 #Kiangxi (MCH)
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147062" #Kiangxi is ready to take to the field of battle
	desc = "EVENTHIST147062"
	#-#The Emperor had wanted to lead his troops against the Three Feudatories, but had been restrained by the advice of his advisors. Against the Dzungar Mongols he would lead his forces to victory in the Battle of Zuunmod in 1696.

	date = { day = 1 month = january year = 1689 }
	offset = 1
	deathdate = { day = 29 month = december year = 1699 }

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 032327 } #Kiangxi (CHI)
	}
}

#(1704) Ancestor worship is filial piety
event = {
	id = 147047 #triggered by PAP_251012 B / MUS_236001 B
	random = no
	country = CHI
	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 = 10036
	random = no
	country = CHI
	name = "EVENTNAME10036" #The Expulsion of the Jesuits
	desc = "EVENTHIST10036"
	#-#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 = "ACTIONNAME10036A" #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 }
		command = { type = sleepevent which = 147048 } #CHI: Effects of Jesuit missionaries on society
	}
	action_b = {
		name = "ACTIONNAME10036B" #No, they are too valuable!
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = -3 }
		command = { type = sleepevent which = 147048 } #CHI: Effects of Jesuit missionaries on society
	}
}

#(1723) Jesuits stay for long
event = {
	id = 147048
	trigger = {
		OR = {
			event = 147047
			AND = {
				NOT = {
					exists = SMI
					event = 317006
				}
				event = 317005
			}
			AND = {
				NOT = {
					exists = MCH
					event = 221004
				}
				event = 221003
			}
		}
	}
	random = no
	country = CHI
	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 }
	}
}

#(1732) The Wenziyu
event = {
	id = 147141
	trigger = {
		monarch = 032017 #Yongzheng
	}
	random = no
	country = CHI
	name = "EVENTNAME147141" #The Wenziyu
	desc = "EVENTHIST147141"
	#-#Lyu Liuliang had written some books, which did not satisfy the emperor of Qing, and using the years' signature of Mings Emperor, made Yongzheng angry. Lyu was dead since 50 yeasr, but Yongzheng still recalled the Wenziyu and began to ban and burn almost all books again.

	date = { day = 2 month = january year = 1732 }
	offset = 300
	deathdate = { day = 29 month = december year = 1732 }

	action_a = {
		name = "ACTIONNAME147141A" #No mercy!
		command = { type = treasury value = -200 }
		command = { type = domestic which = serfdom value = 2 }
		command = { type = population which = -1 value = -800 }
		command = { type = population which = -1 value = -800 }
		command = { type = population which = -1 value = -800 }
	}
}

#(1770) The Appointment of Heshen
event = {
	id = 10037
	trigger = {
		owned = { province = 649 data = -1 }
	}
	random = no
	country = CHI
	name = "EVENTNAME10037" #The Appointment of Heshen
	desc = "EVENTHIST10037"
	#-#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 appoint him our chief minister?

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

	action_a = {
		name = "ACTIONNAME10037A" #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 = 7 }
		command = { type = treasury value = -500 }
		command = { type = sleepevent which = 10030 } #MCH: The Appointment of Heshen
	}
	action_b = {
		name = "ACTIONNAME10037B" #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 }
	}
}

#Sources
#http://www.china10k.com/trad/history/
#http://www.booktide.com/news/20030718/200307180002.html
#http://www.ccrnews.com.cn/displaynews.asp?id=1692
#http://www.eastart.net/articles/0311wenwudaguan/yongledadian.htm

#(1771-1781) The Four Treasury's Complete Collection
event = {
	id = 147049
	random = no
	country = CHI
	name = "EVENTNAME147049" #The Four Treasury's Complete Collection
	desc = "EVENTHIST147049"
	#-#The Four Treasury's Complete Collection assembled together the great accomplishments of traditional Chinese works. In Qian Long year 38 (1773 AD), Emperor Qian Long commissioned the Office of the Four Treasury's Complete Collection responsible for its compilation, which involved 360 officials and 3800 other personnel. The Collection collected 36000 books of 3461 types, 79309 volumes and approximately 840 million words. Its coverage is 3.5 times that of the Great Yong Le Encyclopedia. The Collection was divided into 4 parts: Classicals, Historicals, Personalities, and Works. Classicals contained Confucian classics on poetry, books, rituals and philosophy. Historicals included subjects like history, biography, geography, politics and bureaucratic system. Personalities included the different schools of philosophical, military, medical, agricultural and religious thought, as well as astromony, the calendar, arts, objects and legendary tales. Works collected literary works throughout the past 2000 years including poetry, verses and music. The main criticism of the Collection is that wordings of original books were changed if they have any connotion of conflict, offensiveness, disobedience, or obstructiveness against the Manchu Qing imperial administration.\n \n From Qian Long year 46-49 (AD 1781-1784), 4 copies of the Collection were completed and stored inside towers of imperial palaces in different parts of northern China. From Qian Long year 47-52 (AD 1782-1787), 3 other copies were made and stored in different parts of southern China.\n \n Three copies of the Collection were destroyed during Western invasions into Bei Jing and the Tai Ping rebellion during late 1800s. Four copies of the original Collection remains today.

	date = { day = 1 month = february year = 1771 }
	offset = 1500
	deathdate = { day = 1 month = february year = 1781 }

	action_a = {
		name = "ACTIONNAME147049A" #Commission the Collection with alterations
		command = { type = treasury value = -800 }
		command = { type = infra value = 7000 }
		command = { type = ADM which = 1 value = 180 }
		command = { type = vp value = 70 }
	}
	action_b = {
		name = "ACTIONNAME147049B" #Commission the Collection without alterations
		command = { type = treasury value = -800 }
		command = { type = infra value = 8000 }
		command = { type = revoltrisk which = 60 value = 7 }
		command = { type = vp value = 80 }
	}
	action_c = {
		name = "ACTIONNAME147049C" #It is a waste of time and resources
		command = { type = vp value = -50 }
	}
}

#(1788) Vietnamese Turmoil by Chanda "Phillp V" Choun
event = {
	id = 147050
	trigger = { exists = DAI }
	random = no
	country = CHI
	name = "EVENTNAME147050" #Vietnamese Turmoil
	desc = "EVENTHIST147050"
	#-#In 1788, the reigning Le emperor of Dai Viet fled north to seek Chinese assistance in defeating the Tay Son, who had taken over the country. Eager to comply, a Chinese army of the Qing dynasty (1644-1911) invaded Vietnam, seized Thang Long, and invested the Le ruler as 'King of Annam.' That same year, the second eldest Tay Son brother, Nguyen Hue, proclaimed himself Emperor Quang Trung.

	date = { day = 1 month = january year = 1788 }

	action_a = {
		name = "ACTIONNAME147050A" #Seize the day!
		command = { type = casusbelli which = DAI value = 240 }
		command = { type = war which = DAI }
		command = { type = treasury value = 100 }
	}
	action_b = {
		name = "ACTIONNAME147050B" #Let them be
		command = { type = relation which = DAI value = 50 }
	}
}

#(1793) Lord Macartney's Mission
event = {
	id = 10038
	trigger = { owned = { province = 649 data = -1 } }
	random = no
	country = CHI
	name = "EVENTNAME10038" #Lord Macartney's Mission
	desc = "EVENTHIST10038"
	#-#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 = "ACTIONNAME10038A" #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 = "ACTIONNAME10038B" #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 = 10039
	trigger = { owned = { province = 649 data = -1 } }
	random = no
	country = CHI
	name = "EVENTNAME10039" #The White Lotus Rebellion
	desc = "EVENTHIST10039"
	#-#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 = "ACTIONNAME10039A" #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 = "ACTIONNAME10039B" #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 = 10040
	trigger = { owned = { province = 649 data = -1 } }
	random = no
	country = CHI
	name = "EVENTNAME10040" #The Celestial Order Rebellion
	desc = "EVENTHIST10040"
	#-#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 = "ACTIONNAME10040A" #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 = "ACTIONNAME10040B" #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 = 10041
	trigger = { owned = { province = 649 data = -1 } }
	random = no
	country = CHI
	name = "EVENTNAME10041" #The Eight Trigrams Rebellion
	desc = "EVENTHIST10041"
	#-#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 = "ACTIONNAME10041A" #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 = "ACTIONNAME10041B" #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 }
	}
}

#-----------------------------------------------------------------------------------------------
#Naval events to replace strategic decision event
#scripted by doktarr, altered by Sun_Zi, discussion in thread 89759

#(1424) Treasure Fleet policy debate
event = {
	id = 10044
	random = no
	country = CHI
	name = "EVENTNAME10044" #Treasure Fleet policy debate
	desc = "EVENTHIST3703"
	#-#From 1405-1424, the Ming Emperor, Ming Cheng Zu, sent out a massive treasure fleet, under the command of the famed eunuch admiral Zheng He, for a total of 6 voyages to the Western Ocean (Indian Ocean). Construction started in AD 1403 with an order to produce over 500 ships. Timber and other materials, as well as carpenters, sailmakers, and shipwrights and labourers were transported from all over the Empire to Port Liu Jia. At its height 20,000 to 30,000 people worked and lived at the yards in Port Liu Jia.\n \n The ships were built for their grandeur. The largest of these enormous treasure ships were thought to be 400 feet long and 166 feet wide (compare Columbus's St. Maria of 85 ft and Cook's the Resolution of 111 ft). Once completed the fleet consisted of 317 ships with a crew of over 27,000 men, including soldiers, doctors, astronomers, and translators. The ships were beautifully painted and carved, fitted with bronze cannons, and contained grand cabins, and elaborate antechambers that were festooned with balconies and railings. Expensive treasures were loaded on the ships as gifts to impress foreign governments. The ships also utilised the latest technology, such as improved navigation equipment, watertight bulwark compartments, and the balanced rudder.\n \n The ships were built primarily to pursue Cheng Zu's missing nephew from whom Cheng Zu seized the throne, and to strengthen China's influence over its neighbours. The fleet explored Indonesia, India, Arabia, Persia and East Africa, making diplomatic contact and sometimes intervening in the affairs of foreign countries. Large numbers of embassadors with gifts and tributes were brought to China.\n \n However, a dramatic turn around in policy occurred after Ren Zong succeeded the throne. Ren Zong was a conservative and influenced by Confucian beliefs. He thought that the enormous cost of supply and maintainence of the ships, crew, labourers and treasures created a heavy burden on the ordinary people. He ordered the suspension of treasure fleet voyages.

	date = { day = 13 month = august year = 1424 }
	offset = 40
	deathdate = { day = 29 month = september year = 1424 }

	action_a = {
		name = "ACTIONNAME10044A" #Suspend the activities of the fleet
		command = { type = colonists value = -2 }
		command = { type = merchants value = -2 }
		command = { type = diplomats value = -1 }
		command = { type = stability value = 1 }
		command = { type = land value = 2500 }
		command = { type = infra value = 2500 }
		command = { type = naval value = -3500 }
		command = { type = trade value = -1500 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = clrflag which = [treasure_fleet_voyages] }
	}
	action_b = {
		name = "ACTIONNAME10044B" #Continue our expansion
		command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = colonists value = 2 }
		command = { type = merchants value = 4 }
		command = { type = diplomats value = 2 }
		command = { type = land value = -1500 }
		command = { type = infra value = -1500 }
		command = { type = naval value = 2000 }
		command = { type = trade value = 1000 }
		command = { type = revoltrisk which = 60 value = 8 }
		command = { type = inflation value = 3 }
		command = { type = treasury value = -800 }
		command = { type = ADM which = -2 value = 60 }
		command = { type = DIP which = 2 value = 60 }
		command = { type = setflag which = [treasure_fleet_voyages] }
	}
}
#Sources
#http://apps.mc.maricopa.edu/blogs/asb222/reffland/archives/000438.html
#http://www.vancouvermaritimemuseum.com/watery/treasure_fleet.htm
#http://www.mariner.org/educationalad/ageofex/cook.php
#History of Ming (the official chronicle)
#(1430) Recommissioning of Zheng He
event = {
	id = 10045
	random = no
	country = CHI
	name = "EVENTNAME10045" #Recommissioning of Zheng He
	desc = "EVENTHIST10045"
	#-#Although Xuan Zong was an Emperor under strong Confucian influence and concentrated on domestic affairs, he tried to keep military generals content whilst pursuing his conservative policies. One such attempt was the recomissioning of Treasure Fleet voyages headed by Zheng He in AD 1430. He felt that the amount of incoming tribute was declining and ordered a new voyage to gain back the Empire's influence on foreign countries. Moreover, he felt that it would not cost a lot to the Empire as this voyage only made use of ships that were otherwise left idle to decay in the ports.

	date = { day = 1 month = april year = 1430 }
	offset = 80
	deathdate = { day = 29 month = june year = 1430 }

	action_a = {
		name = "ACTIONNAME10045A" #Once again for the glory of China
		command = { type = colonists value = 1 }
		command = { type = merchants value = 2 }
		command = { type = diplomats value = 2 }
		command = { type = land value = -1000 }
		command = { type = infra value = -1000 }
		command = { type = naval value = 2000 }
		command = { type = trade value = 1000 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = DIP which = 2 value = 60 }
		command = { type = treasury value = -250 }
		command = { type = setflag which = [treasure_fleet_voyages] }
	}
	action_b = {
		name = "ACTIONNAME10045B" #Zheng He's time has passed
		command = { type = colonists value = -1 }
		command = { type = merchants value = -1 }
		command = { type = diplomats value = -1 }
		command = { type = land value = 1500 }
		command = { type = infra value = 1500 }
		command = { type = naval value = -2500 }
		command = { type = trade value = -1200 }
		command = { type = clrflag which = [treasure_fleet_voyages] }
	}
}
#(1436) Fate of the Treasure Fleet
event = {
	id = 10046
	random = no
	country = CHI
	name = "EVENTNAME10046" #Fate of the Treasure Fleet
	desc = "EVENTHIST10046"
	#-#After the death of Xuan Zong, the Three Yang became counsels to the Imperial administration. Zheng He has also died and these Confucian bureaucrats questioned the costly maintenance of the massive Treasure Fleet, especially when there were more pressing concerns on the land borders and internal affair. The emperor placed a ban on all construction of new ocean-going vessels.

	date = { day = 1 month = april year = 1436 }
	offset = 120
	deathdate = { day = 1 month = october year = 1436 }

	action_a = {
		name = "ACTIONNAME10046A" #Ban all construction
		command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = gainbuilding which = -1 value = bailiff }
		command = { type = losebuilding which = -1 value = shipyard }
		command = { type = colonists value = -4 }
		command = { type = merchants value = -4 }
		command = { type = diplomats value = -2 }
		command = { type = stability value = 1 }
		command = { type = land value = 4500 }
		command = { type = infra value = 4500 }
		command = { type = naval value = -7000 }
		command = { type = trade value = -2000 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = LAND value = 2 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = clrflag which = [treasure_fleet_voyages] }
	}
	action_b = {
		name = "ACTIONNAME10046B" #It won't hurt to keep making some cheaper ones
		command = { type = colonists value = -2 }
		command = { type = merchants value = -2 }
		command = { type = diplomats value = -1 }
		command = { type = land value = 2000 }
		command = { type = infra value = 2000 }
		command = { type = naval value = -3000 }
		command = { type = trade value = -1000 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = ADM which = -2 value = 90 }
		command = { type = DIP which = -2 value = 90 }
		command = { type = inflation value = 1 }
		command = { type = clrflag which = [treasure_fleet_voyages] }
	}
	action_c = {
		name = "ACTIONNAME10046C" #We will rule the seas forever!
		command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = gainbuilding which = 653 value = shipyard } #Shanghai
		command = { type = losebuilding which = -1 value = bailiff }
		command = { type = losebuilding which = -1 value = bailiff }
		command = { type = colonists value = 6 }
		command = { type = merchants value = 6 }
		command = { type = diplomats value = 2 }
		command = { type = land value = -4000 }
		command = { type = infra value = -5000 }
		command = { type = naval value = 6000 }
		command = { type = trade value = 3000 }
		command = { type = wakeleader which = 032300 } #New explorer #Wang Jing Hong (CHI)
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = LAND value = -2 }
		command = { type = treasury value = -1400 }
		command = { type = revoltrisk which = 180 value = 9 }
		command = { type = revoltrisk which = 120 value = 6 }
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = inflation value = 4 }
		command = { type = ADM which = -2 value = 180 }
		command = { type = DIP which = 2 value = 180 }
		command = { type = setflag which = [treasure_fleet_voyages] }
		command = { type = sleepevent which = 10047 } #CHI: Dismantling of the fleet
		command = { type = sleepevent which = 10005 } #CHI: Japanese Pirates Attack
		command = { type = sleepevent which = 10006 } #CHI: Pirates besiege Nanjing
	}
}
#(1525) Dismantling of the fleet
event = {
	id = 10047
	random = no
	country = CHI
	name = "EVENTNAME10047" #Dismantling of the fleet
	desc = "EVENTHIST10047"
	#-#In 1525, the emperor authorized officials to destroy any ocean-going vessels that China still posessed.

	date = { day = 1 month = April year = 1525 }
	offset = 120
	deathdate = { day = 1 month = october year = 1525 }

	action_a = {
		name = "ACTIONNAME10047A" #These vessels are nothing but a drain on our budget
		command = { type = gainbuilding which = -2 value = courthouse }
		command = { type = gainbuilding which = -1 value = bailiff }
		command = { type = losebuilding which = -1 value = shipyard }
		command = { type = colonists value = -2 }
		command = { type = merchants value = -2 }
		command = { type = stability value = 1 }
		command = { type = land value = 2000 }
		command = { type = infra value = 4000 }
		command = { type = naval value = -5000 }
		command = { type = trade value = -1000 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = LAND value = 2 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = ADM which = 2 value = 120 }
	}
	action_b = {
		name = "ACTIONNAME10047B" #Not all the ships are useless
		command = { type = land value = 1500 }
		command = { type = infra value = 1500 }
		command = { type = naval value = -2000 }
		command = { type = trade value = -1000 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = ADM which = -2 value = 60 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = inflation value = 1 }
	}
	action_c = {
		name = "ACTIONNAME10047C" #we need more ships!
		command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = losebuilding which = -1 value = bailiff }
		command = { type = colonists value = 3 }
		command = { type = merchants value = 4 }
		command = { type = diplomats value = 1 }
		command = { type = land value = -3000 }
		command = { type = infra value = -2000 }
		command = { type = naval value = 3500 }
		command = { type = trade value = 1500 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = treasury value = -1000 }
		command = { type = revoltrisk which = 120 value = 7 }
		command = { type = revoltrisk which = 80 value = 5 }
		command = { type = revoltrisk which = 40 value = 3 }
		command = { type = inflation value = 3 }
		command = { type = ADM which = -2 value = 120 }
		command = { type = DIP which = 1 value = 120 }
	}
}

#Zheng He Treasure Fleet Tribute Receiving Events by Sun_Zi

#(1421-1423) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147064
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1421 }
	offset = 120
	deathdate = { day = 1 month = january year = 1423 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1423-1426) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147065
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1423 }
	offset = 120
	deathdate = { day = 1 month = january year = 1426 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1426-1429) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147066
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1426 }
	offset = 120
	deathdate = { day = 1 month = january year = 1429 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1429-1433) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147067
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1429 }
	offset = 120
	deathdate = { day = 1 month = january year = 1433 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1433-1437) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147068
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1433 }
	offset = 120
	deathdate = { day = 1 month = january year = 1437 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1437-1440) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147069
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1437 }
	offset = 120
	deathdate = { day = 1 month = january year = 1440 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1440-1443) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147070
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1440 }
	offset = 120
	deathdate = { day = 1 month = january year = 1443 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1443-1446) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147071
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1443 }
	offset = 120
	deathdate = { day = 1 month = january year = 1446 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1446-1450) Zheng He Treasure Fleet Tribute Receiving Events - Originally known provinces
event = {
	id = 147072
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
			exists = MND
			exists = VIJ
			exists = LNK
			exists = CAM
			exists = ATJ
		}
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1446 }
	offset = 120
	deathdate = { day = 1 month = january year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 100 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
		command = { type = relation which = MND value = 15 }
		command = { type = relation which = VIJ value = 15 }
		command = { type = relation which = LNK value = 15 }
		command = { type = relation which = CAM value = 15 }
		command = { type = relation which = ATJ value = 15 }
	}
}
#(1424-1430) Zheng He Treasure Fleet Tribute Receiving Events - extras for Champa, Ayutthaya, Palembang, Mataram and Malacca
#possible after
event = {
	id = 147073
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1424 }
	offset = 1440
	deathdate = { day = 1 month = january year = 1430 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 50 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
	}
}
#(1430-1436) Zheng He Treasure Fleet Tribute Receiving Events - extras for Champa, Ayutthaya, Palembang, Mataram and Malacca
#possible after
event = {
	id = 147074
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1430 }
	offset = 1440
	deathdate = { day = 1 month = january year = 1436 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 50 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
	}
}
#(1436-1442) Zheng He Treasure Fleet Tribute Receiving Events - extras for Champa, Ayutthaya, Palembang, Mataram and Malacca
#possible after
event = {
	id = 147075
	trigger = {
		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
		}
		OR = {
			exists = CHA
			exists = AYU
			exists = PAL
			exists = MTR
			exists = MLC
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1436 }
	offset = 1440
	deathdate = { day = 1 month = january year = 1442 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 50 }
		command = { type = relation which = CHA value = 15 }
		command = { type = relation which = AYU value = 15 }
		command = { type = relation which = PAL value = 15 }
		command = { type = relation which = MTR value = 15 }
		command = { type = relation which = MLC value = 15 }
	}
}
#(1430-1435) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
#possible after
event = {
	id = 147076
	trigger = {
		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
		}
		exists = CHA
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1430 }
	offset = 120
	deathdate = { day = 1 month = january year = 1435 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1435-1441) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
#possible after
event = {
	id = 147077
	trigger = {
		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
		}
		exists = CHA
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1435 }
	offset = 120
	deathdate = { day = 1 month = january year = 1441 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1441-1444) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
#possible after
event = {
	id = 147078
	trigger = {
		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
		}
		exists = CHA
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1441 }
	offset = 120
	deathdate = { day = 1 month = january year = 1444 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1444-1447) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
#possible after
event = {
	id = 147079
	trigger = {
		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
		}
		exists = CHA
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1444 }
	offset = 120
	deathdate = { day = 1 month = january year = 1447 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1447-1450) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
#possible after
event = {
	id = 147080
	trigger = {
		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
		}
		exists = CHA
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1447 }
	offset = 120
	deathdate = { day = 1 month = january year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1450-1453) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
event = {
	id = 147081
	trigger = {
		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
		}
		exists = CHA
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1450 }
	offset = 120
	deathdate = { day = 1 month = january year = 1453 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1453-1456) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
event = {
	id = 147082
	trigger = {
		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
		}
		exists = CHA
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1453 }
	offset = 120
	deathdate = { day = 1 month = january year = 1456 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1456-1459) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
event = {
	id = 147083
	trigger = {
		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
		}
		exists = CHA
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1456 }
	offset = 120
	deathdate = { day = 1 month = january year = 1459 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1459-1462) Zheng He Treasure Fleet Tribute Receiving Events - more extras for Champa
event = {
	id = 147084
	trigger = {
		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
		}
		exists = CHA
		flag = [treasure_fleet_voyages]
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1459 }
	offset = 120
	deathdate = { day = 1 month = january year = 1462 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = CHA value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147085
	trigger = {
		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
		}
		discovered = 556 #Santal
		flag = [treasure_fleet_voyages]
		owned = { province = 556 data = BGL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 20 }
		command = { type = relation which = BGL value = 25 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147086
	trigger = {
		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
		}
		discovered = 557 #Ganges
		flag = [treasure_fleet_voyages]
		owned = { province = 557 data = BGL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 20 }
		command = { type = relation which = BGL value = 25 }
		command = { type = badboy value = -1 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147087
	trigger = {
		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
		}
		discovered = 564 #Palakimedi
		flag = [treasure_fleet_voyages]
		owned = { province = 564 data = ORI }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ORI value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147088
	trigger = {
		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
		}
		discovered = 565 #Yanam
		flag = [treasure_fleet_voyages]
		owned = { province = 565 data = ORI }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ORI value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147089
	trigger = {
		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
		}
		discovered = 549 #Goa
		flag = [treasure_fleet_voyages]
		owned = { province = 549 data = VIJ }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = VIJ value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147090
	trigger = {
		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
		}
		discovered = 548 #Bombay
		flag = [treasure_fleet_voyages]
		owned = { province = 548 data = BMD }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = BMD value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147091
	trigger = {
		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
		}
		discovered = 539 #Indus
		flag = [treasure_fleet_voyages]
		owned = { province = 539 data = SIN }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = SIN value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147092
	trigger = {
		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
		}
		discovered = 536 #Mekran
		flag = [treasure_fleet_voyages]
		owned = { province = 536 data = TIM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = TIM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147093
	trigger = {
		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
		}
		discovered = 535 #Hormouz
		flag = [treasure_fleet_voyages]
		owned = { province = 535 data = TIM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 20 }
		command = { type = relation which = TIM value = 25 }
		command = { type = badboy value = -1 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147094
	trigger = {
		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
		}
		discovered = 534 #Fars
		flag = [treasure_fleet_voyages]
		owned = { province = 534 data = TIM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = TIM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147095
	trigger = {
		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
		}
		discovered = 533 #Isfahan
		flag = [treasure_fleet_voyages]
		owned = { province = 533 data = TIM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = TIM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147096
	trigger = {
		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
		}
		discovered = 508 #Basrah
		flag = [treasure_fleet_voyages]
		owned = { province = 508 data = BAS }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = BAS value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147097
	trigger = {
		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
		}
		discovered = 509 #Bahrein
		flag = [treasure_fleet_voyages]
		owned = { province = 509 data = ORM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ORM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147098
	trigger = {
		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
		}
		discovered = 505 #Al Kharam
		flag = [treasure_fleet_voyages]
		owned = { province = 505 data = ORM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ORM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147099
	trigger = {
		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
		}
		discovered = 504 #Mascate
		flag = [treasure_fleet_voyages]
		owned = { province = 504 data = ORM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ORM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147100
	trigger = {
		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
		}
		discovered = 506 #Quatar
		flag = [treasure_fleet_voyages]
		owned = { province = 506 data = HAA }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = HAA value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147101
	trigger = {
		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
		}
		discovered = 502 #Dofhar
		flag = [treasure_fleet_voyages]
		owned = { province = 502 data = MRA }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 20 }
		command = { type = relation which = MRA value = 25 }
		command = { type = badboy value = -1 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147102
	trigger = {
		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
		}
		discovered = 756 #Socotra
		flag = [treasure_fleet_voyages]
		owned = { province = 756 data = MRA }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MRA value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147103
	trigger = {
		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
		}
		discovered = 500 #Aden
		flag = [treasure_fleet_voyages]
		owned = { province = 500 data = ADE }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ADE value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147104
	trigger = {
		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
		}
		discovered = 499 #Yemen
		flag = [treasure_fleet_voyages]
		owned = { province = 499 data = YEM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = YEM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147105
	trigger = {
		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
		}
		discovered = 498 #Mekkah
		flag = [treasure_fleet_voyages]
		owned = { province = 498 data = MAM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MAM value = 15 }
		command = { type = badboy value = -1 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147106
	trigger = {
		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
		}
		discovered = 497 #Medina
		flag = [treasure_fleet_voyages]
		owned = { province = 497 data = MAM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MAM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147107
	trigger = {
		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
		}
		discovered = 746 #Egypt
		flag = [treasure_fleet_voyages]
		owned = { province = 746 data = MAM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MAM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147108
	trigger = {
		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
		}
		discovered = 747 #Nile
		flag = [treasure_fleet_voyages]
		owned = { province = 747 data = MAM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MAM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147109
	trigger = {
		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
		}
		discovered = 750 #Sudan
		flag = [treasure_fleet_voyages]
		owned = { province = 750 data = NUB }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = NUB value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147110
	trigger = {
		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
		}
		discovered = 753 #Keren
		flag = [treasure_fleet_voyages]
		owned = { province = 753 data = ETH }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ETH value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147111
	trigger = {
		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
		}
		discovered = 754 #Issas
		flag = [treasure_fleet_voyages]
		owned = { province = 754 data = ADA }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ADA value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147112
	trigger = {
		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
		}
		discovered = 755 #Afars
		flag = [treasure_fleet_voyages]
		owned = { province = 755 data = ADA }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = ADA value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147113
	trigger = {
		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
		}
		discovered = 757 #Somalia
		flag = [treasure_fleet_voyages]
		owned = { province = 757 data = AJU }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = AJU value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147114
	trigger = {
		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
		}
		discovered = 759 #Mudugh
		flag = [treasure_fleet_voyages]
		owned = { province = 759 data = AJU }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = AJU value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147115
	trigger = {
		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
		}
		discovered = 760 #Mogadiscio
		flag = [treasure_fleet_voyages]
		owned = { province = 760 data = MGU }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MGU value = 15 }
		command = { type = badboy value = -1 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147116
	trigger = {
		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
		}
		discovered = 761 #Malindi
		flag = [treasure_fleet_voyages]
		owned = { province = 761 data = MLI }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MLI value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147117
	trigger = {
		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
		}
		discovered = 762 #Kenya
		flag = [treasure_fleet_voyages]
		owned = { province = 762 data = MLI }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MLI value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147118
	trigger = {
		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
		}
		discovered = 763 #Mombasa
		flag = [treasure_fleet_voyages]
		owned = { province = 763 data = MOM }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = MOM value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147119
	trigger = {
		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
		}
		discovered = 764 #Tanga
		flag = [treasure_fleet_voyages]
		owned = { province = 764 data = KIL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = KIL value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147120
	trigger = {
		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
		}
		discovered = 765 #Zanzibar
		flag = [treasure_fleet_voyages]
		owned = { province = 765 data = KIL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = KIL value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147121
	trigger = {
		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
		}
		discovered = 766 #Rufiji
		flag = [treasure_fleet_voyages]
		owned = { province = 766 data = KIL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = KIL value = 15 }
	}
}
#(1419-1450) Zheng He Treasure Fleet Tribute Receiving Events - newly discovered lands
event = {
	id = 147122
	trigger = {
		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
		}
		discovered = 767 #Lindi
		flag = [treasure_fleet_voyages]
		owned = { province = 767 data = KIL }
	}
	random = no
	country = CHI
	name = "EVENTNAME147064" #Foreign Nations Admire Glorious Treasure Fleet
	desc = "EVENTHIST147064"
	#-#As the Treasure Fleet continued its expedition to display the glory of the Empire, and even after, foreign ambassadors were impressed and eager to pay tribute or gifts to the Ming Empire to establish good relations and trade with the Empire.

	date = { day = 1 month = june year = 1419 }
	offset = 720
	deathdate = { day = 1 month = june year = 1450 }

	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
		command = { type = treasury value = 10 }
		command = { type = relation which = KIL value = 15 }
	}
}
#End of "Naval Events"
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#Chinese revolter events
#scripted by Jinnai from thread 85958 altered by Sun_Zi

#(1634-1644) Li Zi Cheng founds Da Shun
event = {
	id = 147123
	trigger = {
		NOT = {
			stability = 1
			exists = DAS
			event = 317000
		}
		owned = { province = 1563 data = -1 } #Shaanxi
	}
	random = no
	country = CHI
	name = "EVENTNAME147123" #Resistant leader declares an independent state
	desc = "EVENTHIST147123"
	#-#The Ming Dynasty's incompetence and disruption of politics by eunuchs, officials forming opposing parties, corruption plus external pressures caused the decline in Ming power. This resulted in increasing strain on the people burdened by heavy taxes, famine, displacement from farmlands, etc. The Ming forces found it increasingly difficult to deal with the ever increasing peasant uprisings. By 1635, leaders from various resistance groups and camps gathered in a meeting which resulted in agreement to coordinate their efforts to overthrow of Ming. In the following years rebel forces advanced through Henan, Hubei, Anhui, Shaanxi, Gansu, and Sichuan. On the first month of 1644, Li Zi Cheng declared the establishment of the new Da Shun state.

	date = { day = 1 month = march year = 1634 }
	offset = 300
	deathdate = { day = 1 month = july year = 1644 }

	action_a = {
		name = "ACTIONNAME147123A" #We shall crush them!
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 6 value = 1 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence which = DAS }
		command = { type = trigger which = 314001 } #DAS: We openly declare war
		command = { type = sleepevent which = 317000 } #SMI: Resistant leader declares an independent state
	}
}
#(1633-1644) Zhang Xian Zhong founds Da Xi
event = {
	id = 147124
	trigger = {
		NOT = {
			stability = 1
			exists = DAX
			event = 317001
		}
		owned = { province = 1558 data = -1 } #Lanzhou
	}
	random = no
	country = CHI
	name = "EVENTNAME147124" #Resistant leader declares an independent state
	desc = "EVENTHIST147124"
	#-#The Ming Dynasty's incompetence and disruption of politics by eunuchs, officials forming opposing parties, corruption plus external pressures caused the decline in Ming power. This resulted in increasing strain on the people burdened by heavy taxes, famine, displacement from farmlands, etc. The Ming forces found it increasingly difficult to deal with the ever increasing peasant uprisings. By 1635, leaders from various resistance groups and camps gathered in a meeting which resulted in agreement to coordinate their efforts to overthrow of Ming. In the following years rebel forces advanced through Henan, Hubei, Anhui, Shaanxi, Gansu, and Sichuan. On the first month of November 1644, Zhang Xian Zhong declared the establishment of the new Da Xi state.

	date = { day = 1 month = february year = 1633 }
	offset = 300
	deathdate = { day = 1 month = december year = 1644 }

	action_a = {
		name = "ACTIONNAME147124A" #We shall crush them!
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 6 value = 1 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence which = DAX }
		command = { type = trigger which = 315001 } #DAX: We openly declare war
		command = { type = sleepevent which = 317001 } #SMI: Resistant leader declares an independent state
	}
}
#(1673-1700) Wu San Gui declares independence from the Manchus
event = {
	id = 147125
	trigger = {
		OR = {
			NOT = {
				stability = 1
				exists = DAS
				exists = DAX
				exists = ZHO
				exists = MCH
			}
			exists = SMI
		}
		owned = { province = 1556 data = -1 } #Guizhou
		monarch = 032016 #Kangxi => Qing Dynasty
	}
	random = no
	country = CHI
	name = "EVENTNAME147125" #Resistant leader declares an independent state
	desc = "EVENTHIST147125"
	#-#Wu San Gui, a general of the collapsing Ming dynasty, chose to side with the Manchus when he heard the news of the fall of Beijing to Li Zi Cheng and helped the Manchus defeat opposing forces. In recognition of the importance of his contribution, the Qing Emperor Shunzi appointed him Lord of the Pacified West, residing in Guizhou province in the west, the most powerful out of the 3 tributories created to reward important former Ming generals. By the time Qing emperor Kangxi was firmly in power, the central dynastic administration decided to curb the increasing power of the 3 tributories. Ironically, this caused Wu San Gui, to switch his allegiance and revolt in the name of overthrowing the Qing and restoring the Ming Dynasty.

	date = { day = 1 month = january year = 1673 }
	offset = 400
	deathdate = { day = 1 month = august year = 1700 }

	action_a = {
		name = "ACTIONNAME147125A" #We shall crush him!
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 6 value = 1 }
		command = { type = independence which = ZHO }
		command = { type = trigger which = 316001 } #ZHO: We openly declare war
	}
}
#(1644-1710) Fall of Beijing
event = {
	id = 147126
	trigger = {
		OR = {
			control = { province = 649 data = MCH } #Hebei
			control = { province = 649 data = DAS } #Hebei
			control = { province = 649 data = DAX } #Hebei
			control = { province = 649 data = KOR } #Hebei
		}
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147126" #Fall of Beijing
	desc = "EVENTHIST147126"
	#-#With the fall of the Ming capital to enemy hands, both the divinity of the Emperor is in question as well as the security of country as a whole. We must regroup elsewhere or suffer the consequences.

	date = { day = 1 month = january year = 1644 }
	offset = 30
	deathdate = { day = 29 month = december year = 1710 }

	action_a = {
		name = "ACTIONNAME147126A" #We cannot hold Beijing!
		command = { type = stability value = -3 }
		command = { type = capital which = 659 } #Guangdong
		command = { type = revoltrisk which = 3 value = 2 }
		command = { type = desertion which = 645 value = 20000 } #Jehol
		command = { type = desertion which = 646 value = 20000 } #Liaotung
		command = { type = desertion which = 647 value = 30000 } #Liaoning
		command = { type = desertion which = 648 value = 30000 } #Hepei
		command = { type = desertion which = 650 value = 20000 } #Shandong
		command = { type = desertion which = 651 value = 20000 } #Jinan
		command = { type = desertion which = 652 value = 20000 } #Jiangsu
		command = { type = desertion which = 1561 value = 30000 } #Hohhot
		command = { type = desertion which = 1562 value = 30000 } #Shanxi
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = vp value = -50 }
	}
	action_b = {
		name = "ACTIONNAME147126B" #The Imperial Throne will not move!
		command = { type = stability value = -5 }
		command = { type = revoltrisk which = 18 value = 4 }
		command = { type = desertion which = 645 value = 20000 } #Jehol
		command = { type = desertion which = 646 value = 20000 } #Liaotung
		command = { type = desertion which = 647 value = 20000 } #Liaoning
		command = { type = desertion which = 648 value = 20000 } #Hepei
		command = { type = desertion which = 650 value = 20000 } #Shandong
		command = { type = desertion which = 651 value = 20000 } #Jinan
		command = { type = desertion which = 652 value = 20000 } #Jiangsu
		command = { type = desertion which = 1561 value = 20000 } #Hohhot
		command = { type = desertion which = 1562 value = 20000 } #Shanxi
		command = { type = desertion which = 1564 value = 20000 } #Henan
		command = { type = desertion which = 1565 value = 20000 } #Hubei
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
}
#(1644-1820) Ming no longer holds China -I-
event = {
	id = 147127
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		OR = {
			countrysize = 13
			ai = no
		}
		event = 221000 #MCH: Claiming the Imperial Throne
		exists = MCH
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

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

	action_a = {
		name = "ACTIONNAME147127A" #I am still the true emperor!
		command = { type = capital which = 659 } #Guangdong
		command = { type = cedeprovince which = MCH value = 649 } #Hebei
		command = { type = cedeprovince which = MCH value = 650 } #Shandong
		command = { type = cedeprovince which = MCH value = 651 } #Jinan
		command = { type = cedeprovince which = MCH value = 652 } #Jiangsu
		command = { type = cedeprovince which = MCH value = 653 } #Shanghai
		command = { type = cedeprovince which = MCH value = 654 } #Anhui
		command = { type = cedeprovince which = MCH value = 655 } #Zhejiang
		command = { type = cedeprovince which = MCH value = 1562 } #Shanxi
		command = { type = cedeprovince which = MCH value = 1563 } #Shaanxi
		command = { type = cedeprovince which = MCH value = 1564 } #Henan
		command = { type = cedeprovince which = MCH value = 1565 } #Hubei
		command = { type = cedeprovince which = MCH value = 1567 } #Nanchang
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = stability value = -1 }
		command = { type = flagname which = "" }
		command = { type = country which = SMI }
		command = { type = sleepevent which = 10025 } #CHI: The Chinese Collapse
		command = { type = sleepevent which = 10026 } #CHI: The End of the Ming Dynasty
		command = { type = sleepevent which = 147053 } #CHI: Ming no longer holds China -II-
		command = { type = trigger which = 221001 } #MCH: The Imperial Throne
	}
}
#(1644-1820) Ming no longer holds China -II-
event = {
	id = 147053
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		AND = {
			NOT = { countrysize = 13 }
			ai = yes
		}
		event = 221000 #MCH: Claiming the Imperial Throne
		exists = MCH
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

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

	action_a = {
		name = "ACTIONNAME147053A" #All is lost... (End Game)
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = flagname which = "" }
		command = { type = country which = SMI } #SMI can't exist
		command = { type = sleepevent which = 147127 } #CHI: Ming no longer holds China -I-
		command = { type = sleepevent which = 10025 } #CHI: The Chinese Collapse
		command = { type = sleepevent which = 10026 } #CHI: The End of the Ming Dynasty
		command = { type = trigger which = 317012 } #SMI: The End of the Ming Dynasty -I-
	}
}
#(1644-1820) The Qing dynasty in China
event = {
	id = 147135 #triggered by MCH_221001 / MCH_221010 / MCH_10024 A / MCH_221002
	random = no
	country = CHI
	name = "EVENTNAME147135" #The Qing dynasty in 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 = "ACTIONNAME147132A" #We are China!
		command = { type = wakeleader which = 032326 } #Shi Lang (CHI)
		command = { }
	}
}
#(1634-1820) Ming no longer holds China -III-
event = {
	id = 147128
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		OR = {
			countrysize = 13
			ai = no
		}
		event = 314002 #DAS: Claiming the Imperial Throne
		exists = DAS
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

	date = { day = 1 month = march year = 1634 }
	offset = 5
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME147127A" #I am still the true emperor!
		command = { type = capital which = 659 } #Guangdong
		command = { type = cedeprovince which = DAS value = 649 } #Hebei
		command = { type = cedeprovince which = DAS value = 650 } #Shandong
		command = { type = cedeprovince which = DAS value = 651 } #Jinan
		command = { type = cedeprovince which = DAS value = 652 } #Jiangsu
		command = { type = cedeprovince which = DAS value = 653 } #Shanghai
		command = { type = cedeprovince which = DAS value = 654 } #Anhui
		command = { type = cedeprovince which = DAS value = 655 } #Zhejiang
		command = { type = cedeprovince which = DAS value = 1562 } #Shanxi
		command = { type = cedeprovince which = DAS value = 1563 } #Shaanxi
		command = { type = cedeprovince which = DAS value = 1564 } #Henan
		command = { type = cedeprovince which = DAS value = 1565 } #Hubei
		command = { type = cedeprovince which = DAS value = 1567 } #Nanchang
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = stability value = -1 }
		command = { type = flagname which = "" }
		command = { type = country which = SMI }
		command = { type = sleepevent which = 147054 } #CHI: Ming no longer holds China -IV-
		command = { type = trigger which = 314003 } #DAS: The Imperial Throne
	}
}
#(1634-1820) Ming no longer holds China -IV-
event = {
	id = 147054
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		AND = {
			NOT = { countrysize = 13 }
			ai = yes
		}
		event = 314002 #DAS: Claiming the Imperial Throne
		exists = DAS
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

	date = { day = 1 month = march year = 1634 }
	offset = 5
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME147053A" #All is lost... (End Game)
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = flagname which = "" }
		command = { type = country which = SMI } #SMI can't exist
		command = { type = sleepevent which = 147128 } #CHI: Ming no longer holds China -III-
		command = { type = trigger which = 317013 } #SMI: The End of the Ming Dynasty -II-
	}
}
#(1633-1820) Ming no longer holds China -V-
event = {
	id = 147129
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		OR = {
			countrysize = 13
			ai = no
		}
		event = 315004 #DAX: Claiming the Imperial Throne
		exists = DAX
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

	date = { day = 1 month = february year = 1633 }
	offset = 5
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME147127A" #I am still the true emperor!
		command = { type = capital which = 659 } #Guangdong
		command = { type = cedeprovince which = DAX value = 649 } #Hebei
		command = { type = cedeprovince which = DAX value = 650 } #Shandong
		command = { type = cedeprovince which = DAX value = 651 } #Jinan
		command = { type = cedeprovince which = DAX value = 652 } #Jiangsu
		command = { type = cedeprovince which = DAX value = 653 } #Shanghai
		command = { type = cedeprovince which = DAX value = 654 } #Anhui
		command = { type = cedeprovince which = DAX value = 655 } #Zhejiang
		command = { type = cedeprovince which = DAX value = 1562 } #Shanxi
		command = { type = cedeprovince which = DAX value = 1563 } #Shaanxi
		command = { type = cedeprovince which = DAX value = 1564 } #Henan
		command = { type = cedeprovince which = DAX value = 1565 } #Hubei
		command = { type = cedeprovince which = DAX value = 1567 } #Nanchang
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = stability value = -1 }
		command = { type = flagname which = "" }
		command = { type = country which = SMI }
		command = { type = sleepevent which = 147055 } #CHI: Ming no longer holds China -VI-
		command = { type = trigger which = 315003 } #DAX: The Imperial Throne
	}
}
#(1633-1820) Ming no longer holds China -VI-
event = {
	id = 147055
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		AND = {
			NOT = { countrysize = 13 }
			ai = yes
		}
		event = 315004 #DAX: Claiming the Imperial Throne
		exists = DAX
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

	date = { day = 1 month = february year = 1633 }
	offset = 5
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME147053A" #All is lost... (End Game)
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = flagname which = "" }
		command = { type = country which = SMI } #SMI can't exist
		command = { type = sleepevent which = 147129 } #CHI: Ming no longer holds China -V-
		command = { type = trigger which = 317014 } #SMI: The End of the Ming Dynasty -III-
	}
}
#(1644-1820) Ming no longer holds China -VII-
event = {
	id = 147130
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		OR = {
			countrysize = 13
			ai = no
		}
		event = 204000 #KOR: Claiming the Imperial Throne
		exists = KOR
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

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

	action_a = {
		name = "ACTIONNAME147127A" #I am still the true emperor!
		command = { type = capital which = 659 } #Guangdong
		command = { type = cedeprovince which = KOR value = 649 } #Hebei
		command = { type = cedeprovince which = KOR value = 650 } #Shandong
		command = { type = cedeprovince which = KOR value = 651 } #Jinan
		command = { type = cedeprovince which = KOR value = 652 } #Jiangsu
		command = { type = cedeprovince which = KOR value = 653 } #Shanghai
		command = { type = cedeprovince which = KOR value = 654 } #Anhui
		command = { type = cedeprovince which = KOR value = 655 } #Zhejiang
		command = { type = cedeprovince which = KOR value = 1562 } #Shanxi
		command = { type = cedeprovince which = KOR value = 1563 } #Shaanxi
		command = { type = cedeprovince which = KOR value = 1564 } #Henan
		command = { type = cedeprovince which = KOR value = 1565 } #Hubei
		command = { type = cedeprovince which = KOR value = 1567 } #Nanchang
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = stability value = -1 }
		command = { type = flagname which = "" }
		command = { type = country which = SMI }
		command = { type = sleepevent which = 147056 } #CHI: Ming no longer holds China -VIII-
		command = { type = trigger which = 204001 } #KOR: The Imperial Throne
	}
}
#(1644-1820) Ming no longer holds China -VIII-
event = {
	id = 147056
	trigger = {
		OR = { #Ming Dynasty
			monarch = 032021 #Zhu You Song (Hong Guang) 
			monarch = 032022 #Zhu Yu Jian (Long Wu) 
			monarch = 032023 #Zhu You Lang (Yong Li) 
			monarch = 032024 #Xingming *
			monarch = 032025 #Anzheng *
			monarch = 032026 #Yansheng *
			monarch = 032027 #Xiangrui *
			monarch = 032028 #Guangda *
			monarch = 032029 #Detai *
		}
		AND = {
			NOT = { countrysize = 13 }
			ai = yes
		}
		event = 204000 #KOR: Claiming the Imperial Throne
		exists = KOR
	}
	random = no
	country = CHI
	name = "EVENTNAME147127" #Loss of the Divine Providence
	desc = "EVENTHIST147127"
	#-#As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom.

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

	action_a = {
		name = "ACTIONNAME147053A" #All is lost... (End Game)
		command = { type = cedeprovince which = KOR value = 641 } #Kyongju
		command = { type = cedeprovince which = KOR value = 642 } #Yalu
		command = { type = flagname which = "" }
		command = { type = country which = SMI } #SMI can't exist
		command = { type = sleepevent which = 147130 } #CHI: Ming no longer holds China -VII-
		command = { type = trigger which = 317015 } #SMI: The End of the Ming Dynasty -IV-
	}
}
#(1644-1820) A Korean dynasty for China
event = {
	id = 147132 #triggered by KOR_204001 / KOR_204002 / KOR_204020
	random = no
	country = CHI
	name = "EVENTNAME147132" #A Korean dynasty for China
	desc = "EVENTHIST147132"
	#-#The monarch of Korea is the Emperor of China.

	action_a = {
		name = "ACTIONNAME147132A" #We are China!
		command = { type = add_countryculture which = han }
		command = { type = add_countryculture which = zhuang }
		#Qing Dynasty
		command = { type = sleepmonarch which = 032015 } #Shunzhi
		command = { type = sleepmonarch which = 032016 } #Kangxi
		command = { type = sleepmonarch which = 032017 } #Yangzheng
		command = { type = sleepmonarch which = 032018 } #Qianlong
		command = { type = sleepmonarch which = 032019 } #Jiajing
		command = { type = sleepmonarch which = 032020 } #Daoguang
		#Alternative Korean Dynasty
		command = { type = wakemonarch which = 032032 } #Ren Zu (In-jo) 
		command = { type = wakemonarch which = 032033 } #Xiao Zong (Hyo-jong) 
		command = { type = wakemonarch which = 032034 } #Xian Zong (Hyon-jong) 
		command = { type = wakemonarch which = 032035 } #Su Zong (Suk-jong) 
		command = { type = wakemonarch which = 032036 } #Jing Zong (Kyong-jong) 
		command = { type = wakemonarch which = 032037 } #Ying Zu (Yong-jo) 
		command = { type = wakemonarch which = 032038 } #Zheng Zu (Chong-jo) 
		command = { type = wakemonarch which = 032039 } #Chun Zu (Sun-jo) 
	}
}
#(1644-1820) Ming Dynasty back to the throne
event = {
	id = 147133 #triggered by SMI_317002
	random = no
	country = CHI
	name = "EVENTNAME147133" #Ming Dynasty back to the throne
	desc = "EVENTHIST317002"
	#-#The displaced ruler of the Ming Dynasty through careful warfare, diplomacy and other various means is able to once again claim to be the legitimate Emperor of China.

	action_a = {
		name = "ACTIONNAME147133A" #We are China again!
		command = { type = sleepmonarch which = 032015 } #Shunzhi
		command = { type = sleepmonarch which = 032016 } #Kangxi
		command = { type = sleepmonarch which = 032017 } #Yangzheng
		command = { type = sleepmonarch which = 032018 } #Qianlong
		command = { type = sleepmonarch which = 032019 } #Jiajing
		command = { type = sleepmonarch which = 032020 } #Daoguang
		command = { type = wakemonarch which = 032021 } #Zhu You Song (Hong Guang) 
		command = { type = wakemonarch which = 032022 } #Zhu Yu Jian (Long Wu) 
		command = { type = wakemonarch which = 032023 } #Zhu You Lang (Yong Li) 
		command = { type = wakemonarch which = 032024 } #Xingming *
		command = { type = wakemonarch which = 032025 } #Anzheng *
		command = { type = wakemonarch which = 032026 } #Yansheng *
		command = { type = wakemonarch which = 032027 } #Xiangrui *
		command = { type = wakemonarch which = 032028 } #Guangda *
		command = { type = wakemonarch which = 032029 } #Detai *
	}
}
#(1700-1820) Peace returns to China -I-
event = {
	id = 147131
	trigger = {
		NOT = {
			exists = MCH
			exists = DAS
			exists = DAX
			exists = ZHO
			exists = SMI
		}
		owned = { province = 649 data = -1 } #Hebei
		control = { province = 649 data = -1 } #Hebei
		NOT = {
			event = 317002 #SMI: Claiming the Imperial Throne
		}
	}
	random = no
	country = CHI
	name = "EVENTNAME147131" #Peace returns to China
	desc = "EVENTHIST147131"
	#-#Unification and peace is brought back to China.

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

	action_a = {
		name = "GOOD"
		command = { type = stability value = 2 }
		command = { type = capital which = 649 } #Hebei
		command = { type = sleepevent which = 147136 } #CHI: Peace returns to China -II-
	}
}
#(1700-1820) Peace returns to China -II-
event = {
	id = 147136
	trigger = {
		NOT = {
			exists = MCH
			exists = DAS
			exists = DAX
			exists = ZHO
			exists = SMI
		}
		event = 317002 #SMI: Claiming the Imperial Throne
	}
	random = no
	country = CHI
	name = "EVENTNAME147131" #Peace returns to China
	desc = "EVENTHIST147131"
	#-#Unification and peace is brought back to China.

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

	action_a = {
		name = "GOOD"
		command = { type = stability value = 2 }
		command = { type = sleepevent which = 147131 } #CHI: Peace returns to China -I-
	}
}
#End of "Chinese revolter events"
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#AI Inflation events
#to counter AI inflation lowered by engine in order to reach average inflation trend...

event = {
	id = 147200
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1419 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147201
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1422 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147202
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1425 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147203
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1428 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147204
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1431 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147205
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1434 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147206
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1437 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147208
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1440 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147209
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1443 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147210
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1446 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147211
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1449 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147212
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1452 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147213
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1455 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147214
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1458 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147215
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1461 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147216
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1464 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147217
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1467 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147218
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1470 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147219
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1473 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147220
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1476 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147221
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1479 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147222
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1482 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147223
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1485 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147224
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1488 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147225
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1491 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147226
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1494 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
event = {
	id = 147227
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1497 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 50 }
	}
}
#-----------------------------------------------------------------------------------------------
event = {
	id = 147228
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1500 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147229
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1503 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147230
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1506 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147231
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1509 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147232
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1512 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147233
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1515 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147234
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1518 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147235
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1521 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147236
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1524 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147237
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1527 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147238
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1530 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147239
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1533 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147240
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1537 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147241
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1540 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147242
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1543 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147243
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1547 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147244
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1550 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147245
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1553 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147246
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1556 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147247
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1559 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147248
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1562 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147249
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1565 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147250
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1568 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147251
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1571 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147252
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1574 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147253
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1577 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147254
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1580 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147255
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1583 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147256
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1586 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147257
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1589 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147258
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1592 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147259
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1595 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
event = {
	id = 147260
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1598 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 55 }
	}
}
#-----------------------------------------------------------------------------------------------
event = {
	id = 147261
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1601 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147262
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1604 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147263
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1607 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147264
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1610 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147265
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1613 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147266
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1616 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147267
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1619 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147268
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1622 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147269
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1625 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147270
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1628 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147271
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1631 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147272
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1634 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147273
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1637 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147274
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1640 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147275
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1643 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147276
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1646 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147277
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1649 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147278
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1652 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147279
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1655 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147280
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1658 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}event = {
	id = 147281
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1661 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147282
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1664 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147283
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1667 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147284
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1670 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147285
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1673 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147286
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1676 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147287
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1679 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
event = {
	id = 147288
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 0 month = february year = 1682 }

	action_a = {
		name = "OK"
		command = { type = inflation value = 60 }
	}
}
#-----------------------------------------------------------------------------------------------
event = {
	id = 147300
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1419 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147301
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1422 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147302
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1425 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147303
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1428 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147304
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1431 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147305
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1434 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147306
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1437 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147308
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1440 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147309
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1443 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147310
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1446 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147311
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1449 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147312
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1452 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147313
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1455 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147314
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1458 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147315
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1461 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147316
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1464 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147317
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1467 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147318
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1470 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147319
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1473 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147320
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1476 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147321
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1479 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147322
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1482 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147323
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1485 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147324
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1488 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147325
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1491 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147326
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1494 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147327
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1497 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147328
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1500 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147329
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1503 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147330
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1506 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147331
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1509 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147332
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1512 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147333
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1515 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147334
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1518 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147335
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1521 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147336
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1524 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147337
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1527 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147338
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1530 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147339
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1533 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147340
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1537 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147341
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1540 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147342
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1543 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147343
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1547 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147344
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1550 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147345
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1553 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147346
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1556 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147347
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1559 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147348
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1562 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147349
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1565 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147350
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1568 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147351
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1571 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147352
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1574 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147353
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1577 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147354
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1580 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147355
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1583 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147356
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1586 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147357
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1589 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147358
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1592 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147359
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1595 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147360
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1598 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147361
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1601 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147362
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1604 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147363
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1607 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147364
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1610 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147365
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1613 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147366
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1616 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147367
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1619 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147368
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1622 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147369
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1625 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147370
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1628 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147371
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1631 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147372
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1634 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147373
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1637 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147374
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1640 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147375
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1643 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147376
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1646 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147377
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1649 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147378
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1652 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147379
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1655 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147380
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1658 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}event = {
	id = 147381
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1661 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147382
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1664 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147383
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1667 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147384
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1670 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147385
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1673 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147386
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1676 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147387
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1679 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
event = {
	id = 147388
	trigger = {
		ai = yes
		OR = {
			NOT = { infra = 5 }
			NOT = { event = 10043 } #CHI: The Qing Dynasty
		}
	}
	random = no
	country = CHI
	name = "AI_EVENT"
	desc = ""

	date = { day = 29 month = january year = 1682 }

	action_a = {
		name = "OK"
		command = { type = inflation value = -100 }
	}
}
#End of "AI Inflation events"
#-----------------------------------------------------------------------------------------------

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

#Reserved: 147200-147399

#First free id: 147143
