Please, where is the error? The event just does not trigger.
Code:
country_event = {
id = election_USA.-1
title = election_USA.-1.t
desc = election_USA.-1.d
is_triggered_only = no
fire_only_once = yes
trigger = {
original_tag = USA
date > 1992.11.2
date < 1992.11.9
not = {
has_country_flag = usa_election_1992
}
}
immediate = {
set_country_flag = usa_election_1992
}
option = { #George H. W. Bush
name = election_USA.-1.o1
set_politics = {
ruling_party = conservative
elections_allowed = yes
}
add_popularity = {
ideology = conservative
popularity = 0.03
}
create_country_leader = {
name = "George H. W. Bush"
picture = "Portrait_USA_George_H_W_Bush.dds"
expire = "2050.1.1"
ideology = fiscal_conservative
traits = {
}
}
ai_chance = {
factor = 35
}
set_country_flag = usa_hwbush_victory_1992
}
option = { #Bill Clinton
name = election_USA.-1.o2
set_politics = {
ruling_party = social_liberal
elections_allowed = yes
}
add_popularity = {
ideology = social_liberal
popularity = 0.03
}
create_country_leader = {
name = "Bill Clinton"
picture = "Portrait_USA_Bill_Clinton.dds"
expire = "2050.1.1"
ideology = liberalist
traits = {
}
}
ai_chance = {
factor = 45
}
set_country_flag = usa_bclinton_victory_1992
}
option = { #Ross Perot
name = election_USA.-1.o3
set_politics = {
ruling_party = market_liberal
elections_allowed = yes
}
add_popularity = {
ideology = market_liberal
popularity = 0.15
}
create_country_leader = {
name = "Ross Perot"
picture = "Portrait_USA_Ross_Perot.dds"
expire = "2050.1.1"
ideology = libertarian
traits = {
}
}
ai_chance = {
factor = 20
}
set_country_flag = usa_perot_victory_1992
}
}