﻿add_namespace = ctsov
country_event = {
	id = ctsov.1
	title = ctsov.1.t
	desc = ctsov.1.d
	picture = GFX_report_event_fascist_speech
	trigger = {
		NOT = { has_global_flag = ct_stupid_sov_ai }
		SOV = { is_ai = yes }
		tag = SOV
		has_army_manpower = { size < 699999 }
		date>1938.12.31
		date<1940.5.31
	}
	fire_only_once = yes
	option = {
		name = ctsov.1.o1
		#load_oob = "SOV_1922"
		add_political_power = 400
		add_equipment_to_stockpile = {
    		type = infantry_equipment
   			amount = 500000
    		producer = SOV
		}
		set_global_flag = ct_stupid_sov_ai
	}
}

country_event = { #menshevik trial
	id = ctsov.4
	title = ctsov.4.t
	desc = ctsov.4.d
	picture = GFX_report_event_soviet_purge_trial
	is_triggered_only = yes

	option = { #guilty
		name = ctsov.4.o1
		ai_chance = { factor = 100 }
		custom_effect_tooltip = remove_political_advisor
		show_ideas_tooltip = vladimir_groman
		set_country_flag = ct_purged_vladimir_groman
		add_political_power = 50
	}
	option = { #notguilty
		name = ctsov.4.o2
		ai_chance = { factor = 0 }
		add_political_power = -25
	}
}

country_event = {
	id = ctsov.6
	title = ctsov.6.t
	desc = ctsov.6.d
	picture = GFX_report_event_soviet_tanks_snow
	is_triggered_only = yes
	option = {
		name = ctsov.6.o1
	}
}

country_event = { #ryutin affair
	id = ctsov.7
	title = ctsov.7.t
	desc = ctsov.7.d
	picture = GFX_report_event_soviet_purge_trial
	fire_only_once = yes	
	trigger = {
		tag = SOV	date > 1932.3.1		date < 1932.10.1
		NOT = { has_country_flag = ct_ryutin_affair }
	}
	option = { #guilty
		name = ctsov.7.o1
		ai_chance = { factor = 100 }
		set_country_flag = ct_ryutin_affair
		add_country_leader_trait = dictator
	}
}

country_event = { #kirov assainated
	id = ctsov.8
	title = ctsov.8.t
	desc = ctsov.8.d
	picture = GFX_report_event_soviet_purge_trial
	fire_only_once = yes	
	trigger = {
		tag = SOV	date > 1934.11.10		date < 1934.12.1
		NOT = { has_country_flag = ct_kirov_iced }
	}
	option = { #ENEMEIES EVERYWHERE!!!!!!!!!!!!     PREPARE THE PURGE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
		name = ctsov.8.o1
		ai_chance = { factor = 100 }
		set_country_flag = ct_kirov_iced
		country_event = { id = NSB_soviet_paranoia_system_events.01 days = 350 random_days = 10 } # EVENT ACTIVATING THE PARANOIA SYSTEM
		hidden_effect = { play_song = "Psycho"	}
	}
}