I am experimenting with events that do change the culture of a province. I am doing it over MyMap-AGCEEP version. The code I have started with is really simple, but it is giving me and error. The code is as follows:
#########################################################################
# Culture conversions
#########################################################################
event = {
id = 969013
random = yes
trigger = { domestic = { type = innovative value = 8 }
NOT { badboy = 2 }
}
name = "Culture change by means of prestige"
desc = "While culture changes would usually occur by means of force, prestige would also sometimes act as a culture change catalyzer."
style = 0
action_a = {
name = "OK"
command = { type = stability value = +1 }
command = { type = provinceculture which = -1 }
}
}
event = {
id = 969014
random = yes
trigger = { NOT { domestic = { type = innovative value = 4 } }
badboy = 10
}
name = "Culture change by means of sword"
desc = "culture changes would usually occur by means of force, with massive deportation and/or repression"
style = 0
action_a = {
name = "OK"
command = { type = stability value = -1 }
command = { type = provinceculture which = -1 }
command = { type = population which = -1 value = -2000 }
}
}
The error it prompts says something like unkown data defined in event database: name = "while culture...."
Am I doing something wrong? Anyone any idea?
Thanks in advance
#########################################################################
# Culture conversions
#########################################################################
event = {
id = 969013
random = yes
trigger = { domestic = { type = innovative value = 8 }
NOT { badboy = 2 }
}
name = "Culture change by means of prestige"
desc = "While culture changes would usually occur by means of force, prestige would also sometimes act as a culture change catalyzer."
style = 0
action_a = {
name = "OK"
command = { type = stability value = +1 }
command = { type = provinceculture which = -1 }
}
}
event = {
id = 969014
random = yes
trigger = { NOT { domestic = { type = innovative value = 4 } }
badboy = 10
}
name = "Culture change by means of sword"
desc = "culture changes would usually occur by means of force, with massive deportation and/or repression"
style = 0
action_a = {
name = "OK"
command = { type = stability value = -1 }
command = { type = provinceculture which = -1 }
command = { type = population which = -1 value = -2000 }
}
}
The error it prompts says something like unkown data defined in event database: name = "while culture...."
Am I doing something wrong? Anyone any idea?
Thanks in advance