Hi, i need a little help about the trigger "controlchange"
This trigger is :"true if province x has been controlled by the current controller for at least y years, m months and d days (not all time fields have to be filled, one is enough)."
Ok, so i used it in some events like this :
But ingame : it's different. As you can see (sorry, in french), Poland controls pomerania since 1412. In 1425 (so, 13 years after), the event fires, whereas i expected that it fires in 1442.
Is it a bug or a mistake of my script ?
This trigger is :"true if province x has been controlled by the current controller for at least y years, m months and d days (not all time fields have to be filled, one is enough)."
Ok, so i used it in some events like this :
After 30 years of controling the province of Pomeranie, culture become "polish". In my opinion, the scriptseems correct.#Poles are dominating in Pommerania#
event = {
id = 161512068
trigger = {
owned = { province = 302 data = -1 }
controlchange = { province = 302 years = 30 }
}
random = no
country = POL
name = "La domination polonaise en Pommeranie"
desc = ""
style = 1
date = { day = 1 month = january year = 1425 }
offset = 100
deathdate = { day = 1 month = january year = 1725 }
action = {
name = "La population polonaise sera dominante"
command = { type = provinceculture which = 302 value = polish }
command = { type = addcore_claim which = 302 }
command = { type = relation which = BRA value = -100 }
command = { type = relation which = LAT value = -100 }
command = { type = relation which = STT value = -100 }
command = { type = relation which = PRU value = -100 }
command = { type = population which = 302 value = -3000 }
command = { type = provincetax which = 302 value = -2 }
command = { type = provincemanpower which = 302 value = -3 }
}
}
But ingame : it's different. As you can see (sorry, in french), Poland controls pomerania since 1412. In 1425 (so, 13 years after), the event fires, whereas i expected that it fires in 1442.
Is it a bug or a mistake of my script ?
Upvote
0