Lo folks. Another puzzling query. I have two events to move capital to Torino or Rome, if Italy should have those two provinces. Problem is the events dont fire.
they are...
any ideas on why they dont fire. As far as I know there is no error in the events script wise, so am a little puzzled
. Was playing as Savoie, formed Italy (ITA) and all other events kicked swimmingly.
yours
Ayeshteni
P.S. was not at war when the provinces were owned.
they are...
Code:
#capital move to torino#
event = {
id = 120628
trigger = {
owned = { province which = 404 data = ITA }
atwar = no
}
random = no
country = ITA
name = "Capital to Torino"
desc = "Historically after the restoration of the Kingdom of Italy in the 1860's the capital of the Kingdom was moved to Torino (turin). We have the honour of owning Torino, shall we move our capital to this city?"
style = 2
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { day = 31 month = december year = 1820 }
action_a = {
name = "Yes, let us move"
command = { type = capital which = 404 }
command = { type = vp value 5 }
command = { type = setflag which = torino }
}
action_b = {
name = "No we are fine here"
command = { type = vp value = -1 }
}
}
#capital move to roma#
event = {
id = 120629
trigger = {
owned = { province which = 399 data = ITA }
atwar = no
}
random = no
country = ITA
name = "Capital to Rome"
desc = "Historically after the restoration of the Kingdom of Italy in the 1860's the capital of the Kingdom was moved to Torino (turin). However the heart of Italy lay in Rome, which managed to hold out from the Kingdom of Italy until the 1870's when the French soldiers guarding the city were recalled due to a crisis at home. This allowed the Italians into Rome and the capital of the ancient Empire was restored. shall we move our capital to this city?"
style = 2
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { day = 31 month = december year = 1820 }
action_a = {
name = "Yes, let us move"
command = { type = capital which = 399 }
command = { type = vp value 5 }
command = { type = setflag which = rome }
}
action_b = {
name = "No we are fine here"
command = { type = vp value = -1 }
command = { type = relation which = FRA value = 25 }
command = { type = relation which = HAB value = 25 }
}
}
any ideas on why they dont fire. As far as I know there is no error in the events script wise, so am a little puzzled
yours
Ayeshteni
P.S. was not at war when the provinces were owned.