I made the below event with Spoonist's event builder for victoria. It is supposed to trigger an event to turn the country to a monarchy and set all the reforms to nil upon some conditions (ie plurality not over 50, ruling party is conservative or reactionary). it is supposed to happen after an election. it also would fire off for every country, player or ai, if the same conditions met, without dying. i included it in the event files.
however it doesnt work. can anyone tell me what i am doing wrong ?
event = {
id = 97054
random = no
invention = no
campaign = yes # Random states (-1) are the same for all event commands.
trigger = {
OR = {
government = { type = conservative }
}
OR = {
government = { type = reactionary }
}
AND = {
NOT = {
plurality = 50
}
NOT = {
constitution = { type = monarchy }
}
}
}
name = "Institute Monarchy"
desc = "Current political climate in our country favors a Monarchy. Will we institute the Monarchistic reform ?"
picture = default
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
Name = "No"
ai_chance = 85
command = { }
}
action_b = {
Name = "Yes"
ai_chance = 15
command = { type = constitution which = monarchy }
command = { type = executive_designation which = laws_by_decree }
command = { type = pop_militancy which = reactionary value = -3 where = }
command = { type = pop_militancy which = aristocrats value = -3 where = }
command = { type = pop_militancy which = clergymen value = -3 where = }
command = { type = pop_militancy which = socialist value = 3 where = }
command = { type = pop_militancy which = liberal value = 3 where = }
command = { type = pop_militancy which = farmers value = 3 where = }
command = { type = pop_militancy which = labourers value = 3 where = }
command = { type = pop_militancy which = clerks value = 3 where = }
command = { type = pop_consciousness which = aristocrats value = 3 where = }
command = { type = pop_consciousness which = officers value = 3 where = }
command = { type = pop_consciousness which = clergymen value = 3 where = }
command = { type = voting_rights which = none }
command = { type = press_rights which = state_press }
command = { type = trade_unions which = none }
command = { type = public_meetings value = no }
command = { type = political_parties which = none_allowed }
}
}
however it doesnt work. can anyone tell me what i am doing wrong ?
event = {
id = 97054
random = no
invention = no
campaign = yes # Random states (-1) are the same for all event commands.
trigger = {
OR = {
government = { type = conservative }
}
OR = {
government = { type = reactionary }
}
AND = {
NOT = {
plurality = 50
}
NOT = {
constitution = { type = monarchy }
}
}
}
name = "Institute Monarchy"
desc = "Current political climate in our country favors a Monarchy. Will we institute the Monarchistic reform ?"
picture = default
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
Name = "No"
ai_chance = 85
command = { }
}
action_b = {
Name = "Yes"
ai_chance = 15
command = { type = constitution which = monarchy }
command = { type = executive_designation which = laws_by_decree }
command = { type = pop_militancy which = reactionary value = -3 where = }
command = { type = pop_militancy which = aristocrats value = -3 where = }
command = { type = pop_militancy which = clergymen value = -3 where = }
command = { type = pop_militancy which = socialist value = 3 where = }
command = { type = pop_militancy which = liberal value = 3 where = }
command = { type = pop_militancy which = farmers value = 3 where = }
command = { type = pop_militancy which = labourers value = 3 where = }
command = { type = pop_militancy which = clerks value = 3 where = }
command = { type = pop_consciousness which = aristocrats value = 3 where = }
command = { type = pop_consciousness which = officers value = 3 where = }
command = { type = pop_consciousness which = clergymen value = 3 where = }
command = { type = voting_rights which = none }
command = { type = press_rights which = state_press }
command = { type = trade_unions which = none }
command = { type = public_meetings value = no }
command = { type = political_parties which = none_allowed }
}
}