• Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
historicalleader = {
	id = { type = 6 id = 084303 }
	category = monarch
	name = "Kangxi"
	startdate = {
		year = 1672
	}
	deathdate = {
		day = 19
		month = december
		year = 1722
	}
	rank = 0
	movement = 5
	fire = 4
	shock = 2
	siege = 0
	dormant = [COLOR=YellowGreen]yes[/COLOR]
}
#(1672-1721) Kiangxi is ready to take to the field of battle
event = {
	id = 221009
	trigger = { 
[COLOR=YellowGreen]		NOT = { 
			event = 10043 #CHI: The Qing Dynasty
			event = 221001 #MCH: The Imperial Throne
			event = 10027 #MCH: The End of the Ming Dynasty
			event = 22100[COLOR=Red]0[/COLOR]8 #MCH: The Imperial Throne
			leader = 032327 #Kiangxi (CHI)
		} 	
[/COLOR]	}
	random = no
	country = MCH
	name = "EVENTNAME147062" #Kiangxi is ready to take to the field of battle
	desc = "EVENTHIST221009"
	#-#

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

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 084303 } #Kiangxi
	}
}
EVENTHIST221009;The Emperor is ready to command in battle.;;;;;;;;;;
 
Last edited:

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
#(1652-1683) [COLOR=SandyBrown]Refuge in Taiwan[/COLOR]
event = {
	id = 317019
	trigger = {
		owned = { province = 689 data = -1 } #Taiwan
		[COLOR=YellowGreen]control = { province = 689 data = -1 }
		NOT = { 
			countrysize = 4 
			provincereligion = { province = 689 data = pagan } #not a TP
		}[/COLOR]		
	}
	random = no
	country = U14
	name = "EVENTNAME317019" #[COLOR=YellowGreen]Refuge in Taiwan[/COLOR]
	desc = "EVENTHIST317019"
	#-#

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

	action_a = {
		name = "ACTIONNAME317019A" #Move the capital to Taiwan
		command = { type = stability value = -1 }
		command = { type = trade value = -200 }
		command = { type = capital which = 689 } #Taiwan
	}
	action_b = {
		name = "ACTIONNAME317019B" #Remain where we are
		[COLOR=YellowGreen]command = { type = desertion which = -1 value = 10000 }[/COLOR]
		command = { type = stability value = 1 }
		[COLOR=SandyBrown]command = { type = sleepevent which = 147134 } #CHI_147134: Collapse of the Southern Ming[/COLOR]
	}
}
#(1652-1699) We have conquered Taiwan
event = {
	id = 147063
	trigger = { 
		NOT = { exist[COLOR=MediumTurquoise]s[/COLOR] = U14 }
		owned = { province = 689 data = -1 } #Taiwan
		control = { province = 689 data = -1 }
}
	random = no
	country = CHI
	name = "EVENTNAME147063" #We have conquered Taiwan
	desc = "EVENTHIST147063"
	#-#

	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 which = 689 }
		command = { type = province_revoltrisk which = 689 value = 15 }	
		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 }
		[COLOR=YellowGreen]command = { type = population which = 689 value = -3000 }
		command = { type = provincereligion which = 689 value = pagan }[/COLOR]
	}
}
EVENTNAME317019;Refuge in Taiwan;;;;;;;;;;
EVENTHIST317019;The usurping Qing begin to surround us, Majesty. Shall we seek a place of safety in Taiwan?;;;;;;;;;;
ACTIONNAME317019A;Move the capital to Taiwan;;;;;;;;;;
ACTIONNAME317019B;Remain where we are;;;;;;;;;;

EVENTNAME147063;We have conquered Taiwan;;;;;;;;;;
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".;;;;;;;;;;
ACTIONNAME147063A;Incorporate Taiwan into China;;;;;;;;;;
ACTIONNAME147063B;We do not need any overseas entanglements;;;;;;;;;;

Is an event triggering an inheritance of U14 necessary if Taiwan is Qing controlled for a year or so and is the capital? How likely is it that the AIs would peace out without U14 being annexed in this situation?
 
Last edited:

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
About post #401, you can't test the existence of a foreign monarch, only foreign leaders. For foreign monarchs, only solution is keeping track of Qing dynasty events and dates.

About post #402, there is a potential problem with moving the capital and Taiwan being only a TP...
And condition is "control", not "controlled".
 
Last edited:

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
About post #401, you can't test the existence of a foreign monarch, only foreign leaders. For foreign monarchs, only solution is keeping track of Qing dynasty events and dates.

About post #402, there is a potential problem with moving the capital and Taiwan being only a TP...
And condition is "control", not "controlled".
I was really trying to avoid tracking down all of the Qing becoming China events. :( There are just so many of them, dammit!
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
You have no choice... Just search for CHI events that change flagname to "Manchus".

There is still a potential problem with Taiwan since starting religion of the island, even if uncolonized, is confucian, not pagan...
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
You have no choice... Just search for CHI events that change flagname to "Manchus".

There is still a potential problem with Taiwan since starting religion of the island, even if uncolonized, is confucian, not pagan...
OK, how then can I check to see it's not a TP? Cause I'm out of ideas.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
sturmvogel said:
OK, how then can I check to see it's not a TP? Cause I'm out of ideas.
Me too...

Is it a good idea to have Taiwan pagan from start only for gameplay purpose?

Should natives be aggressive enough to be able to wipe out a colony?

If we can answer yes to the first question and no to the second, we have the solution. Otherwise, we have a real problem since things could go really wrong in some games.
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
Me too...

Is it a good idea to have Taiwan pagan from start only for gameplay purpose?

Should natives be aggressive enough to be able to wipe out a colony, only for gameplay purpose too?

If we can answer yes to the first question and no to the second, we have the solution. Otherwise, we have a real problem since things could go really wrong in some games.
I think that the aborigines were pagan but that the Chinese who fled to the island were Confucian. But I also think that there were a lot more aborigines than ethnic Chinese so we can safely ignore the latter. So pagan from the start.

The Dutch had real problems subduing the natives. It took them about 10 years or more to get them to bow to Dutch authority. Why would it be a problem if they wiped out a colony or two? I'll grant that the Dutch are on a pretty short lease to match their historical performance, but other than that I don't see any downside.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
The problem is religion will not be pagan anymore if a colony was established but destroyed...
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
The problem is religion will not be pagan anymore if a colony was established but destroyed...
OK, then let's make the settings the most difficult we can where the pagan natives won't rise up and destroy the colony.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
sturmvogel said:
Deleted event for Shi Lang.
What about the corresponding leader (032326): included as dormant?


About post #401 and MCH_221009, better add following condition in trigger:
Code:
		NOT = {
			leader = 032327 #Kiangxi (CHI)
		}
Just for safety and cross reference.


sturmvogel said:
Is an event triggering an inheritance of U14 necessary if Taiwan is Qing controlled for a year or so and is the capital? How likely is it that the AIs would peace out without U14 being annexed in this situation?
Why should we force this annexation?

Move to Taiwan can only happen if U14 owns three provinces (including Taiwan). It means two wars will be necessary, at most, if capital is located in Taiwan. Does it make sense to see U14 disappearing faster than with normal war rules of the engine?

Anyway, we can't test durations.


Notes: as a rule, no double quote in descriptions but doubled single quote.

Avoid using ? or ! at the end of eventnames.
=> EVENTNAME317019;Refuge in Taiwan;;;;;;;;;;

Avoid using Majesty (or equivalent expressions) when talking to the player in descriptions. The player is not the ruler of the country.
=> EVENTHIST317019;The usurping Qing begin to surround us, Majesty. Shall we seek a place of safety in Taiwan?;;;;;;;;;;

There is no problem with "Shall we seek a place of safety in Taiwan?" since question is for the country in general (because of the use of "we") and not the ruler in particular.
 
Last edited:

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
What about the corresponding leader (032326): included as dormant?
I think so; with a command to woken up added to the various Manchu = China events as per Alt-Iberia. I'll write them up tomorrow as this 3-headed monster of U14, CHI and MCH is making my head hurt. I think I know why nobody wanted to tackle this in any detail before :(

YodaMaster said:
Why should we force this annexation?

Move to Taiwan can only happen if U14 owns three provinces (including Taiwan). It means two wars will be necessary, at most, if capital is located in Taiwan. Does it make sense to see U14 disappearing faster than with normal war rules of the engine?

Anyway, we can't test durations.
Historically mainland U14 was conquered in 1662; I suspect that it lasts longer in most games. I worry about Taiwan being conquered and then not annexed by the AI because there wasn't any siege of Taiwan; it simply surrendered when Shi Lang defeated its fleet. The regime in Taiwan had very little legitimacy and only existed because of Coxinga, which is, I imagine, why it didn't fight Shi Lang in Taiwan proper. So this seems to me to be best represented with an inheritance command if China ever gains control over Taiwan if the capital is present and is small.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
sturmvogel said:
Historically mainland U14 was conquered in 1662; I suspect that it lasts longer in most games. I worry about Taiwan being conquered and then not annexed by the AI because there wasn't any siege of Taiwan; it simply surrendered when Shi Lang defeated its fleet. The regime in Taiwan had very little legitimacy and only existed because of Coxinga, which is, I imagine, why it didn't fight Shi Lang in Taiwan proper. So this seems to me to be best represented with an inheritance command if China ever gains control over Taiwan if the capital is present and is small.
In this case, write an event for CHI annexing U14 if Taiwan controlled by CHI and event U14_317019 fired before. Of course, CHI event will have to be slept if U14 decided to not move capital to Taiwan.

A U14 player will never face this event or situation is very bad...
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
In this case, write an event for CHI annexing U14 if Taiwan controlled by CHI and event U14_317019 fired before. Of course, CHI event will have to be slept if U14 decided to not move capital to Taiwan.

A U14 player will never face this event or situation is very bad...
Very true, especially since the AI does amphibious invasions so well :rofl: Hainan already helps U14 against the AI immensely, Taiwan would just make things worse without an inheritance event representing the collapse.
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
#(1652-1699) Collapse of the Southern Ming
event = {
	id = 147134 
	trigger = { 
		event = 317019 #U14: Refuge in Taiwan
		control = { province = 689 data = -1 } #Taiwan
                [COLOR=YellowGreen]exists = U14[/COLOR]
	}
	random = no
	country = CHI
	name = "EVENTNAME147134" #Collapse of the Southern Ming
	desc = "EVENTHIST147134"
	#-#

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

	action_a = {
		name = "GREAT"
		command = { type = inherit which = U14 }
	}
}
#(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
		[COLOR=YellowGreen]command = { type = wakeleader which = 032326 } #Shi Lang[/COLOR]
	}
}
EVENTNAME147134;Collapse of the Southern Ming;;;;;;;;;;
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.;;;;;;;;;;
 
Last edited:

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
#(1683-1820) The Empire of China
event = {
	id = 10024
	trigger = {
		NOT = { exists = CHI }
		owned = { province = 649 data = -1 }
	}
	random = no
	country = MCH
	name = "EVENTNAME10024" #The Empire of China
	desc = "EVENTHIST10024"
	#-#

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

	action_a = {
		name = "ACTIONNAME10024A" #We are China!
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = stability value = 3 }
		command = { type = revolt which = 689 } #Taiwan
		command = { type = domestic which = centralization value = 2 }
		command = { type = add_countryculture which = chihan }
		command = { type = add_countryculture which = cantonese }
		[COLOR=YellowGreen]command = { type = wakeleader which = 032326 } #Shi Lang[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME10024B" #No, we will remain as the Manchu
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 84 value = 2 }
		command = { type = land value = 500 }
		command = { type = domestic which = land value = 2 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = sleepevent which = 221000 } #MCH: Claiming the Imperial Throne
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
	}
}
#(1644-1820) The Imperial Throne
event = {
	id = 221001 #triggered by CHI_147127
	random = no
	country = MCH
	name = "EVENTNAME221001" #The Imperial Throne
	desc= "EVENTHIST221001"
	#-#

	action_a = {
		name = "ACTIONNAME221001A" #Long live the Emperor!
		command = { type = stability value = 1 }
		command = { type = capital which = 649 } #Hebei
		command = { type = addcore which = 646 } #Liaotung
		command = { type = addcore which = 647 } #Liaoning
		command = { type = addcore which = 648 } #Hepei
		command = { type = addcore which = 649 } #Hebei
		command = { type = addcore which = 650 } #Shandong
		command = { type = addcore which = 651 } #Jinan
		command = { type = addcore which = 652 } #Jiangsu
		command = { type = addcore which = 653 } #Shanghai
		command = { type = addcore which = 654 } #Anhui
		command = { type = addcore which = 655 } #Zhejiang
		command = { type = addcore which = 656 } #Fujian
		command = { type = addcore which = 657 } #Kowloon
		command = { type = addcore which = 658 } #Guangzhou
		command = { type = addcore which = 659 } #Guangdong
		command = { type = addcore which = 660 } #Hainan
		command = { type = addcore which = 661 } #Guangxi
		command = { type = addcore which = 1553 } #Yunnan
		command = { type = addcore which = 1555 } #Wenshan
		command = { type = addcore which = 1556 } #Guizhou
		command = { type = addcore which = 1557 } #Sichuan Pendi
		command = { type = addcore which = 1558 } #Lanzhou
		command = { type = addcore which = 1559 } #Xining
		command = { type = addcore which = 1560 } #Ningxia
		command = { type = addcore which = 1561 } #Hohhot
		command = { type = addcore which = 1562 } #Shanxi
		command = { type = addcore which = 1563 } #Shaanxi
		command = { type = addcore which = 1564 } #Henan
		command = { type = addcore which = 1565 } #Hubei
		command = { type = addcore which = 1566 } #Hunan
		command = { type = addcore which = 1567 } #Nanchang
		command = { type = addcore which = 1608 } #Qilian Pendi
		command = { type = flagname which = "" }
		command = { type = country which = CHI }
		command = { type = flagname which = "Manchu" }
		command = { type = add_countryculture which = chihan }
		command = { type = add_countryculture which = cantonese }
		[COLOR=YellowGreen]command = { type = wakeleader which = 032326 } #Shi Lang[/COLOR]
		command = { type = sleepevent which = 221002 } #MCH: Claiming the Imperial Throne
	}
}
#(1683-1820) Claiming the Imperial Throne
event = {
	id = 221002
	trigger = {
		owned = { province = 649 data = -1 } #Hebei
		owned = { province = 650 data = -1 } #Shandong
		owned = { province = 651 data = -1 } #Jinan
		owned = { province = 652 data = -1 } #Jiangsu
		owned = { province = 653 data = -1 } #Shanghai
		owned = { province = 654 data = -1 } #Anhui
		owned = { province = 655 data = -1 } #Zhejiang
		owned = { province = 1562 data = -1 } #Shanxi
		owned = { province = 1563 data = -1 } #Shaanxi
		owned = { province = 1564 data = -1 } #Henan
		owned = { province = 1565 data = -1 } #Hubei
		owned = { province = 1567 data = -1 } #Nanchang
		control = { province = 649 data = -1 } #Hebei
		NOT = { exists = CHI }
		event = 10024 #MCH: The Empire of China
	}
	random = no
	country = MCH
	name = "EVENTNAME221002" #Claiming the Imperial Throne
	desc = "EVENTHIST221002"
	#-#

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

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

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
I do prefer:
EVENTNAME317019;Refuge in Taiwan;;;;;;;;;;

In U14_317019, action_b seems not well balanced enough. It is better to choose it than action_a. Some bad effects for action_b are welcome (desertion?).

For CHI_147134, missing condition:
Code:
		owned = { province = 689 data = U14 } #Taiwan
EVENTHIST147134;The defeat of itshis 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.;;;;;;;;;;

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 eEmperor 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''.;;;;;;;;;;


I don't find leader 032325 for China. Did I miss something? If not, better renumber 032328 to 032325 in order to avoid a hole.
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
For CHI_147134, missing condition:
Code:
		owned = { province = 689 data = U14 } #Taiwan
Oh, that's not missing at all. It's intended to prevent situations where Taiwan is the only remaining province and has been conquered by China and the AI wants to peace out without FA'ing U14.
YodaMaster said:
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 eEmperor 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''.;;;;;;;;;;
The semicolon is used to connect two sentence fragments and doesn't need a comma. Plus I don't edit direct quotes for punctuation.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
sturmvogel said:
Oh, that's not missing at all. It's intended to prevent situations where Taiwan is the only remaining province and has been conquered by China and the AI wants to peace out without FA'ing U14.
I don't understand, this event can only happen if U14 capital is in Taiwan. Without this condition, event could then fire even when U14 doesn't exist and if China controls the province. This is a bug.

sturmvogel said:
The semicolon is used to connect two sentence fragments and doesn't need a comma. Plus I don't edit direct quotes for punctuation.
Semicolons are forbidden in descriptions. They mark the end of the string in text.csv.
 

sturmvogel

Field Marshal
29 Badges
Oct 13, 2005
2.819
234
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
I don't understand, this event can only happen if U14 capital is in Taiwan. Without this condition, event could then fire even when U14 doesn't exist and if China controls the province. This is a bug.
Then adding a exists = U14 trigger will fix that bug, right?

YodaMaster said:
Semicolons are forbidden in descriptions. They mark the end of the string in text.csv.
OK, I'll try to remember next time.