So as might have been apparent from my event reservation, I've finally got around to bringing in Bukhara! I've decided to pick 1561 as the start date for the transition as that is when Bukhara became the permanent capital for this branch of the Uzbeks. I went through and tried to pull everything that I think needs changing for the transition, but let me know if I've missed anything.
First up, new events (several are just duplications of UZB events).
Code:
#(1561-1820) The Khanate of Bukhara
event = {
id = 352000
trigger = {
owned = { province = 1532 data = -1 } #Bukhara
control = { province = 1532 data = -1 } #Bukhara
event = 65011 #UZB: Deposition of Pir Muhammad
NOT = {
monarch = 0162009 #Pir Muhammad I
monarch = 0162031 #Pir Muhammad I °
}
}
random = no
country = UZB
name = "EVENTNAME352000" #The Khanate of Bukhara
desc = "EVENTHIST352000"
#-#
date = { day = 1 month = january year = 1561 }
offset = 10
deathdate = { day = 1 month = january year = 1820 }
action_a = {
name = "ACTIONNAME352000A" #Make it our new capital!
command = { type = stability value = 1 }
command = { type = country which = BUK }
command = { type = capital which = 1532 } #Bukhara
command = { type = vp value = 50 }
command = { type = population which = 1532 value = 2000 } #Bukhara
}
}
During the co-reign of Iskandar Bahadur and Abd Allah II, the capital of the Uzbeks moved away from Samarkand to Bukhara. The capital move, was another large step in transition of the Uzbeks from nomadic ways to settled urban life. In time, Bukhara would come to eclipse Samarkand as the most important city of the Bukhara Khanate.
Code:
#Independence of Khiva
#(1510-1820) Formation of Khiva Khanate
event = {
id = 352001
trigger = {
owned = { province = 1592 data = -1 } #Samarkand
control = { province = 1592 data = -1 } #Samarkand
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 }
}
OR = {
core = { province = 518 data = -1 } #Ust Urt
core = { province = 521 data = -1 } #Karabogaz
core = { province = 522 data = -1 } #Khwarizm
core = { province = 523 data = -1 } #Kara Kum
core = { province = 524 data = -1 } #Turkmenistan
}
NOT = { exists = U00 }
}
random = no
country = BUK
name = "EVENTNAME325000" #Formation of Khiva Khanate
desc = "EVENTHIST325000"
#-#
date = { day = 1 month = january year = 1510 }
offset = 30
deathdate = { year = 1820 }
action_a = {
name = "DRATS"
command = { type = independence which = U00 }
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
}
}
While Shaibani Khan was busy conquering the Timurid states of Central Asia and Khorasan, the nomadic Uzbeks in the west became restless. In 1511, the two sultans, Ilbars and Balbars conquered the Khwarazm region and founded the Khiva Khanate. Unsurprisingly, this Khanate would become a thorn in the side of the late Bukhara Khanate and was frequently at odds with it.
Code:
#(1510-1820) Khiva and The Western Provinces
event = {
id = 352002 #triggered by U00_303000
random = no
country = BUK
name = "EVENTNAME325001" #Khiva and The Western Provinces
desc = "EVENTHIST325001"
#-#
action_a = {
name = "ACTIONNAME325001A" #How bad is our luck?
command = { type = secedeprovince which = U00 value = 522 } #Khwarizm
command = { type = secedeprovince which = U00 value = 523 } #Kara Kum
command = { type = secedeprovince which = U00 value = 521 } #Karabogaz
command = { type = secedeprovince which = U00 value = 520 } #Bouzatchi
command = { type = secedeprovince which = U00 value = 524 } #Turkmenistan
command = { type = secedeprovince which = U00 value = 519 } #Emba
command = { type = secedeprovince which = SIB value = 514 } #Irgiz
command = { type = secedeprovince which = SIB value = 513 } #Orsk
command = { type = secedeprovince which = AST value = 515 } #Alga
}
}
After the intial capture of Ugrench, all the other western provinces would leave the control of the Shaibanid state.
Code:
#(1511-1820) Independence of Khiva
event = {
id = 352003
trigger = {
exists = U00
OR = {
core = { province = 522 data = -1 } #Khwarizm
core = { province = 1533 data = -1 } #Khiva
}
}
random = no
country = BUK
name = "EVENTNAME65023" #Independence of Khiva
desc = "EVENTHIST65023"
#-#
date = { day = 1 month = january year = 1511 }
offset = 200
deathdate = { year = 1820 }
action_a = {
name = "ACTIONNAME65023A" #Recede the claim to these lands
command = { type = relation which = U00 value = 50 }
command = { type = removecore which = 1533 } #Khiva
command = { type = removecore which = 522 } #Khwarizm
}
action_b = {
name = "ACTIONNAME65023B" #Be defiant!
command = { type = relation which = U00 value = -100 }
command = { type = stability value = -1 }
command = { type = trigger which = 65024 } #U00: Prepare to defend
}
}
#End of Independence of Khiva
People of Khiva were always openly hostile to rulers of Bukhara. This hostility goes back to the times of Abu'l Khayr, when part of the tribes refused to follow him, and remained settled in the areas around Khiva and Urganj. Subsequently the area was reconquered by Muhammad Shaibani, and later on Ubaid'Allah, which didn't bring much popularity to the Bukharan rulers. The latter, however, never staked any claims to these lands, and used their military supremacy to keep Khiva vassalized, and protect the trade with Muscovy.
Changes to Khiva events related to BUK Independence of Khiva sequence.
Code:
#(1510-1820) The Khiva Khanate
#by Garbon
event = {
id = 303000 #triggered by UZB_325000 [color=yellow]or BUK_352001[/color]
random = no
country = U00
name = "EVENTNAME303000" #The Khiva Khanate
desc = "EVENTHIST303000"
#-#
action_a = {
name = "ACTIONNAME303000A" #We are free!
command = { type = remove_countryculture which = canary }
command = { type = add_countryculture which = uzbehk }
command = { type = add_countryculture which = canary }
command = { type = CAV which = -2 value = 10000 }
command = { type = breakvassal which = UZB }
command = { type = trigger which = 325001 } #UZB: Khiva and The Western Provinces
[color=yellow]command = { type = breakvassal which = BUK }
command = { type = trigger which = 352002 } #BUK: Khiva and The Western Provinces
command = { type = relation which = BUK value = -300 }[/color]
command = { type = relation which = UZB value = -300 }
command = { type = relation which = PER value = 200 }
command = { type = treasury value = 50 }
}
}
#(1511-1820) Prepare to defend
#by Garbon
event = {
id = 65024 #triggered by UZB_65023 B [color=yellow]or BUK_352003 B[/color]
random = no
country = U00
name = "EVENTNAME65024" #Prepare to defend
desc = "EVENTHIST65023"
#-#
action_a = {
name = "ACTIONNAME65024A" #Raise the Army
command = { type = inf which = -1 value = 5000 }
command = { type = cav which = -3 value = 8000 }
command = { type = domestic which = centralization value = 1 }
}
}
Only non-Uzbek event that needs to be changed to reference BUK
Code:
#(1717-1820) Peter's Ambition
event = {
id = 40048
trigger = {
owned = { province = 510 data = -1 }
owned = { province = 511 data = -1 }
owned = { province = 512 data = -1 }
owned = { province = 513 data = -1 }
owned = { province = 514 data = -1 }
owned = { province = 515 data = -1 }
owned = { province = 1573 data = -1 }
}
random = no
country = RUS
name = "EVENTNAME40048" #Ambition on Kazakh lands
desc = "EVENTHIST40048"
#-#
date = { day = 1 month = january year = 1717 }
offset = 500
deathdate = { year = 1820 }
action_a = {
name = "ACTIONNAME40048A" #Let's venture!
command = { type = addcore which = 516 } #Aralsk
command = { type = addcore which = 517 } #Turgai
command = { type = addcore which = 518 } #Ust Urt
command = { type = addcore which = 519 } #Emba
command = { type = addcore which = 520 } #Bouzatchi
command = { type = addcore which = 521 } #Karabogaz
command = { type = addcore which = 522 } #Khwarizm
command = { type = addcore which = 1532 } #Bukhara
command = { type = addcore which = 1533 } #Khiva
command = { type = addcore which = 1534 } #Kyzylkum
command = { type = addcore which = 1535 } #Karsak
command = { type = addcore which = 1536 } #Nura
command = { type = addcore which = 1594 } #Uzbek
command = { type = addcore which = 1592 } #Samarkand
command = { type = stability value = -1 }
command = { type = relation which = UZB value = -150 }
[color=yellow]command = { type = relation which = BUK value = -150 }[/color]
command = { type = relation which = KZK value = -150 }
command = { type = relation which = PER value = -100 }
}
action_b = {
name = "ACTIONNAME40048B" #Let's leave them alone
command = { type = sleepevent which = 40049 } #RUS: Islamic Resurgence
command = { type = relation which = UZB value = 50 }
[color=yellow]command = { type = relation which = BUK value = 50 }[/color]
command = { type = relation which = KZK value = 50 }
}
}