• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
sturmvogel said:
Then adding a exists = U14 trigger will fix that bug, right?
Ownership of the province is then the most precise condition. ;)

sturmvogel said:
OK, I'll try to remember next time.
Thanks in advance. :)
 
Ownership of Taiwan by U14, of course (but controlled by CHI). With this condition we are sure U14 exists and we know it is the capital because of the U14 event in the trigger.
 
Reworked Nerchiinsk Treaty part for China and possible missing cores:
Code:
#Russia acccepts - Version 1
event = {
	id = 3705 #triggered by RUS_3421 A
	random = no
	country = CHI
	name = "EVENTNAME3705" #The Treaty of Nerchiinsk
	desc = "EVENTHIST3705"
	#-#

	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 = secedeprovince which = RUS value = 602 } #Selenga
		command = { type = secedeprovince which = RUS value = 603 } #Ulan Ude
		command = { type = secedeprovince which = RUS value = 604 } #Buriat
		command = { type = secedeprovince which = RUS value = 605 } #Tchita
		command = { type = secedeprovince which = RUS value = 606 } #Kalakan
		command = { type = secedeprovince which = RUS value = 607 } #Sretensk
		command = { type = secedeprovince which = RUS value = 608 } #Kalar
		command = { type = secedeprovince which = RUS value = 609 } #Mogotcha
		command = { type = secedeprovince 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
		[COLOR=Yellow]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[/COLOR]
	}
}
#-#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).

Code:
#Russia accepts - Version 2/3
event = {
	id = 21655 #triggered by RUS_21653 A / RUS_21654 B
	random = no
	country = CHI
	name = "EVENTNAME3705" #The Treaty of Nerchiinsk
	desc = "EVENTHIST21655"
	#-#

	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 = secedeprovince which = RUS value = 602 } #Selenga
		command = { type = secedeprovince which = RUS value = 603 } #Ulan Ude
		command = { type = secedeprovince which = RUS value = 604 } #Buriat
		command = { type = secedeprovince which = RUS value = 605 } #Tchita
		command = { type = secedeprovince which = RUS value = 606 } #Kalakan
		command = { type = secedeprovince which = RUS value = 607 } #Sretensk
		command = { type = secedeprovince which = RUS value = 608 } #Kalar
		command = { type = secedeprovince which = RUS value = 609 } #Mogotcha
		command = { type = secedeprovince which = RUS value = 610 } #Djagdi
		command = { type = secedeprovince which = RUS value = 612 } #Stanovoe
		command = { type = secedeprovince which = RUS value = 613 } #Baladok
		command = { type = secedeprovince which = RUS value = 614 } #Djugdjur
		command = { type = secedeprovince which = RUS value = 615 } #Enkan
		command = { type = secedeprovince which = RUS value = 616 } #Okhotsk
		command = { type = secedeprovince 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
		[COLOR=Yellow]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[/COLOR]
	}
}
#-#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 Nerchinsk, 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).

Code:
#Russia refuses
event = {
	id = 3793 #triggered by RUS_3421 B / RUS_21653 B / RUS_21654 A
	random = no
	country = CHI
	name = "EVENTNAME3793" #The Treaty of Nerchiinsk
	desc = "EVENTHIST3793"
	#-#

	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
		[COLOR=Yellow]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[/COLOR]
	}
}
#-#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).

EDIT: as a complement, reworked part of trigger in CHI_21650, CHI_21651 and CHI_21652:
Code:
		NOT = {
			[COLOR=Yellow]exists = MCH[/COLOR]
			war = { country = RUS country = CHI }
		}
If Manchus are present, China is not ready for a Treaty with Russia (especially for ahistorical Ming dynasty).
 
Last edited:
Reworked end of the Ming Dynasty: annexation of China and EU2 error for monarchs when CHI becomes U14 and U14 annexed in the same chain of triggered events

Da Xi:
Code:
#(1633-1820) The Imperial Throne
event = {
	id = 315007 #triggered by U14_317014
	random = no
	country = U12
	name = "EVENTNAME315003" #The Imperial Throne
	desc = "EVENTHIST315003"
	#-#

	action_a = {
		name = "ACTIONNAME315003A" #Long live the Emperor!
		command = { type = inherit which = U14 }
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		[COLOR=Red]command = { type = flagname which = "" }
		command = { type = country which = CHI }[/COLOR]
		command = { type = add_countryculture which = cantonese }
		command = { type = sleepevent which = 315004 } #U12: Claiming the Imperial Throne
		[COLOR=Yellow]command = { type = trigger which = 315005 } #U12: A new dynasty for China[/COLOR]
	}
}
#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of rebel Da Xi becomes the new legitimate Emperor of China.

New event:
Code:
#(1633-1820) A new dynasty for China
event = {
	id = 315005 #triggered by U12_315007
	random = no
	country = U12
	name = "EVENTNAME221010" #A new dynasty for China
	desc = "EVENTHIST315003"
	#-#

	action_a = {
		name = "ACTIONNAME315003A" #Long live the Emperor!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
	}
}

Da Shun:
Code:
#(1634-1820) The Imperial Throne
event = {
	id = 314007 #triggered by U14_317013
	random = no
	country = U11
	name = "EVENTNAME314003" #The Imperial Throne
	desc = "EVENTHIST314003"
	#-#

	action_a = {
		name = "ACTIONNAME314003A" #Long live the Emperor!
		command = { type = inherit which = U14 }
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		[COLOR=Red]command = { type = flagname which = "" }
		command = { type = country which = CHI }[/COLOR]
		command = { type = add_countryculture which = cantonese }
		command = { type = sleepevent which = 314004 } #U11: The Imperial Throne
		[COLOR=Yellow]command = { type = trigger which = 314005 } #U11: A new dynasty for China[/COLOR]
	}
}
#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of rebel Da Shun nation becomes the new legitimate Emperor of China.

New event:
Code:
#(1634-1820) A new dynasty for China
event = {
	id = 314005 #triggered by U11_314007
	random = no
	country = U11
	name = "EVENTNAME221010" #A new dynasty for China
	desc = "EVENTHIST314003"
	#-#

	action_a = {
		name = "ACTIONNAME314003A" #Long live the Emperor!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
	}
}

Korea:
Code:
#(1644-1820) The Imperial Throne
event = {
	id = 204018 #triggered by U14_317015
	random = no
	country = KOR
	name = "EVENTNAME204001" #The Imperial Throne
	desc = "EVENTHIST204001"
	#-#

	action_a = {
		name = "ACTIONNAME204001A" #Long live the Emperor!
		command = { type = inherit which = U14 }
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		[COLOR=Red]command = { type = flagname which = "" }
		command = { type = country which = CHI }[/COLOR]
		command = { type = sleepevent which = 204002 } #KOR: Claiming the Imperial Throne
		[COLOR=Red]command = { type = trigger which = 147132 } #CHI: A Korean dynasty for China[/COLOR]
		[COLOR=Yellow]command = { type = trigger which = 204020 } #KOR: A new dynasty for China[/COLOR]
	}
}
#-#With the sucessful capture and control of the core provinces of mainland China, the monarchy of Korea becomes the new legitimate Emperor of China.

New event:
Code:
#(1644-1820) A new dynasty for China
event = {
	id = 204020 #triggered by KOR_204018
	random = no
	country = KOR
	name = "EVENTNAME221010" #A new dynasty for China
	desc = "EVENTHIST204001"
	#-#

	action_a = {
		name = "ACTIONNAME204001A" #Long live the Emperor!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = trigger which = 147132 } #CHI: A Korean dynasty for China
	}
}

Manchus:
Code:
#(1644-1820) The Imperial Throne
event = {
	id = 221008 #triggered by U14_317012
	random = no
	country = MCH
	name = "EVENTNAME221001" #The Imperial Throne
	desc = "EVENTHIST221001"
	#-#

	action_a = {
		name = "ACTIONNAME221001A" #Long live the Emperor!
		command = { type = inherit which = U14 }
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		[COLOR=Red]command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }[/COLOR]
		command = { type = add_countryculture which = chihan }
		command = { type = add_countryculture which = cantonese }
		[COLOR=Red]command = { type = wakeleader which = 032326 } #Shi Lang (CHI)[/COLOR]
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
		[COLOR=Yellow]command = { type = trigger which = 221010 } #MCH: A new dynasty for China[/COLOR]
	}
}
#-#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.

New events:
Code:
#(1644-1820) A new dynasty for China
event = {
	id = 221010 #triggered by MCH_221008
	random = no
	country = MCH
	name = "EVENTNAME221010" #A new dynasty for China
	desc = "EVENTHIST221001"
	#-#

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

Code:
#(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"
	#-#

	action_a = {
		name = "ACTIONNAME147132A" #We are China!
		command = { type = wakeleader which = 032326 } #Shi Lang (CHI)
		command = { }
	}
}
EVENTNAME147135;The Qing dynasty in China;;;;;;;;;;

In MCH events marked as triggering 147135 (except new 221010), following command:
Code:
		command = { type = wakeleader which = 032326 } #Shi Lang (CHI)
is modified to:
Code:
		command = { type = trigger which = 147135 } #CHI: The Qing dynasty in China


Other change for events that check countrysize = 13 before turning China to Southern Ming:
Code:
		NOT = { countrysize = 13 }
becomes:
Code:
		AND = {
			NOT = { countrysize = 13 }
			ai = yes
		}
(no "End Game" for players)

and
Code:
		countrysize = 13
becomes:
Code:
		OR = {
			countrysize = 13
			ai = no
		}
 
Last edited:
In order to avoid weird situation if Korea exists but doesn't own the two Korean provinces when Ming collapse, I suggest to add:
Code:
		command = { type = secedeprovince which = KOR value = 641 } #Kyongju
		command = { type = secedeprovince which = KOR value = 642 } #Yalu
in CHI_10014 action_a, CHI_10017 action_b, CHI_10025, CHI_147127, CHI_147053, CHI_147128, CHI_147054, CHI_147129, CHI_147055, CHI_147130 and CHI_147056.

Other change:
Code:
#(1700-1820) Peace returns to China
event = {
	id = 147131
	trigger = {
		NOT = {
			exists = MCH
			exists = U11
			exists = U12
			exists = U13
			exists = U14
		}
		[COLOR=Yellow]owned = { province = 649 data = -1 } #Hebei
		control = { province = 649 data = -1 } #Hebei[/COLOR]
	}
	random = no
	country = CHI
	name = "EVENTNAME147131" #Peace returns to China
	desc = "EVENTHIST147131"
	#-#

	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
	}
}
#-#Unification and peace is brought back to China.
 
Problem with Koxinga being not dormant in leaders.U14 is Southern Ming will have two occurrences of this leader if China becomes Southern Ming after 1650. In order to avoid this problem:
Code:
historicalleader = {
	id = { type = 6 id = 0147800 }
	category = admiral
	name = "Koxinga"
	startdate = {
		year = 1650
	}
	deathdate = {
		day = 23
		month = august
		year = 1662
	}
	rank = 3
	movement = 5
	fire = 3
	shock = 3
	siege = 0
	dormant = [COLOR=Red]no[/COLOR][COLOR=Yellow]yes #always woken if not already in service for Ming China[/COLOR]
	remark = "The infamous pirate and Ming heir."
}
New event:
Code:
#(1650-1662) Koxinga in Ming service
#by sturmvogel
event = {
	id = 317020
	random = no
	country = U14
	name = "EVENTNAME147059" #Koxinga in Ming service
	desc = "EVENTHIST147059"
	#-#

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

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 0147800 } #Koxinga (U14)
		command = { type = sleepevent which = 147059 } #CHI: Koxinga in Ming service
	}
}
#-#Koxinga has joined our service.

Reworked event for China:
Code:
#(1650-1662) Koxinga in Ming service
#by sturmvogel
event = {
	id = 147059
	trigger = {
		exists = MCH
		NOT = { exists = U14 }
		monarch = 032023 #Zhu You Lang (Yong Li) °
	}
	random = no
	country = CHI
	name = "EVENTNAME147059" #Koxinga in Ming service
	desc = "EVENTHIST147059"
	#-#

	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)
		[COLOR=Yellow]command = { type = sleepevent which = 317020 } #U14: Koxinga in Ming service[/COLOR]
	}
}
 
YodaMaster said:
In the AGCEEP mentioned Specific files: Da Xi, Da Shun, Manchus and Korea + China for 147135 and reworked countrysize conditions. Or wait for next 1.56 beta.
When 1.56 will be done?
 
That reminds me, Koxinga's name as a pirates leader in leaders.pir need to be fixed if the file is valid:

Code:
historicalleader = {
	id = { type = 6 id = 0107301 }
	category = privateer
	name = [COLOR=Yellow]"Koxinga"[/COLOR] [COLOR=Red]"Kunxiga"[/COLOR]
	startdate = {
		year = 1600
	}
	deathdate = {
		year = 1650
	}
	location = 1085 #Taiwan Strait
	rank = 25
	movement = 6
	fire = 1
	shock = 4
	siege = 0
	remark = "China Sea"
}

As far as I know Koxinga was born in 1624. Maybe I might get the wrong person.
 
Last edited:
Histrical event of China

I'm a newbie to mods,

I just provide some informations
It is too many, so you can pick some of them.
For the scenario 1617
This is the frame, if someone need detail informations, then I'll write it.

Ming-China

#Wei Zhongxian be the ruler 1621
Administrate skill reduce by 6 for 84 months
stability -2
money-400(build temples)

#explusion of east forest group 1621
narrowminded +2
serfdom+1

#Wei Zhongxian cut in pieces
if stabil >=-1 stabil =+2
if stabil <=-2 stabil =+1
serfdom -1
centralization +2

#assign Yuan Chonghuan to the front
#Yuan Chonghuan excuted Mao Wenlong triggled by assign Yuan
sleepgeneral Mao
reduce money and built fortress in Liaotung
Land+1 Defend +2


#Manchu make a long way to attack Beijing 1629 if inwar
Beijing looted, popluation reduce
stabil -1


#Yuan Chonghuan cut in pieces 1630
Yes 90% stab +2 Defend -1 aristocracy +1
war exhausting -2 centralization+1
No 10% stab-1 war exhausting +1



#Famine in Longxi(Shaanxi) 1627
Foundation of Shun leader Gao Yingxiang -1636
in Shaanxi
Foundation of Xi leader Zhang Xianzhong
in Sichuan
Xi is a vassal of Dashun
1636 Shun cancelled the vassalship with Xi, but got allianced.(Dashun as leader)
in 1647 Xi joins Ming

#Meeting of 36 bangs 1633
Revoltrisk in whole China +10%
decede Henan and some provinces to Xi
Give some provinces to Xi and Shun
Mings stabil -3


#Gao Yingxiang fall, split in Shun and Xi
Li Zicheng succeed Gao


#Li Zicheng takes Liyans suggest
All Mings cities occupied or being sieged by Shun belongs to Shun.
(if technique available)

#Li Zicheng enters Beijing
Money+2000
Population of Beijing reduced much.
Triggled Chongzhens suicide
sleepevent Chongzhen commitee suicide

#Southern Ming princes make war against each other

#Li Zicheng takes Chen Yuanyuan 1644
Manchu get Wu Sangui as a leader
Manchu declare war on Shun


#Wu Sangui hanged Yongli 1662
revoltrisk of Qing reduced by 10






#Yongli evacuate

Burma grant Military access to Ming and Qing



#Gao Yingxiang 1627 1636 Shun
#Li Zicheng 1628 1644 Shun
#Zhang Xianzhong 1628 1646 Xi
#Li Dingguo 1628 1658 Xi
#Luo Rucai Xi 1631-1642
 
Last edited:
Manchus generals

Please tell me if someone wants events or some informations for China.
[for your special period of mods]
I can read Wenyan documents.


Nurhachi ,Abahai ,Dorgon,Kangxi are already in the list.


historicalleader = {
id = { type = 6 id = 08827 }
category = general
startdate = {
day = 1
month = March
year = 1617
}
deathdate = {
day = 1
month = january
year = 1649
}
name = "Hooge"
rank = 6
movement = 5
fire = 3
shock = 5
siege = 0
}



But I don't think Manchu shall be formed to China.
Manchu was not China.

Some other fierce Manchu generalls.(iron cap)
They are too many in one period.
#Yoto
#Amin
#Hong Chengchou 1642-1655(He was captured and joined Manchu)
#Jilhalang
#Daisan
#Dodo 1614-1649
#Hooge 1609--1648
#Ajige
#Mangultai
#Fiyanggu
 
Chi-leaders, they are too many

I don't know what will rank effect in the battle.
It means the stars?
or manueover?
Maybe I should find a place to upload files, and you only click the links.
Their attributes may be too high, because I rank them compared to other Manchu and China leaders.
The IDs are incorrect, and I don't know what type mean(maybe which .gif shall he use?)

historicalleader = {
id = { type = 6 id = 09244 }
category = general
name = "Yuan Chonghuan"
startdate = {
year=1622
}
deathdate = {
year=1631
}
rank = 5
movement = 3
fire = 4
shock = 4
siege = 1
}

historicalleader = {
id = { type = 6 id = 09245 }
category = general
name = "Hong Chengchou"
startdate = {
year=1630
}
deathdate = {
year=1642
}
rank = 6
movement = 4
fire = 4
shock = 5
siege = 3
}

historicalleader = {
id = { type = 6 id = 09246 }
category = general
name = "Sun Chuanting"
startdate = {
year=1636
}
deathdate = {1642
}
rank = 3
movement = 3
fire = 3
shock = 3
siege = 0
}

historicalleader = {
id = { type = 6 id = 09247 }
category = general
name = "Lu Xiangsheng"
startdate = {
year=1629
}
deathdate = {1639
}
rank = 4
movement = 2
fire = 2
shock = 4
siege = 0
}

historicalleader = {
id = { type = 6 id = 09248 }
category = general
name = "Qin Liangyu"
startdate = {
year=1618
}
deathdate = {1648
}
rank = 2
movement = 2
fire = 3
shock = 3
siege = 0
}

historicalleader = {
id = { type = 6 id = 09249 }
category = general
name = "Sun Chengzong"
startdate = {
year=1622
}
deathdate = {1631
}
rank = 4
movement = 2
fire = 4
shock = 2
siege = 2
}

historicalleader = {
id = { type = 6 id = 09230 }
category = general
name = "Xiong Wencan"
startdate = {
year=1637
}
deathdate = {1639
}
rank = 3
movement = 3
fire = 4
shock = 2
siege = 2
}

historicalleader = {
id = { type = 6 id = 09231 }
category = general
name = "Zhao Shuaijiao"
startdate = {
year=1622
}
deathdate = {1629
}
rank = 3
movement = 3
fire = 3
shock = 3
siege = 2
}

historicalleader = {
id = { type = 6 id = 09232 }
category = general
name = "Mangui"
startdate = {
year=1622
}
deathdate = {1629
}
rank = 3
movement = 5
fire = 2
shock = 5
siege = 1
}
 
Manchus events

if for mymap 1632 Manchu hold a meeting with Mongol tribes that they join Manchu.

#Anti-flee law
Manchu made law to prevent Han-serfs to flee.
stabil +1
serfdom+2



These are after 1644 when Manchu get whole China
#Yan Chongnians lecture(joke)
With backing of CCTV, Professor Yan Chongnian praise the Entering China of Manchu, despite of it had killed 4/5 Chinese(40 Millionen) and some other very bad acts.
Action_a 25% Yes let him promote his speech in Youtube
Stabil+1
revolt risk -2% for 240 months
Action_b 75% No, we don't welcome time-traveller



#Change the hairstyle of Chinese
Revolt in Zhejiang and all provinces near it
Zhejiang was captured by revolt scums
Population in Zhejiang reduced to 3000

#Enclosure movement
Population reduce
serfdom+1
taxvalue+3 in all chinese provinces
revolt risk+5% in all chinese provinces for 12 months
population -a lot in all chinese provinces

#Forbidden all books
narrow minded +3
centralization+1
serfdom+2
stabil +1
money-150
revolt risk+1% for 12 months
 
ptan54 said:
I would argue MCH => CHI to take place at the total destruction of all the other claimants on the Mainland. Koxinga and co's little operation based on Taiwan didn't attract much attention as "official regime of China". Long before 1683 most people in China had accepted the Qing as the legitimate regime, with the disturbances taking place mainly in the south.

Pursuant to the monarchs until 1820 idea for all the claimants, we need to have all these alternate monarchs loaded in the CHI monarch file. Depending on who becomes China, the other monarchs get slept and the winner's dynastic line is activated.

Absolutly wrong!!!
The resist against Manchu had never been put out !


http://bbs.52pcgame.com/thread-113937-1-2.html
Here is my AAR, despite of the game progress, there's a lot of informations of Manchu and China at the time of Manchu "take over" China.
Histrically "occupy China" should be much better!!
 
Last edited: