Still changes...
...
of course modifications in event- hist- and actionnames are modifications to text.csv!
Here I would like to modify some eventnames as they are now they are very much confusing expecially between HAB and TUR events which have same references but different actions:
Code:
#(1526) [COLOR=Red]The Habsburg Inheritance of Hungary - Zapolya[/COLOR] [COLOR=Yellow]The Turk is expanding in Hungary
#(Lajos' death at Mohacs in 19013 A or Lajos' assassination by nobles
# if at least one of the ahistorical submissions took place with 19009 B or 19013 B)[/COLOR]
event = {
id = 3186 #triggered by HUN_19016 A / HUN_19017 A
random = no
country = HAB
name = "EVENTNAME3186" #[COLOR=Red]The Habsburg Inheritance of Hungary[/COLOR] [COLOR=Yellow]The Turk is expanding in Hungary[/COLOR]
desc = "EVENTHIST3186"
#-#
action_a = {
name = "ACTIONNAME3186A" #No! It is mine!
command = { type = relation which = TUR value = -200 }
command = { type = relation which = HUN value = -150 }
command = { type = addcore which = 316 } #Carpathia
command = { type = addcore which = 317 } #Ruthenia
command = { type = addcore which = 323 } #Transylvania
command = { type = addcore which = 324 } #Maros
command = { type = addcore which = 325 } #Magyar
command = { type = addcore which = 326 } #Presburg
command = { type = addcore which = 352 } #Odenburg
command = { type = addcore which = 353 } #Pest
command = { type = addcore which = 354 } #Banat
command = { type = addcore which = 366 } #Croatia
command = { type = add_countryculture which = slovak }
command = { type = trigger which = 19022 } #TUR: [COLOR=Red]The Turks Respond[/COLOR][COLOR=Yellow]A foothold in Hungary[/COLOR]
}
action_b = {
name = "ACTIONNAME3186B" #Let him have it
command = { type = relation which = HUN value = 100 }
command = { type = relation which = TUR value = 50 }
}
}
#-#Lajos II (Louis), 1506-26, king of Hungary and Bohemia (1516-26), son and successor of Uladislaus II. He was the last of the Jagiello dynasty in the two kingdoms. In the face of intensified attacks by Sultan Sulayman I, Lajos hastily sought (1526) to unite Hungary and Christendom behind him, but only the pope sent help. With a pitiful army, Lajos joined battle with the Ottomans at Mohács. The Hungarian army was destroyed, and Lajos was killed. Only the ambitious John Zapolya had failed to arrive in time for the battle with the army he was bringing from Transylvania. Through the marriage treaty concluded by Lajos father the crowns of Hungary and Bohemia passed to Louis's brother-in-law, Ferdinand of Habsburg (later Holy Roman Emperor Ferdinand I), but Hungary fell under Ottoman rule.
Code:
#(1526) [COLOR=Red]To Vienna![/COLOR][COLOR=Yellow]A foothold in Hungary[/COLOR]
event = {
id = 19022 #triggered by HAB_3186 A
random = no
country = TUR
name = "EVENTNAME19022" #[COLOR=Red]The Turks Respond[/COLOR][COLOR=Yellow]A foothold in Hungary[/COLOR]
desc = "EVENTHIST19022"
#-#
action_a = {
name = "ACTIONNAME19023A" #We will defend our interests
command = { type = vassal which = HUN }
command = { type = stability value = 5 }
command = { type = trigger which = 301087 } #TUR: [COLOR=Red]We will defend our interests[/COLOR][COLOR=Yellow]To Vienna![/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 }
command = { type = stability value = -2 }
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.
Code:
#(1526) [COLOR=Red]We will defend our interests[/COLOR] [COLOR=Yellow]To Vienna![/COLOR]
event = {
id = 301087 #triggered by TUR_19022 A
random = no
country = TUR
name = "EVENTNAME301087" #[COLOR=Red]We will defend our interests[/COLOR] [COLOR=Yellow]To Vienna![/COLOR]
desc = "EVENTHIST301087"
#-#
action_a = {
name = "ACTIONNAME301087A" #[COLOR=Red]Go to war with[/COLOR] [COLOR=Yellow]Let's protect[/COLOR] 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
}
}
#-#The policy that was intended to secure the Ottoman Empire against the Habsburg threat had instead plunged the two empires into war.
Code:
#(1526) Hungary is mine
event = {
id = 179028 #triggered by TUR_19022 B [COLOR=Yellow]or TUR_301087[/COLOR]
trigger = {
NOT = { war = { country = HAB country = HUN } }
}
random = no
country = HAB
name = "EVENTNAME179028" #Hungary is mine
desc = "EVENTHIST179028"
#-#
action_a = {
name = "ACTIONNAME179028A" #Hungary is mine!
command = { type = war which = HUN }
}
}
#-#Hungary fell under Ottoman rule. We have no choice but taking it by force...
************
And here the alternative path with Hungary acknowledging Austrian rule:
Code:
#(1526) The recovery of Hungary
event = {
id = 179130 #triggered by HAB_3185 / HAB_179131
random = no
country = HAB
name = "EVENTNAME179130" #The recovery of Hungary
desc = "EVENTHIST179130"
#-#
action_a = {
name = "OK"
command = { type = alliance which = HUN } #in order for HUN not to be alone versus TUR later
command = { type = relation which = TUR value = -200 }
command = { type = trigger which = 19023 } #TUR: [COLOR=Red]The Turks Respond[/COLOR] [COLOR=Yellow]The invasion of Hungary[/COLOR]
}
}
#-#Through the marriage treaty concluded by Lajos father the crowns of Hungary and Bohemia passed to Louis's brother-in-law, Ferdinand of Habsburg (later Holy Roman Emperor Ferdinand I), but Hungary fell under Ottoman rule.
Code:
#(1540) The Habsburg Inheritance of Hungary - Habsburgs kings -III-
event = {
id = 179136
trigger = {
event = 19024 #HUN: The Death of János Zápolya (HUN seemingly independent)
event = 19018 #HUN: The Habsburg rule [COLOR=Yellow]in[/COLOR] Hungary
}
random = no
country = HAB
name = "EVENTNAME3185" #The Habsburg Inheritance of Hungary
desc = "EVENTHIST19024"
#-#
date = { day = 23 month = july year = 1540 }
action_a = {
name = "ACTIONNAME3185A" #I will be crowned King of Hungary
command = { type = addcore which = 316 } #Carpathia
command = { type = addcore which = 317 } #Ruthenia
command = { type = addcore which = 323 } #Transylvania
command = { type = addcore which = 324 } #Maros
command = { type = addcore which = 325 } #Magyar
command = { type = addcore which = 326 } #Presburg
command = { type = addcore which = 352 } #Odenburg
command = { type = addcore which = 353 } #Pest
command = { type = addcore which = 354 } #Banat
command = { type = addcore which = 366 } #Croatia
command = { type = vassal which = HUN }
command = { type = alliance which = HUN }
command = { type = add_countryculture which = magyar }
command = { type = add_countryculture which = slovak }
command = { type = relation which = HUN value = 150 }
command = { type = stability value = 1 }
command = { type = trigger which = 19023 } #TUR: [COLOR=Red]The Turks Respond[/COLOR] [COLOR=Yellow]The invasion of Hungary[/COLOR]
}
}
#-#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 inherit
ance.
Code:
#(1526 or 1540) [COLOR=Red]To Buda![/COLOR] [COLOR=Yellow]The invasion of Hungary[/COLOR]
event = {
id = 19023 #triggered by HAB_179130 or [COLOR=Red]HAB_179135 /[/COLOR] HAB_179136
random = no
country = TUR
name = "EVENTNAME1902[COLOR=Yellow]3[/COLOR]" #[COLOR=Red]The Turks Respond[/COLOR] [COLOR=Yellow]The invasion of Hungary[/COLOR]
desc = "EVENTHIST19023"
#-#
action_a = {
name = "ACTIONNAME19023A" #We will defend our interests
command = { type = war which = HAB }
command = { type = war which = HUN }
}
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 }
command = { type = stability value = -2 }
}
}
#-#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.
the new entry:
EVENTNAME19023;The invasion of Hungary;;;;;;;;;;
*************
Further references to 3186:
Code:
#(1540) The Death of János Zápolya
event = {
id = 19019
trigger = {
exists = HAB
exists = HUN
NOT = { exists = SIE }
OR = {
event = 19016 #HUN: Electing a New King (The Battle of Mohacs, pt II)
event = 19017 #HUN: Electing a New King (Lajos submitted to the Sultan)
event = 301067 #TUR: János II submits to Suleyman (ahistorical, no Lajos II Jagiellon)
}
event = 3186 #HAB: [COLOR=Red]The Habsburg Inheritance of Hungary (Janos Zapolya elected) [/COLOR] [COLOR=Yellow]The Turk is expanding in Hungary[/COLOR]
vassal = { country = TUR country = HUN } #HUN should have become both TUR vassal and ally
OR = {
AND = {
owned = { province = 323 data = HUN } #Transylvania
control = { province = 323 data = HUN }
}
AND = {
owned = { province = 323 data = -1 }
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
command = { type = sleepevent which = 179134 } #HAB: The Habsburg Inheritance of Hungary
}
action_b = {
name = "ACTIONNAME19019B" #Support János Sigusmund
command = { type = alliance which = HUN }
command = { }
command = { type = sleepevent which = 179134 } #HAB: The Habsburg Inheritance of Hungary
}
action_c = {
name = "ACTIONNAME19019C" #Let Ferdinand have it!
command = { type = trigger which = 19018 } #HUN: The Habsburg rule [COLOR=Yellow]in[/COLOR] 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.
Code:
#(1540) The Death of János Zápolya
event = {
id = 19021
trigger = {
exists = HAB
exists = HUN
vassal = { country = TUR country = HUN }
OR = {
event = 19016 #HUN: Electing a New King (The Battle of Mohacs, pt II)
event = 19017 #HUN: Electing a New King (Lajos submitted to the Sultan)
event = 301067 #TUR: János II submits to Suleyman (ahistorical, no Lajos II Jagiellon)
}
event = 3186 #HAB: [COLOR=Red]The Habsburg Inheritance of Hungary[/COLOR] [COLOR=Yellow]The Turk is expanding in Hungary[/COLOR]
NOT = { event = 19019 } #TUR: The Death of János Zápolya
}
random = no
country = TUR
name = "EVENTNAME19019" #The Death of János Zápolya
desc = "EVENTHIST19021"
#-#
date = { day = 22 month = july year = 1540 }
action_a = {
name = "ACTIONNAME19019A" #Split the Kingdom
command = { type = inherit which = HUN }
command = { type = sleepevent which = 179135 } #HAB: The Habsburg Inheritance of Hungary
command = { type = trigger which = 301068 } #TUR: The partition of Hungary
}
action_b = {
name = "ACTIONNAME19019C" #Let Ferdinand have it!
command = { type = trigger which = 19018 } #HUN: The Habsburg rule [COLOR=Yellow]in[/COLOR] 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. 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 in two. He annexed Hungary, while Ferdinand held the Western portion.
EDIT: a last bugfix
Code:
#(1540) The Habsburg Inheritance of Hungary - Habsburgs kings - II -
event = {
id = 179135
trigger = {
event = 19021 #[COLOR=Red]HUN[/COLOR][COLOR=Yellow]TUR[/COLOR]: The Death of János Zápolya (HUN vassal to TUR, HUN no changing into SIE)
event = 19018 #HUN: The Habsburg rule Hungary
}
random = no
country = HAB
name = "EVENTNAME3185" #The Habsburg Inheritance of Hungary
desc = "EVENTHIST19021"
#-#
date = { day = 23 month = july year = 1540 }
action_a = {
name = "ACTIONNAME3185A" #I will be crowned King of Hungary
command = { type = addcore which = 316 } #Carpathia
command = { type = addcore which = 317 } #Ruthenia
command = { type = addcore which = 323 } #Transylvania
command = { type = addcore which = 324 } #Maros
command = { type = addcore which = 325 } #Magyar
command = { type = addcore which = 326 } #Presburg
command = { type = addcore which = 352 } #Odenburg
command = { type = addcore which = 353 } #Pest
command = { type = addcore which = 354 } #Banat
command = { type = addcore which = 366 } #Croatia
command = { type = vassal which = HUN }
command = { type = alliance which = HUN }
command = { type = add_countryculture which = magyar }
command = { type = add_countryculture which = slovak }
command = { type = relation which = HUN value = 150 }
command = { type = stability value = 1 }
}
}
#-#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. 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 in two. He annexed Hungary, while Ferdinand held the Western portion.
EDIT2: another reference to 3186
Code:
#(1687-1820) Diet of 1687
event = {
id = 179047
trigger = {
owned = { province = 353 data = -1 } #Pest
event = 3186 #HAB: [COLOR=Red]The Habsburg Inheritance of Hungary[/COLOR] [COLOR=Yellow]The Turk is expanding in Hungary[/COLOR]
}
random = no
country = HAB
name = "EVENTNAME179047" #The Diet of Buda
desc = "EVENTHIST179047"
#-#
date = { day = 1 month = january year = 1687 }
offset = 300
deathdate = { year = 1820 }
action_a = {
name = "ACTIONNAME179047A" #Achieve an agreement with the estates
command = { type = add_countryculture which = magyar }
command = { type = domestic which = aristocracy value = 1 }
command = { type = domestic which = centralization value = -1 }
}
}