• 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.
YodaMaster said:
According to discussion with Bordic in last page of Egypt Thread (especially post #110), it appears 746 is mandatory for event TUR_3398 (see my post above too).

If it wasn't the case, we would have an OR condition in the trigger with the three involved provinces. We can amend this way too. It is only a matter of coherence.

That isn't the same case though as the Mamluk fall event. We can easily open that up. I'm actually wondering why Egypt can only be set free with those specific 3? After all, look at the ENG revolt entry, we let it revolt with a great many minimum provinces. I'm not sure why it should be impossible to have Egypt that revolts in Nile(747), Cataract(743), and possibly Quattara(742).


YodaMaster said:
No other comment (especially about Algerian Rebellion)?

No real other comments as the rest makes sense to me.
 
i think +50 relationship is not enough as it's a volunteer submission.
Code:
#(1525-1554) The Ottoman Vassalization of Al-Djazaïr
event = {
	id = 3372 #triggered by ALD_3651 A
	random = no
	country = TUR
	name = "EVENTNAME3372" #The Ottoman Vassalization of Al-Djazaïr
	desc = "EVENTHIST3372"
	

	action_a = {
		name = "ACTIONNAME3372A" #We accept your submission - Vassal!
		command = { type = vassal which = ALD }
		command = { type = sleepleader which = 0139318 } #Khayr-ad-Din (TUR)
		command = { type = treasury value = 200 }
		command = { type = stability value = 1 }
		command = { type = INF which = 737 value = 7000 } #Al Djazair
		command = { type = relation which = ALD value = [COLOR=Yellow]100[/COLOR] }#50
		[COLOR=Yellow]command = { type = naval value = 100 }[/COLOR]
	}
}

#-#In the 1520's, the brothers Barberus, who were Greek renegades who had gone on piracy ventures in the Barbary Coast of Algiers. After much fighting, Arudj, the elder brother, assassinated the pasha of Algiers, but was later himself killed in a combat. His brother Kayr al Din succeeded him and had, at some time, 100 galleys and 4,000 pirates that he used to terrorize the whole Mediterranean. Having received a regular commission of admiral from the Sultan, he placed Al Djazaïr (Algeria) under Ottoman sovereignty prompting Spanish expeditions against Algiers.

_____
i think it's too hard for just renoncing to claims.
Code:
#(1526) To Vienna!
event = {
	id = 19022 #triggered by HAB_3186 A
	random = no
	country = TUR
	name = "EVENTNAME19022" #The Turks Respond
	desc = "EVENTHIST19022"
	

	action_a = {
		name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = vassal which = HUN }
		[COLOR=Yellow]command = { type = alliance which = HUN }#[/COLOR]in order HUN not to be alone versus HAB later
		command = { type = war which = HAB }
		command = { type = stability value = 5 }
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
	action_b = {
		name = "ACTIONNAME19023B" #Let that infidel Ferdinand have Hungary so we can expand elsewhere
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = revoltrisk which = 120 value = [COLOR=Yellow]3 [/COLOR] }#5
		command = { type = stability value = [COLOR=Yellow]-2[/COLOR] }#-4
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}

#-#When Ferdinand attempted to uphold his claims in the Balkans by force, Suleyman felt that he had no choice but to respond in the same vein, lest Ferdinand expand his domain right up to the Sultan's border. The policy that was intended to secure the Ottoman Empire against the Habsburg threat had instead plunged the two empires into war.

_____
i think it's too hard for just renoncing to claims.
Code:
#(1526 or 1540) To Buda!
event = {
	id = 19023 #triggered by HUN_19016 B / HUN_19017 B or HUN_19024 B
	random = no
	country = TUR
	name = "EVENTNAME19022" #The Turks Respond
	desc = "EVENTHIST19023"
	

	action_a = {
		name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = war which = HAB }
		command = { type = war which = HUN }
		command = { type = stability which = 2 }
	}
	action_b = {
		name = "ACTIONNAME19023B" #Let that infidel Ferdinand have Hungary so we can expand elsewhere
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = revoltrisk which = 120 value = [COLOR=Yellow]3[/COLOR] }#5
		command = { type = stability value = [COLOR=Yellow]-2[/COLOR] }#-4
	}
}

#-#When Ferdinand attempted to uphold his claims in the Balkans by force, Suleyman felt that he had no choice but to respond in the same vein, lest Ferdinand expand his domain right up to the Sultan's border. The policy that was intended to secure the Ottoman Empire against the Habsburg threat had instead plunged the two empires into war.

_____
 
Last edited:
choice B:
-modest building cost certainly gold.
-to justify the cost i increase infra invest.

choice C:
-same, fortifications cost.
-i add a land invest value to justify the cost

choice D:
-the looser choice => decreasing of vp

Code:
#(1538-1560) Mimar Sinan's Great Constructions
event = {
	id = 3374
	trigger = {
		owned = { province = 357 data = -1 }
	}
	random = no
	country = TUR
	name = "EVENTNAME3374" #Mimar Sinan's Great Constructions
	desc = "EVENTHIST3374"
	

	date = { day = 1 month = january year = 1538 }
	offset = 720
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME3374A" #Build great works
		command = { type = treasury value = -1000 }
		command = { type = infra value = 2000 }
		command = { type = stability value = 2 }
		command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = vp value = 50 }
	}
	action_b = {
		name = "ACTIONNAME3374B" #Build modest works
		[COLOR=Yellow]command = { type = treasury value = -200 }[/COLOR]
		command = { type = infra value = [COLOR=Yellow]800[/COLOR] }#500
		command = { type = stability value = 1 }
	}
	action_c = {
		name = "ACTIONNAME3374C" #Invest in fortifications instead
		[COLOR=Yellow]command = { type = treasury value = -300 }[/COLOR]
		command = { type = fortress which = -2 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		[COLOR=Yellow]command = { type = land value = 500 }[/COLOR]
	}
	[COLOR=Yellow]action_d = {
		name = "ACTIONNAME3374D" #We have no money for such things!
		command = { type = vp value = -30 }
		command = { type = infra value = -200 }
		command = { type = land value = -200 }
		command = { type = stability value = -2 }
	}[/COLOR]
}

#-#Mimar Sinan planned and oversaw the construction of countless mosques, aqueducts, bathhouses, bridges, palaces, caravanserais and schools during his half-a-century long career. His masterpieces are the Selimiye and Suleymaniye Mosques in Adrianople and Constantinople respectively.

_____
It sounds like it's just the ottoman civil code (major codification)
that's why i increase ADM and switch techno to latin (if converted to shiite earlyer => switch to muslim, nullify it)
i add a courthouse as it's a major reform and down the revoltrisk to avoid revolt either if OTT is at war or do not tolerate some religion or add a bad STAB.


Code:
#(1540-1550) The Legal Reforms of Suleyman the Magnificent
event = {
	id = 3375
	random = no
	country = TUR
	name = "EVENTNAME3375" #The Great Legal Reform
	desc = "EVENTHIST3375"
	

	date = { day = 1 month = january year = 1540 }
	offset = 3600
	deathdate = { day = 1 month = january year = 1550 }

	action_a = {
		name = "ACTIONNAME3375A" #Codify the Ottoman Laws
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = stability value = 1 }
		command = { type = infra value = 200 }
		[COLOR=Yellow]command = { type = ADM which = 240 value = 2 }
		command = { type = technology which = latin }#if change before by converting to shiite faith[/COLOR]
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		[COLOR=Yellow]command = { type = gainbuilding which = -1 value = courthouse }[/COLOR]
		[COLOR=Yellow]command = { type = revoltrisk which = 240 value = -2 }[/COLOR]
	}
}

#-#Sultan Süleyman I became known as Kanuni--Lawgiver--to his own people thanks to his huge legal reforms and just rule. By codifying the secular laws, 'kanun', he lessened the importance of the rigid Muslim Shari'ah laws.
 
Last edited:
wiande said:
Code:
[CODE]
#(1526) To Vienna!
event = {
	id = 19022 #triggered by HAB_3186 A
	random = no
	country = TUR
	name = "EVENTNAME19022" #The Turks Respond
	desc = "EVENTHIST19022"
	

	action_a = {
		name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = vassal which = HUN }
		[COLOR=Yellow]command = { type = alliance which = HUN }#[/COLOR]in order HUN not to be alone versus HAB later
		command = { type = war which = HAB }
		command = { type = stability value = 5 }
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
	action_b = {
		name = "ACTIONNAME19023B" #Let that infidel Ferdinand have Hungary so we can expand elsewhere
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = revoltrisk which = 120 value = [COLOR=Yellow]3 [/COLOR] }#5
		command = { type = stability value = [COLOR=Yellow]-2[/COLOR] }#-4
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}

#-#When Ferdinand attempted to uphold his claims in the Balkans by force, Suleyman felt that he had no choice but to respond in the same vein, lest Ferdinand expand his domain right up to the Sultan's border. The policy that was intended to secure the Ottoman Empire against the Habsburg threat had instead plunged the two empires into war.
For this event to happen as intended you should have a further TUR event to be triggered by this in action A.
This new event will let HUN enter TUR alliance as per yellow command line (if TUR is alliance leader of course!).
The new event will also DOW HAB and trigger event HAB_179028.
 
does the "action a" hasn't these consequences ?

"This new event will let HUN enter TUR alliance as per yellow command line (if TUR is alliance leader of course!).
The new event will also DOW HAB and trigger event HAB_179028."

i can't imagine OTT not leader of an alliance but it happens sometimes.

Code:
name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = vassal which = HUN }
		command = { type = alliance which = HUN } [COLOR=Lime]#This new event will let HUN enter TUR alliance [/COLOR] 		
command = { type = war which = HAB } [COLOR=Lime]#The new event will also DOW HAB[/COLOR]
		command = { type = stability value = 5 }
		command = { type = trigger which = 179028 } #HAB: Hungary is mine [COLOR=Lime]#and trigger event HAB_179028[/COLOR]

no ?
 
No. TUR will probably be the leader of its alliance. It has to be so or the alliance command will not work at all in a TUR event. But this has nothing to do with what Bordic is trying to explain.

HUN will become a vassal of TUR, so it will leave its alliance but since it was still part of it when the event fired, the alliance command will not work.

My guess is that the engine checks all commands when the event fires, discarding those which are impossible at that moment. Then it goes on executing the remaining lines. It means that the "alliance" command the way you scripted it won't even be taken in consideration (unless HUN is part of no alliance at all).

To get this work, you'd have to write a new TUR event including an "alliance" command, triggered by TUR_19022 A.


Hope I am clear enough, if not I could still try to explain it in french by PM. :)
 
I confirm.

To go further, an event where a country break vasselage can't fire another event where this country is vassalized to another country. This won't work. I had this problem recently with Romanian principalities events and Wallachia. I had to make the second event not triggered.
 
please tell me if that sequence is ok

Code:
#(1526) To Vienna!
event = {
	id = 19022 #triggered by HAB_3186 A
	random = no
	country = TUR
	name = "EVENTNAME19022" #The Turks Respond
	desc = "EVENTHIST19022"
	

	action_a = {
		name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = vassal which = HUN }
		command = { type = stability value = 5 }
		[COLOR=Yellow]command = { type = trigger which =XXX } #first free id TUR[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME19023B" #Let that infidel Ferdinand have Hungary so we can expand elsewhere
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = revoltrisk which = 120 value = 3  }#5
		command = { type = stability value = -2 }#-4
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}

Code:
[COLOR=Yellow]#(1526) We will defend our interests (To Vienna!)
event = {
	id = XXX #triggered by TUR_19022 A
	random = no
	country = TUR
	name = "EVENTNAMEXXX" #We will defend our interests (To Vienna!)
	desc = "EVENTHIST19022"


	action_a = {
		name = "ACTIONNAMEXXXA" #Go to war with Hungary
		command = { type = alliance which = HUN }#in order HUN not to be alone versus HAB later
		command = { type = war which = HAB }
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}[/COLOR]
 
news modifications:

as sometimes small events gives huge rewards, this one should be upgraded.

Code:
#(1540-1550) The Legal Reforms of Suleyman the Magnificent
event = {
	id = 3375
	random = no
	country = TUR
	name = "EVENTNAME3375" #The Great Legal Reform
	desc = "EVENTHIST3375"
	

	date = { day = 1 month = january year = 1540 }
	offset = 3600
	deathdate = { day = 1 month = january year = 1550 }

	action_a = {
		name = "ACTIONNAME3375A" #Codify the Ottoman Laws
		command = { type = domestic which = CENTRALIZATION value = 1 }
		[COLOR=Yellow]command = { type = domestic which = innovative value = 1 }[/COLOR]
		command = { type = stability value = [COLOR=Yellow]2[/COLOR] }#1
		command = { type = infra value = [COLOR=Yellow]500[/COLOR] }#200
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		[COLOR=Yellow]command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }[/COLOR]
	}
}
#-#Sultan Süleyman I became known as Kanuni--Lawgiver--to his own people thanks to his huge legal reforms and just rule. By codifying the secular laws, 'kanun', he lessened the importance of the rigid Muslim Shari'ah laws.
_____
Code:
#(1566) Janissary decadence II
#by Fodoron
event = {
	id = 301106
	random = no
	country = TUR
	name = "EVENTNAME301106" #Janissaries allowed to marry
	desc = "EVENTHIST301106"
	

	date = { day = 1 month = august year = 1566 }

	action_a = {
		name = "ACTIONNAME301106A" #No longer an elite corps
		command = { type = land value = -2500 }
		command = { type = naval value = -1000 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		[COLOR=SandyBrown]command = { type = domestic which = INNOVATIVE value = -1 }[/COLOR] [COLOR=Lime]#why ?[/COLOR]
	}
}
#-#The admittance of Muslims into the Janissary brought an unexpected problem as part of them were married. The restrictions to marry became more lax and finally the janissaries were able to extract from Selim II a general permission to all janissaries to marry. The janissaries, now with families to take care of, lost a great deal of warrior ardour. Their cost also raised greatly, as their adequate salary became insufficient to support a family. More problems followed as the janissaries insisted in their sons being admitted, and soon obtained it. The transformation from a military elite into a powerful and dangerous conservative guild was taking place and was accompanied by an increasing difficulty in obtaining victories at war.
_____
Code:
#(1540) The Death of János Zápolya
event = {
	id = 19019
	trigger = {
		exists = HAB
		exists = HUN
		event = 19016
		event = 3186
		vassal = { country = TUR country = HUN }
		OR = {
			control = { province = 323 data = HUN }
			control = { province = 323 data = -1 }
		}
	}
	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
		[COLOR=Red]command = { type = vassal which = HUN }[/COLOR]
		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.
 
Last edited:
wiande said:
please tell me if that sequence is ok

Code:
#(1526) To Vienna!
event = {
	id = 19022 #triggered by HAB_3186 A
	random = no
	country = TUR
	name = "EVENTNAME19022" #The Turks Respond
	desc = "EVENTHIST19022"
	

	action_a = {
		name = "ACTIONNAME19023A" #We will defend our interests
		command = { type = vassal which = HUN }
		command = { type = stability value = 5 }
		[COLOR=Yellow]command = { type = trigger which =XXX } #first free id TUR[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME19023B" #Let that infidel Ferdinand have Hungary so we can expand elsewhere
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = revoltrisk which = 120 value = 3  }#5
		command = { type = stability value = -2 }#-4
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}

Code:
[COLOR=Yellow]#(1526) We will defend our interests (To Vienna!)
event = {
	id = XXX #triggered by TUR_19022 A
	random = no
	country = TUR
	name = "EVENTNAMEXXX" #We will defend our interests (To Vienna!)
	desc = "EVENTHIST19022"


	action_a = {
		name = "ACTIONNAMEXXXA" #Go to war with Hungary
		command = { type = alliance which = HUN }#in order HUN not to be alone versus HAB later
		command = { type = war which = HAB }
		command = { type = trigger which = 179028 } #HAB: Hungary is mine
	}
}[/COLOR]
Yes, it should work. I would suggest to split eventhist19022 into two as to have different texts and use a different eventname for the new event as it is now is the same as actionname19022.
 
wiande said:
Code:
#(1540) The Death of János Zápolya
event = {
	id = 19019
	trigger = {
		exists = HAB
		exists = HUN
		event = 19016
		event = 3186
		vassal = { country = TUR country = HUN }
		OR = {
			control = { province = 323 data = HUN }
			control = { province = 323 data = -1 }
		}
	}
	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 = vassal which = HUN }
		[COLOR=YellowGreen]command = { type = alliance which = HUN }[/COLOR] [COLOR=Lime]#does this will work ?[/COLOR]
		[COLOR=Red]command = { }[/COLOR]
	}
	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.

You shouldn't have highlighted that command in red for removal. If neither or the previous commands are valid, that choice won't show up. However, seeing as how HUN being a vassal of TUR is required for the event to occur, the vassalage command should be removed as it'll never work. The alliance command should work as long as HUN isn't already in the Ottoman alliance. The blank command (that you highlighted in red) is there so that you can still choose to support Zapolya.
 
ok if i've well understood, you want that ?
Code:
#(1540) The Death of János Zápolya
event = {
	id = 19019
	trigger = {
		exists = HAB
		exists = HUN
		event = 19016
		event = 3186
		vassal = { country = TUR country = HUN }
		OR = {
			control = { province = 323 data = HUN }
			control = { province = 323 data = -1 }
		}
	}
	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
		[COLOR=Red]command = { type = vassal which = HUN }[/COLOR]
		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
	}
}

isn't it ?
 
Last edited:
vassal command in action_b is not necessary since Hungary being already vassal of OE is a condition in the trigger of the event.

EDIT: with red line, action_b makes sense but does event itself make sense then without this condition?
 
Always seing OE at the BB limit after 1650 because of annexation of some possible revolters, I suggest a last BB regulation event:
Code:
#(1650-1820) BB regulation - AI only
event = {
	id = 301088
	trigger = {
		badboy = 40
		ai = yes
	}
	random = no
	country = TUR
	name = "AI_EVENT"
	desc = ""

	date = { year = 1650 }
	offset = 180
	deathdate = { year = 1820 }

	action_a = {
		name = "OK"
		command = { type = badboy value = -10 }
	}
}
 
TUR event 301050 and CRI event 152060

In my last game the Ottomans were really successful and conquered even some provinces in alliance with Crimea that historically belonged to Crimea.

When CRI offers to become a vassal of the ottomans and triggers TUR 301050 shouldn´t then the Ottomans not only get them as vassals and possibly allies, but also cede provinces they might have conquered to Crimea that Crimea has a core? Not only would provinces of Crimea be wrong culture (tatar/ruthenian) to the Ottomans but they would give Crimea a permanent CB on the Ottomans and poison the relatioins over time.

The same would be true should Crimea have conquered provinces that the Ottomans have a core on. Should in the crimean request for aid perhaps Ottoman cores be ceded to TUR?

Code:
#(1466-1700) Crimean Khanate seeks Ottoman support
event = {
	id = 301050 #triggered by CRI_152060 A
	random = no
	country = TUR
	name = "EVENTNAME301050" #Crimean Khanate seeks Ottoman support
	desc = "EVENTHIST301050"
	#-#While Russia managed to overtake the other Khanates of the European steppe in the 16th century, the Khanate of Crimea lasted well into the 1700s.  A major reason for this longevity was the support of the Ottoman Empire.

	action_a = {
		name = "ACTIONNAME301050A" #We accept them as our allies and vassals
		command = { type = vassal which = CRI }
		command = { type = alliance which = CRI }
		command = { type = relation which = CRI value = 50 }
		[color=yellow]command = { type = secedeprovince which = CRI value = 459 }
		command = { type = secedeprovince which = CRI value = 460 }
		command = { type = secedeprovince which = CRI value = 461 }
		command = { type = secedeprovince which = CRI value = 462 }[/color]
		}
	action_b = {
		name = "ACTIONNAME301050B" #Avoid northern entanglements
		command = { type = vp value = -50 }
	}