add_namespace = SOV_focus_event

#Who will be the Tsar?
country_event = {
	id = SOV_focus_event.1
	title = SOV_focus_event.1.t
	desc = SOV_focus_event.1.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = { #Putin!
		name = SOV_focus_event.1.o1
		create_country_leader = {
			name = "Vladimir Putin"
			picture = "Vladimir_Putin.dds"
			ideology = absolute_monarchist
			#traits = {
				#	absolute_monarchist
				#}
		}


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = SOV_focus_event.1.o2 #Rasputin!
		create_country_leader = {
			name = "Laurence Rasputin" #change from Solovyeva to Rasputin as it's more prestigious
			ideology = holy_tsardom
			picture = "Laurence_Huot_Solovyeva.dds"
			traits = {
				great_grandchild_of_mystic
			}
		}


		ai_chance = {
			factor = 25
		}
	}

	option = { #Romanov!
		name = SOV_focus_event.1.o3
		add_popularity = {
			ideology = monarchist
			popularity = 0.1
		}


		ai_chance = {
			factor = 25
		}
	}

}

#Invitation to CSTO
country_event = {
	id = SOV_focus_event.2
	title = SOV_focus_event.2.t
	desc = SOV_focus_event.2.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#Accept
		name = SOV_focus_event.2.o1
		SOV = { add_to_faction = ROOT }
		set_country_flag = has_joined_CSTO_by_event
		SOV = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 75
		}
	}

	option = {	#Decline
		name = SOV_focus_event.2.o2
		SOV = { country_event = diplomatic_response.2 }
		random_country = {
			limit = {
				tag = SOV
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 25
		}
	}
}

#Unification to CSTO
country_event = {
	id = SOV_focus_event.3
	title = SOV_focus_event.3.t
	desc = SOV_focus_event.3.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#Accept
		name = SOV_focus_event.3.o1
		SOV = {
			country_event = { id = diplomatic_response.1 }
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}
		every_state = {
			limit = { is_core_of = ROOT }
			add_core_of = SOV
		}
		ai_chance = {
			factor = 75
		}
	}

	option = {	#Decline
		name = SOV_focus_event.3.o2
		SOV = { country_event = diplomatic_response.2 }
		random_country = {
			limit = {
				tag = SOV
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 25
		}
	}
}
#Russia marches on Minsk
country_event = {
	id = SOV_focus_event.4
	title = SOV_focus_event.4.t
	desc = SOV_focus_event.4.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#Accept
		name = SOV_focus_event.4.o1
		SOV = {
			country_event = { id = SOV_focus_event.5 }
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}

		ai_chance = {
			factor = 75
		}
	}

	option = {	#Decline
		name = SOV_focus_event.4.o2
		add_ideas = BLR_zmahacca_da_kanca
		SOV = { country_event = SOV_focus_event.6 }
		ai_chance = {
			factor = 25
		}
	}
}

#The march succeded
country_event = {
	id = SOV_focus_event.5
	title = SOV_focus_event.5.t
	desc = SOV_focus_event.5.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#yes
		name = SOV_focus_event.5.o1
		every_state = {
			limit = { is_core_of = BLR }
			add_core_of = SOV
		}
		ai_chance = {
			factor = 75
		}
	}
}

#The march failed
country_event = {
	id = SOV_focus_event.6
	title = SOV_focus_event.6.t
	desc = SOV_focus_event.6.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#finish them
		name = SOV_focus_event.6.o1
		create_wargoal = {
			type = annex_everything
			target = BLR
		}
		every_state = {
			limit = { is_core_of = BLR }
			add_core_of = SOV
		}
		ai_chance = {
			factor = 75
		}
	}
}

#Dealing with Putin
country_event = {
	id = SOV_focus_event.7
	title = SOV_focus_event.7.t
	desc = SOV_focus_event.7.d
	picture = GFX_report_event_russian_flag

	is_triggered_only = yes

	option = {	#invite him to the goverment
		name = SOV_focus_event.7.o1

		add_political_power = -120
		add_stability = 0.1
		ai_chance = {
			factor = 75
		}
	}
	option = {	#arrest him
		name = SOV_focus_event.7.o2
		add_political_power = -35
		add_stability = 0.02
		ai_chance = {
			factor = 75
		}
	}
	option = {	#leave him be
		name = SOV_focus_event.7.o3

		add_stability = 0.05
		ai_chance = {
			factor = 75
		}
	}
}

#Trade Profits
country_event = {
	id = SOV_focus_event.8
	title = SOV_focus_event.8.t
	desc = SOV_focus_event.8.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {	#Good
		name = SOV_focus_event.8.o1
		random_list = {
			50 = {
				random_owned_state = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			25 = {
				add_offsite_building = { type = industrial_complex level = 1 }
			}
		}
		ai_chance = {
			factor = 75
		}
	}
}
