![]() |
|
|
#1 |
|
Second Lieutenant
Join Date: Nov 2001
Posts: 116
|
Timurid/Persian/Uzbek events and code
I'm reinstalling EU2, so since I'm making a backup of these anyway I thought I'd post them here. All of these are designed to be used in addition to the EEP 0.02. A few of these are just copies of events for already in EU2 for other countries that need to be added to some additional ones to get persia to appear and get their right territory.
uzbek related # The disintegration of the Timurids# event = { id = 41001 trigger = { OR = {control = { province = 521 data = UZB } control = { province = 521 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 521 } } } # The disintegration of the Timurids# event = { id = 41002 trigger = { OR = {control = { province = 522 data = UZB } control = { province = 522 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 522 } } } # The disintegration of the Timurids# event = { id = 41003 trigger = { OR = {control = { province = 523 data = UZB } control = { province = 523 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 523 } } } # The disintegration of the Timurids# event = { id = 41004 trigger = { OR = {control = { province = 524 data = UZB } control = { province = 524 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 524 } } } # The disintegration of the Timurids# event = { id = 41005 trigger = { OR = {control = { province = 1532 data = UZB } control = { province = 1532 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 1532 } } } # The disintegration of the Timurids# event = { id = 41006 trigger = { OR = {control = { province = 1533 data = UZB } control = { province = 1533 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 1533 } } } # The disintegration of the Timurids# event = { id = 41007 trigger = { OR = {control = { province = 1594 data = UZB } control = { province = 1594 data = REB }} } random = NO country = TIM name = "The Uzbek Migration" desc = "As the Timurid Empire collapsed, the Uzbeks took advantage of the opportunity to move south." date = { day = 1 month = january year = 1419} offset = 150 deathdate = { day = 1 month = january year = 1500 } style = 1 action_a = { # name = "Damn it" command = { type = secedeprovince which = UZB value = 1594 } } } # Persia is Resurrected event = { id = 38176 trigger = { exists = PER OR = { owned = { province = 525 data = -1 } owned = { province = 526 data = -1 } owned = { province = 527 data = -1 } owned = { province = 528 data = -1 } owned = { province = 529 data = -1 } owned = { province = 530 data = -1 } owned = { province = 531 data = -1 } owned = { province = 532 data = -1 } owned = { province = 533 data = -1 } owned = { province = 534 data = -1 } owned = { province = 535 data = -1 } owned = { province = 536 data = -1 } owned = { province = 1529 data = -1 } owned = { province = 1530 data = -1 } } } random = no country = uzb name = "EVENTNAME3817" desc = "EVENTHIST3817" style = 2 date = { day = 1 month = january year = 1497 } offset = 60 deathdate = { day = 1 month = january year = 1530 } action_a = { # Let them be. name = "ACTIONNAME3817A" command = { type = relation which = PER value = 400 } command = { type = secedeprovince which = PER value = 525 } command = { type = secedeprovince which = PER value = 526 } command = { type = secedeprovince which = PER value = 527 } command = { type = secedeprovince which = PER value = 528 } command = { type = secedeprovince which = PER value = 529 } command = { type = secedeprovince which = PER value = 530 } command = { type = secedeprovince which = PER value = 531 } command = { type = secedeprovince which = PER value = 532 } command = { type = secedeprovince which = PER value = 533 } command = { type = secedeprovince which = PER value = 534 } command = { type = secedeprovince which = PER value = 535 } command = { type = secedeprovince which = PER value = 536 } command = { type = secedeprovince which = PER value = 1529 } command = { type = secedeprovince which = PER value = 1530 } } action_b = { # Crush the rebellion. name = "ACTIONNAME3817B" command = { type = revoltrisk which = 120 value = 8 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = stability value = -6 } } } #Ismail's Resurrection of Persia# # If Persia is still held by the Timurids around 1500. event = { id = 35585 trigger = { owned = { province = 529 # Tabaristan data = -1 } NOT = { exists = PER } } random = no country = UZB name = "EVENTNAME3558" desc = "EVENTHIST3558" style = 1 date = { day = 1 month = january year = 1497 } offset = 30 deathdate = { day = 1 month = january year = 1530 } action_a ={ # Crush the Shiite rebels name = "ACTIONNAME3558A" command = { type = revolt which = 508 } command = { type = revolt which = 525 } command = { type = revolt which = 526 } command = { type = revolt which = 527 } command = { type = revolt which = 528 } command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = revolt which = 534 } command = { type = revolt which = 535 } command = { type = revolt which = 1529 } command = { type = revolt which = 1530 } command = { type = stability value = -2 } } action_b ={ # Negotiate with Ismail name = "ACTIONNAME3558B" command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = stability value = -6 } } } A couple of edited timurid events: (Fixed problem where if the timurids lost samarkand they'd try to build the observatory anyway, losing the money for no benefit, and added a capital move to kabul in 1450 to put the timurids where they need to be for the mongol transformation.) #Ulugh Beg's Observitory# # By Demetrios and Håvard event = { id = 3920 trigger = { owned = { province = 1592 data = -1 }} random = no country = TIM name = "EVENTNAME3920" desc = "EVENTHIST3920" style = 1 date = { day = 1 month = january year = 1448 } offset = 300 deathdate = { day = 1 month = january year = 1449 } action_a ={ #Build it!# name = "ACTIONNAME3920A" command = { type = gainmanufactory which = 1592 value = luxury } command = { type = stability value = -3 } command = { type = cash value = -300 } command = { type = domestic which = innovative value = 1 } } action_b = { #We don't have the time or the money for such foolishness!# name = "ACTIONNAME3920B" command = { type = stability value = 2 } command = { type = domestic which = innovative value = -3 } } } #The Disintegration of the Timurid Empire# event = { id = 3688 random = no country = TIM name = "EVENTNAME3688" desc = "EVENTHIST3688" style = 1 date = { day = 1 month = october year = 1450 } offset = 364 deathdate = { day = 1 month = may year = 1490 } action_a ={ name = "ACTIONNAME3688A" #Attack all traitors# command = { type = revoltrisk which = 588 value = 8 } # Tough! command = { type = revolt which = 534 } command = { type = revolt which = 534 } command = { type = revolt which = 535 } command = { type = revolt which = 535 } command = { type = revolt which = 1529 } command = { type = revolt which = 1530 } command = { type = desertion which = -1 value = 8000 } command = { type = desertion which = -1 value = 10000 } command = { type = desertion which = -1 value = 7000 } command = { type = stability value = -8 } command = { type = vp value = 600 } command = { type = relation which = AKK value = -400 } command = { type = relation which = QAR value = -400 } command = { type = relation which = UZB value = -400 } command = { type = capital which = 1527 } # Kabul } action_b ={ name = "ACTIONNAME3688B" #Bribe all traitors# command = { type = revoltrisk which = 12 value = 5 } command = { type = treasury value = -2100 } command = { type = inflation value = 30 } command = { type = stability value = -6 } command = { type = relation which = AKK value = -400 } command = { type = relation which = QAR value = -400 } command = { type = relation which = UZB value = -400 } } } Delhi: Edited Tiger on the border to occur properly if they happen to take some afghani provinces.# Tiger on the Border event = { id = 3824 trigger = { exists = MOG owned = { province = 1523 # Thar data = -1 } NOT = { war = { country = DLH country = MOG } } } random = no country = DLH name = "EVENTNAME3824" desc = "EVENTHIST3824" style = 2 date = { day = 1 month = january year = 1510 } offset = 30 deathdate = { day = 1 month = january year = 1530 } action_a = { # Negotiate with Babur name = "ACTIONNAME3824A" command = { type = secedeprovince which = MOG value = 1522 } #Bikaner command = { type = secedeprovince which = MOG value = 1523 } #Thar command = { type = secedeprovince which = MOG value = 1527 } command = { type = secedeprovince which = MOG value = 1524 } command = { type = secedeprovince which = MOG value = 539 } command = { type = secedeprovince which = MOG value = 1528 } command = { type = secedeprovince which = MOG value = 1525 } command = { type = secedeprovince which = MOG value = 538 } command = { type = secedeprovince which = MOG value = 1526 } command = { type = secedeprovince which = MOG value = 537 } command = { type = relation which = MOG value = 50 } command = { type = casusbelli which = MOG value = 240 } command = { type = stability value = 1 } } action_b = { # No compromises! name = "ACTIONNAME3824B" command = { type = relation which = MOG value = -200 } command = { type = war which = MOG } command = { type = stability value = -4 } } } Persia Ressurection for after the timurids become Moghuls: #Ismail's Resurrection of Persia# event = { id = 33692 trigger = { owned = { province = 529 # Tabriz data = -1 } NOT = { exists = PER stability = 3 # Lower than 1 } } random = no country = mog name = "EVENTNAME3369" desc = "EVENTHIST3369" style = 1 date = { day = 1 month = january year = 1497 } offset = 720 deathdate = { day = 1 month = january year = 1530 } action_a ={ # Crush the Shiite rebels name = "ACTIONNAME3369A" command = { type = revolt which = 486 } command = { type = revolt which = 487 } command = { type = revolt which = 508 } command = { type = revolt which = 525 } command = { type = revolt which = 526 } command = { type = revolt which = 527 } command = { type = revolt which = 528 } command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = revolt which = 534 } command = { type = revolt which = 535 } command = { type = revolt which = 1529 } command = { type = revolt which = 1530 } command = { type = stability value = -1 } } action_b ={ # Negotiate with Ismail name = "ACTIONNAME3369B" command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = stability value = -6 } } } # Persia is Resurrected event = { id = 38172 trigger = { exists = PER OR = { owned = { province = 525 data = -1 } owned = { province = 526 data = -1 } owned = { province = 527 data = -1 } owned = { province = 528 data = -1 } owned = { province = 529 data = -1 } owned = { province = 530 data = -1 } owned = { province = 531 data = -1 } owned = { province = 532 data = -1 } owned = { province = 533 data = -1 } owned = { province = 534 data = -1 } owned = { province = 535 data = -1 } owned = { province = 536 data = -1 } owned = { province = 1529 data = -1 } owned = { province = 1530 data = -1 } } } random = no country = mog name = "EVENTNAME3817" desc = "EVENTHIST3817" style = 2 date = { day = 1 month = january year = 1497 } offset = 60 deathdate = { day = 1 month = january year = 1530 } action_a = { # Let them be. name = "ACTIONNAME3817A" command = { type = relation which = PER value = 400 } command = { type = secedeprovince which = PER value = 525 } command = { type = secedeprovince which = PER value = 526 } command = { type = secedeprovince which = PER value = 527 } command = { type = secedeprovince which = PER value = 528 } command = { type = secedeprovince which = PER value = 529 } command = { type = secedeprovince which = PER value = 530 } command = { type = secedeprovince which = PER value = 531 } command = { type = secedeprovince which = PER value = 532 } command = { type = secedeprovince which = PER value = 533 } command = { type = secedeprovince which = PER value = 534 } command = { type = secedeprovince which = PER value = 535 } command = { type = secedeprovince which = PER value = 536 } command = { type = secedeprovince which = PER value = 1529 } command = { type = secedeprovince which = PER value = 1530 } } action_b = { # Crush the rebellion. name = "ACTIONNAME3817B" command = { type = revoltrisk which = 120 value = 8 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = stability value = -6 } } } Qara Koyunlu and Ak Akoyunlu war events and persia ressurection for QK: #Ismail's Resurrection of Persia# event = { id = 33691 trigger = { owned = { province = 530 # Tabriz data = -1 } NOT = { exists = PER stability = 3 # Lower than 1 } } random = no country = qar name = "EVENTNAME3369" desc = "EVENTHIST3369" style = 1 date = { day = 1 month = january year = 1497 } offset = 720 deathdate = { day = 1 month = january year = 1530 } action_a ={ # Crush the Shiite rebels name = "ACTIONNAME3369A" command = { type = revolt which = 486 } command = { type = revolt which = 487 } command = { type = revolt which = 508 } command = { type = revolt which = 525 } command = { type = revolt which = 526 } command = { type = revolt which = 527 } command = { type = revolt which = 528 } command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = revolt which = 534 } command = { type = revolt which = 535 } command = { type = revolt which = 1529 } command = { type = revolt which = 1530 } command = { type = stability value = -1 } } action_b ={ # Negotiate with Ismail name = "ACTIONNAME3369B" command = { type = revolt which = 529 } command = { type = revolt which = 529 } command = { type = revolt which = 530 } command = { type = revolt which = 530 } command = { type = revolt which = 531 } command = { type = revolt which = 532 } command = { type = revolt which = 533 } command = { type = revolt which = 533 } command = { type = stability value = -6 } } } # Persia is Resurrected event = { id = 38171 trigger = { exists = PER OR = { owned = { province = 525 data = -1 } owned = { province = 526 data = -1 } owned = { province = 527 data = -1 } owned = { province = 528 data = -1 } owned = { province = 529 data = -1 } owned = { province = 530 data = -1 } owned = { province = 531 data = -1 } owned = { province = 532 data = -1 } owned = { province = 533 data = -1 } owned = { province = 534 data = -1 } owned = { province = 535 data = -1 } owned = { province = 536 data = -1 } owned = { province = 1529 data = -1 } owned = { province = 1530 data = -1 } } } random = no country = qar name = "EVENTNAME3817" desc = "EVENTHIST3817" style = 2 date = { day = 1 month = january year = 1497 } offset = 60 deathdate = { day = 1 month = january year = 1530 } action_a = { # Let them be. name = "ACTIONNAME3817A" command = { type = relation which = PER value = 400 } command = { type = secedeprovince which = PER value = 525 } command = { type = secedeprovince which = PER value = 526 } command = { type = secedeprovince which = PER value = 527 } command = { type = secedeprovince which = PER value = 528 } command = { type = secedeprovince which = PER value = 529 } command = { type = secedeprovince which = PER value = 530 } command = { type = secedeprovince which = PER value = 531 } command = { type = secedeprovince which = PER value = 532 } command = { type = secedeprovince which = PER value = 533 } command = { type = secedeprovince which = PER value = 534 } command = { type = secedeprovince which = PER value = 535 } command = { type = secedeprovince which = PER value = 536 } command = { type = secedeprovince which = PER value = 1529 } command = { type = secedeprovince which = PER value = 1530 } } action_b = { # Crush the rebellion. name = "ACTIONNAME3817B" command = { type = revoltrisk which = 120 value = 8 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = revolt which = -1 } command = { type = stability value = -6 } } } #War of the Sheep# event = { id = 49001 trigger = { atwar = no exists = AKK } random = no country = qar name = "War of the Sheep" desc = "In 1467, Jahan Shah of the Black Sheep Turks attacked the empire of the White Sheep Turks. This would ultimately lead to both the downfall of Jahan and the absorbtion of the Black Sheep Turks into the White Sheep Turks" style = 1 date = { day = 1 month = january year = 1460 } offset = 720 deathdate = { day = 1 month = january year = 1485 } action_a ={ name = "We can take them on." command = { type = war which = AKK} command = { type = trigger which = 49002 } } action_b ={ # Negotiate with Ismail name = "No, they are too powerful, we must cower like dogs." command = { type = stability value = -4 } } } #The Death of Jahan Shah# event = { id = 49002 trigger = { event = 49001 NOT = { war = { country = QAR country = AKK } } } random = no country = qar name = "The Black Sheep Turks absorbed by the White Sheep Turks" desc = "With the death of Jahan Shah in late 1467, the Black Sheep Turks were without a ruler and became absorbed into the empire of the White Sheep Turks" style = 1 date = { day = 1 month = december year = 1467 } deathdate = { day = 1 month = january year = 1485 } action_a ={ name = "Join with the White sheep turks (game over)." command = { type = trigger which = 49003 } } action_b ={ # Negotiate with Ismail name = "We will remain independant." command = { type = stability value = -4 } } } event = { id = 49003 random = no country = AKK name = "Conquest of Qara Koyunlu" desc = "In 1467, Qara Koyunlu submitted to Ak Koyunlu upon the death of Jahan Shah." style = 1 action_a ={ name = "Excellent" command = { type = inherit which = QAR} } } event = { id = 49004 random = no trigger = { owned = {province = 489 data = -1}} country = AKK name = "The City of Baghdad" desc = "With the capture of Qara Koyonlu, the white sheep turks found themselves in possession of Iraq. They chose to move their capital thier to coordinate their campaigns against the Timurids." style = 1 date = { day = 1 month = january year = 1460 } offset = 30 deathdate = { day = 1 month = january year = 1485 } action_a ={ name = "Lets get them" command = { type = capital which = 489 } command = { type = relation which = TIM value = -400 } } } |
|
|
|
|
|
#2 |
|
Second Lieutenant
Join Date: Nov 2001
Posts: 116
|
An event for Delhi to turn them into the moguls if the Timurids don't make it to 1510.
# Babur's Ambition. event = { id = 38040 trigger = { NOT = { exists = MOG } } random = no country = DLH name = "Babur's Ambition" desc = "Even with the nominal destruction of the Timurid Empire, many of its nobles were still alive and well. One of these was Babur, who would take advantage of a civil war within the Delhi sultanate to overthrow the Sultan and start a new empire to rival the Mongol empires of old." style = 2 date = { day = 1 month = may year = 1512 } offset = 30 action_a = { # Ok name = "ACTIONNAME3804A" command = { type = land value = 3000 } command = { type = INF which = -2 value = 10000 } command = { type = CAV which = -2 value = 20000 } command = { type = ART which = -2 value = 10 } command = { type = add_countryculture which = afghani } command = { type = relation which = GUJ value = -400 } command = { type = domestic which = QUALITY value = 3 } command = { type = country which = MOG } } } |
|
|
|
|
|
#3 |
|
Voter Colonel
![]() ![]() Join Date: Nov 2001
Location: Henry VII's kitchen
Posts: 1,194
|
Often Persia gets force-coverted to Sunni Islam. Given that their reason for existing is that they were Shiites revolting against Sunni dominance, should there be an event that turns them Shiite if they are Sunni?
__________________
If anyone wants to use any events, decisions, etc that I post here in their mod, then feel free. All I ask is that you massage my ego by saying what you are doing with it in a reply to the thread you find it on. "Be vewy quiet I'm hunting Wancastwians" - Elmer, Duke of York I reject your fealty and substitute my own! |
|
|
|
|
|
#4 | |
|
Lt. General
Join Date: Jan 2002
Location: (Still) In Exile
Posts: 1,613
|
Re: Timurid/Persian/Uzbek events and code
Quote:
What you want to do is remove the command={type=trigger...} clause from 49001's action_a, and add command = { type = sleepevent which = 49002 } to 49001's action_b. Also, if you use the CODE and /CODE tags, your spacing will be preserved and your events will become much easier to read. Quote this message to see how. |
|
|
|
|
![]() |
| Thread Tools | |
|
|