####################################################################
#
# HoI - Central Europe
#
# LIMIT: 652000 - 701999 
#
# C.O.R.E. v0.7 transition to CSV completed
#
#
# HoI - Czechoslovakian Events
#
#		written by Henrik Fĺhraeus
#
#
# HoI - Austrian Events
#
#		written by Henrik Fĺhraeus
#

#########################################################################
#  Anschluss
#########################################################################
event = { 
	id = 2100
	random = no
	country = AUS
	
	# Triggered by GER 2020
	
	name = "EVT_2100_NAME"
	desc = "EVT_2100_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2100A" # Become part of the Greater Reich (Game Over)
		command = { type = trigger which = 2001 } # GER
	}
#	action_b = {
#		name = "ACTIONNAME2100B" # Join the Axis
#		command = { type = alliance which = GER }
#		command = { type = alignment which = fascist value = 200 }
#		command = { type = access which = GER }
#		command = { type = dissent value = 10 }
#		command = { type = trigger which = 2002 } # GER
#	}
	action_b = {
		name = "ACTIONNAME2100C" # Austria shall remain independent
		command = { type = dissent value = 40 }
		command = { type = sleepevent which = 602056 } # Mexican protest
	}
}
#########################################################################
#  The Treaty of Munich
#########################################################################
event = { 
	id = 2200
	random = no
	country = CZE
	
	# triggered by GER 2030
	
	name = "EVT_2200_NAME"
	desc = "EVT_2200_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2200A" # Accept the Claims
		command = { type = secedeprovince which = GER value = 578 }
		command = { type = secedeprovince which = GER value = 613 }
		command = { type = secedeprovince which = GER value = 614 }
		command = { type = secedeprovince which = GER value = 616 }
		command = { type = secedeprovince which = GER value = 617 }
		command = { type = dissent value = 25 }
		command = { type = trigger which = 2003 } # GER
	}

	action_b = { 
		name = "ACTIONNAME2200B" # Join the Axis
		command = { type = alignment which = fascist value = 200 }
		command = { type = alliance which = GER }
		command = { type = headofstate which = 24035 } # Emil Hacha (fascist cabinet)
		command = { type = headofgovernment which = 24036 } # Rudolph Beran
		command = { type = foreignminister which = 24037 } # 
		command = { type = armamentminister  which = 24038 } # 
		command = { type = ministerofsecurity which = 24039 } # 
		command = { type = ministerofintelligence which = 24040 } # 
		command = { type = chiefofstaff which = 24041 } # 
		command = { type = chiefofarmy which = 24042 } # 
		command = { type = chiefofnavy which = 24043 } # 
		command = { type = chiefofair which = 24044} # 
		command = { type = dissent value = 40 }
		command = { type = convoy which = 613 value = 604 when = 22 } #Reichenberg to Dresden: steel, coal
		command = { type = convoy which = 613 value = 604 when = 22 }
		command = { type = convoy which = 613 value = 604 when = 22 } 
		command = { type = convoy which = 613 value = 604 when = 22 } 
		command = { type = trigger which = 2004 } # GER
	}

	action_c = {
		name = "ACTIONNAME2200C" # No way!
		command = { type = dissent value = 25 }
		command = { type = ai which = core_CZE_War.ai }
		command = { type = trigger which = 2005 } # GER
	}
}

event = { 
	id = 652301
	random = no
	country = CZE
	
	# Triggered by GER 2005B
	
	name = "Germany Backs Down"
	desc = "Faced with the potential of an early multi-front war with the Allies, Hitler decided to back down from his claims on the Sudetenland"
	style = 0
	
	action_a = {
		name = "We have a backbone"
		command = { type = dissent value = -25 }
	}

}

#########################################################################
#  The End of Czechoslovakia - Slovakia Independent
#########################################################################
event = { 
	id = 2201
	random = no
	country = CZE

	# Triggered by GER 2040A

	name = "EVT_2201_NAME"
	desc = "EVT_2201_DESC"
	style = 0
		
	action_a = {
		name = "ACTIONNAME2201A" # Accept the inevitable (Game Over)
		
		# Two units are claimed by Germany to represent all the acquired materiel
		# NOTE: If there are delete_unit and switch_allegiance commands in the same event, the switch_allegiance commands must always come first.
		command = { type = switch_allegiance which = GER value = -1 }
		command = { type = switch_allegiance which = GER value = -1 }
		
		# Five units are deleted:
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		
		command = { type = capital which = 618 } # Bratislava
		command = { type = country which = SLO }
		command = { type = trigger which = 2006 } # GER
	}
	action_b = { 
		name = "ACTIONNAME2201B" # Fight!
		command = { type = dissent value = 30 }
		command = { type = trigger which = 2007 } # GER
	}
}
#########################################################################
#  The End of Czechoslovakia - Partitioning
#########################################################################
event = { 
	id = 2202
	random = no
	country = CZE
	
	# Triggered by GER 2040B
	
	name = "EVT_2202_NAME"
	desc = "EVT_2202_DESC"
	style = 0
		
	action_a = {
		name = "ACTIONNAME2202A" # Accept the inevitable (Game Over)
		
#		command = { type = switch_allegiance which = GER value = -1 }
		
		command = { type = secedeprovince which = HUN value = 618 }
		command = { type = secedeprovince which = HUN value = 631 }
		command = { type = secedeprovince which = HUN value = 632 }
		command = { type = secedeprovince which = HUN value = 726 }
		command = { type = secedeprovince which = HUN value = 727 }

		command = { type = trigger which = 2011 } # GER
		command = { type = trigger which = 2501 } # HUN
	}
	action_b = {
		name = "ACTIONNAME2202B" # Fight!
		command = { type = dissent value = 30 }
		command = { type = trigger which = 2012 } # GER
		command = { type = trigger which = 2502 } # HUN
	}
}

#
# HoI - Slovakian Events
#
#		written by Henrik Fĺhraeus
#

#########################################################################
#  The End of Czechoslovakia
#########################################################################
event = { 
	id = 2300
	random = no
	country = SLO
	
	# Triggered by GER 2006
	
	name = "EVT_2300_NAME"
	desc = "EVT_2300_DESC"
	style = 0
	
	action_a = {
		name = "OK" 
		# Bohemia and Moravia to Germany/Ruthenia to Hungary
		command = { type = secedeprovince which = GER value = 612 } #Plzen
		command = { type = secedeprovince which = GER value = 615 } #Praha
		command = { type = secedeprovince which = GER value = 619 } #Slavkov
		command = { type = secedeprovince which = HUN value = 726 } #Munkacs
		
		# Resources from Germany
		command = { type = steelpool value = 5000 } 
		command = { type = oilpool value = 2500 } 
		command = { type = rubberpool value = 2500 } 
		command = { type = supplies value = 2000 } 

		# Alliance with Germany
		command = { type = trigger which = 2500 } #HUN	
		command = { type = alignment which = fascist value = 200 }	
		command = { type = alliance which = GER }
		command = { type = ai which = core_SLO_39.ai }
		
		# Fascist government
		command = { type = headofstate which = 31001 }			#Jozef Tiso
		command = { type = headofgovernment which = 31002 }		#Vojtech Tuka
		command = { type = foreignminister which = 31003 }		#Vojtech Tuka
		command = { type = armamentminister which = 31004 }		#Mikuláš Pružinský
		command = { type = ministerofsecurity which = 31005 }		#Alexander Mach
		command = { type = ministerofintelligence which = 31006 }	#Gustav Malar
		command = { type = chiefofstaff which = 31007 }			#Ferdinand Catlos
		command = { type = chiefofarmy  which = 31008 }			#Gustav Malar
		command = { type = chiefofnavy  which = 31009 }			#Jozef Turanec
		command = { type = chiefofair   which = 31010 }			#Anton Pulanick
		command = { type = dissent value = -15 } #Andris: Changed from -30; Slovakia should not have any dissent, except what is left over from ToM  
		command = { type = steal_tech which = GER } 
		command = { type = steal_tech which = GER } 
		command = { type = steal_tech which = GER } 
	}

}

######################################################################### 
# 652000 - 1936 Rearmament Programs (by Burris)
#########################################################################
event = {
	id = 652000
	random = no
	country = SCH

	trigger = {
		random = 30
		supplies = 500
		}
	
	name = CEVTNAME_652000
	desc = CEVTDESC_652000
	style = 0

	date = { day = 1 month = april year = 1936 } 
	offset = 25
	deathdate = { day = 30 month = december year = 1936 }

	action_a = {
		name = CEVTACTA_652000
		command = { type = manpowerpool  value = 20 } #Andris was 50; rest moved to 1938 Emergency Rearmament
		command = { type = gain_tech  which = 14003 }
		command = { type = gain_tech  which = 14006 }
		command = { type = land_fort  which = 541 value = 1 }
		command = { type = land_fort  which = 564 value = 1 }
		command = { type = supplies  value = -500 }
	}
	
	#action_b = {
	#	name = CEVTACTB_652000
	#	command = { }
	#}
}
######################################################################### 
# 652001 - 1938 Emergency Rearmament (by Burris)
#########################################################################
event = {
	id = 652001
	random = no
	country = SCH

	#triggered by either the Austrian Anschluss or Alliance

	trigger = {

	OR = {
		event = 2001
		event = 2002
		}

	supplies = 750

	}
	
	name = CEVTNAME_652001
	desc = CEVTDESC_652001
	style = 0

	date = { day = 1 month = march year = 1938 } # 
	offset = 10
	deathdate = { day = 1 month = december year = 1938 }

	action_a = {
		name = CEVTACTA_652001
		command = { type = manpowerpool  value = 111 } #Andris: was 50; 
								#added +30 MP from event 652000 + 31 MP from original 1936 scenario file
								
		command = { type = land_fort  which = 541 value = 1 }
		command = { type = land_fort  which = 564 value = 1 }
		command = { type = land_fort  which = 914 value = 1 }
 		command = { type = add_division which = infantry }
		command = { type = supplies  value = -750 }
	}
	
	#action_b = {
	#	name = CEVTACTB_652001
	#	command = { }
	#}
}
######################################################################### 
# 652002 - Switzerland requests agreements with USA. (by Burris)
#########################################################################
event = {
	id = 652002
	random = no
	country = SCH

	trigger = {
		NOT = {
			OR = {
				alliance = { country = USA country = ENG } # USA & ENG
				alliance = { country = USA country = GER } # USA & GER
			 	alliance = { country = USA country = SOV } # USA & SOV
			 	alliance = { country = SCH country = SOV } # SCH & SOV
			 	alliance = { country = SCH country = GER } # SCH & GER
				}
			}
		random = 50
		}

	name = CEVTNAME_652002
	desc = CEVTDESC_652002
	style = 0

	date = { day = 1 month = april year = 1939 } 
	offset = 5
	deathdate = { day = 30 month = may year = 1939 }

	action_a = {
		name = CEVTACTA_652002
		command = { type = trigger which = 322022 } # core_USA
	}
	action_b = {
		name = CEVTACTB_652002
		command = { }
	}
}	
######################################################################### 
# Switzerland requests agreements with USA. Agrees
# by Burris
#########################################################################
event = {
	id = 652003
	random = no
	country = SCH

	# triggered by USA 322022 A

	name = CEVTNAME_652002
	desc = CEVTDESC_652002
	style = 0

	action_a = {
		name = CEVTACTA_652003
		command = { }
	}
}	
######################################################################### 
# Switzerland requests agreements with USA. Disagrees
# by Burris
#########################################################################
event = {
	id = 652004
	random = no
	country = SCH

	# triggered by USA 322022 B

	name = CEVTNAME_652002
	desc = CEVTDESC_652002
	style = 0

	action_a = {
		name = CEVTACTA_652004
		command = { }
	}
}	
######################################################################### 
# Switzerland requests agreements with USA. Compliance
# by Burris
#########################################################################
event = {
	id = 652005
	random = no
	country = SCH

	# triggered by USA 322023 A

	name = CEVTNAME_652002
	desc = CEVTDESC_652002
	style = 0

	action_a = {
		name = CEVTACTA_652005
		command = { type = coalpool value = 500 }
		command = { type = steelpool value = 500 }
		command = { type = oilpool value = 100 }
		command = { type = rubberpool value = 50 }
	}
}	
######################################################################### 
# 652006 - Switzerland requests agreements with USA. Broken (by Burris)
#########################################################################
event = {
	id = 652006
	random = no
	country = SCH

	# triggered by USA 322023 B

	name = CEVTNAME_652002
	desc = CEVTDESC_652002
	style = 0

	action_a = {
		name = CEVTACTA_652006
		command = { }
	}
}	
######################################################################### 
# 652007 - Purchasing Me109's (by Burris)
#########################################################################
#event = {
#	id = 652007
#	random = no
#	country = SCH
#
#	trigger = {        
#		NOT = {            
#			OR = {
#				war = { country = SCH country = GER }
#				alliance = { country = SCH countery = ENG }
#				alliance = { country = SCH countery = SOV }
#				}
#			}   
#		}
#
#	date = { day = 1 month = january year = 1938 } 
#	offset = 90
#	deathdate = { day = 30 month = march year = 1938 }
#
#	name = CEVTNAME_652007
#	desc = CEVTDESC_652007
#	style = 0
#
#	action_a = {
#		name = CEVTACTA_652007
#		command = { type = add_division which = fighter value = 0 }
#		command = { type = supplies  value = -500 }
#		}
#	action_b = {
#		name = CEVTACTB_652007
#		command = { }
#		}
#}

##################################################################################
# 652008 CZE- Benes warns Stalin (by nachinus)
# Removed the NOT 2609 trigger and added a sleepevent in 2609 instead
##################################################################################

event = {
	id = 652008
	random = no
	country = CZE

	trigger = {
		random = 15 #15% Each month the triggers are met
		headofstate = 24001 #Benes
		minister = 4002 #Stalin is active
		atwar = no
		event = 2000 #Re-occupation of Rhineland

		NOT = {
			OR = { # none of this must happen
				alliance = { country = CZE country = GER }
				alliance = { country = SOV country = GER }
				war = { country = SOV country = GER }
				war = { country = SOV country = FIN }
				dissent = 15
				alignment = fascist
			}
		}
	}

	name = CEVTNAME_652008
	desc = CEVTDESC_652008
	style = 0

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

	action_a = {
		name = CEVTACTA_652008
		command = { type = alignment which = fascist value = -5 }
		command = { type = alignment which = communist value = 10 }
		command = { type = influence value = 2 }
	}	

	action_b = {
		name = CEVTACTB_652008
		command = { type = alignment which = fascist value = 10 }
		command = { type = alignment which = communist value = -5 }
		command = { type = dissent value = 3 }
	}

	action_c = {
		name = CEVTACTC_652008
		command = { type = influence value = -2 }
	}
}

#########################################################################
# 652009 - (AUS) Austro-German Agreement (by Steel & Generalisimo)
#########################################################################

event = { 
	id = 652009 
	random = no
	country = AUS

	# triggered by GER 172081 A 

	name = CEVTNAME_652009
	desc = CEVTDESC_652009
	style = 0

	action_a = {
		name = CEVTACTA_652009
		command = { type = industry which = 621 value = 2 } # Capital
		command = { type = industry which = -1 value = 1 } # random
		command = { type = industry which = -1 value = 1 } # random
		command = { type = alignment which = fascist value = 10 } # not too much, to avoid joining axis
		command = { type = trigger which = 172046 } # GER
		command = { type = influence value = 2 } # good diplomatic relations
	}
	action_b = {
		name = CEVTACTB_652009
        	command = { type = influence value = -5 }
		# they are digging they own grave
		command = { type = warentry  which = FRA value = -2 }
		command = { type = warentry  which = ENG value = -2 }
		command = { type = warentry  which = BEL value = -2 }
		command = { type = warentry  which = HOL value = -2 }
		command = { type = warentry  which = USA value = -2 }
		command = { type = sleepevent which = 172046 } # GER
	}
}

#########################################################################
# 652010 - (AUS) Austrian Government introduces mandatory Army service (by Sonic)
#########################################################################

event = { 
	id = 652010
	random = no
	country = AUS

	trigger = {
		random = 20
		NOT = {
			war = { country = GER country = AUS }
		}
	}	
	
	name = CEVTNAME_652010
	desc = CEVTDESC_652010
	style = 0

	date = { day = 1 month = april year = 1936 }
	offset = 10
	deathdate = { day = 30 month = december year = 1938 } 

	action_a = {
		name = CEVTACTA_652010
		command = { type = add_division which = militia value = 0 }
		command = { type = add_division which = militia value = 0 }
		command = { type = dissent value = -1 }
		command = { type = manpowerpool value = 30 }
	}
	action_b = {
		name = CEVTACTB_652010
		command = { type = dissent value = -3 } 
	}
}

#########################################################################
# 652011 - (CZE) Agrarian Party and SdP unite! (by Burris)
#########################################################################
event = { 
	id = 652011
	random = no
	country = CZE

	trigger = {
	# Control of Sudetenland, the Anschluss, and not triggered if CZE is at war with GER
		control = { province = 578 data = CZE } # 
		control = { province = 613 data = CZE } # 
		control = { province = 614 data = CZE } # 
		control = { province = 616 data = CZE } # 
		control = { province = 617 data = CZE } # 
		event = 2001 # Anschluss
		NOT = {
			war = { country = GER country = CZE }
		}
	}

	date = { day = 1 month = march year = 1938 }
	offset = 30
	deathdate = { day = 12 month = march year = 1940 }

	name = CEVTNAME_652011
	desc = CEVTDESC_652011
	style = 0

	action_a = {
		name = CEVTACTA_652011
		command = { type = dissent value = 2 }
	}
}

#########################################################################
# 652012 - (CZE) Slovaks demand Alliance (by Burris)
#########################################################################
event = { 
	id = 652012
	random = no
	country = CZE

	trigger = {
	random = 30
		NOT = {
			atwar = CZE
		}
	}

	name = CEVTNAME_652012
	desc = CEVTDESC_652012
	style = 0

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

	action_a = {
		name = CEVTACTA_652012
		command = { }
	}
}



##############################################################
# Soviets Request Naval Technology Event
# Original Concept by Barrabas and Copper Nicus
# by MateDow
##############################################################

event = {
	id = 652031
	random = no
	country = SCH
	trigger = {
		event = 222015
		atwar = no
		}

	name = CEVTNAME_652031
	desc = CEVTDESC_652031
	style = 0

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

	action_a = {
		name = CEVTACTA_652031
		command = { type = oilpool value = 2500 }
		command = { type = steelpool value = 2500 }
		command = { type = sleepevent which = 222068 } #Swiss Refusal Event
		}

	action_b = {
		name = CEVTACTB_652031
		command = { type = sleepevent which = 222067 } #Swiss Share Tech Event
		}
}


##################################
# Austria
##################################
##################################
# 652021 (AUS)Autria-czechoslovakia trade agreement(by Ghost_dk)
##################################

event = {
	id = 652021
	random = no
	country = AUS

	# triggered by CZE 652022

	name = CEVTNAME_652021
	desc = CEVTDESC_652021
	style = 0

	action_a = {
		name = CEVTACTA_652021
		command = { type = influence value = -1 }
		command = { type = coalpool value = -5000 }
		command = { type = steelpool value = 5000 }
		command = { type = alignment which = democratic value = 10 }
		}
}
##################################
# 652023 (AUS)Consolidation of power in Austria(by Ghost_dk)
##################################

event = {
	id = 652023
	random = no
	country = AUS

	trigger = {
		headofgovernment = 23002
		}

	name = CEVTNAME_652023
	desc = CEVTDESC_652023
	style = 0

	date = { day = 14 month = may year = 1936 }

	action_a = {
		name = CEVTACTA_652023
		command = { type = influence value = -3 }
		command = { type = dissent value = 1 }
		}
}

# 	id = 652030 is in 08.txt

##################################
# 652032 (AUS)Amnesty for Austrian National Socialists(by Ghost_dk)
##################################

event = {
	id = 652032
	random = no
	country = AUS

	trigger = {
		NOT = { 
			alliance = { country = AUS country = ENG }
			war = { country = AUS country = GER }
			puppet = { country = AUS country = GER }
			}
		}
	name = CEVTNAME_652032
	desc = CEVTDESC_652032
	style = 0

	date = { day = 15 month = january year = 1937 }
	
	action_a = {
		name = CEVTACTA_652032
		command = { type = alignment which = fascist value = 10 }
		}
	action_b = { 
		name = CEVTACTB_652032
		command = { type = alignment which = fascist value = -10 }
		}
}
##################################
# 652033 - (AUS)Revolution in Styria(by Ghost_dk)
##################################

event = {
	id = 652033
	random = no
	country = AUS

	trigger = {
		NOT = {
			puppet = { country = AUS country = GER }
			war = { country = AUS country = GER }
			alliance = { country = AUs country = GER }
			}
		}
	name = CEVTNAME_652033
	desc = CEVTDESC_652033
	style = 0
	
	date = { day = 0 month = march year = 1938 }

	action_a = {
		name = CEVTACTA_652033
		command = { type = influence value = -4 }
		command = { type = dissent value = 4 }
		command = { type = alignment which = fascist value = 10 } 
		}
	action_b = {
		name = CEVTACTB_652033
		command = { type = dissent value = 15 }
		command = { type = alignment which = democratic value = 20 }
		}
}
##################################
# Czechoslovakia
##################################
##################################
# 652022 (CZE)Autria-Czechoslovakia trade agreement(by Ghost_dk)
##################################

event = {
	id = 652022
	random = no
	country = CZE

	trigger = {
		exists = AUS
		NOT = {
			ispuppet = CZE
			ispuppet = AUS
			alliance = { country = GER country = AUS }
			}
		}
	name = CEVTNAME_652022
	desc = CEVTDESC_652022
	style = 0

	date = { day = 2 month = april year = 1936 }

	action_a = {
		name = CEVTACTA_652022
		command = { type = influence value = -1 }
		command = { type = coalpool value = 5000 }
		command = { type = steelpool value = -5000 }
		}
}
##################################
# 652026 (CZE)Germany takes control of waterways(by Ghost_dk)
##################################

event = {
	id = 652026
	random = no
	country = CZE

	# triggered by GER 172146

	name = CEVTNAME_652026
	desc = CEVTDESC_652026
	style = 0

	action_a = {
		name = CEVTACTA_652026
		command = { type = trigger Which = 172148 }
		command = { type = influence value = -1 }
		}
	action_b = {
		name = CEVTACTB_652026
		command = { type = influence value = -2 }
		}
}
##################################
# 652028 (CZE)Death of Masaryk, the father of the Czechoslovak Republic(by Ghost_dk)
##################################

event = {
	id = 652028
	random = no
	country = CZE

	name = CEVTNAME_652028
	desc = CEVTDESC_652028
	style = 0

	date = { day = 14 month = september year = 1937 }

	action_a = {
		name = CEVTACTA_652028
		command = { type = dissent value = -2 }
		}
}
##################################
# 652029 (CZE)Czechoslovak cancellation of Elections(by Ghost_dk)
##################################

event = {
	id = 652029
	random = no
	country = CZE

	trigger = {
		atwar = no
		NOT = {
			alliance = { country = CZE country = GER }
			}
		}
	name = CEVTNAME_652029
	desc = CEVTDESC_652029
	style = 0

	date = { day = 13 month = november year = 1937 }

	action_a = {
		name = CEVTACTA_652029
		command = { type = alignment which = democratic value = -5 }
		command = { type = alignment which = fascist value = -15 }
		command = { type = dissent value = 3 }
		}
	action_b = {
		name = CEVTACTB_652029
		command = { type = alignment which = fascist value = 15 }
		command = { type = influence value = -2 }
		command = { type = dissent value = 3 }
		}
}
##################################
# Switzerland
##################################
##################################
# 652020 (SCH)Assassination of Wilhelm Gustloff(by Ghost_dk)
##################################
event = {
	id = 652020
	random = no
	country = SCH

	trigger = {
		exists = SCH
		NOT = { 
			government = fascist
			}
		 }
	name = CEVTNAME_652020
	desc = CEVTDESC_652020
	style = 0

	date = { day = 4 month = february year = 1936 }
	offset = 1
	deathdate = { day = 10 month = february year = 1936 }

	action_a = {
		name = CEVTACTA_652020
		command = { type = alignment which = fascist value = -5 }
		command = { type = trigger which = 172140 }
		}
}
###################################
# 652024 (SCH)Switzerland devalues Swiss Franc(by Ghost_dk)
###################################

event = {
	id = 652024
	random = no
	country = SCH

	trigger = { 
		atwar = no
		supplies = 500
		}

	name = CEVTNAME_652024
	desc = CEVTDESC_652024
	style = 0

	date = { day = 26 month = september year = 1936 }
	offset = 1
	deathdate = { day = 30 month = december year = 1936 }

	action_a = {
		name = CEVTACTA_652024
		command = { type = supplies value = -500 }
		command = { type = industry which = -1 value = 1 }
		command = { type = industry which = -1 value = 1 }
		}
	action_b = {
		name = CEVTACTB_652024
		command = { type = supplies value = -250 }
		command = { type = industry which = -1 value = 1 }
		}
}
###################################
# 652025 (SCH)Swiss suppresion of Communism(by Ghost_dk)
###################################

event = {
	id = 652025
	random = no
	country = SCH

	trigger = { 
		government = democratic
		atwar = no
		}
	name = CEVTNAME_652025
	desc = CEVTDESC_652025
	style = 0
	
	date = { day = 3 month = november year = 1936 }

	action_a = { 
		name = CEVTACTA_652025
		command = { type = influence value = -1 }
		command = { type = dissent value = 1 }
		command = { type = alignment which = communist value = -15 }
		}
}
######################
# 652027 (SCH)Swiss recognition of the Italian occupation of Ethiopia(by Ghost_dk)
######################

event = { 
	id = 652027 
	random = no
	country = SCH

	trigger = { 
		NOT = {
			alliance = { country = SCH country = SOV }
			war = { country = SCH country = ITA }
			exists = ETH
			}
		}
	name = CEVTNAME_652027
	desc = CEVTDESC_652027
	style = 0

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

	action_a = {
		name = CEVTACTA_652027
		command = { type = alignment which = fascist value = 5 }
		command = { type = trigger which = 462095 }
		}
}

##################################################
# 652034 - Austria Mobilizes
##################################################

event = { 
	id = 652034
	random = no
	country = AUS

	trigger = {
		event = 652010
		}

	name = CEVTNAME_652034
	desc = CEVTDESC_652034
	style = 0

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

	action_a = {
		name = CEVTACTA_OK
		command = { type = province_manpower which = 621   value = 4 } #Wien
		command = { type = province_manpower which = 610   value = 3 } #Salzburg
		command = { type = province_manpower which = 611   value = 3 } #Linz
		command = { type = province_manpower which = 571   value = 2 } #Klagenfurt
		command = { type = province_manpower which = 623   value = 2 } #Graz
		command = { type = province_manpower which = 565   value = 2 } #Bregenz
		command = { type = province_manpower which = 573   value = 1 } #Innsbruck
		command = { type = province_manpower which = 620   value = 1 } #Horn
	}
}

##################################################
# 652035 - Czechoslovakia Mobilizes
##################################################

event = { 
	id = 652035
	random = no
	country = CZE

	trigger = {
		OR = {
			atwar = yes
			event = 2030
			control = { province = 621 data = GER } #Vienna
			}
		}

	name = CEVTNAME_652035
	desc = CEVTDESC_652034
	style = 0

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

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 130 } #Andris: +30 from beginning
		command = { type = province_manpower which = 615   value = 9 } #Praha
		command = { type = province_manpower which = 618   value = 8 } #Bratislava
		command = { type = province_manpower which = 612   value = 7 } #Plzen
		command = { type = province_manpower which = 616   value = 5 } #Neuhaus
		command = { type = province_manpower which = 617   value = 3 } #Winterberg
		command = { type = province_manpower which = 614   value = 3 } #Troppau
		command = { type = province_manpower which = 619   value = 3 } #Slavkov
		command = { type = province_manpower which = 631   value = 3 } #Ruzomberok
		command = { type = province_manpower which = 613   value = 3 } #Richenberg
		command = { type = province_manpower which = 632   value = 3 } #Lucenec
		command = { type = province_manpower which = 578   value = 3 } #Karlsbad
		command = { type = province_manpower which = 727   value = 2 } #Kosice
		command = { type = province_manpower which = 726   value = 1 } #Munkacs
	}
}
##################################################
# 652036 - Czechoslovakia demobilizes
##################################################

event = { 
	id = 652036
	random = no
	country = CZE

	trigger = {
		control = { province = 578 data = GER }
		atwar = no
		}

	name = CEVTNAME_652036
	desc = CEVTDESC_652036
	style = 0

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

	action_a = {
		name = CEVTACTA_OK
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
	}
}
##################################################
# 652037 - End of the Czechoslovakian Army 
##################################################

event = { 
	id = 652037
	random = no
	country = SLO

	trigger = {
		exists = SLO
		}

	name = CEVTNAME_652037
	desc = CEVTDESC_652037
	style = 0

	date = { day = 21 month = march year = 1939 } 
	offset = 30
	deathdate = { day = 30 month = december year = 1940 }

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = -1000 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		command = { type = delete_unit which = -1 }
		
		command = { type = manpowerpool value = 40 }
	}
}

##################################################
# 652038 - Switzerland Mobilizes
##################################################

event = { 
	id = 652038
	random = no
	country = SCH

	trigger = {
		OR = {
			atwar = yes
			war = { country = GER country = FRA }
			war = { country = ITA country = FRA } #Andris
			war = { country = ITA country = YUG }
			}
		}

	name = CEVTNAME_652038
	desc = CEVTDESC_652034
	style = 0

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

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 100 }
		command = { type = province_manpower which = 564    value = 6 } #Zurich
		command = { type = province_manpower which = 541    value = 4 } #Bern
		command = { type = province_manpower which = 936    value = 4 } #Geneve
		command = { type = province_manpower which = 914    value = 2 } #Lausanne
	}
}


#########################################################################
# Switzerland purchases Me-109s from Germany
# By Zerli, original event by Burris
#########################################################################

event = { 
	id = 652040
	random = no
	country = SCH

	trigger = {
		coal = 2000
		steel = 2000
		}

	name = CEVTNAME_652040
	desc = CEVTDESC_652040
	style = 0
	
	action_a = {
			name = CEVTACTA_652040
			command = { type = coalpool value = -2000 }
			command = { type = steelpool value = -2000 }
			command = { type = rubberpool value = -500 }
			command = { type = gain_tech which = 10000 }
			command = { type = gain_tech which = 10101 }
			command = { type = gain_tech which = 10002 }
			command = { type = gain_tech which = 10003 }
			command = { type = gain_tech which = 10100 }
			command = { type = gain_tech which = 10001 }	
			command = { type = gain_tech which = 10102 }		
			command = { type = alignment which = fascist value = 2 }
			command = { type = dissent value = -1 }
			command = { type = trigger which = 652041 }		
			}
	
	#action_b = {
	#		name = CEVTACTB_652040
	#		command = { type = dissent value = 1 } # dissatisfied public opinion
	#		}
	
	}

event = {
	id = 652042
	random = no
	country = SCH
	trigger = {
			event = 652041
			NOT = { war = { country = SCH country = GER } }		
			}

	name = CEVTNAME_652042
	desc = CEVTDESC_652042
	style = 0
	
	date = { day = 15 month = september year = 1939 }
	offset = 120
	deathdate = { day = 29 month = december year = 1941 }

	action_a = {
			name = CEVTACTA_652042
			command = { type = add_division which = fighter }
			command = { type = supplies value = 500 }
			}
	}

#########################################################################
# Slovakia Convoys to Germany
# 
#########################################################################
event = {
	id = 652043
	random = no
	country = SLO
	
	trigger = {
		OR = {
			alliance = { country = GER country = SLO }
			puppet = { country = SLO country = GER }
		}		
	}

	name = CEVTNAME_652043
	desc = CEVTDESC_652043
	style = 0

	date = { day = 24 month = march year = 1939 } 
	offset = 30
	deathdate = { day = 1 month = january year = 1941 }

	action_a = { #Andris: 1st convoy, right after Slovak independence
		name = CEVTACTA_652043
		command = { type = access which = GER }
		command = { type = convoy which = 618 value = 619 when = 30 } #resource convoy to Germany: steel, coal, rubber, supplies
		command = { type = convoy which = 618 value = 619 when = 30 }	
		command = { type = convoy which = 618 value = 619 when = 30 } 
		command = { type = convoy which = 618 value = 619 when = 30 }	
	
	}
}

event = {
	id = 652044
	random = no
	country = SLO
	
	trigger = {
		exists = SLO
		NOT = { exists = POL }
		event = 2604 #Soviets accept deliverance of Eastern Poland from Germany
		OR = {
			alliance = { country = GER country = SLO }
			puppet = { country = SLO country = GER }
		}
		OR = {
			control = { province = 719 data = SLO } # Rowne
			control = { province = 721 data = SLO } # Pinsk
			control = { province = 725 data = SLO } # Lwow
		}
	}

	name = CEVTNAME_652044
	desc = CEVTDESC_652044
	style = 0

	date = { day = 23 month = march year = 1939 } 
	offset = 9
	deathdate = { day = 1 month = january year = 1949 }

	action_a = {
		name = CEVTACTA_652044
		command = { type = secedeprovince which = SOV value = 719 } # Rowne
		command = { type = secedeprovince which = SOV value = 721 } # Pinsk
		command = { type = secedeprovince which = SOV value = 725 } # Lwow
		command = { type = trigger which = 652045 } # Slovak territory return to Germany
	}
}


event = {
	id = 652045
	random = no
	country = SLO
	
	trigger = {
		exists = SLO
		NOT = { exists = POL }
		event = 652045
		OR = {
			event = 2014 #Soviets refuse M-R Pact
			event = 2017 #Soviets refuse limited M-R Pact
			event = 652044
		}
		OR = {
			event = 2050 #M-R Pact offered
			event = 2051 #M-R Pact offered
		}
		OR = {
			alliance = { country = GER country = SLO }
			puppet = { country = SLO country = GER }
		}
		OR = {
			control = { province = 723 data = SLO } # Lublin
			control = { province = 725 data = SLO } # Lwow
			control = { province = 724 data = SLO } # Przemysl
			control = { province = 635 data = SLO } # Cieszyn
			control = { province = 719 data = SLO } # Rowne
			control = { province = 720 data = SLO } # Sandomierz
			control = { province = 638 data = SLO } # Krakow
			control = { province = 637 data = SLO } # Czestochowa
			control = { province = 721 data = SLO } # Pinsk
		}
	}

	name = CEVTNAME_652045
	desc = CEVTDESC_652045
	style = 0

	date = { day = 22 month = march year = 1939 } 
	offset = 13
	deathdate = { day = 1 month = january year = 1942 }

	action_a = {
		name = CEVTACTA_652045
		command = { type = secedeprovince which = GER value = 723 } # Lublin
		command = { type = secedeprovince which = GER value = 725 } # Lwow
		command = { type = secedeprovince which = GER value = 724 } # Przemysl
		command = { type = secedeprovince which = GER value = 635 } # Cieszyn
		command = { type = secedeprovince which = GER value = 719 } # Rowne
		command = { type = secedeprovince which = GER value = 720 } # Sandomierz
		command = { type = secedeprovince which = GER value = 638 } # Krakow
		command = { type = secedeprovince which = GER value = 637 } # Czestochowa
		command = { type = secedeprovince which = GER value = 721 } # Pinsk
		command = { type = sleepevent which = 652044 } # Polish territory to USSR (n/a in this instance)
	}
}

event = {
	id = 652056
	random = no
	country = SLO
	
	name = AI_EVENT 
	desc = ""
	style = 0

	#Andris: 2nd convoy
	#Triggered by GER 172376, when starting to get low on resources
	
	action_a = {
		
		command = { type = convoy which = 618 value = 619 when = 22 } #steel, coal, supplies
		command = { type = convoy which = 618 value = 619 when = 22 } 
		command = { type = convoy which = 618 value = 619 when = 20 } #coal, supplies
		command = { type = convoy which = 618 value = 619 when = 20 } 	
	}
}


#####################################
#AUSTRIA
#####################################

##################################
# 652030 (AUS)Danubian Pact Renewed(by Ghost_dk)
##################################

event = {
	id = 652030
	random = no
	country = AUS

	# triggered by ITA 462099

	name = CEVTNAME_652030
	desc = CEVTDESC_652030
	style = 0

	date = { day = 22 month = november year = 1937 }

	action_a = {
		name = CEVTACTA_652030
		command = { type = influence value = 2 }
		command = { type = trigger which = 462101 }
		}
	action_b = {
		name = CEVTACTB_652030
		command = { type = trigger which = 462145 }
		command = { type = trigger which = 462148 }
		command = { type = trigger which = 652047 }
		command = { type = trigger which = 702129 }
		}
}
##################################
# 652046 - (AUS)Three-Power Pact (II. Roman Protocols)(by Ghost_dk and Forevian)
##################################
event = {
	id = 652046
	random = no
	country = AUS

	# triggered by ITA 462146

	name = CEVTNAME_652046
	desc = CEVTDESC_652046
	style = 0

	action_a = {
		name = CEVTACTA_652046
		command = { type = trigger which = 462147 }
		command = { type = influence value = 1 }
		command = { type = alignment which = fascist value = -15 }
		}
	action_b = {
		name = CEVTACTB_652046
		command = { type = access which = ITA }
		command = { type = access which = HUN }
		command = { type = influence value = -1 }
		command = { type = trigger which = 462156 }
		command = { type = trigger which = 462148 }
		command = { type = trigger which = 652047 }
		command = { type = trigger which = 702129 }
		}
}
##################################
# 652047 - (AUS)End of the Danubian Pact(by Ghost_dk and Forevian)
##################################
event = {
	id = 652047
	random = no
	persistent = yes
	country = AUS

	# triggered by B choices in other Danubian related events

	name = CEVTNAME_652047
	desc = CEVTDESC_652047
	style = 0

	action_a = {
		name = CEVTACTA_652047
		command = { type = end_access which = ITA }
		command = { type = end_access which = HUN }
		}
}

##################################
# 652049 - (AUS)Vienna Conference(by Ghost_dk and Forevian)
##################################
event = {
	id = 652049
	random = no
	country = AUS

	# triggered by ITA 462154

	name = CEVTNAME_652049
	desc = CEVTDESC_652049
	style = 0

	action_a = {
		name = CEVTACTA_652049
		command = { type = influence value = 1 }
		}
}

event = {
	id = 652050
	random = no
	country = CZE

	trigger = {
		exists = POL
		#alliance = { country = POL country = FRA } #Andris Poland can't be Allied with France yet, only after CZ doesn't exist
		event = 2003 # GER Sudetenland to Germany
		}

	name = CEVTNAME_652050
	desc = CEVTDESC_652050
	style = 0

	date = { day = 1 month = march year = 1939 }
	offset = 2
	deathdate = { day = 30 month = december year = 1942 }
 
	action_a = {
		name = CEVTACTA_652050
		command = { type = manpowerpool value = -4 }
		command = { type = influence value = 1 }
		command = { type = trigger which = 702197 } # POL, Czechoslovakian Legion
		}
#	action_b = {
#		name = CEVTACTB_652050
#		command = { }
#		}
	}


###(AI) Switzerland Ministers (1937)

event = {
	id = 652201
	random = no
	country = SCH

	trigger = {
		ai = yes
		headofgovernment = 17011 #Philipp Etter
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 3 month = january year = 1937 }	
		
	action_a = {
	command = { type = ministerofsecurity which = 17085 } #Useless for SCH, but it makes sense to choose a Centralist minister, 
								#since LC party was defeated in election
	command = { type = armamentminister which = 17074 } #Heinrich Handschein: L-Faire Cap.
	command = { type = dissent value = -2 }
	}
}

###(AI) Switzerland Ministers (1941)

event = {
	id = 652202
	random = no
	country = SCH

	trigger = {
		ai = yes
		headofgovernment = 17019 #Enrico Celio
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 3 month = january year = 1941 }	
		
	action_a = {
	command = { type = ministerofsecurity which = 17087 } #von Steiger (historically accurate)
	command = { type = dissent value = -1 }
	}
}

event = {
	id = 652206
	random = no
	country = SCH

	trigger = {
		ai = yes
		war = { country = GER country = POL }
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1939 }
	offset = 2
	deathdate = { day = 30 month = december year = 1942 }	
		
	action_a = {
	command = { type = chiefofstaff which = 17096 } #Henri Guisan (historically accurate)
	}
}

####################################
###(AI) Switzerland Industry Expansion (1936-38)
####################################

event = {
	id = 652211
	random = no
	country = SCH

	trigger = {
		ai = yes
		
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 }	
		
	action_a = {
		command = { type = construct which = ic value = 936 } # Geneve
		command = { type = construct which = ic value = 914 } # Lausanne	
		command = { type = construct which = ic value = 541 } # Bern
	}
}

event = {
	id = 652212
	random = no
	country = SCH

	trigger = {
		ai = yes
		
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 12 month = january year = 1937 }
	offset = 1
	deathdate = { day = 23 month = january year = 1937 }
		
	action_a = {
		command = { type = construct which = ic value = 936 } # Geneve
		command = { type = construct which = ic value = 564 } # Zurich	
		command = { type = construct which = ic value = 541 } # Bern
	}
}

event = {
	id = 652213
	random = no
	country = SCH

	trigger = {
		ai = yes
		
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 24 month = january year = 1938 }
	offset = 1
	deathdate = { day = 5 month = february year = 1938 }
		
	action_a = {
		command = { type = construct which = ic value = 936 } # Geneve
		command = { type = construct which = ic value = 564 } # Zurich	
		command = { type = construct which = ic value = 541 } # Bern
	}
}

####(AI) Switzerland Tech
event = {
	id = 652221
	random = no
	country = SCH

	trigger = {
		ai = yes
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 }	
		
	action_a = { 
		name = OK		
		command = { type = start_research which = 3103 }
		command = { type = prio_research which = 3103 } #Basic Elec. Computer	
		command = { type = start_research which = 1601 } #Standardized Ammunition
		command = { type = start_research which = 12007 } #Extended Training Programme
		
	}
}



####Switzerland Human Manpower Adjustment
event = {
	id = 652231
	random = no
	country = SCH

	trigger = {
		ai = no
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 }	
		
	action_a = {
	name = OK

	command = { type = manpowerpool value = 9 }

	}
}

###############################
### (AI) General peacetime tech research AI (SCH)
################################
event = { 
	id = 652236
	random = no 
	country = SCH

	trigger = { 	ai = yes 
			atwar = no
			
		}

	name = AI_EVENT
	desc = ""
	style = 0

	date = { day = 3 month = june year = 1938 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }
	action_a = { 
		name = OK	
		command = { type = ai which = core_SCH_38.ai }
		
	}
}


###(AI) Austria Industrial Expansion (1936)
event = {
	id = 652251
	random = no
	country = AUS

	trigger = {
		ai = yes
		atwar= no
		}

	name = AI_EVENT
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 11 month = january year = 1936 }
 
	action_a = {
		name = "" # Ok
		command = { type = construct which = ic value = 565 }
		command = { type = construct which = ic value = 573 }	
		command = { type = construct which = ic value = 571 }	
		command = { type = construct which = ic value = 623 }
		command = { type = construct which = ic value = 621 } #Wien
		command = { type = construct which = ic value = 610 }
		command = { type = construct which = ic value = 611 }
		command = { type = construct which = ic value = 620 }
	
	}
}


###(AI) Austria Industrial Expansion (1937)
event = {
	id = 652252
	random = no
	country = AUS

	trigger = {
		ai = yes
		atwar= no
		}

	name = AI_EVENT
	desc = ""
	style = 0

	date = { day = 12 month = january year = 1937 }
	offset = 1
	deathdate = { day = 23 month = january year = 1937 }
 
	action_a = {
		name = "" # Ok
		command = { type = construct which = ic value = 565 }
		command = { type = construct which = ic value = 573 }	
		command = { type = construct which = ic value = 571 }	
		command = { type = construct which = ic value = 623 }
		#command = { type = construct which = ic value = 621 } #Wien
		command = { type = construct which = ic value = 610 }
		command = { type = construct which = ic value = 611 }
		command = { type = construct which = ic value = 620 }
	
	}
}

###(AI) Austria Industrial Expansion (1938)
event = {
	id = 652253
	random = no
	country = AUS

	trigger = {
		ai = yes
		atwar= no
		}

	name = AI_EVENT
	desc = ""
	style = 0

	date = { day = 24 month = january year = 1938 }
	offset = 1
	deathdate = { day = 5 month = february year = 1938 }
 
	action_a = {
		name = "" # Ok
		command = { type = construct which = ic value = 565 }
		command = { type = construct which = ic value = 573 }	
		command = { type = construct which = ic value = 571 }	
		command = { type = construct which = ic value = 623 }
		#command = { type = construct which = ic value = 621 } #Wien
		#command = { type = construct which = ic value = 610 }
		command = { type = construct which = ic value = 611 }
		command = { type = construct which = ic value = 620 }
	
	}
}


####Austria Human Manpower Adjustment
event = {
	id = 652256
	random = no
	country = AUS

	trigger = {
		ai = no
		}
	
	name = AI_Event
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 }	
		
	action_a = {
	name = OK

	command = { type = manpowerpool value = 20 }

	}
}


#########################################################################
#  Independence of Advanced Democratic Nations (Post/Late War) 
#  Uses tech research of Switzerland as a base, plus additional 
#########################################################################
event = {
	id = 652276
	random = no
	country = SCH

	name = AI_EVENT
	desc = ""
	style = 0

	action_a = {
	
	name = "OK"
	command = { type = independence which = ICL value = 1 }
	command = { type = trigger which = 1002401 } 
	
	}
}

