So I recently came back to my idea about cultures (assimilation event) and I cannot get past the error: Unknown lhs in game event. I've checked almost everything, maybe pair of fresh eyes could help me. The bolded part is the part responsible for crash - at least that the game states...
Code:
event = {
id = 89002
trigger = {
someof = {
number = 4
AND = {
ownerchange = { province = 283 years = 45 }
owned = { province = 283 data = -1 }
controlchange = { province = 283 years = 45 }
}
AND = {
ownerchange = { province = 284 years = 55 }
owned = { province = 284 data = -1 }
controlchange = { province = 284 years = 55 }
}
AND = {
ownerchange = { province = 288 years = 45 }
owned = { province = 288 data = -1 }
controlchange = { province = 288 years = 45 }
}
AND = {
ownerchange = { province = 289 years = 55 }
owned = { province = 289 data = -1 }
controlchange = { province = 289 years = 55 }
}
AND = {
ownerchange = { province = 290 years = 60 }
owned = { province = 290 data = -1 }
controlchange = { province = 290 years = 60 }
}
}
atwar = no
stability = 3
}
Random = no
name = "Acceptance of foreign culture"
desc = "xxx”
date = { day = 1 month = january year = 1419 }
offset = 300
deathdate = { day = 1 month = january year = 1820 }
action_a = {
name = "Great"
[B] [SIZE="4"]command = { type = add_countryculture which = baltic }[/SIZE][/B]
}
}