####################################################################
#
# HoI - CORE USSR
#
# LIMIT:  222000 - 271999
#
#
####################################################################

#
# HoI - USSR Events
#
#		written by Henrik Fåhraeus
#
#########################################################################
#  End of the Swedish Winter War - Swedes accepts
#########################################################################
event = { 
	id = 2631
	random = no
	country = SOV
	
	# Triggered by SWE 3302
	
	name = "EVT_2631_NAME"
	desc = "EVT_2631_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2631A" # Good!
		#command = { type = peace which = SWE }
		command = { type = dissent value = -5 } 
	}
}
#########################################################################
#  End of the Swedish Winter War - Swedes refuse
#########################################################################
event = { 
	id = 2632
	random = no
	country = SOV
	
	# Triggered by SWE 3302
	
	name = "EVT_2632_NAME"
	desc = "EVT_2632_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2632A" # They will have to pay!
		command = { type = dissent value = 1 }
	}
}
#########################################################################
#  Moving of Industry to Sibiria (modified by Copper)
#########################################################################
event = { 
	id = 2633
	random = no
	country = SOV
	
	trigger = {
		control = { province = 781 data = SOV } #Smolensk
		control = { province = 775 data = SOV } #Kiev
		control = { province = 857 data = SOV } #Kharkov
            	control = { province = 788 data = SOV } #leningrad
		control = { province = 1377 data = SOV } #Sverdlovsk
		control = { province = 1378 data = SOV } #Tjeljabinsk
		control = { province = 1371 data = SOV } #Magnitogorsk
		war = { country = GER country = SOV }
	}
	
	name = "EVT_2633_NAME"
	desc = "EVT_2633_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2633A" # Let's move our industrial base to Sibiria
		command = { type = industry which = 778 value = -6 } #Minsk
		command = { type = industry which = 861 value = -4 } #Rostov
		command = { type = industry which = 764 value = -4 } #Odessa
		command = { type = industry which = 766 value = -1 } #Vinnitsa
		command = { type = industry which = 775 value = -5 } #Kiev 
		command = { type = industry which = 776 value = -1 } #Chernigov 
		command = { type = industry which = 857 value = -5 } #Kharkov 
		command = { type = industry which = 862 value = -4 } #Sevastopol 
		command = { type = industry which = 863 value = -1 } #Stalino 
		command = { type = industry which = 864 value = -4 } #Donietsk 
		command = { type = industry which = 865 value = -2 } #Dniepropietrovsk 
		command = { type = industry which = 781 value = -5 } #Smolensk 
		command = { type = industry which = 791 value = -5 } #Novgorod
		command = { type = industry which = 788 value = -10 } #leningrad 
		command = { type = industry which = 1394 value = 6 } #Kurgan
		command = { type = industry which = 1395 value = 6 } #Kustanai
		command = { type = industry which = 1396 value = 6 } #Koktjetav
		command = { type = industry which = 1377 value = 6 } #Sverdlovsk
		command = { type = industry which = 1378 value = 11 } #Tjeljabinsk
		command = { type = industry which = 1371 value = 12 } #Magnitogorsk
		command = { type = province_keypoints which = 778 value = -3 } # Minsk
		command = { type = province_keypoints which = 764 value = -1 } # Odessa
		command = { type = province_keypoints which = 775 value = -3 } # Kiev
		command = { type = province_keypoints which = 857 value = -3 } # Kharkov
		command = { type = province_keypoints which = 1371 value = 3 } # 'Magnitka'
		command = { type = province_keypoints which = 1377 value = 3 } # Sverdlovsk
		command = { type = province_keypoints which = 1378 value = 3 } # Tchelabinsk
		command = { type = province_keypoints which = 1394 value = 1 } # Kurgan
		command = { type = warentry which = USA value = 15 }	
		}
	action_b = {
		name = "Limited action - just in case..." # No let it be.
		command = { type = industry which = 778 value = -15 } #Minsk
		command = { type = industry which = 861 value = -10 } #Rostov
		command = { type = industry which = 764 value = -10 } #Odessa
		command = { type = industry which = 766 value = -5 } #Vinnitsa
		command = { type = industry which = 775 value = -15 } #Kiev 
		command = { type = industry which = 776 value = -5 } #Chernigov 
		command = { type = industry which = 857 value = -15 } #Kharkov 
		command = { type = industry which = 862 value = -10 } #Sevastopol 
		command = { type = industry which = 863 value = -5 } #Stalino 
		command = { type = industry which = 864 value = -15 } #Donietsk 
		command = { type = industry which = 865 value = -5 } #Dniepropietrovsk 
		command = { type = industry which = 781 value = -15 } #Smolensk 
		command = { type = industry which = 791 value = -15 } #Novgorod 
		command = { type = industry which = 1394 value = 20 } #Kurgan
		command = { type = industry which = 1395 value = 20 } #Kustanai
		command = { type = industry which = 1396 value = 20 } #Koktjetav
		command = { type = industry which = 1377 value = 20 } #Sverdlovsk
		command = { type = industry which = 1378 value = 25 } #Tjeljabinsk
		command = { type = industry which = 1371 value = 30 } #Magnitogorsk
		command = { type = warentry which = USA value = 15 }
	}
	action_c = {
		name = "ACTIONNAME2633B" # No let it be.
		command = {  }
	}
}


#########################################################################
#  Moving of Industry to Sibiria  (modified by Copper)
#########################################################################
event = { 
	id = 2634
	random = no
	country = SOV
	
	trigger = {
		control = { province = 778 data = SOV } #Minsk
		control = { province = 709 data = SOV } #Riga
		control = { province = 707 data = SOV } #Tallinn
		control = { province = 1430 data = SOV } #Alma-Ata
		control = { province = 1515 data = SOV } #Semipalatinsk
		control = { province = 1524 data = SOV } #Krasnojarsk
		war = { country = GER country = SOV }
	}
	
	name = "EVT_2634_NAME"
	desc = "EVT_2634_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2634A" # Let's move our industrial base to Sibiria
		command = { type = industry which = 709 value = -5 } #Riga
		command = { type = industry which = 707 value = -5 } #Tallinn
		command = { type = industry which = 712 value = -5 } #Lipawa
		command = { type = industry which = 715 value = -4 } #Kowno
		command = { type = industry which = 1430 value = 5 } #Alma-Ata
		command = { type = industry which = 1515 value = 5 } #Semipalatinsk
		command = { type = industry which = 1524 value = 9 } #Krasnojarsk
	}
	action_b = {
		name = "ACTIONNAME2634B" # No let it be.
		command = {  }
	}
}


#########################################################################
#  End of the Finnish Winter War - Finns refuse
#########################################################################
event = { 
	id = 2629
	random = no
	country = SOV
	
	# Triggered by FIN 3203B
	
	name = "EVT_2629_NAME"
	desc = "EVT_2629_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2629A" # They will have to pay!
		command = { type = dissent value = 1 }
	}
}
#########################################################################
#  End of the Swedish Winter War
#########################################################################
event = { 
	id = 2630
	random = no
	country = SOV
	
	trigger = {
		event = 2628 # End of the Winter War - Finns accepts
		war = { country = SWE country = SOV }
		NOT = {
			OR = {
				alliance = { country = SWE country = GER }
				alliance = { country = SWE country = ENG }
				}
			}
	}
	
	name = "EVT_2630_NAME"
	desc = "EVT_2630_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2630A" # Let us stop this unnecessary fighting
		command = { type = trigger which = 3302 } # SWE
	}
	#action_b = {
	#	name = "ACTIONNAME2630B" # Let's bring them Socialism!
	#	command = {  }
	#}
}
#########################################################################
#  End of the Finnish Winter War - Finns accepts
#########################################################################
event = { 
	id = 2628
	random = no
	country = SOV
	
	# Triggered by FIN 3203A
	
	name = "EVT_2628_NAME"
	desc = "EVT_2628_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2628A" # Good!
		command = { type = peace which = FIN }
		command = { type = dissent value = -5 } 
	}
}
#########################################################################
#  End of the Finnish Winter War (modded - Winter War doctrine for SOV)
#########################################################################
event = { 
	id = 2627
	random = no
	country = SOV
	
	trigger = {
		
		OR = {

			AND = { #Historical trigger
				control = { province = 787 data = SOV } #viipuri
				control = { province = 803 data = SOV } #Sortavala
			}

			AND = {
				control = { province = 787 data = SOV } #viipuri
				control = { province = 798 data = SOV } #Vaasa
				control = { province = 705 data = SOV } #Turku
			}

			control = { province = 706 data = SOV } # Helsinki
		}
	
		war = { country = FIN country = SOV }

		NOT = {
			alliance = { country = FIN country = GER }
		}
		NOT = {
			alliance = { country = FIN country = ENG }
		}
	}
	
	name = "EVT_2627_NAME"
	desc = "EVT_2627_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 4 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2627A" # We'll settle for what we asked for
		command = { type = gain_tech which = 11505 } # Winter War Experience 
		command = { type = trigger which = 3203 } 
	}
	#action_b = { #Andris: This option removed
	#	name = "ACTIONNAME2627B" # Let's bring them Socialism!
	#	command = { type = gain_tech which = 11505 } # Winter War Experience 
	#	command = {  }
	#}
}

#########################################################################
#  The Molotov-Ribbentrop Pact - Historical Pact 
#########################################################################
event = {
	id = 2600
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2600_NAME"
	desc = "EVT_2600_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2600A" # A Most Excellent Proposition
		command = { type = trigger which = 2013 } # GER

		#Baltic States cores now in 222131

		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania (Andris: Put under Occ. of Baltic States)
		#command = { type = addcore which = 711 } # Memel - new one!
		#command = { type = addcore which = 714 }
		#command = { type = addcore which = 715 }
		 
		# Claims on Finland (Andris: Put under Winter War SOV2621/2622)
		#command = { type = addcore which = 787 }
		#command = { type = addcore which = 803 }

	}
	action_b = {
		name = "ACTIONNAME2600B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2014 } # GER

	}
	action_c = {
		name = "ACTIONNAME2600C" # Propose an unholy alliance
		command = { type = trigger which = 2015 } # GER
	}
}


#########################################################################
#  The Molotov-Ribbentrop Pact - Limited Pact
#########################################################################
event = { 
	id = 2601
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2601_NAME"
	desc = "EVT_2601_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2601A" # Acceptable, but just barely
		command = { type = trigger which = 2016 } # GER
	}
	action_b = {
		name = "ACTIONNAME2601B" # No deals with the enemies of the Workers!
		command = { type = trigger which = 2017 } # GER
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Full Alliance
#########################################################################
event = { 
	id = 2602
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2602_NAME"
	desc = "EVT_2602_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Let the world tremble!
		
		# Estonia
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
#		command = { type = addcore which = 821 }
		command = { type = dissent value = 15 }
		command = { type = alignment which = communist value = -40 }
		command = { type = alignment which = fascist value = 40 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - No Full Alliance
#########################################################################
event = { 
	id = 2603
	random = no
	country = SOV
	
	# Triggered by GER 2015
	
	name = "EVT_2603_NAME"
	desc = "EVT_2603_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Too bad
		
		#Baltic States cores now in 222131

		# Estonia 
		command = { type = addcore which = 707 }
		
		# Latvia
		command = { type = addcore which = 708 }
		command = { type = addcore which = 709 }
		command = { type = addcore which = 712 }
		command = { type = addcore which = 713 }
		
		# Lithuania
		#command = { type = addcore which = 714 }
		#command = { type = addcore which = 715 }
		
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		
		# Claims on Finland
		command = { type = addcore which = 787 }
		command = { type = addcore which = 803 }
#		command = { type = addcore which = 821 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Eastern Poland to USSR
#########################################################################
event = { 
	id = 2604
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2604_NAME"
	desc = "EVT_2604_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Great!
		command = { type = dissent value = -5 }
		command = { type = oilpool value = -2000 }
	}
}
#########################################################################
#  The Molotov-Ribbentrop Pact - Germany dishonors the pact
#########################################################################
event = { 
	id = 2605
	random = no
	country = SOV
	
	# Triggered by GER 2018
	
	name = "EVT_2605_NAME"
	desc = "EVT_2605_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2605A" # We shall never forget this!
		command = { type = dissent value = 5 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2605B" # This means war!
		command = { type = war which = GER }
		command = { type = dissent value = -10 }
	}
}
#########################################################################
#  Claim Bessarabia
#########################################################################
event = { 
	id = 2606
	random = no
	country = SOV
	
	trigger = {
		event = 2604 # Eastern Poland has been given to the USSR
		OR = { 
			event = 2013  # Bessarabia recognized as Soviet territory by Germany
			event = 2015
		}
		exists = ROM
		NOT = {
			OR = {
				war = { country = ROM country = SOV }
				war = { country = GER country = SOV }
			}
		}
		NOT = {
			control = { province = 767 data = SOV }  #Beltsy
			control = { province = 763 data = SOV }  #Chisinau
		}
	}
	
	name = "EVT_2606_NAME"
	desc = "EVT_2606_DESC"
	style = 0
	
	date = { day = 26 month = june year = 1940 }
	
	action_a = {
		name = "ACTIONNAME2606A" # Claim Bessarabia
		# Bessarabia
		command = { type = addcore which = 763 }
		command = { type = addcore which = 767 }
		command = { type = trigger which = 2700 } # ROM
	}
	#action_b = {
	#	name = "ACTIONNAME2606B" # The Romanians are our friends
	#	command = { }
	#} #Andris, can't choose this anymore
}
#########################################################################
#  Claim Bessarabia - Done
#########################################################################
event = { 
	id = 2607
	random = no
	country = SOV
	
	# Triggered by ROM 2700A
	
	name = "EVT_2607_NAME"
	desc = "EVT_2607_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { }
	}
}
#########################################################################
#  Claim Bessarabia - the Romanians Fight!
#########################################################################
event = { 
	id = 2608
	random = no
	country = SOV
	
	# Triggered by ROM 2700B
	
	name = "EVT_2608_NAME"
	desc = "EVT_2608_DESC"
	style = 0
	
	action_a = {
		name = "OK" # They will rue this day...
		command = { }
	}
}
#########################################################################
# The Great Officer Purge (modded by Copper Nicus)
#########################################################################

# The Great Officer Purge Begins (Part 1 May 1937)

event = { 
	id = 2609
	random = no
	country = SOV

	trigger = { }

	name = "EVT_2609_NAME"
	desc = "EVT_2609_DESC"
	style = 0

	date = { day = 1 month = may year = 1937 }

	action_a = {
		name = "ACTIONNAME2609A" # Purge the traitors!
		command = { type = sleepleader which = 10252 } # Tukhachevsky
		command	= { type = sleepminister which = 4007 } # Tukhachevsky minister
		command = { type = sleepleader which = 10138 } # Primakov
		command	= { type = sleepleader which = 10255 } # Uborevich
		command = { type = sleepleader which = 10275 } # Yakir
		command = { type = sleepleader which = -2 }
		command	= { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -20 } 
		command = { type = sleepevent which = 652008 } # Benes warns Stalin
	}
	action_b = {
		name = "ACTIONNAME2609B" # No need for brutality
		command = { type = dissent value = 10 }
		command = { type = sleepevent which = 652008 } # Benes warns Stalin
	}
}


# The Great Officer Purge (Part 2 June 1937)

event = { 
	id = 2610
	random = no
	country = SOV

	trigger = { }
	
	name = "EVT_2610_NAME"
	desc = "EVT_2610_DESC"
	style = 0
	
	date = { day = 1 month = june year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2610A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2610B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}


# The Great Officer Purge (Part 3 August 1937)

event = { 
	id = 2611
	random = no
	country = SOV

	trigger = { }
	
	name = "EVT_2611_NAME"
	desc = "EVT_2611_DESC"
	style = 0
	
	date = { day = 1 month = august year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2611A" # Purge the traitors!
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2611B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}


#  The Great Officer Purge (Part 4 November 1937)

event = { 
	id = 2612
	random = no
	country = SOV

	trigger = { }
	
	name = "EVT_2612_NAME"
	desc = "EVT_2612_DESC"
	style = 0
	
	date = { day = 1 month = november year = 1937 }
	
	action_a = {
		name = "ACTIONNAME2612A" # Purge the traitors!
		command = { type = sleepminister which = 4010 } # Alksnis 
		command = { type = sleepleader which = 10341 } #Alksnis
		command = { type = sleepleader which = 9889 } # Yegorov
		
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = sleepleader which = -2 }
		command = { type = manpowerpool value = -10 }
	}
	action_b = {
		name = "ACTIONNAME2612B" # No need for brutality
		command = { type = dissent value = 10 }
	}
}

#Andris:
#If not purged, AI should sleep these leaders sometime during Barbarossa, so that it doesn't use weak Field marshalls
#command = { type = sleepleader which = 9889 } # Yegorov, feb 1939
#command = { type = sleepleader which = 10274 } # Voroshilov/just as field commander Sept. 1941,
#command = { type = sleepleader which = 9846 } # Blyukher July, 1938
#command = { type = sleepleader which = 9858 } # Budyonny Sept. 1941
#command = { type = sleepleader which = 10018 } # Kulik, early Barbarossa 
#command = { type = sleepleader which = 10115 } # D.G. Pavlov, early Barbarossa, executed 

#command = { type = sleepleader which = 10215 } # Shtern 1941 purge
#command = { type = sleepleader which = 10382 } #Rychagov 1941 purge
#command = { type = sleepminister which = 4030 } # Rychagov 1941 Red Army Purge
#command = { type = sleepminister which = 4065 } # Rychagov 1941 Red Army purge
#command = { type = sleepminister which = 4064 } # Loktionov 1941 Red Army purge
#command = { type = sleepminister which = 4066 } # Smushkevich 
#command = { type = sleepleader which = 10386 } # Smushkevich 
#########################################################################
#
# event 2620 modified -> core_USSR.txt
#
#########################################################################

#########################################################################
#  The Finnish Winter War - Demands rejected
#########################################################################
event = { 
	id = 2621
	random = no
	country = SOV
	
	# Triggered by FIN 3200A
	
	name = "EVT_2621_NAME"
	desc = "EVT_2621_DESC"
	style = 0
		
	action_a = {
		name = "OK" # This means War!
		command = { type = war which = FIN }
		command = { type = addcore which = 787 }	# Viipuri
		command = { type = addcore which = 803 }	# Sortavala
	}
}

#########################################################################
#  The Finnish Winter War - Finland gives in
#########################################################################
event = { 
	id = 2622
	random = no
	country = SOV
	
	# Triggered by FIN 3200B
	
	name = "EVT_2622_NAME"
	desc = "EVT_2622_DESC"
	style = 0
		
	action_a = {
		name = "OK" # Excellent!
		command = { type = influence value = 3 }
		command = { type = access which = FIN }
		command = { type = addcore which = 787 }	# Viipuri
		command = { type = addcore which = 803 }	# Sortavala
		command = { type = trigger which = 1002037 } 
		}
}

#########################################################################
#  Spanish Civil War - Intervention
#########################################################################
event = { 
	id = 2623
	random = no
	country = SOV
	
	# Triggered by SPA 3001
	
	name = "EVT_2623_NAME"
	desc = "EVT_2623_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2623A" # Send materiel and volunteers
		command = { type = manpowerpool value = -30 }
		command = { type = supplies value = -2500 }
		command = { type = trigger which = 3102 } #SPR
		command = { type = trigger which = 3721 } #USA
	}
	#action_b = {
	#	name = "ACTIONNAME2623B" # Why support anarchist rabble?
	#	command = { type = dissent value = 5 }
	#}
}

#########################################################################
#  Sue for peace with the Germans
#########################################################################
### DELETED event id = 2624

#########################################################################
#  Sue for peace with the Germans (Japan wants a bigger slice)
#########################################################################
### DELETED event id = 2645

##########################################################################
#  The Bitter Peace - Japan is not Axis
##########################################################################
### DELETED event id = 2625

#############################################################################
#  The Bitter Peace - Japan is Axis (and thus get a bigger slice)
#############################################################################
### DELETED event id = 2646

#########################################################################
#  A Lend-Lease Shipment Arrives from the USA
#########################################################################
event = {
	id = 2626
	random = no
	country = SOV
	persistent = yes
	
	# Triggered by USA 3703. NOTE: May be triggered several times.
	
	name = "EVT_2626_NAME"
	desc = "EVT_2626_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 7500 }
		command = { type = rubberpool value = 6000 }
		command = { type = steelpool value = 6000 }
		command = { type = coalpool value = 6000 }
	}
}

#########################################################################
#  Germany Invades Poland without our Blessing!
#########################################################################
event = { 
	id = 2650
	random = no
	country = SOV
	
	# Triggered by GER 2050
	
	name = "EVT_2650_NAME"
	desc = "EVT_2650_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2650A" # We shall never forget this!
		command = { type = dissent value = 10 }
		#	command = { type = hate which = GER value = 15 } #TODO_add the commands and system#
	}
	action_b = {
		name = "ACTIONNAME2650B" # This means war!
		command = { type = war which = GER }
	}
}



#------------------------------------------------------------------------
#----------------------- MODIFIED FROM USSR.TXT -------------------------
#------------------------------------------------------------------------
#########################################################################
#  The Finnish Winter War
#########################################################################
event = { 
	id = 2620
	random = no
	country = SOV
	
	trigger = {
		exists = FIN
		atwar = no
		war = { country = GER country = ENG } 
		
		OR = {
			war = { country = GER country = POL } 
			NOT = { exists = POL }
		}
 
		NOT = {
			war = { country = FIN country = SOV }
			war = { country = GER country = SOV }
			alliance = { country = FIN country = SOV }
			alliance = { country = FIN country = ENG }
			alliance = { country = FIN country = GER }
				
			#Soviets control all 3 provinces already
			AND = { 
				control = { province = 787 data = SOV } 	#Viipuri
				control = { province = 803 data = SOV } 	#Sortavala
				control = { province = 821 data = SOV } 	#Petsamo
			}

			ispuppet = FIN
			ispuppet = SOV
			
		}
	}
	
	name = EVT_2620_NAME
	desc = EVT_2620_DESC
	style = 0
	
	date = { day = 13 month = november year = 1939 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = march year = 1941 }
	
	action_a = {
		name = ACTIONNAME2620A # Press claims
		command = { type = trigger which = 222040 } #Mainila Shots
	}
	action_b = {
		name = ACTIONNAME2620B # Leave them be
		command = { }
	}
}


#------------------------------------------------------------------------
#-------------------- END MODIFIED FROM USSR.TXT ------------------------
#------------------------------------------------------------------------

###########################################################
#············· SOVIET EVENTS ·············#
#············ POLISH MANPOWER ············#
###########################################################

#########################################################################
#  Vlasov defects
#  222000
#########################################################################
event = {
	id = 222000
	random = no
	country = SOV
	trigger = {
		# Vlasov captured
		control = { province = 775 data = GER } #Kiev
		random = 70	
		}
	name = CEVTNAME_222000
	desc = CEVTDESC_222000
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 30
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222000
		command = { type = sleepleader which = 10269 } #Vlasov
	}
}

#########################################################################
#  Minor victory at Nomonhan village
#########################################################################
event = { 
	id = 222002
	random = no
	country = SOV
	
	# Triggered by PAN 492000B
	
	name = CEVTNAME_222002
	desc = CEVTDESC_222002
	style = 0
	
	action_a = {
		name = CEVTACTA_222002
            	command = { type = dissent value = -2 }		# A great victory is good for morale!
		command = { type = influence value = 2 }	# our nation is respected and the army is ready to back our policy
           	command = { type = manpowerpool value = -2 }	# some casualties
           	command = { type = supplies value = -100 }	# equipment lost and ammo used
	}
        action_b = {
                name = CEVTACTB_222002
                command = { type = dissent value = -1 }		# A victory
                command = { type = manpowerpool value = -42 }	# some casualties (2) and men committed to offensive
                command = { type = supplies value = -1500 }	# equipment lost and ammo used, also committed to new offensive
	}

}


#########################################################################
#  Border clash with Japanese troops (SOV)
#########################################################################
event = { 
	id = 222003
	random = no
	country = SOV
	
	# Triggered by PAN 492093
	
	name = CEVTNAME_222003
	desc = CEVTDESC_222003
	style = 0
	
	action_a = {
		name = CEVTACTA_222003
		command = { }
	}
}

#########################################################################
#  Install Mass Combat Minister in USSR 
#  222004
#  ·Event done by N!ghty, modified by Generalisimo·
#########################################################################
event = { 
id = 222004
random = no 
country = SOV 

name = CEVTNAME_222004
desc = CEVTDESC_222004
style = 0 

trigger = {
	technology = 4405 # Small Arms
	minister = 4007 #Tukhachevsky (if not executed in Great Purge)
	}

date = { day = 1 month = july year = 1939 } 
offset = 15 
deathdate = { day = 30 month = december year = 1947 } 

action_a = { 
	name = CEVTACTA_222004
	command = { type = chiefofstaff which = 4051 } # Boris M. Shaposhnikov
	} 
#action_b = { 
#	name = CEVTACTB_222004
#	command = { } 
#	} 
}


###########################################################
# 222006 - Sikorski-Mayski agreement (by Halibutt)
###########################################################

event = { 
id = 222006
random = no
country = SOV
trigger = {
		war = { country = SOV country = GER }
		war = { country = ENG country = GER }
	NOT = { 
		OR = {
			war = { country = SOV country = ENG }
			exists = POL
			}
		}
		random = 20 # added
	}

	name = CEVTNAME_222006
	desc = CEVTDESC_222006
	style = 0

	date = { day = 1 month = march year = 1938 }
	offset = 21 # Check for trigger conditions every 21 days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 100 }
		command = { type = supplies value = 500 }
		command = { type = industry which = 1393 value = -1 } #Omsk
		command = { type = industry which = 1636 value = -1 } #Yakutsk
		command = { type = industry which = 1430 value = -1 } #Alma-Ata
		command = { type = industry which = 822 value = -1 }  #Murmansk
		command = { type = trigger which = 222007 } #SOV - the evacuation
	}
	action_b = {
		name = CEVTACTB_222006
		command = { type = industry which = 822 value = 5 } #Murmansk 
	}
}

###########################################################
# Polish army evacuation to Middle East 
# by Halibutt and Copper Nicus
###########################################################


event = { 
	id = 222007
	
	# Triggered by SOV 222006 Sikorski - Mayski agreement

	random = no
	country = SOV
	name = CEVTNAME_222007
	desc = CEVTDESC_222007
	style = 0
	
	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = -100 }
		command = { type = supplies value = -750 }
		command = { type = trigger which = 272003 } #ENG Anders
	}
	action_b = {
		name = CEVTACTB_222007
		command = { type = manpowerpool value = 20 }
		command = { type = supplies value = -750 }
		command = { type = add_division which = infantry value = 1 } # artillery
		command = { type = add_division which = infantry value = 1 }
		command = { type = add_division which = infantry value = 1 }
		command = { type = add_division which = infantry value = 2 } # antitank
		command = { type = add_division which = infantry }
		command = { type = trigger which = 222011 } #SOV, Berling army trigger
		}
}


###########################################################
# Polish army in the USSR - 1 
# by Halibutt
###########################################################

event = { 
	id = 222008
	random = no
	country = SOV
	
	# Triggered by SOV 222007 Sikorski - Mayski agreement action_b
	trigger = {
		event = 222011
		random = 5 # added
	}	

	name = CEVTNAME_222008
	desc = CEVTDESC_222008
	style = 0

	date = { day = 1 month = january year = 1938 }
	offset = 30 # Should fire 1 year after SOV 222007
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = -25 }
		command = { type = supplies value = -500 }
		command = { type = add_division which = infantry value = 1 }
		command = { type = add_division which = infantry value = 1 }
	}
}

###########################################################
# Polish army in the USSR - 2 
# by Halibutt
###########################################################

event = { 
	id = 222009
	random = no
	country = SOV
	
	# Triggered by SOV 222008 Berling army 1
trigger = {
	event = 222008
	random = 10 # added
	}
	
	name = CEVTNAME_222009
	desc = CEVTDESC_222008
	style = 0

	date = { day = 1 month = january year = 1938 }
	offset = 30 #Should fire 1/2 year after SOV 222008
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = -25 }
		command = { type = supplies value = -500 }
		command = { type = add_division which = infantry }
		command = { type = add_division which = infantry value = 2 } # should be antiair
	}
}

###########################################################
# Polish army in the USSR - 3 
# by Halibutt
###########################################################

event = { 
	id = 222010
	random = no
	country = SOV
	
	# Triggered by SOV 222008 Berling army 2
trigger = {
	event = 222009
	random = 10 # added
	}
	
	name = CEVTNAME_222010
	desc = CEVTDESC_222008
	style = 0

	date = { day = 1 month = january year = 1938 }
	offset = 30 #Should fire 1/2 year after SOV 222009
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = -25 }
		command = { type = supplies value = -500 }
		command = { type = add_division which = infantry }
		command = { type = add_division which = infantry }
		command = { type = add_division which = infantry }
		command = { type = add_division which = infantry }
	}
}

###########################################################
# Polish army in the USSR TRIGGER
# by Generalisimo
###########################################################

event = { 
	id = 222011
	random = no
	country = SOV
	
	# Triggered by SOV 222007 Sikorski - Mayski agreement
	
	name = CEVTNAME_222011
	desc = CEVTDESC_222008
	style = 0

	action_a = {
		name = CEVTACTA_Ok # Long live the Soviet Union!
		command = { }
	}
}

###########################################################
#·········· END SOVIET EVENTS ············#
#············ POLISH MANPOWER ············#
###########################################################

####################################################
# Vilnius to Lithuania?
# by Copper Nicus
####################################################

event = { 
	id = 222012
	random = no 
	country = SOV

trigger = { 
	event = 2013 # Mol-Rib Pact Historical outcome
	event = 2604 # SOV had received the polish provinces
	exists = LIT
	NOT = {
		OR = {
			alliance = { country = GER  country = LIT }
			alliance = { country = ENG  country = LIT }
			war = { country = SOV  country = LIT }
			war = { country = SOV  country = GER }
			war = { country = SOV  country = ENG }
			}
		}
	}

name = CEVTNAME_222012
desc = CEVTDESC_222012
style = 0

date = { day = 1 month = january year = 1936 }
offset = 30 
deathdate = { day = 30 month = december year = 1947 }

action_a = {
	name = CEVTACTA_222012
	command = { type = secedeprovince which = LIT value = 716 }
	command = { type = addcore which = 716 }
	command = { type = trigger which = 702027 }
	}
action_b = {
	name = CEVTACTB_222012
	command = { }
	}
}

###########################################################
# SOV-Send military advisors and tech support to SPR
# by nachinus
###########################################################


event = {
	id = 222013 # 
	trigger = {
		atwar = no
		war = { country = SPA country = SPR }
		event = 3102 #SPR receives SOV supplies
		NOT = {
			OR = {
				alliance = { country = ENG country = SPR }
				alliance = { country = SOV country = SPA }
				alliance = { country = USA country = SPR }
				
				}
			}
		}
	random = no
	country = SOV
	name = CEVTNAME_222013
	desc = CEVTDESC_222013
	style = 0

	date = { day = 1 month = october year = 1936 }
	offset = 30 # Check for trigger conditions every 30 days
	deathdate = { day = 30 month = october year = 1939 }

	action_a = {
		name = CEVTACTA_222013
		command = { type = supplies value = -200 }
		command = { type = trigger which = 802006 } #SPR gets russian advisors and tech support
	}
	action_b = {
		name = CEVTACTB_222013
		command = { type = alignment which = fascist value = 2 }
		command = { type = influence value = -2 }
	}
}

###########################################################
# SOV- Arrival Of Republican Refugees
# by nachinus
###########################################################

event = {
	id = 222014 # 50131
	trigger = {
		atwar = no

		NOT = {
			OR = {
				alliance = { country = SOV country = GER }
				alliance = { country = SOV country = ITA }
				alliance = { country = SOV country = SPA }
				exists = SPR
				}
			}
		}
	random = no
	country = SOV
	name = CEVTNAME_222014
	desc = CEVTDESC_222014
	style = 0

	date = { day = 18 month = july year = 1936 }
	offset = 7 # Check for trigger conditions every 7 days
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222014
		command = { type = supplies value = -100 }
		command = { type = manpowerpool value = 4 }
		}
	action_b = {
		name = CEVTACTB_222014
		command = { type = alignment which = communist value = -1 }
		command = { type = dissent value = 2 }
		command = { type = manpowerpool value = 15 }
		command = { type = supplies value = -300 }
	}
	action_c = {
		name = CEVTACTC_222014
		command = { type = alignment which = fascist value = 5 }
		command = { type = alignment which = communist value = -3 }
		command = { type = dissent value = 3 }
		command = { type = influence value = -4 }
		}
}

##################################################
# Soviestskij Sojuz - USSR naval programme
# by Barrabas & Copper Nicus. Modified by MateDow
##################################################

event = {

	id = 222015
	random = no
	country = SOV
	trigger = {
		atwar = no
		oil = 15000
		steel = 15000
		coal = 15000
		}

	name = CEVTNAME_222015
	desc = CEVTDESC_222015
	style = 0

	date = { day = 1 month = may year = 1937 }
	offset = 10
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222015
		command = { type = coalpool value = -10000 } # Shipyards
		command = { type = oilpool value = -10000 } # More shipyards
		command = { type = steelpool value = -10000 } # Guess what? Shipyards!
		command = { type = industry which = -1 value = -1 } # Industry permanently redirected to project
		command = { type = industry which = -1 value = -1 }
		command = { type = industry which = -1 value = -1 }
		command = { type = industry which = -1 value = -1 }
		command = { type = industry which = -1 value = -1 }
		command = { type = dissent value = 2 } # Land leaders are angry
		}

	action_b = {
		name = CEVTACTB_222015
		command = { type = sleepevent which = 462076 } #Italian Naval Tech Event
		command = { type = sleepevent which = 322097 } #US- Soviet Naval Tech Event
		command = { type = sleepevent which = 172162 } #German- Soviet Naval Tech Event
		command = { type = sleepevent which = 652031 } #Swiss- Soviet Naval Tech Event
		command = { type = sleepevent which = 222016 } #Italy Shares Naval Tech
		command = { type = sleepevent which = 222062 } #Italy Refuses Naval Tech
		command = { type = sleepevent which = 222063 } #Germany Shares Naval Tech
		command = { type = sleepevent which = 222064 } #Germany Refuses Naval Tech
		command = { type = sleepevent which = 222065 } #US Shares Naval Tech
		command = { type = sleepevent which = 222066 } #US Refuses Naval Tech
		command = { type = sleepevent which = 222067 } #Swiss Share Naval Tech
		command = { type = sleepevent which = 222068 } #Swiss Refuse Naval Tech
		}
}


###############################################################
# Italian Share Tech Event
# Concept by Barrabas and Copper Nicus
# by MateDow
###############################################################

event = {

	id = 222016
	random = no
	country = SOV
	trigger = {
		event = 462076
		}


	name = CEVTNAME_222016
	desc = CEVTDESC_222016
	style = 0

	date = { day = 1 month = june year = 1937 }
	offset = 10
	deathdate = { day = 30 month = december year = 1937 }

	action_a = {
		name = CEVTACTA_222016
		command = { type = gain_tech which = 6300 }
		command = { type = gain_tech which = 6400 }
		command = { type = gain_tech which = 6514 }
		command = { type = gain_tech which = 6515 }
		command = { type = gain_tech which = 6516 }
		}
}

#########################################################################
#  222017 - Man of Steel, End of Yagoda (by Copper Nicus)
#########################################################################

event = { 
	id = 222017
	random = no 
	country = SOV 
	trigger = {
		random = 70
	 }

	name = CEVTNAME_222017
	desc = CEVTDESC_222017
	style = 0 

	date = { day = 1 month = april year = 1937 }
	offset = 15 
	deathdate = { day = 30 month = december year = 1939 } 

	action_a = { 
		name = CEVTACTA_222017
		command = { type = sleepminister which = 4005 } # Yagoda leaves the building
		command = { type = ministerofsecurity which = 4039 } # Yezhov is new minister
 	} 
	action_b = { 
		name = CEVTACTB_222017
		command = { type = sleepevent which = 222018 } # End of Yezhov
	} 
}

#########################################################################
#  222018 - Man of Steel, End of Yezhov (by Copper Nicus)
#########################################################################

event = { 
	id = 222018
	random = no 
	country = SOV 
	trigger = {
		random = 70
		event = 222017
		#Andris: Need to add alternate trigger, in case Yagoda is still minister
	 }

	name = CEVTNAME_222018
	desc = CEVTDESC_222018
	style = 0 

	date = { day = 1 month = april year = 1939 }
	offset = 15 
	deathdate = { day = 30 month = december year = 1939 } 

	action_a = { 
		name = CEVTACTA_222018
		command = { type = sleepminister which = 4031 } # Yezhov - Head of State
		command = { type = sleepminister which = 4032 } # Yezhov - Head of gov
		command = { type = sleepminister which = 4039 } # Yezhov - minister
		command = { type = sleepminister which = 4045 } # Yezhov - minister
		command = { type = ministerofsecurity which = 4041 } # Beria is the new minister
 	} 
	action_b = { 
		name = CEVTACTB_222018
		command = { } 
	} 
}

#########################################################################
#  222096 - Molotov replaces Litvinov
#########################################################################

event = { 
	id = 222096
	random = no 
	country = SOV 
	trigger = {
		headofgovernment = 4002 #Stalin
		minister = 4003
	 }

	name = "Molotov replaces Litvinov"
	desc = "On May 3, 1939, Stalin replaced Litvinov with Vyacheslav Molotov as foreign minister. This marked a change in Soviet foreign policy. Litvinov had been heavily Pro-Western, and sought an alliance with Britain and France. His replacement was open to a treaty with Nazi Germany, and so it was that on August 23, 1939, Germany and the Soviet Union signed the Molotov-Ribbentrop Pact as a prelude to WWII."

	style = 0 

	date = { day = 1 month = may year = 1939 }
	offset = 15 
	deathdate = { day = 30 month = december year = 1939 } 

	action_a = { 
		name = OK
		command = { type = foreignminister which = 4034 } # Molotov 
 	} 

	#action_b = { 
	#		name = CEVTACTB_222018
	#		command = { }
	#} 
}


##################################################
# 222021 - Leon Trotsky Assasination (by Copper Nicus)
##################################################

event = {
	id = 222021
	random = no
	country = SOV
	trigger = {
		exists = SOV
		headofgovernment = 4002
	}

	name = CEVTNAME_222021
	desc = CEVTDESC_222021
	style = 0 

	date = { day = 1 month = august year = 1940 } # Fixed date?

	action_a = {
		name = CEVTACTA_222021
		command = { type = dissent value = -1 }
		command = { type = influence value = -5 } # Diplomatic scandal
		command = { type = trigger which = 602003  } # MEX reaction
		command = { type = trigger which = 322033 } # USA reaction
	}
	action_b = {
		name = CEVTACTB_222021
		command = { type = dissent value = 1 } # It's against oficial propaganda
	}
}

##########################################################################
#Gaining Allied Access To Persia  (by OHgamer)
##########################################################################

# 222022 - Soviets Decide To Act 

event = { 
            id = 222022
            random = no
            country = SOV
 
            #Triggered by ENG 272035A

            name = CEVTNAME_222022
            desc = CEVTDESC_222022
            style = 0 

            action_a = {
                        name = CEVTACTA_222022
                        command = { type = trigger which = 902040 }
                        }

            action_b = { 
                        name = CEVTACTB_222022
                        command = { type = trigger which = 272036 }
                        }
}

# 222023 - USSR goes to war with Persia? 

event = { 
            id = 222023
            random = no
            country = SOV

            #Triggered by ENG 272037A

            name = CEVTNAME_222023
            desc = CEVTDESC_222023
            style = 0 

            action_a = {
                        name = CEVTACTA_222023
                        command = { type = war which = PER }
			command = { type = dissent value = -10 } # No dissent from this war
                        command = { type = trigger which = 902041 }
                        }

            action_b = { 
                        name = CEVTACTB_222023
                        command = { type = trigger which = 902041 }
                        }
}


# 222024 - Restoring Persia's Territorial Integrity : Soviet 

event = { 
            id = 222024
            random = no
            country = SOV

            #Triggered by PER 902041B

            name = CEVTNAME_222024
            desc = CEVTDESC_222024
            style = 0 

            action_a = {
                        name = CEVTACTA_222024
                        command = { type = secedeprovince which = PER value = 1358 }
                        command = { type = secedeprovince which = PER value = 1362 }
                        command = { type = secedeprovince which = PER value = 1357 }
                        command = { type = secedeprovince which = PER value = 1350 }
                        command = { type = secedeprovince which = PER value = 1413 }
                        command = { type = secedeprovince which = PER value = 1407 }
                        command = { type = secedeprovince which = PER value = 1410 }
                        command = { type = secedeprovince which = PER value = 1412 }
                        command = { type = secedeprovince which = PER value = 1361 }
                        command = { type = secedeprovince which = PER value = 1411 }
                        command = { type = secedeprovince which = PER value = 1364 }
                        command = { type = secedeprovince which = PER value = 1406 }
                        command = { type = secedeprovince which = PER value = 1356 }
                        command = { type = secedeprovince which = PER value = 1363 }
                        command = { type = secedeprovince which = PER value = 1414 }
                        }

            action_b = { 
                       	name = CEVTACTB_222024
                    	command = { type = influence value = -20 }
			command = { type = dissent value = 1 } # some people are angry
                       }
}

#########################################################################
# 222025 - Chasan Lake Incident (by Copper Nicus)
#########################################################################
event = { 
	id = 222025 
	random = no
	country = SOV

	trigger = {
		exists = MAN
		
		OR = {
			control = { province = 1554 data = PAN } # Hailar
			control = { province = 1554 data = MAN } # Hailar switched to Manchukuo for IC build (AI)
		}
		control = { province = 1548 data = U03 } # Hohhot - Inner Mongolia
		
		NOT = {
			war = { country = PAN country = SOV }
		}
	} 

	name = CEVTNAME_222025
	desc = CEVTDESC_222025
	style = 0

	date = { day = 6 month = july year = 1938 }

	action_a = {
		name = CEVTACTA_222025
		command = { type = sleepleader which = 9846 } # Blyukher
	}
	action_b = {
		name = CEVTACTB_222025
		command = { }
	}
}
#########################################################################
# 222026 - All soldiers are needed (by Copper Nicus)
#########################################################################
event = { 
id = 222026 
random = no
country = SOV

trigger = {
	war = { country = GER country = SOV }
	}


name = CEVTNAME_222026
desc = CEVTDESC_222026
style = 0

date = { day = 1 month = november year = 1939 } # At least 2 years in prison
offset = 30 # Check for trigger conditions every 30 days
deathdate = { day = 30 month = december year = 1947 } 

action_a = {
	name = CEVTACTA_222026
	command = { type = manpowerpool value = 100 } # Gulag prisoners
	command = { type = dissent value = -2 } # people are relased from prison
	}
action_b = {
	name = CEVTACTB_222026
	command = { }
	}
}

##############################################################
# 222030 - Soviet war doctrine, End of Stalin's Line (by Copper Nicus)
##############################################################
event = { 
id = 222030
random = no
country = SOV

trigger = {
	event = 2604 # Eastern Poland seceded to USSR
	atwar = no # If at war, then forts will stay
	}

name = CEVTNAME_222030
desc = CEVTDESC_222030
style = 0 

date = { day = 1 month = september year = 1939 }
offset = 10 # Check every 10 days
deathdate = { day = 1 month = june year = 1940 }

action_a = { 
	name = CEVTACTA_222030
	command = { type = manpowerpool value = 10 } # Soldiers from forts
	command = { type = supplies value = 2000 } # Supplies removed from forts
	command = { type = land_fort which = 778 value = -3 }
	command = { type = land_fort which = 774 value = -3 }
	command = { type = land_fort which = 766 value = -3 }
	command = { type = land_fort which = 773 value = -3 }
	command = { type = land_fort which = 775 value = -3 }
	command = { type = land_fort which = 772 value = -3 }
	command = { type = land_fort which = 778 value = -3 }
	command = { type = land_fort which = 784 value = -3 }
	command = { type = land_fort which = 785 value = -3 }
	command = { type = land_fort which = 791 value = -3 }
	command = { type = land_fort which = 764 value = -3 }
	command = { type = land_fort which = 769 value = -3 }
	}

action_b = { 
	name = CEVTACTB_222030
	command = { type = manpowerpool value = -20 } # More people to forts
	command = { type = dissent value = 2 } # Officers corps is not happy
	command = { type = steelpool value = -2000 } # maintenance
	command = { type = supplies value = -3000 } # maintenance
	}
}

#############################################################
# 222029 - SCW: SPR surrenders, the war is lost (by nachinus)
#############################################################
event = {
	id = 222029
	random = no
	country = SOV

	trigger = {
		war = { country = SOV country = SPA }
		NOT = {
		exists = SPR
		war = { country = SOV country = GER } #TO avoid problems with the peace command
		war = { country = SOV country = ITA } #TO avoid problems with the peace command
		war = { country = SOV country = PAN } #TO avoid problems with the peace command
		war = { country = SOV country = FIN } #TO avoid problems with the peace command
		war = { country = SOV country = CHI } #TO avoid problems with the peace command
		event = 5308 #Bitter peace
		event = 5309 #Bitter peace
		event = 5310 #Not so Bitter peace
		event = 5311 #Not so Bitter peace
		event = 5320 #White Russia
		event = 5332 #Germany sues for peace
		event = 5333 #Germany sues for peace
		}

	}

	name = CEVTNAME_222029
	desc = CEVTDESC_222029
	style = 0 

	date = { day = 20 month = july year = 1936 }
	offset = 4 
	deathdate = { day = 30 month = december year = 1940 } 

	action_a = {
		name = CEVTACTA_222029
		command = { type = influence value = -5 } 
		command = { type = peace which = SPA value = 0 }
		command = { type = secedeprovince which = SPA value = 952 } #Restore SPA national integrity
		command = { type = secedeprovince which = SPA value = 954 }
		command = { type = secedeprovince which = SPA value = 953 } 
		command = { type = secedeprovince which = SPA value = 969 }
		command = { type = secedeprovince which = SPA value = 970 }
		command = { type = secedeprovince which = SPA value = 956 } 
		command = { type = secedeprovince which = SPA value = 959 }
		command = { type = secedeprovince which = SPA value = 957 }
		command = { type = secedeprovince which = SPA value = 966 } 
		command = { type = secedeprovince which = SPA value = 967 }
		command = { type = secedeprovince which = SPA value = 978 }
		command = { type = secedeprovince which = SPA value = 972 } 
		command = { type = secedeprovince which = SPA value = 980 }
		command = { type = secedeprovince which = SPA value = 971 }
		command = { type = secedeprovince which = SPA value = 981 } 
		command = { type = secedeprovince which = SPA value = 996 }
		command = { type = secedeprovince which = SPA value = 983 }
		command = { type = secedeprovince which = SPA value = 977 } 
		command = { type = secedeprovince which = SPA value = 987 } 
		command = { type = secedeprovince which = SPA value = 988 }
		command = { type = secedeprovince which = SPA value = 991 }
		command = { type = secedeprovince which = SPA value = 995 } 
		command = { type = secedeprovince which = SPA value = 990 }
		command = { type = secedeprovince which = SPA value = 997 }
		command = { type = secedeprovince which = SPA value = 1000 } 
		command = { type = secedeprovince which = SPA value = 998 } 
		command = { type = secedeprovince which = SPA value = 1017 }
		command = { type = secedeprovince which = SPA value = 1018 }
		command = { type = secedeprovince which = SPA value = 1019 } 
		command = { type = secedeprovince which = SPA value = 1020 }
		command = { type = secedeprovince which = SPA value = 941 }
		command = { type = secedeprovince which = SPA value = 1009 } 
		command = { type = secedeprovince which = SPA value = 1027 }
		command = { type = secedeprovince which = SPA value = 1121 } 
	}
	action_b = {
		name = CEVTACTB_222029
		command = { type = dissent value = 10 } 
	}
}

##########################################################
## Bolivia and the SOV
##########################################################
event = {
id = 222038
random = no
country = SOV

name = CEVTNAME_222038
desc = CEVTDESC_222038

style = 0

action_a = { name = CEVTACTA_OK
		 command = { type = steelpool value = 5000 } # simulates tin going to SOV
		}
}

#########################################################################
# 222039 - Forced Peace with Orthodox Church (by Copper Nicus)
#########################################################################
event = { 
id = 222039
random = no
country = SOV

trigger = {
random = 30
war = { country = GER country = SOV }
OR = {
	control = { province = 778 data = GER } # Minsk
	control = { province = 768 data = GER } # Odessa
	control = { province = 715 data = GER } # Kaunas
	control = { province = 785 data = GER } # Pskov
	control = { province = 791 data = GER } # Novgorod
	}
}


name = CEVTNAME_222039
desc = CEVTDESC_222039

style = 0

date = { day = 1 month = january year = 1936 } 
offset = 20 # Check for trigger conditions every 5 days
deathdate = { day = 30 month = december year = 1947 } 

action_a = {
	name = CEVTACTA_222039
	command = { type = manpowerpool value = 80 } # More recruits
	command = { type = dissent value = -3 }
	}

action_b = {
	name = CEVTACTB_222039
	command = { } 
	}
}

#########################################################################
#  222056 - Warsaw Uprising - Stalin's reaction (by Copper Nicus)
#########################################################################

event = {
	id = 222056
	random = no
	country = SOV

	trigger = {
		event = 272096 # Uprising!
		war = { country = POL country = GER }
		war = { country = SOV country = GER }
		control = { province = 643 data = POL } # Warsaw is still free!
		}

	name = CEVTNAME_222056
	desc = CEVTDESC_222056

	style = 0

	date = { day = 3 month = may year = 1943 }
	offset = 5
	deathdate = { day = 30 month = december year = 1947 }


	action_a = {
		name = CEVTACTA_222056
		command = { }
	}
	action_b = {
		name = CEVTACTB_222056
		command = { type = supplies value = -500 } # Costs of operation
		command = { type = influence value = 2 } # World is impressed
		command = { type = trigger which = 702068 } # Soviet support
	}
	action_c = {
		name = CEVTACTC_222056
		command = { type = supplies value = -2000 } # Costs of operation
		command = { type = manpowerpool value = -5 } # Losses
		command = { type = influence value = 5 } # World is really impressed
		command = { type = trigger which = 702069 } # Paradrop on Warsaw
		command = { type = access which = POL }
	}
}

################################################################
# Italians Refuse Naval Tech Event
# Concept by Barrabas and Copper Nicus
# by MateDow
################################################################

event = {

	id = 222062
	random = no
	country = SOV
	trigger = {
		event = 462076
		}

	name = CEVTNAME_222062
	desc = CEVTDESC_222062
	style = 0

	date = { day = 20 month = may year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { }
		}
}

##################################################################
# Germans Share Tech Event
# Concept by Barrabas and Copper Nicus
# by MateDow
##################################################################

event = {

	id = 222063
	random = no
	country = SOV
	trigger = {
		event = 172162
		}

	name = CEVTNAME_222063
	desc = CEVTDESC_222063
	style = 0

	date = { day = 1 month = june year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { type = gain_tech which = 6300 }
		command = { type = gain_tech which = 6400 }
		command = { type = gain_tech which = 6529 }
		command = { type = gain_tech which = 6530 }
		command = { type = gain_tech which = 6531 }
		}
}

##################################################################
#  Germans Refuse Naval Tech Event
#  Concept by Barrabas and Copper Nicus
#  by MateDow
##################################################################

event = {

	id = 222064
	random = no
	country = SOV
	trigger = {
		event = 172162
		}

	name = CEVTNAME_222064
	desc = CEVTDESC_222064

	date = { day = 25 month = may year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { }
		}
}

################################################################
# Americans Share Naval Tech Event
# Concept by Barrabas and Copper Nicus
# by MateDow
################################################################

event = {

	id = 222065
	random = no
	country = SOV
	trigger = {
		event = 322097
		}

	name = CEVTNAME_222065
	desc = CEVTDESC_222065
	style = 0

	date = { day = 25 month = may year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { type = gain_tech which = 6300 }
		command = { type = gain_tech which = 6400 }
		command = { type = gain_tech which = 6521 }
		command = { type = gain_tech which = 6522 }
		command = { type = gain_tech which = 6210 }
		}
}

#################################################################
# Americans Refuse to Share Naval Technology Event
# Concept by Barrabas and Copper Nicus
# by MateDow
#################################################################

event = {

	id = 222066
	random = no
	country = SOV
	trigger = {
		event = 322097
		}

	name = CEVTNAME_222066
	desc = CEVTDESC_222066
	style = 0

	date = { day = 15 month = may year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { }
		}
}

#################################################################
# Swiss Share Naval Technology Event
# Concept by Barrabas and Copper Nicus
# by MateDow
#################################################################

event = {

	id = 222067
	random = no
	country = SOV
	trigger = {
		event = 652031
		}

	name = CEVTNAME_222067
	desc = CEVTDESC_222067
	style = 0

	date = { day = 20 month = june year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { type = gain_tech which = 6300 }
		command = { type = gain_tech which = 6400 }
		command = { type = gain_tech which = 6514 }
		command = { type = gain_tech which = 6517 }
		}
}

################################################################
# Swiss Refuse to Share Naval Technology Event
# Concept by Barrabas and Copper Nicus
# by MateDow
################################################################

event = {

	id = 222068
	random = no
	country = SOV
	trigger = {
		event = 652031
		}

	name = CEVTNAME_222068
	desc = CEVTDESC_222068
	style = 0

	date = { day = 1 month = june year = 1937 }
	offset = 5
	deathdate = { day = 30 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_222062
		command = { }
		}
}


################################################################
###USSR moves its capital to the Kujbyshev when in danger
################################################################

event = {
	id = 222091
	random = no
	country = SOV
	
                trigger = { 

                war = { country = GER country = SOV }

                NOT = {   
                           control = { province = 845 data = SOV } # Kalinin 
                           control = { province = 852 data = SOV } # Kaluga 
                           control = { province = 853 data = SOV } # Tula
                          }                             
                      }

	name = CEVTNAME_222091
	desc = CEVTDESC_222091
        style = 0

	date = { day = 1 month = january year = 1939 }
	offset = 3
	deathdate = { day = 1 month = december year = 1946 }

	action_a = {
		name = CEVTACTA_222091
                command = { type = capital which = 1373 } # Kujbyshev
		command = { type = industry which = 1373 value = 15 } # Kujbyshev
		command = { type = industry which = 846 value = -15 } # Moscov
		command = { type = dissent value = -5 } # Big propaganda success
		command = { type = setflag  which = kujbyshev } # capital moved
             }
	action_b = {
		name = CEVTACTB_222091
                command = { type = capital which = 1373 } # Kujbyshev
		command = { type = industry which = 1373 value = 15 } # Kujbyshev
		command = { type = industry which = 846 value = -15 } # Moscov
		command = { type = dissent value = 10 } # Morale drops
		command = { type = setflag  which = kujbyshev } # capital moved
             }
	action_c = {
		name = CEVTACTC_222091
		command = { type = dissent value = -2 } # Discipline
		command = { type = add_division which = militia when = 846 } # Opolcheniye
		command = { type = add_division which = militia when = 846 }
		command = { type = add_division which = militia when = 846 }
		command = { type = add_division which = militia when = 846 }
		command = { type = add_division which = militia when = 846 }
             }
	}

################################################################
###USSR moves its capital back
################################################################

event = {
	id = 222092
	random = no
	country = SOV
	
                trigger = { 

		random = 30 # not at once

		flag = kujbyshev # capital was moved

                war = { country = GER country = SOV }
  
	              control = { province = 845 data = SOV } # Kalinin 
                      control = { province = 852 data = SOV } # Kaluga 
                      control = { province = 853 data = SOV } # Tula
                            
                       }

	name = CEVTNAME_222092
	desc = CEVTDESC_222092
        style = 0

	date = { day = 1 month = january year = 1939 }
	offset = 30
	deathdate = { day = 1 month = december year = 1946 }

	action_a = {
		name = CEVTACTA_GREAT
                command = { type = capital which = 846 } # Moscow
		command = { type = industry which = 1373 value = -15 } # Kujbyshev
		command = { type = industry which = 846 value = 15 } # Moscow
		command = { type = dissent value = -2 } # Rise of morale

             }
	}

#########################################################################
# Start Great Patriotic War (by Copper Nicus/Phil K)
#########################################################################

event = { 
	id = 222084
	random = no
	country = SOV

	trigger = {
		ai = yes # Bonus only for Soviet AI
		war = { country = GER country = SOV }
		
		#Andris: May need to add a different trigger based on % of lost provinces

		# Germany holds one province from each of these areas:

		OR = {  #Eastern Polish Provinces and Latvia/Lithuania
				control = { province = 725 data = GER } #Lwov
				control = { province = 725 data = ROM }
				control = { province = 725 data = HUN }
				control = { province = 725 data = SLO }
				control = { province = 719 data = GER } #Rowne
				control = { province = 719 data = ROM }
				control = { province = 719 data = HUN }
				control = { province = 719 data = SLO }
				control = { province = 721 data = GER } #Pinsk
				control = { province = 722 data = GER } #Brzesc
				control = { province = 718 data = GER } #Byalistok
				control = { province = 717 data = GER } #Grodno
				control = { province = 716 data = GER } #Wilno
				control = { province = 715 data = GER } #Kaunas
				control = { province = 714 data = GER } #Siauliai
				control = { province = 712 data = GER } #Liepaja
				control = { province = 713 data = GER } #Daugavapils
		}

		OR = {  #1936 Soviet Border Provinces
				control = { province = 788 data = GER } #Leningrad
				control = { province = 788 data = FIN }
				NOT = { control = { province = 791 data = SOV } } #Novgorod (Note: Novgorod also counts as secondary province)
				control = { province = 785 data = GER } #Pskov
				NOT = { control = { province = 784 data = SOV } } #Vitebsk (Note: Vitebsk also counts as secondary province)
				control = { province = 778 data = GER } #Minsk
				control = { province = 779 data = GER } #Mogilev
				control = { province = 772 data = GER } #Bobrujsk
				control = { province = 773 data = GER } #Mozyr
				control = { province = 774 data = GER } #Zjitomir
				control = { province = 774 data = ROM }
				control = { province = 766 data = GER } #Vinnytsa
				control = { province = 766 data = ROM }
				control = { province = 769 data = GER } #Kotovsk
				control = { province = 769 data = ROM }
				control = { province = 764 data = GER } #Odessa
				control = { province = 764 data = ROM }
				control = { province = 865 data = GER } #Dnepropetrovsk
				control = { province = 865 data = ROM } 
				control = { province = 770 data = GER } #Kirovograd
				control = { province = 770 data = ROM }

				control = { province = 822 data = GER } #Murmansk
				control = { province = 822 data = FIN }
				control = { province = 811 data = GER } #Kandalaksja
				control = { province = 811 data = FIN }
				control = { province = 807 data = GER } #Belomorsk
				control = { province = 807 data = FIN }
				control = { province = 804 data = GER } #Petrozavodsk
				control = { province = 804 data = FIN }

				NOT = { control = { province = 1222 data = SOV } } #Majkop
				NOT = { control = { province = 1220 data = SOV } } #Batumi
				NOT = { control = { province = 1258 data = SOV } } #Tbilisi
				NOT = { control = { province = 1260 data = SOV } } #Jerevan
				NOT = { control = { province = 1360 data = SOV } } #Kirovabad
				NOT = { control = { province = 1359 data = SOV } } #Baku
				
		}

		OR = {  #Secondary defensive line behind Dniepr and Daugeva Rivers + Vitebsk
							
				NOT = { control = { province = 791 data = SOV } } #Novgorod
				NOT = { control = { province = 783 data = SOV } } #Velikije Luki
				NOT = { control = { province = 784 data = SOV } } #Vitebsk
				NOT = { control = { province = 781 data = SOV } } #Smolensk
				NOT = { control = { province = 780 data = SOV } } #Gomel
				NOT = { control = { province = 776 data = SOV } } #Chernigov
				NOT = { control = { province = 775 data = SOV } } #Kiev
				NOT = { control = { province = 857 data = SOV } } #Kharkov
				NOT = { control = { province = 864 data = SOV } } #Donetsk
				NOT = { control = { province = 863 data = SOV } } #Stalino

				NOT = { control = { province = 794 data = SOV } } #Borovotiji
				NOT = { control = { province = 838 data = SOV } } #Severodvinsk 
				NOT = { control = { province = 793 data = SOV } } #Timojino
				NOT = { control = { province = 792 data = SOV } } #Tichvin
		}
		
	}

	name = CEVTNAME_222084
	desc = CEVTDESC_222084
	style = 0

	date = { day = 1 month = january year = 1939 } # After the purges
	offset = 20
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
		name = CEVTACTA_GREAT

		#Note: Only 1 of these will trigger, based on whether United Kingdom and/or United States are HP 
		command = { type = trigger which = 222301 } #SOV AI alone
		command = { type = trigger which = 222302 } #SOV AI with Allied HP	
	}

}

event = { 
	id = 222301 
	random = no
	country = SOV
		
	trigger = {
		ai = yes
		
		#Note: In SP, this event will trigger against all Axis, whether HP or AI 
		
		NOT = {
			flag = sov_global_eng_HumanPlayer 	#AI United Kingdom
			flag = sov_global_usa_HumanPlayer	#AI United States
		}
	}
	
	name = AI_EVENT
	desc = "Great Patriotic War for SOV AI alone"
	style = 0

	action_a = {		
		command = { type = gain_tech which = 11512 } # GPW Doctrine (SOV AI alone)
		command = { type = sleepevent which = 222302 }
	}
}

event = { 
	id = 222302 
	random = no
	country = SOV
		
	trigger = {
		ai = yes
		
		OR = {
			flag = sov_global_eng_HumanPlayer	#Human United Kingdom
			flag = sov_global_usa_HumanPlayer 	#Human United States
		}
	}
	
	name = AI_EVENT
	desc = "Great Patriotic War for SOV AI with Allied HP"
	style = 0

	action_a = {		
		command = { type = gain_tech which = 11532 } # GPW Doctrine (SOV AI with Allied HP)
		command = { type = sleepevent which = 222301 }
	}
}

#########################################################################
#  Soviet equipment to China
#########################################################################
event = { 
	id = 222028
	random = no
	country = SOV
	
	# Aid to China

	trigger = {
		war = { country = CHI country = PAN }
		
		OR = {	lost_national = { country = CHI value = 5 } #modified by Andris
			control = { province = 1563 data = PAN } #Beijing
			control = { province = 1698 data = PAN } #Shanghai
			AND = {
				control = { province = 1702 data = PAN } #Bobai
				control = { province = 1700 data = PAN } #Zhanjiang
				}
			}
		random = 10
	}

        date = { day = 1 month = april year = 1937 }
        offset = 10
	deathdate = { day = 29 month = december year = 1939 }

	
	name = CEVTNAME_222028
	desc = CEVTDESC_222028
	style = 0

	action_a = {
		name = CEVTACTA_222028
		command = { type = influence value = 2 }
		command = { type = supplies value = -5000 }
		command = { type = manpowerpool value = -1 }
	}
	action_b = {
		name = CEVTACTB_222028
		command = { type = influence value = -2 }
		command = { type = sleepevent which = 522014 }
		command = { type = sleepevent which = 522015 }
	}
}

#########################################################################
#  The End of Tannu Tuva (USSR)
#########################################################################
event = { 
	id = 222001
	random = no
	country = SOV
	
	# Historical event November 1944
	
	name = CEVTNAME_222001
	desc = CEVTDESC_222001
	style = 0

	trigger = {
                exists = TAN
                exists = SOV
		alliance = { country = SOV country = TAN }
		control = { province = 1534 data = TAN } # Kyzyl
            	NOT = {
			event = 5309 # USSR defeated by Japan and Germany
                  }   
}
        date = { day = 1 month = november year = 1944 }
        offset = 30

	action_a = {
		name = CEVTACTA_222001
		command = { type = inherit which = TAN } 	# annex Tannu Tuva
		command = { type = addcore which = 1534 } 	# Kyzyl becomes USSR national territory
		command = { type = manpowerpool value = 16 } 	# inherit manpower
		command = { type = dissent value = -1 } 	# the Soviet people rejoice
		command = { type = influence value = 2 } 	# increase influence of USSR
		command = { type = trigger which = 522000 } 	# Chinese reaction
}
	action_b = {
		name = CEVTACTB_222001
		command = { type = dissent value = 1 } 		# the Army doesn't like this
		command = { type = influence value = -3 } 	# decrease influence of USSR
	}
}

event = { 
	id = 222019
	random = no
	country = SOV
	
	# Destruction of the Dnieper Dam
	
	name = CEVTNAME_222019
	desc = CEVTDESC_222019
	style = 0

	trigger = {
		NOT = {
                control = { province = 864 data = SOV }
		}
	}


        date = { day = 5 month = january year = 1940 }
        offset = 3
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222019
		command = { type = infrastructure which = 864 value = -20 } 	# flooding
		command = { type = industry which = 864 value = -3 }		# destroy the largest electric plant in Europe
		command = { type = dissent value = 1 }				# this is a defeat
		command = { type = setflag which = dnieper }
	}
	action_b = {
		name = CEVTACTB_222019
		command = { } 
	}
}

event = { 
	id = 222020
	random = no
	country = SOV
	
	# Flooding subsides
	
	name = CEVTNAME_222020
	desc = CEVTDESC_222020
	style = 0

	trigger = {
		flag = dnieper
		random = 1
	}

        date = { day = 2 month = january year = 1940 }
        offset = 3
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_OK
		command = { type = infrastructure which = 864 value = 10 } 	# 50% recovery
	}
}

##################################################
# Commercial Agreement with Germany
##################################################

event = { 
	id = 222031
	random = no
	country = SOV
	
	
	
	name = CEVTNAME_222031
	desc = CEVTDESC_222031
	style = 0

	# Triggered by 172090

	action_a = {
		name = CEVTACTA_222031
		command = { type = dissent value = -5 } # This will greatly help the Soviet people
		command = { type = influence value = 5 }
	}
	action_b = {
		name = CEVTACTB_222031
		command = { type = sleepevent which = 222032 }
		command = { type = sleepevent which = 222033 }
		command = { type = sleepevent which = 222034 }
		command = { type = sleepevent which = 222035 }
		command = { type = sleepevent which = 222036 }
		command = { type = sleepevent which = 222037 } 
	}
}

event = { 
	id = 222032
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	eev
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

        date = { day = 1 month = july year = 1939 }
        offset = 15
	deathdate = { day = 29 month = december year = 1939 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}


event = { 
	id = 222033
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

        date = { day = 1 month = january year = 1940 }
        offset = 15
	deathdate = { day = 29 month = june year = 1940 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}


event = { 
	id = 222034
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

		date = { day = 1 month = july year = 1940 }
		offset = 15
		deathdate = { day = 29 month = december year = 1940 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}


event = { 
	id = 222035
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

        date = { day = 1 month = january year = 1941 }
        offset = 15
	deathdate = { day = 29 month = june year = 1941 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}


event = { 
	id = 222036
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

        date = { day = 1 month = july year = 1941 }
        offset = 15
	deathdate = { day = 29 month = december year = 1941 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}


event = { 
	id = 222037
	random = no
	country = SOV
	
	# Commercial Agreement with Germany
	
	name = CEVTNAME_222032
	desc = CEVTDESC_222032
	style = 0

	trigger = {
		event = 222031
		random = 10
		exists = GER
		NOT = {
			OR = {
				war = { country = GER country = SOV }
				event = 5300
				event = 5309
			}
		}
	}

        date = { day = 1 month = january year = 1942 }
        offset = 15
	deathdate = { day = 29 month = june year = 1942 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = oilpool value = -2500 }
		command = { type = rubberpool value = -1000 }
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = industry  which = -1 value = 1 } 
		command = { type = trigger which = 172091 }
	}
}

####################################
# Mainila Shots (by Ghost_dk)
####################################

event = { 
	id = 222040
	random = no
	country = SOV

	# Triggered by SOV 2620A

	name = CEVTNAME_222040
	desc = CEVTDESC_222040
	style = 0

	action_a = { 
			name = CEVTACTA_222040
			command = { type = trigger which = 1002034 }
		}
}
####################################
# Soviet expelled from League of Nations (by Ghost_dk)
####################################

event = {
	id = 222041
	random = no
	country = SOV

	trigger = {
		random = 20
		event = 2621
		war = { country = SOV country = FIN }
		NOT = {
			event = 2628
			alliance = { country = FIN country = GER }
			}
		}
	name = CEVTNAME_222041
	desc = CEVTDESC_222041
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 2
	deathdate = { day = 30 month = december year = 1940 }

	action_a = {
		name = CEVTACTA_222041
		command = { type = influence value = -10 }
		command = { type = trigger which = 1052025 }
		command = { type = trigger which = 1052028 }
		command = { type = trigger which = 1052030 }
		command = { type = trigger which = 602018 }
		command = { type = trigger which = 1052031 }
		command = { type = trigger which = 602019 }
		command = { type = trigger which = 1052032 }
		}
}
####################################
# Protest Swedish and Norwegian aid to Finland (by Ghost_dk)
####################################

event = {
	id = 222042
	random = no
	country = SOV

	trigger = {
		event = 1002072
		event = 1002074
		war = { country = SOV country = FIN }
		NOT = { 
			event = 2628
			event = 2631
			}
		}
	name = CEVTNAME_222042
	desc = CEVTDESC_222042
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 5
	deathdate = { day = 30 month = december year = 1940 }

	action_a = {
		name = CEVTACTA_222042
		command = { type = trigger which = 1002078 }
		command = { type = trigger which = 1002077 }
		command = { type = influence value = -2 }
		}
	action_b = { 
		name = CEVTACTB_222042
		command = { type = dissent value = 2 }
		command = { type = sleepevent which = 1002077 }
		command = { type = sleepevent which = 1002078 }
		}
}
####################################
# Sweden protests against sinking of Fenris (by Ghost_dk)
####################################

event = {
	id = 222043
	random = no
	country = SOV

	# triggered by SWE 1002080

	name = CEVTNAME_222043
	desc = CEVTDESC_222043
	style = 0

	action_a = {
		name = CEVTACTA_222043
		command = { type = influence value = -1 }
		}
}
####################################
# Bombs dropped in Sweden (by Ghost_dk)
####################################

event = {
	id = 222044
	random = no
	country = SOV

	trigger = { 
		random = 20
		event = 222043
		exists = SWE
		war = { country = SOV country = FIN }
		NOT = {
			event = 2628
			event = 2631
			war = { country = SOV country = SWE }
			}
		} 
	name = CEVTNAME_222044
	desc = CEVTDESC_222044
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222044
		command = { type = trigger which = 1002084 }
		}
}
####################################
# Sweden protests against bombings (by Ghost_dk)
####################################

event = {
	id = 222045
	random = no
	country = SOV

	# triggered by SWE 1002084

	name = CEVTNAME_222045
	desc = CEVTDESC_222045
	style = 0

	action_a = {
		name = CEVTACTA_222045
		command = { type = influence value = -1 }
		}
}
####################################
# Bombs dropped on Pajala (by Ghost_dk)
####################################

event = {
	id = 222046
	random = no
	country = SOV

	trigger = { 
		random = 20
		event = 222045
		war = { country = SOV country = FIN }
		NOT = {
			event = 2628
			event = 2631
			war = { country = SOV country = SWE }
			}
		} 
	name = CEVTNAME_222046
	desc = CEVTDESC_222046
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222046
		command = { type = trigger which = 1002098 }
		}
}

##########################################
# (SOV) 222047 - Swedish Protest (by Ghost_dk)
##########################################

event = {
	id = 222047
	random = no
	country = SOV

	# triggered by SWE 1002098

	name = CEVTNAME_222047
	desc = CEVTDESC_222047

	action_a = {
		name = CEVTACTA_222047
		command = { }
		}
}


####################################
# TASS Deny bombings  (by Ghost_dk)
####################################

event = {
	id = 222048
	random = no
	country = SOV

	trigger = {
		random = 20
		event = 1002098
		war = { country = SOV country = FIN }
		NOT = {
			event = 2628
			event = 2631
			war = { country = SOV country = SWE }
			}
		}

	name = CEVTNAME_222048
	desc = CEVTDESC_222048
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 5
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222048
		command = { type = trigger which = 1002099 }
		}
}
####################################
# Supplies import from USA (by Ghost_dk)
####################################

event = {
	id = 222049
	random = no
	country = SOV

	# triggered by USA 322055

	name = CEVTNAME_222049
	desc = CEVTDESC_222049
	style = 0

	action_a = {
		name = CEVTACTA_222049
		command = { type = supplies value = 500 }
		}
}
####################################
# issue apology for bombings (by Ghost_dk)
####################################

event = { 
	id = 222050
	random = no
	country = SOV

	trigger = {
		event = 2631 
		NOT = {
			war = { country = SWE country = SOV }
			}
		}
	name = CEVTNAME_222050
	desc = CEVTDESC_222050
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 5
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222050
		command = { type = trigger which = 1002112 }
		command = { type = influence value = -1 }
		}
}
####################################
# Bolivia protests against attack (by Ghost_dk)
####################################

event = { 
	id = 222051
	random = no
	country = SOV

	# triggered by BOL 1052024

	name = CEVTNAME_222051
	desc = CEVTDESC_222051
	style = 0

	action_a = {
		name = CEVTACTA_222051
		command = { type = alignment which = communist value = 5 }
		}
}
####################################
# Chile protests against attack (by Ghost_dk)
####################################

event = { 
	id = 222052
	random = no
	country = SOV

	# triggered by CHL 1052023

	name = CEVTNAME_222052
	desc = CEVTDESC_222051
	style = 0

	action_a = {
		name = CEVTACTA_222051
		command = { type = alignment which = communist value = 5 }
		}
}
####################################
# Paraguay protests against attack (by Ghost_dk)
####################################

event = { 
	id = 222053
	random = no
	country = SOV

	# triggered by PAR 1052026

	name = CEVTNAME_222053
	desc = CEVTDESC_222051
	style = 0

	action_a = {
		name = CEVTACTA_222051
		command = { type = alignment which = communist value = 5 }
		}
}
####################################
# Peru protests against attack (by Ghost_dk)
####################################

event = { 
	id = 222054
	random = no
	country = SOV

	# triggered by PRU 1052027

	name = CEVTNAME_222054
	desc = CEVTDESC_222051
	style = 0

	action_a = {
		name = CEVTACTA_222051
		command = { type = alignment which = communist value = 5 }
		}
}
####################################
# The vatican protests against attack (by Ghost_dk)
####################################

event = { 
	id = 222055
	random = no
	country = SOV

	# triggered by ITA 462082

	name = CEVTNAME_222055
	desc = CEVTDESC_222055
	style = 0

	action_a = {
		name = CEVTACTA_222051
		command = { type = alignment which = communist value = 5 }
		}
}
########################################################################
# USSR Second Industrialization plans 1936-1942
# events 222069-222075 by Copper Nicus
# Forward to the Victory of Communism
#######################################################################

event = {  
	id = 222069
	random = no
	country = SOV

	trigger = { }

	name = CEVTNAME_222069
	desc = CEVTDESC_222069
	style = 0		
	
	date = { day = 1 month = january year = 1936 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -100 } # GULAG manpower
		command = { type = construct which = ic value = 1260 } # Jerevan
		command = { type = construct which = ic value = 1220 } # Batumi
		command = { type = construct which = ic value = 1250 } # Uralsk
		command = { type = construct which = ic value = 1394 } # Kurgan
		command = { type = construct which = ic value = 1395 } # Kustanaj
		command = { type = construct which = ic value = 1396 } # Koktjetaw
		command = { type = construct which = ic value = 1537 } # Bratsk
		command = { type = construct which = ic value = 1553 } # Borzja
		command = { type = construct which = ic value = 1847 } # Commodore
		command = { type = construct which = ic value = 1628 } # Siberia - East
		command = { type = construct which = ic value = 1656 } # Spassk
		command = { type = construct which = ic value = 1657 } # Dalneretiensk
		command = { type = construct which = ic value = 1658 } # Chabarovsk

		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value =  772 } # Bobrujsk
		command = { type = construct which = ic value =  773 } # Mozyr
		command = { type = construct which = ic value =  779 } # Mogiliov
		command = { type = construct which = ic value =  780 } # Gomel
		command = { type = construct which = ic value =  850 } # N Novogrod
		command = { type = construct which = ic value =  851 } # Lipetsk
		command = { type = construct which = ic value =  853 } # Tula
		command = { type = construct which = ic value = 1233 } # Saransk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  804 } # Pertozavodsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = construct which = ic value =  859 } # Millerovo
		command = { type = setflag which = sov_minor_na_HumanHeavyIndustry }
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -60 } # GULAG manpower
		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value =  772 } # Bobrujsk
		command = { type = construct which = ic value =  773 } # Mozyr
		command = { type = construct which = ic value =  779 } # Mogiliov
		command = { type = construct which = ic value =  780 } # Gomel
		command = { type = construct which = ic value =  850 } # N Novogrod
		command = { type = construct which = ic value =  851 } # Lipetsk
		command = { type = construct which = ic value =  853 } # Tula
		command = { type = construct which = ic value = 1233 } # Saransk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  804 } # Pertozavodsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = construct which = ic value =  859 } # Millerovo
		
          }	
}


event = {  
	id = 222070
	random = no
	country = SOV

	trigger = { }

	name = CEVTNAME_222070
	desc = CEVTDESC_222070
	style = 0		
	
	date = { day = 2 month = january year = 1937 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -100 } # GULAG manpower
		command = { type = construct which = ic value = 1260 } # Jerevan
		command = { type = construct which = ic value = 1220 } # Batumi
		command = { type = construct which = ic value = 1250 } # Uralsk
		command = { type = construct which = ic value = 1394 } # Kurgan
		command = { type = construct which = ic value = 1395 } # Kustanaj
		command = { type = construct which = ic value = 1396 } # Koktjetaw
		command = { type = construct which = ic value = 1537 } # Bratsk
		command = { type = construct which = ic value = 1553 } # Borzja
		command = { type = construct which = ic value = 1847 } # Commodore
		command = { type = construct which = ic value = 1628 } # Siberia - East
		command = { type = construct which = ic value = 1656 } # Spassk
		command = { type = construct which = ic value = 1657 } # Dalneretiensk
		command = { type = construct which = ic value = 1658 } # Chabarovsk
		
		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value =  772 } # Bobrujsk
		command = { type = construct which = ic value =  773 } # Mozyr
		command = { type = construct which = ic value =  779 } # Mogiliov
		command = { type = construct which = ic value =  780 } # Gomel
		command = { type = construct which = ic value =  850 } # N Novogrod
		command = { type = construct which = ic value =  851 } # Lipetsk
		command = { type = construct which = ic value =  853 } # Tula
		command = { type = construct which = ic value = 1233 } # Saransk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  804 } # Pertozavodsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = construct which = ic value =  859 } # Millerovo
		command = { type = setflag which = sov_minor_na_HumanHeavyIndustry }
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -60 } # GULAG manpower
		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value =  772 } # Bobrujsk
		command = { type = construct which = ic value =  773 } # Mozyr
		command = { type = construct which = ic value =  779 } # Mogiliov
		command = { type = construct which = ic value =  780 } # Gomel
		command = { type = construct which = ic value =  850 } # N Novogrod
		command = { type = construct which = ic value =  851 } # Lipetsk
		command = { type = construct which = ic value =  853 } # Tula
		command = { type = construct which = ic value = 1233 } # Saransk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  804 } # Pertozavodsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = construct which = ic value =  859 } # Millerovo
		
          }	
}


event = {  
	id = 222071
	random = no
	country = SOV

	trigger = { }

	name = CEVTNAME_222071
	desc = CEVTDESC_222071
	style = 0		
	
	date = { day = 3 month = january year = 1938 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -50 } # GULAG manpower
		command = { type = construct which = ic value = 1394 } # Kurgan
		command = { type = construct which = ic value = 1395 } # Kustanaj
		command = { type = construct which = ic value = 1396 } # Koktjetaw
		command = { type = construct which = ic value = 1537 } # Bratsk
		command = { type = construct which = ic value = 1553 } # Borzja
		command = { type = construct which = ic value = 1628 } # Siberia - East
		command = { type = construct which = ic value = 1657 } # Dalneretiensk
		command = { type = construct which = ic value = 1658 } # Chabarovsk

		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = setflag which = sov_minor_na_HumanHeavyIndustry }
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -25 } # GULAG manpower
		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  839 } # Archangelsk
          }
}


event = {  
	id = 222072
	random = no
	country = SOV

	trigger = { }

	name = CEVTNAME_222072
	desc = CEVTDESC_222071
	style = 0		
	
	date = { day = 4 month = january year = 1939 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -50 } # GULAG manpower
		command = { type = construct which = ic value = 1394 } # Kurgan
		command = { type = construct which = ic value = 1395 } # Kustanaj
		command = { type = construct which = ic value = 1396 } # Koktjetaw
		command = { type = construct which = ic value = 1537 } # Bratsk
		command = { type = construct which = ic value = 1553 } # Borzja
		command = { type = construct which = ic value = 1628 } # Siberia - East
		command = { type = construct which = ic value = 1657 } # Dalneretiensk
		command = { type = construct which = ic value = 1658 } # Chabarovsk

		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  839 } # Archangelsk
		command = { type = setflag which = sov_minor_na_HumanHeavyIndustry }
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -25 } # GULAG manpower
		command = { type = construct which = ic value = 1378 } # Tjelabinsk
		command = { type = construct which = ic value = 1521 } # Tomsk
		command = { type = construct which = ic value = 1522 } # Novisibirsk
		command = { type = construct which = ic value = 1372 } # Chakalov
		command = { type = construct which = ic value = 1373 } # Kujbysjev
		command = { type = construct which = ic value = 1376 } # Pervouralsk
		command = { type = construct which = ic value =  839 } # Archangelsk
          }
}


event = {  
	id = 222073
	random = no
	country = SOV

	trigger = { 
		
		NOT = { war = { country = GER country = SOV } }

	}

	name = CEVTNAME_222073
	desc = CEVTDESC_222071
	style = 0		
	
	date = { day = 5 month = january year = 1940 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -50 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk

		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value =  792 } # Tichvin
		command = { type = construct which = ic value =  855 } # Kursk
		command = { type = construct which = ic value = 1239 } # Ustinov
		command = { type = setflag which = sov_minor_na_HumanHeavyIndustry }
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -25 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
          }
}


event = {  
	id = 222074
	random = no
	country = SOV

	trigger = { 
			atwar = no
	}

	name = CEVTNAME_222074
	desc = CEVTDESC_222071
	style = 0		
	
	date = { day = 6 month = january year = 1941 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -50 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk

		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value =  792 } # Tichvin
		command = { type = construct which = ic value =  855 } # Kursk
		command = { type = construct which = ic value = 1239 } # Ustinov
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -25 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
          }

	action_c = { 
		name = CEVTACTC_222069
		command = { } 
          }
}



event = {  
	id = 222075
	random = no
	country = SOV

	trigger = { 
			atwar = no
	}

	name = CEVTNAME_222075
	desc = CEVTDESC_222071
	style = 0		
	
	date = { day = 7 month = january year = 1942 }
	
	action_a = { 
		name = CEVTACTA_222069
		command = { type = manpowerpool value = -50 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk

		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value =  792 } # Tichvin
		command = { type = construct which = ic value =  855 } # Kursk
		command = { type = construct which = ic value = 1239 } # Ustinov
          }

	action_b = { 
		name = CEVTACTB_222069
		command = { type = manpowerpool value = -25 } # GULAG manpower
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
          }

	action_c = { 
		name = CEVTACTC_222069
		command = { } 
	
          }
}

#Second Industrial Plan (Human Only)

event = {  
	id = 222269
	random = no
	country = SOV

	trigger = { 
		ai = no
		flag = sov_minor_na_HumanHeavyIndustry
	}

	name = "Second Industrial Plan (Human)"
	desc = "We have the opportunity for additional investment in heavy industry to keep pace with Germany and the Western Allies, and maintain our status as a major power. We can choose 100 percent IC construction focus, 50 percent, 25 percent, or no additional IC build."
	style = 0			

	date = { day = 6 month = january year = 1936 }
	
	action_a = { 
		name = "Additional IC everywhere exc. Moskva, Leningrad, Stalingrad, Vladivostok"

		#Leningrad Region
		command = { type = construct which = ic value = 794 } # Borovotji (1)
		command = { type = construct which = ic value = 791 } # Novgorod (5)
		command = { type = construct which = ic value = 785 } # Pskov (1)
		command = { type = construct which = ic value = 783 } # Velikije Luki (2)
		command = { type = construct which = ic value = 792 } # Tichvin 
		
		#Minsk Region
		command = { type = construct which = ic value = 784 } # Vitebsk (1)
		command = { type = construct which = ic value = 778 } # Minsk (8)

		#Moscow Region
		command = { type = construct which = ic value = 781 } # Smolensk (6)
		command = { type = construct which = ic value = 856 } # Bryansk (1)
		command = { type = construct which = ic value = 852 } # Kaluga (1)
		command = { type = construct which = ic value = 854 } # Ryazan (2)
		command = { type = construct which = ic value = 848 } # Rybinsk (3)
		command = { type = construct which = ic value = 847 } # Vladimir (3)
		command = { type = construct which = ic value = 845 } # Kalinin (5)
		command = { type = construct which = ic value = 844 } # Bezjetsk (3)
		
		#Ukraine
		command = { type = construct which = ic value = 774 } # Zjitomir (1)
		command = { type = construct which = ic value = 766 } # Vinnytsa (3)
		command = { type = construct which = ic value = 770 } # Kirovograd (1)
		command = { type = construct which = ic value = 769 } # Kotovsk (1)
		command = { type = construct which = ic value = 764 } # Odessa (6)
		command = { type = construct which = ic value = 855 } # Kursk
		command = { type = construct which = ic value = 865 } # Dnepropetrovsk (4)
		command = { type = construct which = ic value = 863 } # Stalino (3)
		command = { type = construct which = ic value = 862 } # Sevastapol (6)
		command = { type = construct which = ic value = 864 } # Donetsk (6)
		command = { type = construct which = ic value = 861 } # Rostov (6)
		command = { type = construct which = ic value = 857 } # Kharkov (6)
		command = { type = construct which = ic value = 858 } # Stary Oskol (1)
		command = { type = construct which = ic value = 775 } # Kiev (7)
		command = { type = construct which = ic value = 776 } # Chernigov (3)
		
		#Stalingrad Region
		command = { type = construct which = ic value = 1223 } # Krasnodar (1)
		command = { type = construct which = ic value = 1227 } # Voronezh (3)
		command = { type = construct which = ic value = 1228 } # Tambov (1)
		command = { type = construct which = ic value = 1248 } # Saratov (6)
		command = { type = construct which = ic value = 1249 } # Volzjskij (1)

		#Kujbysjev Region
		command = { type = construct which = ic value = 1245 } # Stalinsk (2)

		#Caucasus
		command = { type = construct which = ic value = 1222 } # Majkop (5)
		command = { type = construct which = ic value = 1254 } # Astrakhan (5)
		command = { type = construct which = ic value = 1256 } # Stavropol (3)
		command = { type = construct which = ic value = 1258 } # Tbilisi (3)
		command = { type = construct which = ic value = 1259 } # Groznyj (1)
		command = { type = construct which = ic value = 1359 } # Baku (7)
		command = { type = construct which = ic value = 1360 } # Kirovabad (4)
		
		#Northern Russia
		command = { type = construct which = ic value =  822 } # Murmansk (2)
		command = { type = construct which = ic value =  807 } # Belomorsk (1)
		command = { type = construct which = ic value =  805 } # Segezja (1)
		command = { type = construct which = ic value =  793 } # Timosjino (1)
		command = { type = construct which = ic value =  838 } # Severodvinsk (1)
		command = { type = construct which = ic value =  842 } # Kostroma (1)
		command = { type = construct which = ic value =  843 } # Vologda (1)
		command = { type = construct which = ic value = 1237 } # Kirov (7)
		command = { type = construct which = ic value = 1241 } # Kazan (3)
		command = { type = construct which = ic value = 1239 } # Ustinov
		command = { type = construct which = ic value = 1240 } # Molotov (5)
			
		#command = { type = construct which = ic value = 1260 } # Jerevan
		#command = { type = construct which = ic value = 1220 } # Batumi
		#command = { type = construct which = ic value = 1250 } # Uralsk
		#command = { type = construct which = ic value = 1394 } # Kurgan
		#command = { type = construct which = ic value = 1395 } # Kustanaj
		#command = { type = construct which = ic value = 1396 } # Koktjetaw
		#command = { type = construct which = ic value = 1537 } # Bratsk
		#command = { type = construct which = ic value = 1553 } # Borzja
		#command = { type = construct which = ic value = 1847 } # Commodore
		#command = { type = construct which = ic value = 1628 } # Siberia - East
		#command = { type = construct which = ic value = 1656 } # Spassk
		#command = { type = construct which = ic value = 1657 } # Dalneretiensk
		#command = { type = construct which = ic value = 1658 } # Chabarovsk

		#command = { type = construct which = ic value = 1378 } # Tjelabinsk
		#command = { type = construct which = ic value = 1521 } # Tomsk
		#command = { type = construct which = ic value = 1522 } # Novisibirsk
		#command = { type = construct which = ic value =  772 } # Bobrujsk
		#command = { type = construct which = ic value =  773 } # Mozyr
		#command = { type = construct which = ic value =  779 } # Mogiliov
		#command = { type = construct which = ic value =  780 } # Gomel
		#command = { type = construct which = ic value =  850 } # N Novogrod
		#command = { type = construct which = ic value =  851 } # Lipetsk
		#command = { type = construct which = ic value =  853 } # Tula
		#command = { type = construct which = ic value = 1233 } # Saransk
		#command = { type = construct which = ic value = 1372 } # Chakalov
		#command = { type = construct which = ic value = 1373 } # Kujbysjev
		#command = { type = construct which = ic value = 1376 } # Pervouralsk
		#command = { type = construct which = ic value =  804 } # Pertozavodsk
		#command = { type = construct which = ic value =  839 } # Archangelsk
		#command = { type = construct which = ic value =  859 } # Millerovo

		#Siberia
		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
		
		command = { type = clrflag which = sov_minor_na_HumanHeavyIndustry }

          }

#Remaining Soviet 1936 National Provinces, need to add in		                                    
#              1370 1369 
#  1374   1377 1385 1375 1383 1381  1380 1382  1392    1397
#1387 1388 1393 1389 1517  1523 1524 1527 1530 1529 1540 1634  1638   1630
#1632 1640 1639 1850 1855 1846 1843 1644        1662  1386 1525
#1637 1648  1552  1641  1659 1651 1633 1631  1535 1526 1515 1519 1518 1429  
#1426 1405 1404 1424 1399 1398 1402     1436 1431 1423 1425 1409 

#2nd Industrial Plan AI and Human Provinces
#1260 1220 1250 1394 1395 1396 1537 1553 1847 1628 1656 1657 1658
#1378 1521 1522  772  773  779  780  850  851  853 1233 1372 1373
#1376  804  839  859 1366 1430 1533 1538 1636 1645 1652 1653 1371
#1379 1391 1422  792  855 1239

#Moskva, Leningrad, Stalingrad, and Vladivostok
#846 788 1225 1663

	action_b = { 
		name = "Build additional 50% IC in provinces"
		#Western Russia and Ukraine
		command = { type = construct which = ic value = 792 } # Tichvin 
		command = { type = construct which = ic value = 791 } # Novgorod (5)
		command = { type = construct which = ic value = 785 } # Pskov (1)
		command = { type = construct which = ic value = 783 } # Velikije Luki (2)
		command = { type = construct which = ic value = 784 } # Vitebsk (1)
		command = { type = construct which = ic value = 778 } # Minsk (8)
		command = { type = construct which = ic value = 774 } # Zjitomir (1)
		command = { type = construct which = ic value = 766 } # Vinnytsa (3)
		command = { type = construct which = ic value = 770 } # Kirovograd (1)
		command = { type = construct which = ic value = 769 } # Kotovsk (1)
		command = { type = construct which = ic value = 764 } # Odessa (6)
		command = { type = construct which = ic value = 855 } # Kursk
		command = { type = construct which = ic value = 865 } # Dnepropetrovsk (4)
		command = { type = construct which = ic value = 863 } # Stalino (3)
		command = { type = construct which = ic value = 862 } # Sevastapol (6)
		command = { type = construct which = ic value = 864 } # Donetsk (6)
		command = { type = construct which = ic value = 861 } # Rostov (6)
		command = { type = construct which = ic value = 857 } # Kharkov (6)
		command = { type = construct which = ic value = 775 } # Kiev (7)
		command = { type = construct which = ic value = 776 } # Chernigov (3)
		
		#command = { type = construct which = ic value = 1260 } # Jerevan
		#command = { type = construct which = ic value = 1220 } # Batumi
		#command = { type = construct which = ic value = 1250 } # Uralsk
		#command = { type = construct which = ic value = 1394 } # Kurgan
		#command = { type = construct which = ic value = 1395 } # Kustanaj
		#command = { type = construct which = ic value = 1396 } # Koktjetaw
		#command = { type = construct which = ic value = 1537 } # Bratsk
		#command = { type = construct which = ic value = 1553 } # Borzja
		#command = { type = construct which = ic value = 1847 } # Commodore
		#command = { type = construct which = ic value = 1628 } # Siberia - East
		#command = { type = construct which = ic value = 1656 } # Spassk
		#command = { type = construct which = ic value = 1657 } # Dalneretiensk
		#command = { type = construct which = ic value = 1658 } # Chabarovsk

		#command = { type = construct which = ic value = 1378 } # Tjelabinsk
		#command = { type = construct which = ic value = 1521 } # Tomsk
		#command = { type = construct which = ic value = 1522 } # Novisibirsk
		#command = { type = construct which = ic value =  772 } # Bobrujsk
		#command = { type = construct which = ic value =  773 } # Mozyr
		#command = { type = construct which = ic value =  779 } # Mogiliov
		#command = { type = construct which = ic value =  780 } # Gomel
		#command = { type = construct which = ic value =  850 } # N Novogrod
		#command = { type = construct which = ic value =  851 } # Lipetsk
		#command = { type = construct which = ic value =  853 } # Tula
		#command = { type = construct which = ic value = 1233 } # Saransk
		#command = { type = construct which = ic value = 1372 } # Chakalov
		#command = { type = construct which = ic value = 1373 } # Kujbysjev
		#command = { type = construct which = ic value = 1376 } # Pervouralsk
		#command = { type = construct which = ic value =  804 } # Pertozavodsk
		#command = { type = construct which = ic value =  839 } # Archangelsk
		#command = { type = construct which = ic value =  859 } # Millerovo

		#Siberia
		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
		command = { type = construct which = ic value = 1239 } # Ustinov

		command = { type = clrflag which = sov_minor_na_HumanHeavyIndustry }
		}
	action_c = {
		name = "Build additional 25% IC in provinces"
		#Western Russia and Ukraine
		command = { type = construct which = ic value = 792 } # Tichvin 
		command = { type = construct which = ic value = 791 } # Novgorod (5)
		command = { type = construct which = ic value = 785 } # Pskov (1)
		command = { type = construct which = ic value = 783 } # Velikije Luki (2)
		command = { type = construct which = ic value = 784 } # Vitebsk (1)
		command = { type = construct which = ic value = 778 } # Minsk (8)
		command = { type = construct which = ic value = 774 } # Zjitomir (1)
		command = { type = construct which = ic value = 766 } # Vinnytsa (3)
		command = { type = construct which = ic value = 770 } # Kirovograd (1)
		command = { type = construct which = ic value = 769 } # Kotovsk (1)
		command = { type = construct which = ic value = 764 } # Odessa (6)
		command = { type = construct which = ic value = 855 } # Kursk
		command = { type = construct which = ic value = 865 } # Dnepropetrovsk (4)
		command = { type = construct which = ic value = 863 } # Stalino (3)
		command = { type = construct which = ic value = 862 } # Sevastapol (6)
		command = { type = construct which = ic value = 864 } # Donetsk (6)
		command = { type = construct which = ic value = 861 } # Rostov (6)
		command = { type = construct which = ic value = 857 } # Kharkov (6)
		command = { type = construct which = ic value = 775 } # Kiev (7)
		command = { type = construct which = ic value = 776 } # Chernigov (3)
		
		#command = { type = construct which = ic value = 1260 } # Jerevan
		#command = { type = construct which = ic value = 1220 } # Batumi
		#command = { type = construct which = ic value = 1250 } # Uralsk
		#command = { type = construct which = ic value = 1394 } # Kurgan
		#command = { type = construct which = ic value = 1395 } # Kustanaj
		#command = { type = construct which = ic value = 1396 } # Koktjetaw
		#command = { type = construct which = ic value = 1537 } # Bratsk
		#command = { type = construct which = ic value = 1553 } # Borzja
		#command = { type = construct which = ic value = 1847 } # Commodore
		#command = { type = construct which = ic value = 1628 } # Siberia - East
		#command = { type = construct which = ic value = 1656 } # Spassk
		#command = { type = construct which = ic value = 1657 } # Dalneretiensk
		#command = { type = construct which = ic value = 1658 } # Chabarovsk

		#command = { type = construct which = ic value = 1378 } # Tjelabinsk
		#command = { type = construct which = ic value = 1521 } # Tomsk
		#command = { type = construct which = ic value = 1522 } # Novisibirsk
		#command = { type = construct which = ic value =  772 } # Bobrujsk
		#command = { type = construct which = ic value =  773 } # Mozyr
		#command = { type = construct which = ic value =  779 } # Mogiliov
		#command = { type = construct which = ic value =  780 } # Gomel
		#command = { type = construct which = ic value =  850 } # N Novogrod
		#command = { type = construct which = ic value =  851 } # Lipetsk
		#command = { type = construct which = ic value =  853 } # Tula
		#command = { type = construct which = ic value = 1233 } # Saransk
		#command = { type = construct which = ic value = 1372 } # Chakalov
		#command = { type = construct which = ic value = 1373 } # Kujbysjev
		#command = { type = construct which = ic value = 1376 } # Pervouralsk
		#command = { type = construct which = ic value =  804 } # Pertozavodsk
		#command = { type = construct which = ic value =  839 } # Archangelsk
		#command = { type = construct which = ic value =  859 } # Millerovo

		#Siberia
		command = { type = construct which = ic value = 1371 } # Magnitogorsk
		command = { type = construct which = ic value = 1379 } # Tjumen
		command = { type = construct which = ic value = 1391 } # Isjim
		command = { type = construct which = ic value = 1366 } # N Uzen
		command = { type = construct which = ic value = 1430 } # Alma Ata
		command = { type = construct which = ic value = 1422 } # Samarkand
		command = { type = construct which = ic value = 1533 } # Ulan Ude
		command = { type = construct which = ic value = 1538 } # Ust Kut
		command = { type = construct which = ic value = 1636 } # Jakutsk
		command = { type = construct which = ic value = 1645 } # Komsomolsk
		command = { type = construct which = ic value = 1652 } # Ulunga
		command = { type = construct which = ic value = 1653 } # Dalniegorsk
		command = { type = construct which = ic value = 1239 } # Ustinov

		command = { type = clrflag which = sov_minor_na_HumanHeavyIndustry }
		}
	action_d = {
		name = "No additional IC at this time"
		command = { type = clrflag which = sov_minor_na_HumanHeavyIndustry }
          	}
}

########################################################################
# *********** END OF USSR Industrialization plans EVENTS ***************
########################################################################

#####################################
# Allies support Finland (by Ghost_dk)
#####################################

event = { 
	id = 222076
	random = no
	country = SOV 

	# triggered by ENG 272149/DOW probably'

	name = CEVTNAME_222076
	desc = CEVTDESC_222076
	Style = 0

	action_a = {
		name = CEVTACTA_222076
		command = { }
		}
}


#########################################################################
#  Nomonhan Incident
#########################################################################
event = { 
	id = 222093
	random = no
	country = SOV
	
	name = CEVTNAME_222093
	desc = CEVTDESC_222093
	style = 0

	trigger = {
		AND = { 
			event = 492000
			NOT = { event = 222002 } # Japan decided on a major offensive (492000A)
		} 
		
		NOT = {
			war = { country = PAN country = SOV }
			war = { country = GER country = SOV }
			alliance = { country = PAN country = SOV }
                }   
	}

        date = { day = 25 month = april year = 1939 }
        offset = 30
	deathdate = { day = 20 month = october year = 1939 }

	action_a = {
		name = CEVTACTA_222093
            	command = { type = manpowerpool value = -75 } 	# Begin Soviet counter-offensive
            	command = { type = supplies value = -2500 }
		command = { type = end_access which = PAN }
	}
	action_b = {
		name = CEVTACTB_222093
           	command = { type = manpowerpool value = -15 } 	# limited losses
           	command = { type = supplies value = -500 }
		command = { type = dissent value = 4 } 		# Officer corps disapproves Andris: increased from 2 
		command = { type = sleepleader which = -1 } 	# Officer resignations / court martials
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = trigger which = 492001 } 	# Japanese minor victory
		command = { type = end_access which = PAN }
	}
}


#  Nomonhan Incident leads to war

event = { 
	id = 222094
	random = no
	country = SOV
	
	name = CEVTNAME_222094
	desc = CEVTDESC_222094
	style = 0

	# Triggered by PAN 492002B/492003B

	action_a = {
		name = CEVTACTA_222094
                command = { type = dissent value = 2 } # not ready for this war
		command = { type = trigger which = 222123 } # kill entire Neutrality Treaty chain
	}
}


#  Zhukov's counter-attack fails!

event = { 
	id = 222095
	random = no
	country = SOV
	
	name = CEVTNAME_222095
	desc = CEVTDESC_222095
	style = 0

	# Triggered by PAN 492003A

	action_a = {
		name = CEVTACTA_222095
                command = { type = dissent value = 4 } # a terrible defeat
		command = { type = sleepleader   which = 10297 } #Zhukov
		command = { type = sleepminister which =  4053 } #Zhukov
		command = { type = sleepminister which =  4028 } #Zhukov

		command = { type = sleepleader which = -1 } # officer resignations / court martials
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -2 }
		command = { type = trigger which = 222123 } # kill entire Neutrality Treaty chain
	}
	action_b = {
		name = CEVTACTB_222095
                command = { type = dissent value = 6 } # a terrible defeat and no scapegoat
		command = { type = set_leader_skill which = 10297 value = 2 } # Zhukov skill set to 2
		command = { type = sleepleader which = -2 } # officer resignations / court martials
		command = { type = trigger which = 222123 } # kill entire Neutrality Treaty chain
	}
}

###############################
#North Korea
###############################

event = { 
	id = 222077
	random = no
	country = SOV
	
	name = CEVTNAME_222077
	desc = CEVTDESC_222077
	style = 0

	trigger = {
		random = 35
		exists = KOR
		control = { province = 1822 data = SOV }
	}

        date = { day = 10 month = december year = 1941 }
        offset = 5
	deathdate = { day = 25 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222077
		command = { type = make_puppet  which = KOR }
		command = { type = supplies value = -2000 }		# cost of occupation
		command = { type = dissent value = -2 }			# growing prestige
		command = { type = influence value = 10 }		# growing influence
	}
	action_b = {
		name = CEVTACTB_222077
		command = { type = dissent value = 1 }	 		# not a popular decision
	}
}

event = { 
	id = 222078
	random = no
	country = SOV
	
	name = CEVTNAME_222078
	desc = CEVTDESC_222078
	style = 0

	trigger = {
		ispuppet = KOR
		NOT = {
			war = { country = USA country = SOV }
			war = { country = ENG country = SOV }
			war = { country = USA country = CHC }
			war = { country = ENG country = CHC }
			war = { country = SOV country = CHC }
		}
		exists = USA
		exists = ENG
		OR = {
			event = 222077
			event = 322100
		}
         }

        date = { day = 10 month = december year = 1941 }
        offset = 5
	deathdate = { day = 25 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222078
		command = { type = setflag which = soviet_trust }
		command = { type = trigger which = 272154 } 
		command = { type = trigger which = 322101 } 
		command = { type = influence value = 5 } # a reasonable position
	}
	action_b = {
		name = CEVTACTB_222078
		command = { type = trigger which = 272155 }
		command = { type = trigger which = 322102 }
		command = { type = influence value = -10 } # taking a great risk
	}
}

event = { 
	id = 222079
	random = no
	country = SOV
	
	name = CEVTNAME_222079
	desc = CEVTDESC_222079
	style = 0

	# triggered by 272155

	action_a = {
		name = CEVTACTA_222079
		command = { type = setflag which = soviet_trust }
		command = { type = influence value = -25 } # a failed gamble
	}
	action_b = {
		name = CEVTACTB_222079
		command = { type = influence value = 10 } # a major political setback
		command = { type = war which = ENG }
	}
}

event = { 
	id = 222080
	random = no
	country = SOV
	
	name = CEVTNAME_222080
	desc = CEVTDESC_222080
	style = 0

	# triggered by 322102

	action_a = {
		name = CEVTACTA_222080
		command = { type = setflag which = soviet_trust }
		command = { type = influence value = -25 } # a failed gamble
	}
	action_b = {
		name = CEVTACTB_222080
		command = { type = influence value = 10 } # a major political setback
		command = { type = war which = USA }
	}
}

event = { 
	id = 222082
	random = no
	country = SOV
	
	name = CEVTNAME_222082
	desc = CEVTDESC_222082
	style = 0

	# triggered by British or American DOW on North Korea

	action_a = {
		name = CEVTACTA_222082
		command = { type = trigger which = 952091 } 
	}
	action_b = {
		name = CEVTACTB_222082
		command = { type = alliance which = U00 }
	}
}

event = { 
	id = 222083
	random = no
	country = SOV
	
	name = CEVTNAME_222083
	desc = CEVTDESC_222083
	style = 0

	trigger = {
		flag = usa_withdraw
		flag = uk_withdraw
         }

        date = { day = 10 month = december year = 1941 }
        offset = 5
	deathdate = { day = 25 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_GREAT
		command = { type = make_puppet which = KOR } 
	}
}

event = {
	id = 222081
	random = no
	country = SOV

	name = CEVTNAME_222081
	desc = CEVTDESC_222081
	style = 0

	action_a = {
		name = CEVTACTA_222081
		command = { type = manpowerpool value = -60 }
		command = { type = supplies value = -3000 }
		command = { type = trigger which = 952091 }
	}
	action_b = {
		name = CEVTACTB_222081
		command = { }
	}
	action_c = {
		name = CEVTACTC_222081
		command = { type = war which = KOR }
		command = { type = trigger which = 322103 }
		command = { type = trigger which = 272156 }
	}
}

################################
# 222057 (SOV)Poland and Russia Renew Non-agression Pact(by Ghost_dk)
################################

event = {
	id = 222057
	random = no
	country = SOV

	# triggered by POL 702106

	name = CEVTNAME_222057
	desc = CEVTDESC_222057
	style = 0

	action_a = {
		name = CEVTACTA_222057
		command = { type = influence value = 2 }
		command = { type = trigger which = 702085 }
		}
	action_b = {
		name = CEVTACTB_222057
		command = { type = trigger which = 702092 }
		}
}
################################
# 222058 (SOV)Send Fighters to aid Greece against Axis invasion(by Ghost_dk)
################################

event = {
	id = 222058
	random = no
	country = SOV

	trigger = {
		supplies = 700
		atwar = no
		OR = {
			war = { country = ITA country = GRE }
			war = { country = GER country = GRE }
			}
		NOT = {
			alliance = { country = GRE country = ENG }
			alliance = { country = GRE country = GER }
			}
		}
	name = CEVTNAME_222058
	desc = CEVTDESC_222058
	style = 0

	date = { day = 0 month = january year = 1939 }
	offset = 15
	deathdate = { day = 29 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222058
		command = { type = supplies value = -700 }
		command = { type = trigger which = 752186 }
		}
	action_b = {
		name = CEVTACTB_222058
		command = { type = influence value = -1 }
		}
}
################################
# 222061 (SOV)Dissolution of the Third International(by Ghost_dk)
################################

event = {
	id = 222061
	random = no
	country = SOV

	trigger = {
		government = communist
		}
	name = CEVTNAME_222061
	desc = CEVTDESC_222061
	style = 0

	date = { day = 22 month = may year = 1943 }

	action_a = {
		name = CEVTACTA_222061
		command = { type = influence value = -6 }
		}
}
		
################################
# 222097 (SOV)Soviet official visit to the U.S.(by Ghost_dk)
###############################

event = {
	id = 222097
	random = no
	country = SOV

	trigger = {
		atwar = yes
		alliance = { country = ENG country = USA }
		}
	name = CEVTNAME_222097
	desc = CEVTDESC_222097
	style = 0

	date = { day = 28 month = may year = 1942 }

	action_a = {
		name = CEVTACTA_222097
		command = { type = trigger which = 322179 }
		command = { type = influence value = -3 }
		}
}
############################
# 222098 (SOV)Soviets Severance of Relations with the London Poles(by Ghost_dk)
############################

event = {
	id = 222098
	random = no
	country = SOV

	trigger = {
		government = communist
		war = { country = SOV country = GER }
		NOT = {
			exists = POL
			}
		}
	name = CEVTNAME_222098
	desc = CEVTDESC_222098
	style = 0

	date = { day = 27 month = april year = 1943 }

	action_a = {
		name = CEVTACTA_222098
		command = { type = influence value = -2 }
		}
}
###########################
# 222099 (SOV)Soviet Support for a Strong Poland(by Ghost_dk)
###########################

event = {
	id = 222099
	random = no
	country = SOV

	trigger = {
		government = communist
		event = 222098
		}
	name = CEVTNAME_222099
	desc = CEVTDESC_222099
	style = 0

	date = { day = 5 month = may year = 1943 }
	offset = 30
	deathdate = { day = 29 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222099
		command = { type = influence value = -1 }
		}
}

##########################################################
# 222106 - Stalingrad Battle - Mobilization (by Copper)
##########################################################
event = { 
	id = 222106
	random = no
	country = SOV
	trigger = {
		
		atwar = yes #The USSR is at war
		control = { province = 1225 data = SOV }
		
		OR = { 
			NOT = { 
				control = { province = 770 data = SOV }
			} # Kirovograd
			NOT = { 
				control = { province = 857 data = SOV }
			} # Kharkov
			NOT = { 
			control = { province = 864 data = SOV }
			} # Donietsk
			NOT = { 
			control = { province = 1222 data = SOV }
			} # Majkop
			NOT = {
			control = { province = 1259 data = SOV }
			} # Groznyj
			NOT = { 
			control = { province = 861 data = SOV }
			} # Rostov

		}
	}

	name = CEVTNAME_222106
	desc = CEVTDESC_222106

	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every week
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222106
		command = { type = supplies value = -50 } #cost to equip the militia and materials for construction
		command = { type = manpowerpool value = -80 }
		command = { type = industry which = 1225 value = -20 } #loss of production, will be partly restored
		command = { type = setflag  which = stal_mob  } # flag - mobilization
		command = { type = setflag  which = stal_fort } # flag - fortifications
	}

	action_b = {
		name = CEVTACTB_222106
		command = { type = supplies value = -20 } #cost of materials for construction
		command = { type = industry which = 1225 value = -15 } #temporary loss of production, will be restored
		command = { type = setflag  which = stal_fort } # flag - fortifications
		command = { type = sleepevent which = 222107 }
	}
	action_c = {
		name = CEVTACTC_222106
		command = { type = manpowerpool value = -80 }
		command = { type = supplies value = -30 } #cost to equip the militia
		command = { type = industry which = 1225 value = -5 } #permanent loss of production, will be not restored
		command = { type = setflag  which = stal_mob  } # flag - mobilization
		command = { type = sleepevent which = 222108 } # flag - fortifications
	}
	action_d = {
		name = CEVTACTD_222106
		command = { type = sleepevent which = 222107 }
		command = { type = sleepevent which = 222108 }

	}
}


#####################################################################################
# 222107 - Stalingrad Battle - Mobilization has been finished (by Copper)
#####################################################################################
event = { 
	id = 222107
	random = no
	country = SOV

	trigger= { 
		control = { province = 1225 data = SOV }
		flag = stal_mob #Opolchenye mobilization has begun 
	}

	name = CEVTNAME_222107
	desc = CEVTDESC_222107

	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 14 # Check for trigger conditions every three weeks
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222107
		command = { type = add_division which = militia	value = 0 when = 1225 }
		command = { type = add_division which = militia	value = 0 when = 1225 }
		command = { type = add_division which = militia	value = 0 when = 1225 }
		command = { type = add_division which = militia	value = 0 when = 1225 }
		command = { type = add_division which = militia	value = 0 when = 1225 }
		command = { type = add_division which = militia	value = 0 when = 1225 }
	}
}
#####################################################################################
# 222108 - Stalingrad Battle - Defensive Perimeter Complete (by Copper)
#####################################################################################
event = { 
	id = 222108
	random = no
	country = SOV

	trigger= { 
		control = { province = 1225 data = SOV }
		flag = stal_fort #Perimeter construction has begun 
	}

	name = CEVTNAME_222108
	desc = CEVTDESC_222108

	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 30 # Check for trigger conditions every month
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222108
		command = { type = land_fort which = 1225 value = 3 }
		command = { type = industry which = 1225 value = 15 } #Workers return to their jobs.
	}
}


################################################## #######################
# 222109 - Help to rebuild Spain SOV
################################################## #######################
event = { 
	id = 222109
	random = no
	country = SOV

	trigger = {
		atwar = no
		event = 3101 # Comunism wins against anarchist
		event = 802016 # SPR wins civil war
		NOT = {
			OR = {
			alliance = { country = FRA country = SPR }
			alliance = { country = GER country = SPR }
			}
		}
	}	


	name = CEVTNAME_222109
	desc = CEVTDESC_222109
	style = 0

	date = { day = 1 month = july year = 1938 }
	offset = 35 # Check for trigger conditions every month
	deathdate = { day = 29 month = december year = 1942 }

	action_a = {
		name = CEVTACTA_222109
		command = { type = coalpool value = -1000 }
		command = { type = steelpool value = -1000 }
		command = { type = rubberpool value = -1000 } 
		command = { type = supplies value = -500 }
		command = { type = influence value = 2 }
		command = { type = trigger which = 802071 } #SPR
	}
	action_b = {
		name = CEVTACTB_222109
		command = { type = dissent value = 2 }
		command = { type = influence value = -5 }
	}
}

# new in rc7


##########################################################
# 222110 - Bitter Peace - Access Ended (by Copper)
##########################################################
event = { 
	id = 222110
	random = no
	country = SOV

	trigger = {

		random = 20 # to avoid too early triggering
		event = 172212 # Access granted event
	}

	name = CEVTNAME_222110
	desc = CEVTDESC_222110
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 30 # Check for trigger conditions every 10 days
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222110
		command = { type = end_access  which = GER }
		command = { type = trigger which = 172213 } # German notification of access end 
	}
}

event = {
	id = 222005 # 752366
	random = no
	country = SOV

	name = CEVTNAME_222005
	desc = CEVTDESC_222005
	style = 0

	action_a = {
			name = CEVTACTA_222005
			command = { type = dissent value = -1 }
			command = { type = influence value = 2 }
			}
	}

event = {
	id = 222059 # 752411
	random = no
	country = SOV

	name = CEVTNAME_222059
	desc = CEVTDESC_222059
	style = 0

	action_a = {
			name = CEVTACTA_222059
			command = { type = trigger which = 752412 }
			command = { type = influence value = 1 }
			}

	action_b = {
			name = CEVTACTB_222059
			command = { type = dissent value = 1 }
			}

	}

event = {
	id = 222060 # 752413
	random = no
	country = SOV

	#Triggered by BUL 752412

	name = CEVTNAME_222060
	desc = CEVTDESC_222060
	style = 0

	action_a = {
		name = CEVTACTA_222060
		command = { type = make_puppet which = BUL } # Only way to get Bulgaria into Commintern
		command = { type = trigger which = 222124 }
	}
}


event = {
	id = 222124 # 752414
	random = no
	country = SOV

	#Triggered by SOV 752413

	name = CEVTNAME_222124
	desc = CEVTDESC_222124
	style = 0

	action_a = {
		name = CEVTACTA_222124
		command = { type = end_mastery which = BUL } # Ends Bulgarian puppet status
		command = { type = trigger which = 752415 }
	}
}




#########################################################
# SOV (AI Only) minister events
# 222141 - Georgij D. Bazilevich takes Armament Ministry (1940-41)
# 1500174 - Dimitry F. Ustinov takes Armament Ministry (1941-??)
# 1500175 - G.K. Zhukov - Chief of the Staff (1942-???)
# 1500176 - Loktionov - Air forces commander (1937)
#########################################################


#event = { 
#id = 222141
#random = no 
#country = SOV 
#
#trigger = {	#Will have maxed out resources by 1940, so need to decrease IC
#		ai = yes
#		
#		}
#name = AI_EVENT 
#desc = "" 
#style = 0 
#
#date = { day = 2 month = july year = 1939 }
#offset = 10 # Check for trigger conditions every 10 days
#deathdate = { day = 30 month = december year = 1947 }
#
#
#action_a = { 
#	command = { type = armamentminister which = 4036 } # Georgij D. Bazilevich
#		command = { type = dissent value = -1  }
#	} 
#}

event = { 
	id = 1500174
	random = no 
	country = SOV 

	trigger = {	#Maxed out resources by 1941, so need to decrease IC
		ai = yes
		
		#event = 1510058 # SOV use post-war AI (they have won!)
	}

	name = AI_EVENT 
	desc = "" 
	style = 0 

	date = { day = 2 month = january year = 1941 }
	offset = 30 # Check for trigger conditions every 10 days
	deathdate = { day = 30 month = december year = 1947 }


	action_a = { 
		command = { type = armamentminister which = 4037 } # Dimitry F. Ustinov
	} 
}

event = { 
	id = 1500175
	random = no 
	country = SOV 

	trigger = {
		ai = yes
		event = 1510058 # SOV use post-war AI (they have won!)
	}

	name = AI_EVENT 
	desc = "" 
	style = 0 

	date = { day = 2 month = january year = 1942 }
	offset = 30 # Check for trigger conditions every 10 days
	deathdate = { day = 30 month = december year = 1947 }


	action_a = { 
		command = { type = chiefofstaff which = 4053 } # Georgiy K. Zhukov
	} 
}

event = { 
	id = 1500176
	random = no 
	country = SOV 

	trigger = {
		ai = yes
	}

	name = AI_EVENT 
	desc = "" 
	style = 0 

	date = { day = 2 month = january year = 1937 }


	action_a = { 
		command = { type = chiefofair which = 4064 } # Aleksandr D. Loktionov	
	} 
}

#############################################
# Soviet-Japanese Neutrality Treaty (Phil K)
#############################################

event = {
	id = 222111 
	random = no
	country = SOV

	# Triggered by Japanese Proposal

	name = CEVTNAME_222111
	desc = CEVTDESC_222111
	style = 0

	action_a = {
		name = CEVTACTA_222111
		command = { type = trigger which = 492038 } #Initial Acceptance
	}
	action_b = {
		name = CEVTACTB_222111
		command = { type = trigger which = 222123 } #Decline Treaty/Kill Event chain
	}
}

# ------------------------------- Conditional Observances -------------------------------

event = {
	id = 222112  
	random = no
	country = SOV

	trigger = {
		event = 492038 #Japanese Initial Acceptance
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 270
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222113 
	random = no
	country = SOV

	trigger = {
		event = 222112
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 270
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222114 
	random = no
	country = SOV

	trigger = {
		event = 222113
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 180
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222115 
	random = no
	country = SOV

	trigger = {
		event = 222114
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 180
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222116 
	random = no
	country = SOV

	trigger = {
		event = 222115
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222117 
	random = no
	country = SOV

	trigger = {
		event = 222116
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222118 
	random = no
	country = SOV

	trigger = {
		event = 222117
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222119 
	random = no
	country = SOV

	trigger = {
		event = 222118
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222120 
	random = no
	country = SOV

	trigger = {
		event = 222119
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222121 
	random = no
	country = SOV

	trigger = {
		event = 222120
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

event = {
	id = 222122 
	random = no
	country = SOV

	trigger = {
		event = 222121
		war = {country = SOV country = PAN }
		war = {country = SOV country = GER }
	}

	name = CEVTNAME_492039 
	desc = CEVTDESC_222112
	style = 0
	
	date = { day = 1 month = january year = 1936 } 
	offset = 90
	deathdate = { day = 30 month = december year = 1945 }

	action_a = {
		name = CEVTACTA_222112
		command = { type = trigger which = 492039 } #Observe Treaty
	}
	action_b = {
		name = CEVTACTB_222112
		command = { type = trigger which = 222123 } #Kill Event Chain
	}
}

#---------------------------- AI Event to kill entire series ----------------------

event = {
	id = 222123 
	random = no
	country = SOV
	
	#Also, Triggered by 222094 or 222095 (Soviet defeat at Khalgin Ghol)

	name = CEVTNAME_222123
	desc = CEVTDESC_222123
	style = 0

	action_a = { # Sleeps entire Neutrality Treaty event chain
		name = CEVTACTA_OK
		command = { type = sleepevent which = 492038 }  #Japan Initial Treaty 
		command = { type = sleepevent which = 492039 }  #Japan Continued Treaty Observance
		command = { type = sleepevent which = 952095 }  #Manchukuo
		command = { type = sleepevent which = 952096 }  #Inner Mongolia
		command = { type = sleepevent which = 1152009 } #Siam
		command = { type = sleepevent which = 222112 }  
		command = { type = sleepevent which = 222113 }
		command = { type = sleepevent which = 222114 }
		command = { type = sleepevent which = 222115 }
		command = { type = sleepevent which = 222116 }
		command = { type = sleepevent which = 222117 }
		command = { type = sleepevent which = 222118 }
		command = { type = sleepevent which = 222119 }
		command = { type = sleepevent which = 222120 }
		command = { type = sleepevent which = 222121 }
		command = { type = sleepevent which = 222122 }
	}
}

############################################################
#Remove Memel claim from USSR after German occupation
############################################################

event = {
	id = 222128 # 9000250
	random = no
	country = SOV

	trigger = {
		event = 2009 #Lithuania cedes Memel
		NOT = { war = { country = SOV country = GER}  }
	}

	name = CEVTNAME_222128
	desc = CEVTDESC_222128
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 30
	deathdate = { day = 15 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222128
		command = { type = removecore which = 711 }
	}
}

###################################
# Finnish Access to USSR Ended 
###################################
event = { 
	id = 222129 # 9000302
	random = no
	country = SOV

	trigger = {
		event = 2622
		random = 20 # to avoid too early triggering
	}

	name = CEVTNAME_222129
	desc = CEVTDESC_222129
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_222129
		command = { type = end_access  which = FIN }
	}
}

###################################
# Occupation of the Baltic States (Andris)
###################################
event = { 
	id = 222131  
	random = no
	country = SOV

	trigger = {

		OR = {
			event = 2013 #Molotov-Ribbentrop Historical A
			#event = 2602 #Molotov-Ribbentrop C (already give cores for all Baltics
			event = 2603 #Molotov-Ribbentrop C	
		}
	}

	name = "Occupation of the Baltic States"
	desc = "The Soviet Union historically occupied the Baltic States on June 14, 1940 according to the Molotov-Ribbentrop Pact. The occupation was lifted by the arrival of the Germans during the first weeks of Operation Barbarossa. Following the 2 year siege of Leningrad, the Soviets broke out and reestablished their control over the region. The territory became part of the Soviet Union after WWII and stayed that way until the forma declaration of independence of Estonia, Latvia, and Lithuania in 1990."

	style = 0

	date = { day = 1 month = february year = 1940 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "OK"

		# Estonia
		#command = { type = addcore which = 707 }
		
		# Latvia
		#command = { type = addcore which = 708 }
		#command = { type = addcore which = 709 }
		#command = { type = addcore which = 712 }
		#command = { type = addcore which = 713 }
		
		# Lithuania
		command = { type = addcore which = 711 } # Memel - new one!
		command = { type = addcore which = 714 }
		command = { type = addcore which = 715 }
	}
}