add_namespace = election_SOV

#Russian Election of 2000
country_event = {
	id = election_SOV.1
	title = election_SOV.1.t
	desc = election_SOV.1.d
	picture = GFX_report_event_vladimir_putin_young

	is_triggered_only = yes

	trigger = {
		original_tag = SOV
		date > 2000.3.1
		date < 2001.1.1
		NOT = { has_country_flag = russia_election_2000 }
	}

	immediate = {
		set_country_flag = russia_election_2000
	}

	option = {
		name = election_SOV.1.o1

		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}

		news_event = russia_news.1

		ai_chance = {
			base = 10
			modifier = {
				OR = {
					NOT = {
						OR = {
							has_game_rule = {
								rule = SOV_AI_BEHAVIOR
								option = DEFAULT
							}
							has_game_rule = {
								rule = SOV_AI_BEHAVIOR
								option = MONARCHIST
							}
							has_game_rule = {
								rule = SOV_AI_BEHAVIOR
								option = RANDOM
							}
						}
					}
					is_historical_focus_on = no
				}
				factor = 0
			}
		}
	}

	option = {
		name = election_SOV.1.o3
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = yes
		}
		SOV_Gennady_zyuganov = {
			promote_character = yes
		}

		news_event = russia_news.666
		add_popularity = { ideology = social_democrat popularity = 0.15 }
		set_country_flag = russia_reactionary_nofocus
		hidden_effect = { 
				country_event = {
    				id = pprecw.1
				} 
			}

		ai_chance = {
			base = 10
			modifier = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = SOV_AI_BEHAVIOR
							option = SOV_RESTORATION_USSR
						}
					}
				}
				factor = 0
			}
		}
	}

	option = {
		name = election_SOV.1.o4
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		SOV_grigory_yavlinski = {
			promote_character = yes
		}

		news_event = russia_news.4
		add_popularity = { ideology = social_liberal popularity = 0.15 }
		set_country_flag = russia_yavlinski
		mark_focus_tree_layout_dirty = yes

		ai_chance = {
			base = 10
			modifier = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = SOV_AI_BEHAVIOR
							option = DEMOCRATIC_REFORM
						}
					}
				}
				factor = 0
			}
		}
	}
}
