add_namespace = rksplusussr

country_event = {
	id = rksplusussr.1
	title = rksplusussr.1.t
	desc = rksplusussr.1.d
	picture = GFX_report_event_gathering_protest
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.1.a
		
		add_stability = -0.05
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.2
					days = 30
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.2
	title = rksplusussr.2.t
	desc = rksplusussr.2.d
	picture = GFX_report_event_gathering_protest
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.2.a
		
		add_stability = -0.1
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.3
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.3
	title = rksplusussr.3.t
	desc = rksplusussr.3.d
	picture = GFX_report_event_generic_riot
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.3.a
		
		add_stability = -0.1
		add_manpower = -4
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.4
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.4
	title = rksplusussr.4.t
	desc = rksplusussr.4.d
	picture = GFX_report_event_generic_rifles
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.4.a
		
		add_stability = -0.15
		add_equipment_to_stockpile = {
		   type = infantry_equipment
           amount = -1000
           producer = SOV
         }
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.5
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.5
	title = rksplusussr.5.t
	desc = rksplusussr.5.d
	picture = GFX_report_event_generic_rally2
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.5.a
		
		add_stability = -0.15
		add_war_support = -0.15
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.6
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.6
	title = rksplusussr.6.t
	desc = rksplusussr.6.d
	picture = GFX_report_event_generic_conference
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.6.a
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 407
					state = 406
					state = 402
					state = 587
					state = 583
					state = 590
					state = 404
					state = 881
					state = 882
					state = 588
					state = 589
					state = 586
				}
			}

			KZN = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		KZN = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.7
					days = 3
				}
			}
		}

	}
	
	option = {
		name = rksplusussr.6.b
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 407
					state = 406
					state = 402
					state = 587
					state = 583
					state = 590
					state = 404
					state = 881
					state = 882
					state = 588
					state = 589
					state = 586
				}
			}

			KZN = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.7
					days = 3
				}
			}
		}
		
		KZN = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		KZN = {
		change_tag_from = SOV
	    }

	}
}

country_event = {
	id = rksplusussr.7
	title = rksplusussr.7.t
	desc = rksplusussr.7.d
	picture = GFX_report_event_generic_conference
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.7.a
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 584
					state = 832
					state = 823
					state = 831
					state = 585
					state = 830
				}
			}

			TRK = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		TRK = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.8
					days = 3
				}
			}
		}

	}
	
	option = {
		name = rksplusussr.7.b
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 584
					state = 832
					state = 823
					state = 831
					state = 585
					state = 830
				}
			}

			TRK = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.8
					days = 3
				}
			}
		}
		
		TRK = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		TRK = {		
		change_tag_from = SOV
	    }

	}
}

country_event = {
	id = rksplusussr.8
	title = rksplusussr.8.t
	desc = rksplusussr.8.d
	picture = GFX_report_event_generic_battle
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.8.a
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 405
					state = 742
					state = 732
				}
			}

			TRC = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		TRC = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.9
					days = 7
				}
			}
		}

	}
	
	option = {
		name = rksplusussr.8.b
		
		add_stability = -0.05
		add_political_power = -50
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 405
					state = 742
					state = 732
				}
			}

			TRC = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.9
					days = 7
				}
			}
		}
		
		TRC = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		TRC = {
		change_tag_from = SOV
	    }

	}
}

country_event = {
	id = rksplusussr.9
	title = rksplusussr.9.t
	desc = rksplusussr.9.d
	picture = GFX_report_event_europe_funeral
	
	is_triggered_only = yes
	
	immediate = { news_event = { days = 1 id = rksnews.12 } }
	

	option = {
		name = rksplusussr.9.a
		
		trigger = { has_government = communism }
		
		add_stability = -0.25
		
		SOV = {
			kill_country_leader = yes
			
			add_country_leader_role = {
				character = SOV_georgy_zhukov
				promote_leader = yes
				country_leader = {
					ideology = leninism
					expire = "1965.1.1.1"
					traits = { war_industrialist }
				}
			}
		}
		
		JAP = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.10
					days = 14
				}
			}
		}

	}
	
	option = {
		name = rksplusussr.9.b
		
		trigger = { 
			NOT = { has_government = communism }
		}
		add_stability = -0.25
		
		SOV = {
			kill_country_leader = yes
			
			create_country_leader = {
				name = "Transitionary Council"
				desc = ""
				picture = "gfx/leaders/SOV/portrait_SOV_white_transitionary_council_rksplus.dds"
				expire = "1965.1.1"
				ideology = despotism
				traits = { }
			}
		}
		
		JAP = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.10
					days = 14
				}
			}
		}
	}
}

country_event = {
	id = rksplusussr.10
	title = rksplusussr.10.t
	desc = rksplusussr.10.d
	picture = GFX_report_event_japanese_transport_soldiers
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.10.a
		
		trigger = { }
		
		add_war_support = 0.05
		
		ai_chance = {
			base = 0
		}
		SOV = {
			country_event = { id = rksplusussr.11 }
		}
		
		every_state = {
			limit = {
				OR = {
					state = 657
					state = 408
					state = 409
					state = 560
					state = 655
				}
			}

			JAP = {

				transfer_state = PREV

			}
		}
		
		hidden_effect = {
			news_event = { days = 1 id = rksnews.13 }
		}

	}
	
	option = {
		name = rksplusussr.10.b
		
		trigger = { }
		
		add_war_support = 0.05
		
		ai_chance = {
			base = 10
		}
		SOV = {
			country_event = { id = rksplusussr.11 }
		}
		
		every_state = {
			limit = {
				OR = {
					state = 655
				}
			}

			JAP = {

				transfer_state = PREV

			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 657
					state = 408
					state = 409
					state = 560
				}
			}

			MAN = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		hidden_effect = {
			news_event = { days = 1 id = rksnews.13 }
		}

	}
	
	option = {
		name = rksplusussr.10.c
		
		trigger = { 
		}
		add_stability = 0.01
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.12
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.11
	title = rksplusussr.11.t
	desc = rksplusussr.11.d
	picture = GFX_report_event_japanese_transport_soldiers
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.11.a
		
		trigger = { }
		
		add_stability = -0.10
		add_political_power = -50
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.12
					days = 7
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.12
	title = rksplusussr.12.t
	desc = rksplusussr.12.d
	picture = GFX_report_event_election_vote
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.12.a
		
		trigger = { }
		
		ai_chance = {
			base = 10
		}
		
		every_state = {
			limit = {
				OR = {
					state = 329
				}
			}

			TAN = {

				transfer_state = PREV

			}
		}
		
		if = {
			limit = {
				TAN = { is_in_faction = yes }
				TAN = { is_in_faction_with = SOV }
				
			}
			TAN = { leave_faction = yes }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.13
					days = 3
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.13
	title = rksplusussr.13.t
	desc = rksplusussr.13.d
	picture = GFX_report_event_election_vote
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.13.a
		
		trigger = { }
		
		ai_chance = {
			base = 10
		}
		
		if = {
			limit = {
				MON = { is_in_faction = yes }
				MON = { is_in_faction_with = SOV }
				
			}
			MON = { leave_faction = yes }
		}
		
		SOV = {
			dismantle_faction = yes
		
			hidden_effect = {
				country_event = {
					id = rksplusussr.14
					days = 3
				}
			}
		}
		
		JAP = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.18
					days = 3
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.14
	title = rksplusussr.14.t
	desc = rksplusussr.14.d
	picture = GFX_report_event_generic_battle
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.14.a
		
		trigger = { }
		
		add_stability = -0.15
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 567
					state = 566
					state = 564
					state = 563
					state = 565
					state = 575
					state = 561
					state = 574
					state = 876
					state = 562
					state = 877
					state = 644
					state = 874
					state = 822
					state = 637
					state = 875
				}
			}

			WRA = {
			
				if = {
					limit = {
						SOV = { controls_state = 657 }
					}
					transfer_state = 657
					add_state_core = 657
				}
				
				if = {
					limit = {
						SOV = { controls_state = 560 }
					}
					transfer_state = 560
					add_state_core = 560
				}
				
				if = {
					limit = {
						SOV = { controls_state = 409 }
					}
					transfer_state = 409
					add_state_core = 409
				}
				
				if = {
					limit = {
						SOV = { controls_state = 408 }
					}
					transfer_state = 408
					add_state_core = 408
				}
				
				if = {
					limit = {
						SOV = { controls_state = 655 }
					}
					transfer_state = 655
					add_state_core = 655
				}

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		WRA = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.15
					days = 7
				}
			}
		}

	}
	
	option = {
		name = rksplusussr.14.b
		
		trigger = { }
		
		add_stability = -0.15
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 567
					state = 566
					state = 564
					state = 563
					state = 565
					state = 575
					state = 561
					state = 574
					state = 876
					state = 562
					state = 877
					state = 644
					state = 874
					state = 822
					state = 637
					state = 875
				}
			}

			WRA = {
			
				if = {
					limit = {
						SOV = { controls_state = 657 }
					}
					transfer_state = 657
					add_state_core = 657
				}
				
				if = {
					limit = {
						SOV = { controls_state = 560 }
					}
					transfer_state = 560
					add_state_core = 560
				}
				
				if = {
					limit = {
						SOV = { controls_state = 409 }
					}
					transfer_state = 409
					add_state_core = 409
				}
				
				if = {
					limit = {
						SOV = { controls_state = 408 }
					}
					transfer_state = 408
					add_state_core = 408
				}
				
				if = {
					limit = {
						SOV = { controls_state = 655 }
					}
					transfer_state = 655
					add_state_core = 655
				}

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		WRA = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.15
					days = 7
				}
			}
		}
		
		WRA = {
		change_tag_from = SOV
	    }

	}
}

country_event = {
	id = rksplusussr.15
	title = rksplusussr.15.t
	desc = rksplusussr.15.d
	picture = GFX_report_event_generic_ruins
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.15.a
		
		trigger = { }
		
		add_political_power = -50
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.16
					days = 3
				}
			}
		}

	}
}

country_event = {
	id = rksplusussr.16
	title = rksplusussr.16.t
	desc = rksplusussr.16.d
	picture = GFX_report_event_ger_civil_war
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.16.a
		
		trigger = { }
		
		add_stability = -0.25
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 572
					state = 653
					state = 403
					state = 580
					state = 577
					state = 579
					state = 824
					state = 571
					state = 578
					state = 570
					state = 40
					state = 654
					state = 569
					state = 568
					state = 576
					state = 516
					state = 878
				}
			}

			SBI = {
			
				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		SBI = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			set_capital = {
				state = 249
				remember_old_capital = yes
			}
		
			hidden_effect = {
				country_event = {
					id = rksplusussr.17
					days = 7
				}
			}
		}
		
		hidden_effect = {
			news_event = { days = 10 id = rksnews.14 }
		}

	}
	
	option = {
		name = rksplusussr.16.b
		
		trigger = { }
		
		add_stability = -0.25
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 572
					state = 653
					state = 403
					state = 580
					state = 577
					state = 579
					state = 824
					state = 571
					state = 578
					state = 570
					state = 40
					state = 654
					state = 569
					state = 568
					state = 576
					state = 516
					state = 878
				}
			}

			SBI = {
			
				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		
		SBI = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		}
		
		SOV = {
			hidden_effect = {
				country_event = {
					id = rksplusussr.17
					days = 7
				}
			}
		}
		
		SBI = {
		change_tag_from = SOV
	    }
		
		hidden_effect = {
			news_event = { days = 10 id = rksnews.14 }
		}

	}
}

country_event = {
	id = rksplusussr.17
	title = rksplusussr.17.t
	desc = rksplusussr.17.d
	picture = GFX_report_event_generic_riot
	
	is_triggered_only = yes

	option = {
		name = rksplusussr.17.a
		
		trigger = { }
		
		add_stability = -0.25
		
		every_state = {
			limit = {
				is_owned_by = SOV
				OR = {
					state = 250
					state = 256
					state = 249
					state = 251
					state = 833
					state = 652
					state = 651
					state = 582
					state = 399
					state = 400
					state = 398
					state = 573
					state = 397
					state = 581
					state = 262
					state = 825
				}
			}

			WRS = {
			
				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
			
		}
		
		WRS = {
			add_timed_idea = { idea = SOV_collapsed_state days = 365 }
		
		
			annex_country = {
                target = SOV
            }
			SOV = {
				every_unit_leader = {
					set_nationality = WRS
				}
			}
			
			
		}
		
		WRS = {
			change_tag_from = SOV
		}

	}
}

country_event = {
	id = rksplusussr.18
	title = rksplusussr.18.t
	desc = rksplusussr.18.d
	picture = GFX_report_event_chinese_soldiers_01
	
	is_triggered_only = yes
	

	option = {
		name = rksplusussr.18.a
		
		trigger = { }
		
		JAP = {
			create_wargoal = {
				type = take_state_focus
				target = MON
				generator = { 819 817 330 820 818 }
				expire = 365
			}
			
			create_wargoal = {
				type = take_state_focus
				target = TAN
				generator = { 329 }
				expire = 365
			}
		}
	}
	
	option = {
		name = rksplusussr.18.b
		
		trigger = { }
		
	}
}