I think I've found a bug.
All events triggered by a province owner event will happen to the first province owner.
It's difficult to explain, but take this modified Schleswig event:
If you copy and paste, I'm sure you will get the same result as I, ie that event 6203 or 6204 will be triggered for Prussia (province owner of #342).
All events triggered by a province owner event will happen to the first province owner.
It's difficult to explain, but take this modified Schleswig event:
Code:
event = {
id = 4617
random = no
province = 342 #Instead of 'Country = PRU'
trigger = {
event = 6600 # SWE
OR = {
NOT = { peace_treaty = { country = PRU country = DAN } }
NOT = { peace_treaty = { country = GER country = DAN } }
}
exists = DAN
}
name = "EVT_1513_NAME"
desc = "EVT_1513_DESC"
style = 0
date = { day = 3 month = january year = 1847 }
offset = 31
deathdate = { day = 30 month = december year = 1860 }
action_a = {
name = "ACTIONNAME1513A" # Go to War over Slesvig
ai_chance = 55
command = { type = prestige value = 10 }
command = { type = trigger which = 6203 } # DAN; this will be triggered for Prussia (or, rather the owner of the province 342)
command = { type = war which = DAN }
}
action_b = {
name = "ACTIONNAME1101B" # Back down
ai_chance = 45
command = { type = prestige value = -50 }
command = { type = trigger which = 6204 } # DAN; so will this
}
}
If you copy and paste, I'm sure you will get the same result as I, ie that event 6203 or 6204 will be triggered for Prussia (province owner of #342).
Upvote
0