• 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.

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Summary of proposed changes

Targeted province should be controlled by default but this is not a mandatory condition for some events.

Not mentioned events already have a control condition or are not a problem if capital doesn't really move.

Added control condition in trigger:
KNI_201991
KNI_201996
SAV_275704
SAV_275705
GER_336110
SPA_285999
INC_191990
WLS_330000
ProvinceSpec_338078
CYR_155001
CYR_155002
CYR_155007
AKK_103011
HAB_179113
HAB_179114
HAB_179115
HAB_179116
HAB_179117
HAU_28003
BRA_132017
BRA_132006
BYZ_23016
CHG_3831
CHI_10000
KUR_206007
ProvinceSpec_163000
ETH_165011
ETH_165025
ETH_24060
NOG_243000
BEA_351005
STE_287025
GEL_28002
STE_287025 => and reworked trigger
HLL_88016
FRI_28001
FPR_28014
SIL_401015
INC_81011 => missing owned command
INC_81025
U01_304001
LIT_210012
LIT_210002
MLC_227801
MCH_10028
MIN_225000
MOR_232004
HOL_3900 (but trigger still strange with the OR condition and associated comment)
HOL_186320 (backup capital event)
NOR_244002 (and command in action_b doesn't need condition)
NVG_3582
KNI_24004
KNI_201002
POL_258035
POL_3479
POM_259002
POR_260087 => missing owned command (should be obvious but...)
PRO_262019
PRO_262020
PRO_262021
PRO_262022
PRO_262027
PRO_262028
PSK_3584
ROY_270000
RYA_3585
SIB_280001
SON_284038
U14_317002
TRE_3874
TVE_3586
FUC_28015
FUC_172003
UKR_323000
UZB_325003
UZB_325014


Not modified - Don't know if ownership/control is necessary:
U25_115003
AKK_103025
BGL_128015
CAM_140001
DAI_157007
FRA_170184
FRA_170190
FRA_170112
HUN_188090
HUN_188093
QAR_266023
U01_304000
MLC_60008
MLC_227800
MAL_218002 - see post #19
FEZ_166000 - see post #14
FEZ_166001 - see post #14
XHO_51024
XHO_51025

USA_4990
UZB_325004
UZB_325000 - see post #8
UZB_65013 - see post #8
ZIM_335004


Not modified - Possible problem:
INC_191999
BOH_129001 (but very early in game - should always be possible)
DAU_1000065
DAU_1000066
HUN_19020 (see trigger in TUR_19019) - see post #3
INC_191005
QAR_266014
U19_413002
MLC_60003
MOG_230017
JAI_194211
SON_284041
SPA_285264
TIM_296607 - see post #20
TIM_296612 - see post #20


In Green => fixed
In Blue => not a problem
 
Last edited:

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
HUN_19020 (see trigger in TUR_19019)
As for this, since Hungary becomes Transylvania (SIE) I would add the "owned-province" trigger conditions in the TUR triggering event:
Code:
#(1540) The Death of János Zápolya
event = {
	id = 19019
	trigger = {
		exists = HAB
		exists = HUN
		event = 19016 [COLOR=Yellow]#HUN: Electing a New King (The Battle of Mohacs, pt II)[/COLOR]
		event = 3186 [COLOR=Yellow]#HAB: The Habsburg Inheritance of Hungary[/COLOR]
		vassal = { country = TUR country = HUN }
		OR = {
			[COLOR=Yellow]AND = {
				owned = { province = 323 data = HUN } #Transylvania[/COLOR]
				control = { province = 323 data = HUN }
			[COLOR=Yellow]}
			AND = {
				owned = { province = 323 data = -1 }[/COLOR]
				control = { province = 323 data = -1 }
			[COLOR=Yellow]}[/COLOR]
		}
	}
	random = no
	country = TUR
	name = "EVENTNAME19019" #The Death of János Zápolya
	desc = "EVENTHIST19019"
	#-#

	date = { day = 21 month = july year = 1540 }

	action_a = {
		name = "ACTIONNAME19019A" #Split the Kingdom
		command = { type = secedeprovince which = HUN value = 317 } #Ruthenia
		command = { type = secedeprovince which = HUN value = 323 } #Transylvania
		command = { type = secedeprovince which = HUN value = 324 } #Maros
		command = { type = trigger which = 19020 } #HUN: The Death of János Zápolya
	}
	action_b = {
		name = "ACTIONNAME19019B" #Support János Sigusmund
		command = { type = alliance which = HUN }
		command = { }
	}
	action_c = {
		name = "ACTIONNAME19019C" #Let Ferdinand have it!
		command = { type = trigger which = 3185 } #HAB: The Habsburg Inheritance of Hungary
		command = { type = trigger which = 19018 } #HUN: The Habsburg rule Hungary
	}
}

Zápolya's reign was contested from the very beginning. In 1538, Zápolya had secretly promised Ferdinand of Austria the Hungarian crown in order to buy peace. In 1540, while putting down a revolt in Transylvania, János died from illness, just three weeks after his Polish princess-bride had given him a son, János Sigusmund. With Zapolya's death, Ferdinand again invaded Hungary to try to claim his inheritence. Finally the Ottoman Sultan, having had enough with the chaos in his vassal, Hungary, split the country into three parts. He kept Southern and Central Hungary for himself, giving Eastern Hungary to János Sigusmund, while Ferdinand held the Western portion. Hungary would remain divided between the three countries for the next 170 years.
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
HUN_188090
HUN_188093

and HUN_188091

As for 188090 we can maybe ignore it as it should represent a move of the capital city because of revolts. But imo we could do as it was scrpited in a French event, using several capital move events in some of the other Nationalist held provinces such as: Carpathia, Magyar, Presburg, Odenburg. Pest should be current capital city when the event fires.

As for 188093, the event seems to have a nonsense between the trigger and the capital move command:

Code:
#(1441-1460) Nationalist victory (if Hungary took Loyalists side)
event = {
	id = 188093
	trigger = {
		flag = Ladislaus
		[COLOR=YellowGreen]control = { province = 353 data = REB } #Pest[/COLOR]
		OR = {
			control = { province = 324 data = REB } #Maros
			control = { province = 325 data = REB } #Magyar
		}
		OR = {
			control = { province = 323 data = REB } #Transylvania
			control = { province = 317 data = REB } #Ruthenia
			control = { province = 326 data = REB } #Presburg
		}
		OR = {
			control = { province = 355 data = REB } #Serbia
			control = { province = 354 data = REB } #Banat
		}
	}
	random = no
	country = HUN
	name = "EVENTNAME188093" #Victory of the supporters of Wladislaw
	desc = "EVENTHIST188093"
	#-#

	date = { day = 1 month = december year = 1441 }
	offset = 30
	deathdate = { day = 9 month = march year = 1460 }

	action_a = {
		name = "ACTIONNAME188093A" #Accept Wladislaw
		command = { type = wakeleader which = 061300 } #János Hunyadi (HUN)
		command = { type = breakvassal which = HAB }
		command = { type = relation which = POL value = 100 }
		command = { type = sleepmonarch which = 061008 } #Elizabeth of Luxemburg
		command = { type = sleepmonarch which = 061009 } #Ulrich of Cilli (Regent)
		command = { type = wakemonarch which = 061003 } #Ulászló I
		command = { type = wakemonarch which = 061004 } #Interregnum
		command = { type = wakemonarch which = 061005 } #General-Captains of Hungary (Regency)
		command = { type = province_revoltrisk which = 317 value = -12 } #Ruthenia
		command = { type = province_revoltrisk which = 323 value = -12 } #Transylvania
		command = { type = province_revoltrisk which = 324 value = -12 } #Maros
		command = { type = province_revoltrisk which = 354 value = -12 } #Banat
		command = { type = province_revoltrisk which = 355 value = -12 } #Serbia
		command = { type = stability value = 2 }
		[COLOR=YellowGreen]command = { type = capital which = 353 } #Pest[/COLOR]
		command = { type = clrflag which = [Ladislaus] }
	}
}

#-#Since most of Hungary has been captured by Wladislaw's supporters, support for Ladislaus Postumus is fading and Ulászló is commonly acknowledged as rightful King.


If the capital is rebel controlled, how can we restore the capital in Pest?

188091 seems to be better even if the trigger doesn't know if Pest is also owned by Hungary.

But here we could add it as we have about 18 years to let the event fire. Otherwise we shoud find a "neutral" event where to put the capital move in Pest.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Ok for HUN_188090

Sorry for HUN_188091

For HUN_188093, it is strange but I think it is wad. Wladislaw's faction (REB) has won and seizes power. Capital moves back to Pest since it is "controlled" by this faction. In same event RR is decreased to reflect new situation. Only problem is government could collapse or regular armies will have to siege now really REB controlled provinces...
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
Bordic said:
As for 188090 we can maybe ignore it as it should represent a move of the capital city because of revolts. But imo we could do as it was scrpited in a French event, using several capital move events in some of the other Nationalist held provinces such as: Carpathia, Magyar, Presburg, Odenburg. Pest should be current capital city when the event fires.
Sorry I wanted to say, ...the other Loyalist held provinces such as....
If you go with action B you take the Loyalist side and so the others, the Nationalists, they are going to revolt in East Hungary and Transylvania.

The provinces I mention should be in the western part of Hungary.
 

Garbon

Sultan d'Afrique
74 Badges
Feb 1, 2002
9.764
251
www.crystalempiregames.com
  • For The Glory
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Cities: Skylines Industries
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
Well this event does need a trigger change.

Code:
#(1580) Kazakh Honeymoon
event = {
	id = 65013
	trigger = {
		exists = KZK
		owned = { province = 1534 data = -1 } #Kyzylkum
		[color=yellow]owned = { province = 1592 data = -1 } #Samarkand
		control = { province = 1592 data = -1 } #Samarkand[/color]
		[color=red]OR = {
			event = 325014 #UZB: Conquest of Samarkand
			event = 325000 #UZB: Formation of Khiva Khanate
			NOT = { event = 325003 } #UZB: Khayr's Summer Residence
		}[/color]
	}
	random = no
	country = UZB
	name = "EVENTNAME65013" #Kazakh Honeymoon
	desc = "EVENTHIST65013"
	#-#

	date = { day = 1 month = january year = 1580 }
	offset = 30
	deathdate = { day = 1 month = january year = 1581 }

	action_a = {
		name = "ACTIONNAME65013A" #Ally with Kazakhs
		command = { type = capital which = 1592 } #Samarkand
		command = { type = relation which = KZK value = 150 }
		command = { type = secedeprovince which = KZK value = 1534 } #Kyzylkum
		command = { type = stability value = 1 }
		command = { type = alliance which = KZK }
	}
	action_b = {
		name = "ACTIONNAME65013B" #No reason to waste precious lands
		command = { type = relation which = KZK value = -250 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 24 value = 3 }
		command = { type = sleepevent which = 65014 } #UZB: Prince Tawakkul and Abd'Allah
	}
}

During the 15 year long struggle against Abd'Allah, his nobles enlisted the help of Kazakh's Khan Haq Nazar. However, upon Haq Nazar' death, new Khan Shigai chose to be allied with Abd'Allah in exchange for a fief.

Code:
#(1510-1820) Formation of Khiva Khanate
event = {
	id = 325000
	trigger = {
		[color=limegreen]owned = { province = 1592 data = -1 } #Samarkand
		control = { province = 1592 data = -1 } #Samarkand[/color]
		OR = {
			owned = { province = 1594 data = -1 }
			owned = { province = 1599 data = -1 }
			owned = { province = 1598 data = -1 }
		}
		OR = {
			owned = { province = 1533 data = -1 }
			owned = { province = 522 data = -1 }
		}
		NOT = { exists = U00 }
	}
	random = no
	country = UZB
	name = "EVENTNAME325000" #Formation of Khiva Khanate
	desc = "EVENTHIST325000"
	#-#

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

	action_a = {
		name = "ACTIONNAME325000A" #Drats!
		command = { type = independence which = U00 }
		command = { type = capital which = 1592 } #Samarkand
		command = { type = removecore which = 521 } #Karabogaz
		command = { type = removecore which = 518 } #Ust Urt
		command = { type = removecore which = 522 } #Khwarizm
		command = { type = removecore which = 524 } #Turkmenistan
		command = { type = removecore which = 523 } #Kara Kum
		command = { type = stability value = -1 }
		command = { type = trigger which = 303000 } #U00: The Khiva Khanate
	}
}

I think my original intent was to let the Uzbeks have the Kazakh honeymoon even if they didn't make it to Samarkand. However, I don't see why that's necessary / perhaps they would have had bad relations. Added in control/owned lines to account for changes.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Bordic said:
Sorry I wanted to say, ...the other Loyalist held provinces such as....
If you go with action B you take the Loyalist side and so the others, the Nationalists, they are going to revolt in East Hungary and Transylvania.

The provinces I mention should be in the western part of Hungary.
I have to check the whole sequence and try to understand then...
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
Other events to be added in the list of "Not modified - Don't know if ownership/control is necessary:" are NAV_3589 BRI_3601 BUR_20100 BEA_351008 PRO_3606 also because I have added the capital move command.
A reborn France should mean Paris as capital, no? ;)

My suggestion are currently posted in BIF thread.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Bordic said:
A reborn France should mean Paris as capital, no? ;)
Not sure... Remember we already have the CoTs safety event for Paris, economic center of France with Ile de France owned and controlled, of course... and no choice in this event (capital + CoT but only if Lyonnais is owned too).
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
YodaMaster said:
Not sure... Remember we already have the CoTs safety event for Paris, economic center of France with Ile de France owned and controlled, of course... and no choice in this event (capital + CoT but only if Lyonnais is owned too).
Yes, I understand but since all events of reborn France need to test that Ile-de-France is currently owned/controlled, why not moving the capital in there? Which is the COT change event for France? At the moment I cannot find it.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Bordic said:
Yes, I understand but since all events of reborn France need to test that Ile-de-France is currently owned/controlled, why not moving the capital in there? Which is the COT change event for France? At the moment I cannot find it.
You can add the capital command, after all this is wanted for AI and a player has to make the choice if he really wants to form France (and everything that comes with...) or stay the little minor with its "regional" capital.

The event is CoTs_337834 ... in AGCEEP_Global_CoTs.eue, of course!
 

Garbon

Sultan d'Afrique
74 Badges
Feb 1, 2002
9.764
251
www.crystalempiregames.com
  • For The Glory
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Cities: Skylines Industries
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
Modified triggers for these two events. These are from near the start of my modding career, so I didn't even think about what would happen if someone else had taken over Morocco.

Code:
#(1554-1665) The Sa'di dynasty
event = {
	id = 166000
	trigger = { 
		NOT = { exists = MOR } 
		[color=yellow]owned = { province = 733 data = FEZ } #Fez
		control = { province = 733 data = FEZ }[/color]
	}
	random = no
	country = FEZ
	name = "EVENTNAME51003" #The Sa'di dynasty
	desc = "EVENTHIST51012"
	#-#

	date = { day = 1 month = january year = 1554 }
	offset = 40
	deathdate = { day = 1 month = january year = 1665 }

	action_a = {
		name = "ACTIONNAME51012A" #Goodbye Wattasids!
		command = { type = flagname which = "" }
		command = { type = country which = MOR }
		command = { type = capital which = 733 } #Fez
		command = { type = add_countryculture which = delaware }
		command = { type = sleepevent which = 166001 } #FEZ: The Sa'di dynasty
	}
}
#(1554-1665) The Sa'di dynasty
event = {
	id = 166001
	trigger = {
		NOT = { 
			exists = MOR 
			[color=yellow]event = 166002[/color]
		}
		[color=red]NOT = { event = 166002 }[/color]
		[color=yellow]owned = { province = 733 data = FEZ } #Fez
		control = { province = 733 data = FEZ }[/color]
	}
	random = no
	country = FEZ
	name = "EVENTNAME51003" #The Sa'di dynasty
	desc = "EVENTHIST51012"
	#-#

	date = { day = 1 month = january year = 1554 }
	offset = 40
	deathdate = { day = 1 month = january year = 1665 }

	action_a = {
		name = "ACTIONNAME51012A" #Goodbye Wattasids!
		command = { type = flagname which = "" }
		command = { type = country which = MOR }
		command = { type = addcore which = 732 } #Tangiers
		command = { type = addcore which = 806 } #Toubkal
		command = { type = addcore which = 733 } #Fez
		command = { type = capital which = 733 } #Fez
		command = { type = add_countryculture which = delaware }
		command = { type = sleepevent which = 166000 } #FEZ: The Sa'di dynasty
	}
}
 

Garbon

Sultan d'Afrique
74 Badges
Feb 1, 2002
9.764
251
www.crystalempiregames.com
  • For The Glory
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Cities: Skylines Industries
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
This event works out poorly if we don't have the control line.

Code:
#(1460-1492) The Mossi and the Songhai Empire
event = {
	id = 218002
	trigger = {
		owned = { province = 1492 data = -1 } [color=yellow]#Niani[/color]
		owned = { province = 1490 data = -1 } [color=yellow]#Bambuk[/color]
		[color=yellow]control = { province = 1492 data = -1 }[/color]
		NOT = { control = { province = 1490 data = -1 } }
		OR = {
			war = { country = MAL country = U07 }
			war = { country = MAL country = SON }
		}
	}
	random = no
	country = MAL
	name = "EVENTNAME218002" #The Mossi and the Songhai Empire
	desc = "EVENTHIST218002"
	#-#

	date = { day = 1 month = january year = 1460 }
	offset = 1
	deathdate = { day = 1 month = january year = 1492 }

	action_a = {
		name = "ACTIONNAME218002A" #We must flee!
		command = { type = capital which = 1492 } #Niani
		command = { type = removecore which = 1489 } #Jenné
		command = { type = removecore which = 1491 } #Segu
		command = { type = vp value = -75 }
		command = { type = stability value = -1 }
		command = { type = secedeprovince which = SON value = 1490 } #Bambuk
	}
	action_b = {
		name = "ACTIONNAME218002B" #Stand our ground!
		command = { type = vp value = -75 }
		command = { type = stability value = -6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
}
 
Last edited:

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Garbon said:
This event works out poorly if we don't have the control line.

Code:
#(1460-1492) The Mossi and the Songhai Empire
event = {
	id = 218002
	trigger = {
		owned = { province = 1492 data = -1 } [color=yellow]#Niani[/color]
		owned = { province = 1490 data = -1 } [color=yellow]#Bambuk[/color]
		[color=yellow]control = { province = 1490 data = -1 }[/color]
		NOT = { control = { province = 1490 data = -1 } }
		OR = {
			war = { country = MAL country = U07 }
			war = { country = MAL country = SON }
		}
	}
	random = no
	country = MAL
	name = "EVENTNAME218002" #The Mossi and the Songhai Empire
	desc = "EVENTHIST218002"
	#-#

	date = { day = 1 month = january year = 1460 }
	offset = 1
	deathdate = { day = 1 month = january year = 1492 }

	action_a = {
		name = "ACTIONNAME218002A" #We must flee!
		command = { type = capital which = 1492 } #Niani
		command = { type = removecore which = 1489 } #Jenné
		command = { type = removecore which = 1491 } #Segu
		command = { type = vp value = -75 }
		command = { type = stability value = -1 }
		command = { type = secedeprovince which = SON value = 1490 } #Bambuk
	}
	action_b = {
		name = "ACTIONNAME218002B" #Stand our ground!
		command = { type = vp value = -75 }
		command = { type = stability value = -6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
}
shouldn't yellow control be for Niani (1492)?