yepFabWolf said:Yes I messed it ?Ok found the mistake now I correct it
Code:
event = {
id = XXXXX
random = no
country = TUS
trigger = {
exists = LUC
}
name = "Maria Luisa of Austria, duchess of Parma dies"
desc = "As it had been decided in the Wien Congress, Granduchy of Tuscany would have inherited the duchy of Lucca at the duchess' death, the actual Duke Charles Ludovic of Bourbonnais is now the Duke of Parma"
style = 0
date = { day = 17 month = december year = 1847 }
action_a = {
name = "OK"
command = { type = inherit which = LUC }
}
}
you do not need the offset if you want the event to trigger in an exact date.
the secedeprovince command transfer the province 847 from TUS (the owner of this EVENT) to TUS (the one that you specified in the "value" clause), so this doesn't work, LUC should be transferring the province. But it is easier to use the inherit command.
Code:
command = { type = inherit which = LUC }
But, i think that this events are already in:
Code:
event = {
id = 205000
random = no
country = LUC
trigger = {
constitution = { country = LUC type = monarchy }
constitution = { country = PAR type = monarchy }
constitution = { country = TUS type = monarchy }
}
name = "Time to go with pacted"#
desc = "After the Congress the Duchy of Parma was given to Napoleon's Wife in usufructus, but when she died the Duchy shall be given back to their rightfull owners the Bourbon-Parma, who were given Lucca in exchange promising to give it to Tuscany once they have recovered Parma."#
style = 0
date = { day = 5 month = october year = 1847 }
offset = 15
deathdate = { day = 30 month = december year = 1847 }
action_a = {
name = "Cede Lucca to Tuscany as we had promised" #
command = { type = surrender which = TUS }
}
action_b = {
name = "Annex it to Parma as we are the true rulers of Lucca" #
command = { type = surrender which = PAR }
command = { type = trigger which = 280000 } #Tuscan Offense
}
action_c = {
name = "Two Duchies, one Duke" #
command = { type = alliance which = PAR }
command = { type = trigger which = 280000 } #Tuscan Offense
command = { type = trigger which = 240000 } #Two Duchies. one Duke(PAR)
}
}