I just finished scripting my first event. I was hoping that you guys could review it and tell me what to change or do differently. For background, I am playing an EEP 1.4 GC with Granada and I wanted some fantasy events. I took Garbon's suggested events in a previous thread here, but I wanted some more. This was my first. It triggers off the event by Garbon that moves the Granada capital to Andalusia.
event = {
id = 45153
trigger = {
event = { 4768225 }
}
random = no
country = GRA
name = "Restablish Cordoba"
desc = "A Granada that moved their capital to Cordoba would be very tempted to claim the title of Kaliphate of Cordoba despite having no lineage to Mohammad the Prophet. Doing so would gain great favor in the eyes of some individual Moslems, and would also continue improving Andalusia, but would greatly aggravate relations with nearby Sunni nations as well as its own people. Taking the title of Sultanate would endear Granada to those same Sunni nations. Or, Granada could decide to keep their own identity, despite reclaiming Cordoba as their home. That path would show the world that Granada was not interested in conquest and would be a good diplomatic move with Europe."
style = 1
date = { day = 10 month = january year = 1461 }
offset = 90
deathdate = { day = 2 month = may year = 1820 }
action_a ={
name = "We shall become the Sultante of Cordoba"
command = { type = stability value = 1 }
command = { type = population which = 443 value = 2000}
command = { type = relation which = MOR value = 100 }
command = { type = relation which = FEZ value = 100 }
command = { type = relation which = TUN value = 75 }
command = { type = relation which = MAM value = 75 }
command = { type = relation which = XHO value = 75 }
command = { type = relation which = TUR value = 50 }
}
action_b ={
name = "We shall fully restablish the Kaliphate of Cordoba!"
command = { type = stability value = -1}
command = { type = population which = 443 value = 5000}
command = { type = relation which = MOR value = -200 }
command = { type = relation which = FEZ value = -200 }
command = { type = relation which = TUN value = -150 }
command = { type = relation which = MAM value = -150 }
command = { type = relation which = XHO value = -150 }
command = { type = relation which = TUR value = -100 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = provincetax which = 443 value = 2 }
}
action_c ={
name = "We shall keep our own identity"
command = {type = stability value = 3 }
command = { type = badboy value = -5 }
}
}
I tried it out and it went off for me. However, the Badboy value for action number 3 worked correctly, but when I moved my mouse over the choice of "We shall keep our own identity," it showed "Unknown String" or something like that. Still, it worked and lowered the BB.
Anyways, I'd love criticisms. Let 'er fly!
-Anxiety
event = {
id = 45153
trigger = {
event = { 4768225 }
}
random = no
country = GRA
name = "Restablish Cordoba"
desc = "A Granada that moved their capital to Cordoba would be very tempted to claim the title of Kaliphate of Cordoba despite having no lineage to Mohammad the Prophet. Doing so would gain great favor in the eyes of some individual Moslems, and would also continue improving Andalusia, but would greatly aggravate relations with nearby Sunni nations as well as its own people. Taking the title of Sultanate would endear Granada to those same Sunni nations. Or, Granada could decide to keep their own identity, despite reclaiming Cordoba as their home. That path would show the world that Granada was not interested in conquest and would be a good diplomatic move with Europe."
style = 1
date = { day = 10 month = january year = 1461 }
offset = 90
deathdate = { day = 2 month = may year = 1820 }
action_a ={
name = "We shall become the Sultante of Cordoba"
command = { type = stability value = 1 }
command = { type = population which = 443 value = 2000}
command = { type = relation which = MOR value = 100 }
command = { type = relation which = FEZ value = 100 }
command = { type = relation which = TUN value = 75 }
command = { type = relation which = MAM value = 75 }
command = { type = relation which = XHO value = 75 }
command = { type = relation which = TUR value = 50 }
}
action_b ={
name = "We shall fully restablish the Kaliphate of Cordoba!"
command = { type = stability value = -1}
command = { type = population which = 443 value = 5000}
command = { type = relation which = MOR value = -200 }
command = { type = relation which = FEZ value = -200 }
command = { type = relation which = TUN value = -150 }
command = { type = relation which = MAM value = -150 }
command = { type = relation which = XHO value = -150 }
command = { type = relation which = TUR value = -100 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = provincetax which = 443 value = 2 }
}
action_c ={
name = "We shall keep our own identity"
command = {type = stability value = 3 }
command = { type = badboy value = -5 }
}
}
I tried it out and it went off for me. However, the Badboy value for action number 3 worked correctly, but when I moved my mouse over the choice of "We shall keep our own identity," it showed "Unknown String" or something like that. Still, it worked and lowered the BB.
Anyways, I'd love criticisms. Let 'er fly!
-Anxiety