# C.O.R.E. v0.7 transition to CSV completed

#########################################################################
# Romanian Oil Prewar Support of German Economy
#########################################################################
# Romanian Oil 8200
# Romanian Oil was crucial to German and Italian prewar economies
# These events simulate that, but do not subtract from Romania
# 102 Event file also does not subtract from Romania
# These events will not fire if the default events have fired
# The default events happen after alliance
# Each shipment under these events represents about a 40 day
# rubber supply for Germany assuming .5 conversion

# 1936

event = { 
	id = 8200
	random = no
	country = ROM
	
	trigger = {
		exists = GER
		control = { province = 760 data = ROM }
		atwar = no
		NOT = { 
			event = 5000
			ispuppet = ROM
			alliance = { country = ROM country = ENG } 
		}
	}
	
	name = CEVTNAME_8200
	desc = CEVTDESC_8200
	style = 0
	
	date = { day = 7 month = june year = 1936 }
	offset = 30
	
	action_a = {
		name = CEVTACTA_8200
		command = { type = trigger which = 8201 }
		command = { type = oilpool value = -5000 } 
		command = { type = steal_tech which = GER }
	}
	#action_b = {
	#	name = CEVTACTB_8200
	#	command = {  }
	#}
}

# 1937

event = { 
	id = 8202
	random = no
	country = ROM
	
	trigger = {
		exists = GER
		control = { province = 760 data = ROM }
		atwar = no
		NOT = { 
			event = 5001
			ispuppet = ROM
			alliance = { country = ROM country = ENG } 
		}
	}
	
	name = CEVTNAME_8202
	desc = CEVTDESC_8200
	style = 0
	
	date = { day = 7 month = june year = 1937 }
	offset = 30
	
	action_a = {
		name = CEVTACTA_8200
		command = { type = trigger which = 8201 }
		command = { type = oilpool value = -5000 } 
		command = { type = steal_tech which = GER }
	}
	action_b = {
		name = CEVTACTB_8200
		command = { type = setflag which = rom_Germany_oil_denied }
	}
}

# 1938

event = { 
	id = 8204
	random = no
	country = ROM
	
	trigger = {
		exists = GER
		control = { province = 760 data = ROM }
		atwar = no
		NOT = { 
			event = 5002
			ispuppet = ROM
			alliance = { country = ROM country = ENG } 
		}
	}
	
	name = CEVTNAME_8202
	desc = CEVTDESC_8200
	style = 0
	
	date = { day = 7 month = june year = 1938 }
	offset = 30
	
	action_a = {
		name = CEVTACTA_8200
		command = { type = trigger which = 8201 }
		command = { type = oilpool value = -5000 } 
		command = { type = steal_tech which = GER }
	}
	action_b = {
		name = CEVTACTB_8200
		command = { type = setflag which = rom_Germany_oil_denied }
	}
}


# 1939 Andris: event conditional on, if 1937 and/or 1938 events did not send oil
# Otherwise, crashes Romania's economy   
# (ROM usually has no spare oil left by 1939 and has to convert coal)

event = { 
	id = 8206
	random = no
	country = ROM
	
	trigger = {
		exists = GER
		control = { province = 760 data = ROM }
		atwar = no
		NOT = { 
			event = 5003
			ispuppet = ROM
			alliance = { country = ROM country = ENG } 
		}
		
		#Conditional on 1937 or 1938 events, and enough coal
		#to convert to oil at 4:1
		flag = rom_Germany_oil_denied
		coal = 15000
	}
	
	name = CEVTNAME_8202
	desc = CEVTDESC_8200
	style = 0
	
	date = { day = 7 month = june year = 1939 }
	offset = 30
	
	action_a = {
		name = CEVTACTA_8200
		command = { type = trigger which = 8201 }
		command = { type = oilpool value = -3000 } #Andris: changed from 5000
		command = { type = steal_tech which = GER }
		command = { type = clrflag which = rom_Germany_oil_denied }
	}
	action_b = {
		name = CEVTACTB_8200
		command = { type = clrflag which = rom_Germany_oil_denied }
	}
}


event = { 
	id = 8201
	persistent = yes
	random = no
	country = GER
	
	# Triggered by ROM 8200/8202A/8204A/8206A
	
	name = CEVTNAME_8201
	desc = CEVTDESC_8200
	style = 0
	
	action_a = {
		name = CEVTACTA_8201
		command = { type = oilpool value = 5000 }
	}
}


#########################################################################
# China Management Events
#########################################################################
# Bolted Event Test
# 6000 6099 Overall Controls
# 6100 6199 Nationalist events
# 6200 6299 ChiCom events
# 6300 6399 Singkiang events none yet
# 6400 6499 Other 


#########################################################################
# Benelux Neutrality Promises
#########################################################################
# Bolted Event Test

event = { 
	id = 9000
	country = GER
	random = no
	
	trigger = {
		atwar = no
		random = 6
		exists = BEL
		exists = LUX
		exists = HOL
		NOT = { 
			OR = {
				puppet = { country = BEL country = GER }
				puppet = { country = HOL country = GER }
				puppet = { country = LUX country = GER }
				}
			}
	}
 
	name = CEVTNAME_9000
	desc = CEVTDESC_9000
	style = 0

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

	action_a = {
		name = CEVTACTA_9000
		command = { type = warentry which = USA value = -4 }
		command = { type = warentry which = ENG value = -2 }
		command = { type = warentry which = FRA value = -2 }
		command = { type = warentry which = BEL value = -5 }
		command = { type = warentry which = LUX value = -3 }
		command = { type = warentry which = HOL value = -5 }
		command = { type = warentry which = SPR value = -1 }
	}
	action_b = {
		name = CEVTACTB_9000
		command = { type = manpowerpool value = -10 } # Some leave 
	}
}

#########################################################################
# French Political Polarization
#########################################################################
# Bolted Event Test

event = { 
	id = 9001
	country = FRA
	random = no
	
	trigger = {
		atwar = no
		random = 5
	}
 
	name = CEVTNAME_9001
	desc = CEVTDESC_9001
	style = 0

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

	action_a = {
		name = CEVTACTA_9001
		command = { type = warentry which = FRA value = -4 }
		command = { type = dissent value = 5 }
	}
}

#
# Removed Fall of Paris events
#

#########################################################################
#  America First Committee
#########################################################################
#written by steeleagle

event = { 
	id = 9006 
	random = no
	country = USA
	trigger = {
		war = { country = ENG country = GER }
		random = 35 #Andris, was 20
			NOT = {
				war = { country = USA country = GER }
				}
		}
	name = CEVTNAME_9006
	desc = CEVTDESC_9006
	style = 0

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

	action_a = {
		name = CEVTACTA_9006
		command = { type = warentry which = USA value = -8 } 
		command = { type = dissent value = 3 }
	}
}

#########################################################################
# Craiova Settlement 
#########################################################################
# Bolted Event Test

event = { 
	id = 9007
	country = ROM 
	random = no
	
	trigger = {
		ai = no #Andris: added for play-balance as Bulgaria is currently agrarian -> need to revise.
		exists = BUL
		exists = HUN
		minister = 1
		alliance = { country = GER country = ROM }
		control = { province = 868 data = ROM } #Dobrich
		}
 
	name = CEVTNAME_9007
	desc = CEVTDESC_9007
	style = 0

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

	action_a = {
		name = CEVTACTA_9007
		command = { type = alignment which = fascist value = 20 } 
		command = { type = secedeprovince which = BUL value = 868 } #Dobrich
		command = { type = trigger which = 9008 }
		command = { type = dissent value = -2 } 
		command = { type = gain_tech which = -1 }
	}
	action_b = {
		name = CEVTACTB_9007
		command = { type = alignment which = fascist value = -10 } 
		command = { type = alignment which = democratic value = 5 }
		command = { type = dissent value = 3 } 
		command = { type = manpowerpool value = -1 }	
	}
}

#########################################################################
# The Craiova Settlement Bulgaria Reaction
#########################################################################
# Bolted Event Test

event = { 
	id = 9008
	country = BUL 
	random = no
	
	# Triggered by ROM 9007
 
	name = CEVTNAME_9008
	desc = CEVTDESC_9008
	style = 0

	action_a = {
		name = CEVTACTA_9008
		command = { type = alignment which = fascist value = 35 } 
		command = { type = dissent value = 5 } # increasing alignment towards Axis upsets some
		command = { type = access which = GER }
	}
}


#########################################################################
# Czech Technology
#########################################################################
# Bolted Event Test

event = { 
	id = 9020
	country = GER
	random = no
	

	trigger = {
		atwar = no
		random = 50
		control = { province = 615 data = GER }
		OR = { 
			event = 2011
			event = 2006 
			}
		NOT = { exists = CZE }
		NOT = { ispuppet = CZE }
	}
 
	name = CEVTNAME_9020
	desc = CEVTDESC_9020
	style = 0

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

	action_a = {
		name = CEVTACTA_9020
		command = { type = supplies  value = -4000 } # Cost
		command = { type = add_division which = armor } # unit
		command = { type = add_division which = armor } # unit
		command = { type = manpowerpool  value = -14 } # cost
		command = { type = sleepevent which = 172346 }
	}

	action_b = {
		name = CEVTACTB_9020
		command = { type = gain_tech which = 2200 } # Amphib. tanks
		command = { type = gain_tech which = 2300 } # Basic tanks
		command = { type = gain_tech which = 2301 } # imp. gear
		command = { type = gain_tech which = 2302 } # imp. suspension
		command = { type = gain_tech which = 2303 } # imp. engine
		command = { type = gain_tech which = 2106 } # Basic light 30mm
		command = { type = sleepevent which = 172346 }
	}

	action_c = {
		name = CEVTACTC_9020
		command = { type = manpowerpool value = 5 } # conversion specialists unneeded
		command = { type = sleepevent which = 172346 }
	}
}


######################################################################### 
# Olympic Games of 1936 
######################################################################### 
# Bolted
# Event authoring assisted by I forgot maybe orlando 

event = { 
	id = 9070 
	random = no 
	country = GER 

		trigger = { 
			NOT = { 
				atwar = GER # There is no war with the Allies
				OR = {
					control = { province = 621 data = GER } # Vienna
					control = { province = 615 data = GER } # Prague
					control = { province = 643 data = GER } # Warsaw
					control = { province = 552 data = GER } # Brussels
					control = { province = 553 data = GER } # Lux
					control = { province = 550 data = GER } # Amsterdam
					control = { province = 594 data = GER } # copenhagen
					control = { province = 664 data = GER } # Oslo
					control = { province = 499 data = GER } # London
					control = { province = 908 data = GER } # Rome
					control = { province = 633 data = GER } # Budapest
					control = { province = 757 data = GER } # Bucharest
					}
				 
				} 
			} 
	name = CEVTNAME_9070
	desc = CEVTDESC_9070
	style = 0 

	date = { day = 30 month = september year = 1936 } 
	# offset = 30 

	action_a = { 
		name = CEVTACTA_9070
		command = { type = dissent value = -5 } 
		command = { type = warentry which = ENG value = -5 } 
		command = { type = warentry which = FRA value = -5 } 
		command = { type = warentry which = USA value = -10 } 
		command = { type = warentry which = CAN value = -3 } 
		command = { type = warentry which = BEL value = -3 } 
		command = { type = warentry which = LUX value = -3 } 
		command = { type = warentry which = HOL value = -3 } 
		command = { type = warentry which = DEN value = -3 } 
		command = { type = warentry which = NOR value = -3 } 
		command = { type = warentry which = SWE value = -3 } 
		command = { type = warentry which = AST value = -3 } 
		command = { type = warentry which = NZL value = -3 } 
		command = { type = warentry which = CZE value = -5 }
	} 
} 

######################################################################### 
# Effects of Blitzkrieg in France
# The demoralization of the French army
######################################################################### 

event = { 
	id = 9150
	random = no
	country = FRA
	
	trigger = {
		
		war = { country = FRA country = GER }
		
		control = { province = 602 data = GER } #Berlin
		control = { province = 558 data = GER } #Köln
		control = { province = 560 data = GER } #Saarbrücken
		control = { province = 577 data = GER } #Stuttgart
		control = { province = 547 data = GER } #Freiburg
		control = { province = 559 data = GER } #Essen
		control = { province = 582 data = GER } #Münster
		control = { province = 589 data = GER } #Wilhelmshafen
		NOT = { 
			exists = VIC
		}
		
		OR = { 
			#control = { province = 552 data = GER } # Brussels removed Andris
			
			#2nd layer of French provinces
			control = { province = 522 data = GER } # Rouen
			control = { province = 528 data = GER } # Amiens
			control = { province = 529 data = GER } # Rheims
			control = { province = 525 data = GER } # Troyes
			control = { province = 524 data = GER } # Auxerre

			#Historical breakthrough around Chaumont (AI Germany vs. either AI France or Human France)
			AND = {
				NOT = { flag = fra_global_ger_HumanPlayer } # AI Germany 
				control = { province = 556 data = GER } # Chaumont
			}

			#Historical breakthrough around Chaumont (Human Germany vs. Human France)
			AND = {
				flag = fra_global_ger_HumanPlayer  	# Human Germany 
				ai = no 				# Human France
				control = { province = 556 data = GER } # Chaumont
			}
			
		}
	}

	name = CEVTNAME_9150
	desc = CEVTDESC_9150

	style = 0

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

	action_a = {
		name = CEVTACTA_9150
		command = { type = dissent value = 20 }
		
		#Possible Maginot Line extension along Belgian border
		command = { type = land_fort which = 518 value = -3 }	# Lille
		command = { type = land_fort which = 520 value = -3 }	# Sedan
		command = { type = land_fort which = 556 value = -3 }	# Chaumont

		#Resource evacuation, preparing for Vichy Regime
		command = { type = convoy which = 536 value = 2158 when = 31 } #Nantes to Port Vila (Only territory for Free France immediately after Vichy event)
		command = { type = convoy which = 929 value = 2158 when = 31 } #Marseilles to Port Vila

		#Resource evacuation to British overseas territories
		command = { type = convoy which = 536 value =  233 when = 30 } #Nantes to Belize
		command = { type = convoy which = 536 value =  276 when = 30 } #Nantes to Port of Spain
		command = { type = convoy which = 536 value =  309 when = 30 } #Nantes to Georgetown (Guyana)
		
		command = { type = convoy which = 929 value =  233 when = 30 } #Marseilles to Belize
		command = { type = convoy which = 929 value =  276 when = 30 } #Marseilles to Port of Spain
		command = { type = convoy which = 929 value =  309 when = 30 } #Marseilles to Georgetown (Guyana)
		
	}
}

######################################################################### 
# Effects of Blitzkrieg Germany
# 9151
######################################################################### 
#event = { 
#	id = 9151
# DISABLED

######################################################################### 
# 9200 - Bases For Destroyers US-England (Event Chain)
######################################################################### 
# Bolted
# It would be nice if destroyers could actually be turned over to 
# Britain, but there has been no explanation of the relevant command
# and its relationship to the Unit ID structure 

event = { 
	id = 9200
	random = no
	country = ENG
	
	trigger = {
		minister = 6001 # Head of State FDR
		war = { country = GER country = ENG }
		OR = {
			control = { province = 527 data = GER } # Paris
			exists = VIC
			}
		NOT = {
			war = { country = USA country = ENG }
			control = { province = 499 data = GER } # London
			}
		}

	name = CEVTNAME_9200
	desc = CEVTDESC_9200

	style = 0

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

	action_a = {
		name = CEVTACTA_9200
		command = { type = trigger which = 9201 } 
		#command = { type = dissent value = -2 } #Andris: already included with ENG 9202
	}
	action_b = {
		name = CEVTACTB_9200
		command = { type = dissent value = 1 } #Andris: reduced from 2
	}
}

event = { 
	id = 9201
	random = no
	country = USA
	
	# Triggered by ENG 9200A

	name = CEVTNAME_9201
	desc = CEVTDESC_9201

	style = 0

	action_a = {
		name = CEVTACTA_9201
		command = { type = dissent value = -1 }
		command = { type = trigger which = 9202 } 
	}
	action_b = {
		name = CEVTACTB_9201
		command = { type = influence value = -10 }	# bad international relations
		command = { type = trigger which = 9203 } 
		command = { type = dissent value = 2 }
	}
}

event = { 
	id = 9202
	random = no
	country = ENG
	
	# triggered by USA 9201A

	name = CEVTNAME_9202
	desc = CEVTDESC_9202

	style = 0

	action_a = {
		name = CEVTACTA_9202
		command = { type = secedeprovince which = USA value = 233 } #Belize
		command = { type = secedeprovince which = USA value = 260 } #Kingston
		command = { type = secedeprovince which = USA value = 225 } #The Bahamas
		command = { type = secedeprovince which = USA value = 268 } #Saint John's
		command = { type = secedeprovince which = USA value = 270 } #Roseau
		command = { type = secedeprovince which = USA value = 272 } #Kingstown
		command = { type = secedeprovince which = USA value = 274 } #Saint George's
		command = { type = secedeprovince which = USA value = 275 } #Bridgetown
		command = { type = trigger which = 9204 } # USA Accepted
		command = { type = dissent value = -2 }
		command = { type = influence value = 10 }	# good international relations
		command = { type = add_division which = destroyer }
		command = { type = manpowerpool value = -1 }
	}
}


event = { 
	id = 9203
	random = no
	country = ENG
	
	# triggered by USA 9201B

	name = CEVTNAME_9203
	desc = CEVTDESC_9203

	style = 0

	action_a = {
		name = CEVTACTA_9203
		command = { type = dissent value = -2 }
		}
}

event = { 
	id = 9204
	random = no
	country = USA
	
	# Triggered by ENG 9202

	name = CEVTNAME_9204
	desc = CEVTDESC_9204

	style = 0

	action_a = {
		name = CEVTACTA_9204
		command = { type = access which = ENG }
		command = { type = influence value = 3 }	# good international relations
		
		#US resource stockpiling in Caribbean (coal/steel/rubber), starting from Washington DC

		command = { type = convoy which = 178 value = 233 when = 31 } #Belize
		command = { type = convoy which = 178 value = 260 when = 31 } #Kingston
		command = { type = convoy which = 178 value = 225 when = 31 } #The Bahamas
		command = { type = convoy which = 178 value = 268 when = 31 } #Saint John's 
		command = { type = convoy which = 178 value = 270 when = 31 } #Roseau
		command = { type = convoy which = 178 value = 272 when = 31 } #Kingstown
		command = { type = convoy which = 178 value = 274 when = 31 } #Saint George's
		command = { type = convoy which = 178 value = 275 when = 31 } #Bridgetown
		
	}
}

######################################################################### 
# England Capital Events 
#########################################################################

# England Capital moves to Edinburgh

event = { 
	id = 9210
	random = no
	country = ENG
	
	trigger = {
		control = { province = 487 data = ENG } # Edinburgh alternate
		NOT = {
			control = { province = 499 data = ENG } # London
		}
		
		OR = { 
			NOT = { control = { province = 489 data = ENG } } # Manchester for AI UK
			
			AND = {
				event = 1500005 #Human UK
				war = { country = GER country = ENG }
			}
		}
	}

	name = CEVTNAME_9210
	desc = CEVTDESC_9210

	style = 0

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

	action_a = {
		name = CEVTACTA_9210
		command = { type = capital which = 487 }
		command = { type = dissent value = 3 }
	}
}


# England Capital moves back to London

event = { 
	id = 9211
	random = no
	country = ENG
	
	trigger = {
		control = { province = 486 data = ENG } # Glasgow
		control = { province = 487 data = ENG } # Edinburgh
		control = { province = 488 data = ENG } # Newcastle
		control = { province = 489 data = ENG } # Manchester
		control = { province = 490 data = ENG } # Sheffield
		control = { province = 491 data = ENG } # Cardiff
		control = { province = 497 data = ENG } # Birmingham
		control = { province = 498 data = ENG } # Coventry
		control = { province = 499 data = ENG } # London
		control = { province = 500 data = ENG } # Bristol
		control = { province = 502 data = ENG } # Southampton
		control = { province = 503 data = ENG } # Portsmouth
		
		OR = {
			AND = {
				event = 1500005 #Human UK
				war = { country = GER country = ENG }
			}

			#Germany expelled from British Isles for AI UK
			event = 272701 #Germany at war also with USA and/or Soviet union
			event = 1510022 #UK alone
		}
	}

	name = CEVTNAME_9211
	desc = CEVTDESC_9211

	style = 0

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

	action_a = {
		name = CEVTACTA_9211
		command = { type = capital which = 499 }
		command = { type = dissent value = -5 }
	}
}


# England Capital moves to Canada
# NOTE: This will give UK 0 monthly manpower; may trigger milita spamming

event = { 
	id = 9212
	random = no
	country = ENG
	
	trigger = {
		control = { province = 168 data = ENG } # St. John's
		
		NOT = {
			control = { province = 487 data = ENG } # Edinburgh 
			control = { province = 499 data = ENG } # London
		}

		event = 9210 #Edinburgh Alternate
	}

	name = CEVTNAME_9212
	desc = CEVTDESC_9212

	style = 0

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

	action_a = {
		name = CEVTACTA_9212
		command = { type = capital which = 168 }
		command = { type = dissent value = 5 }
	}
}
 
# (AI) England Capital moves to Manchester, if Germany (or other Axis) land in South England (Andris)

event = { 
	id = 9213
	random = no
	country = ENG
	#persistent = yes
	
	trigger = {
		ai = yes
		control = { province = 489 data = ENG } # Manchester
		control = { province = 488 data = ENG } # Newcastle
			
		NOT = {
			AND = { #Triggers if any of the beaches are not controlled by UK
				control = { province = 498 data = ENG } # Coventry
				control = { province = 502 data = ENG } # Southampton
				control = { province = 503 data = ENG } # Plymouth
				control = { province = 500 data = ENG } # Bristol
			}
		}
	}	

	name = "English Capital Moves to Manchester"
	desc = ""

	style = 0

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

	action_a = {
		name = OK
		command = { type = capital which = 489 } #Manchester
		command = { type = dissent value = 1 }
	}
}

######################################################################### 
# German Aggression in the Baltics
# 9400
######################################################################### 

event = { 
	id = 9400
	random = no
	country = SOV
	
	trigger = {
		random = 45

	NOT = { 
		OR = {
			ispuppet = SOV
			war = { country = GER country = SOV }
			event = 5308 # bitter peace
			event = 5309 # bitter peace
			event = 5310 # not so bitter peace
			event = 5311 # not so bitter peace
			event = 2013 # historical pact
			event = 2602 # full alliance			
			}
		}

	NOT = {
		event = 702083 # Lithuania refuses Poland (POL defeats LIT, GER takes 715 in war)
	}

		OR = { 
			control = { province = 709 data = GER } # lat
			control = { province = 707 data = GER } # est
			control = { province = 715 data = GER } # lit
		}
	}

	name = CEVTNAME_9400
	desc = CEVTDESC_9400

	style = 0

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

	action_a = {
		name = CEVTACTA_9400
		command = { type = war which = GER }
	}
	action_b = {
		name = CEVTACTB_9400
		command = { type = influence value = -5 }
		command = { type = dissent value = 5 }
	}
}

######################################################################### 
# German Aggression in the Balkans
# 9401 
######################################################################### 
# Bolted

event = { 
	id = 9401
	random = no
	country = SOV
	
	trigger = {
		random = 45
		NOT = { 
			ispuppet = SOV
			war = { country = GER country = SOV }
			event = 5308 # bitter peace
			event = 5309 # bitter peace
			event = 2013 # historical pact
			event = 2602 # full alliance	
		}
		OR = { 
			control = { province = 757 data = GER } # rom
			control = { province = 873 data = GER } # istanbul
			control = { province = 750 data = GER } # bulgaria
		}
	}

	name = CEVTNAME_9401
	desc = CEVTDESC_9401

	style = 0

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

	action_a = {
		name = CEVTACTA_9401
		command = { type = war which = GER }
	}
	action_b = {
		name = CEVTACTB_9400
		command = { type = influence value = -5 }
		command = { type = dissent value = 5 }
	}
}

######################################################################### 
# German Aggression in Western Europe
# 9500 
######################################################################### 
# Bolted 9500 REMOVED


######################################################################### 
# German Aggression in Western Europe
# 9501 - British / French outrage over attacks on Neutrals 
######################################################################### 
# Bolted

event = { 
	id = 9501
	random = no
	country = ENG
	
	trigger = {
		exists = FRA
		exists = USA
		OR = {
			war = { country = BEL country = GER }
			war = { country = HOL country = GER }
			war = { country = SCH country = GER }
			control = { province = 552 data = GER } # Bruxelles
			control = { province = 550 data = GER } # Amster
			control = { province = 553 data = GER } # Lux
			control = { province = 594 data = GER } # copenhagen
			puppet = { country = BEL country = GER }
			puppet = { country = HOL country = GER }
			puppet = { country = LUX country = GER }
			puppet = { country = SCH country = GER }
			puppet = { country = DEN country = GER }
			}
		NOT = {
			war = { country = ENG country = GER }			
			}
		}
	name = CEVTNAME_9501
	desc = CEVTDESC_9501

	style = 0

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

	action_a = {
		name = CEVTACTA_9501
		command = { type = warentry which = ENG value = 35 }
		command = { type = trigger which = 9502 }
		command = { type = dissent value = -5 }
	}
	action_b = {
		name = CEVTACTB_9501
		command = { type = influence value = -5 }
		command = { type = dissent value = 5 }
	}
}

event = { 
	id = 9502
	random = no
	country = FRA
	
	# Triggered by ENG 9501

	name = CEVTNAME_9502
	desc = CEVTDESC_9502

	style = 0

	action_a = {
		name = CEVTACTA_9502
		command = { type = warentry which = FRA value = 35 }
		command = { type = dissent value = -5 }
	}
	action_b = {
		name = CEVTACTB_9502
		command = { type = influence value = -5 }
		command = { type = dissent value = 5 }
	}
}

######################################################################### 
# German Aggression in Eastern Europe
# 9600 - Yugoslavia 
######################################################################### 
# Bolted - original author Chuck 
# Edited by Zerli
# German alliance with Yugoslavia -> triggers coup and puts Yugoslavia in Allies instead
# events 9600 and 9601 erased as they were redundant

event = {
	id = 9602
	random = no
	country = YUG

	trigger = {
			exists = ENG
			NOT = { alliance = { country = GER country = ENG } }
			alliance = { country = GER country = YUG } 
			}
	
	name = CEVTNAME_9602
	desc = CEVTDESC_9602
	style = 0

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

	action_a = {
			name = CEVTACTA_9602
			command = { type = dissent value = -5 }
			command = { type = alignment which = democratic value = 20 }
			command = { type = alignment which = fascist value = -50 }
			command = { type = headofstate which = 20011 } #King Petar II
			command = { type = headofgovernment which = 20033 } #Dusan Simovic
			command = { type = foreignminister which = 20053 } #Momcilo Nincic
			command = { type = ministerofsecurity which = 20067 } #Barisa Smoljan
			command = { type = armamentminister which = 20059 } #Miha Krek
			command = { type = ministerofintelligence which = 20068 } #Josip Torbar
			command = { type = chiefofstaff which = 20062 } #Dzafer Kulenovic
			command = { type = chiefofarmy which = 20069 } #Juraj Sutej
			command = { type = chiefofnavy which = 20009 } #Bogoljub Ilic
			command = { type = chiefofair which = 20020 } #Borivoje Mirkovic
			command = { type = trigger which = 9603 }

			# Sleep alternate Germany Pact of Steel chain
			command = { type = sleepevent which = 172013 }	
			}
	}

event = {
	id = 9603
	random = no
	country = ENG

	#Triggered by YUG 9602

	name = CEVTNAME_9603
	desc = CEVTDESC_9603
	style = 0

	action_a = {
		name = CEVTACTA_9603
		command = { type = make_puppet which = YUG } # Only way to get YUG into Allies
		command = { type = trigger which = 9604 }
	}
}


event = {
	id = 9604
	random = no
	country = ENG

	#Triggered by ENG 9603

	name = CEVTNAME_9604
	desc = CEVTDESC_9604
	style = 0

	action_a = {
		name = CEVTACTA_9604
		command = { type = end_mastery which = YUG } # Ends YUG puppet status
		command = { type = trigger which = 9605 }
	}
}

event = {
	id = 9605
	random = no
	country = YUG

	#Triggered by ENG 9604

	name = CEVTNAME_9605
	desc = CEVTDESC_9605
	style = 0

	action_a = {
		name = CEVTACTA_9605
		command = { type = end_puppet } # Ends YUG puppet status
	}
}


#########################################################################
# Event Series 12200 Foreign Volunteers
# Event 12200 Foreign Volunteers Germany
#########################################################################
# Supplies represent the propaganda or incentives effort 

event = { 
	id = 12200
	random = no
	country = GER
	
	trigger = {
		random = 20
		control = { province = 552 data = GER } # Brussels
		control = { province = 553 data = GER } # Lux
		control = { province = 550 data = GER } # Amsterdam
		control = { province = 527 data = GER } # Paris
		war = { country = GER country = SOV }
		NOT = { 
			exists = POL
			}
		}	
	
	name = CEVTNAME_12200
	desc = CEVTDESC_12200
	style = 0

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

	action_a = { 
		name = CEVTACTA_12200
		command = { type = manpowerpool value = 40 }
		command = { type = supplies value = -100 } 
	} 
} 

event = { 
	id = 12201
	random = no
	country = GER
	
	trigger = {
		random = 15
		control = { province = 552 data = GER } # Brussels
		control = { province = 553 data = GER } # Lux
		control = { province = 550 data = GER } # Amsterdam
		control = { province = 527 data = GER } # Paris
		control = { province = 594 data = GER } # copenhagen
		control = { province = 664 data = GER } # Oslo
		war = { country = GER country = SOV }
		NOT = { 
			exists = POL
			}
		}	
	
	name = CEVTNAME_12201
	desc = CEVTDESC_12201
	style = 0

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

	action_a = { 
		name = CEVTACTA_12201
		command = { type = manpowerpool value = 35 } 
		command = { type = supplies value = -100 }
	} 
} 


#########################################################################
# Event Series 14000 World Industrialization & Technology
# Event 14000 Oil to Rubber Conversion Technology
#########################################################################
# trigger condition major = yes/no is bugged and therefore reversed

event = { 
	id = 14000
	random = yes
	trigger = {
			atwar = no
			NOT = {
				technology = 4303
				}
		}
	name = CEVTNAME_14000
	desc = CEVTDESC_14000
	style = 0

	action_a = {
		name = CEVTACTA_14000
		command = { type = gain_tech which = 4000 }
		command = { type = gain_tech which = 4100 }
		command = { type = gain_tech which = 4200 }
		command = { type = gain_tech which = 4300 }
		command = { type = gain_tech which = 4301 }
		command = { type = gain_tech which = 4302 }
		command = { type = gain_tech which = 4303 }
		command = { type = supplies value = -100 }
	}
}
#########################################################################
# Event Series 14000 World Industrialization
# Event 14001 Basic Coal to Oil Conversion Technology
#########################################################################
# trigger condition major = yes/no is bugged and therefore reversed

event = { 
	id = 14001
	random = yes
	trigger = {
			atwar = no
			NOT = {
				technology = 4001
				}
		}
	name = CEVTNAME_14001
	desc = CEVTDESC_14001
	style = 0

	action_a = {
		name = CEVTACTA_14001
		command = { type = gain_tech which = 4000 }
		command = { type = gain_tech which = 4001 }
		command = { type = supplies value = -100 }
	}
}
#########################################################################
# Event Series 14000 World Industrialization
# Event 14002 Advanced Coal to Oil Conversion Technology
#########################################################################
# trigger condition major = yes/no is bugged and therefore reversed

event = { 
	id = 14002
	random = yes
	trigger = {
			atwar = no
			NOT = {
				technology = 4601
				}
		}
	name = CEVTNAME_14002
	desc = CEVTDESC_14002
	style = 0

	action_a = {
		name = CEVTACTA_14002
		command = { type = gain_tech which = 4000 }
		command = { type = gain_tech which = 4001 }
		command = { type = gain_tech which = 4200 }
		command = { type = gain_tech which = 4300 }
		command = { type = gain_tech which = 4400 }
		command = { type = gain_tech which = 4500 }
		command = { type = gain_tech which = 4600 }
		command = { type = gain_tech which = 4601 }
		command = { type = supplies value = -100 }
	}
}
#########################################################################
# Event Series 14100 Foreign Military Advisors
# Event 14100 Basic Infantry Technolgy
#########################################################################
# trigger condition major = yes/no is bugged and therefore reversed

event = { 
	id = 14100
	random = yes
	trigger = {
			NOT = {
				technology = 1301
				}
		}
	name = CEVTNAME_14100
	desc = CEVTDESC_14100
	style = 0

	action_a = {
		name = CEVTACTA_14100
		command = { type = gain_tech which = 1000 }
		command = { type = gain_tech which = 1001 }
		command = { type = gain_tech which = 1100 }
		command = { type = gain_tech which = 1200 }
		command = { type = gain_tech which = 1201 }
		command = { type = gain_tech which = 1204 }
		command = { type = gain_tech which = 1300 }
		command = { type = gain_tech which = 1301 }
		command = { type = supplies value = -100 }
	}
}
#########################################################################
# Event Series 14100 Foreign Military Advisors
# Event 14101 Basic Artillery Technology
#########################################################################
# trigger condition major = yes/no is bugged and therefore reversed

event = { 
	id = 14101
	random = yes
	trigger = {
			NOT = {
				technology = 14012
				}
		}
	name = CEVTNAME_14101
	desc = CEVTDESC_14101
	style = 0

	action_a = {
		name = CEVTACTA_14101
		command = { type = gain_tech which = 14000 }
		command = { type = gain_tech which = 14001 }
		command = { type = gain_tech which = 14003 }
		command = { type = gain_tech which = 14008 }
		command = { type = gain_tech which = 14010 }
		command = { type = gain_tech which = 14012 }
		command = { type = supplies value = -100 }
	}
}

#########################################################################
# Event Series 14100 Foreign Military Advisors
# Event 14102 Land Doctrine
#########################################################################

event = { 
	id = 14102
	random = yes
	trigger = {
			NOT = {
				technology = 11001
				}
		}
	name = CEVTNAME_14102
	desc = CEVTDESC_14102
	style = 0

	action_a = {
		name = CEVTACTA_14102
		command = { type = gain_tech which = 11000 }
		command = { type = gain_tech which = 11001 }
		command = { type = gain_tech which = 11002 }
		command = { type = gain_tech which = 11100 }
		command = { type = supplies value = -100 }
	}
}
#########################################################################
# Event Series 14100 Foreign Military Advisors
# Event 14103 Armor Concepts
#########################################################################
# event trigger major = yes/no is bugged and therefore reversed
event = { 
	id = 14103
	random = yes
	trigger = {
				NOT = {
				technology = 2006
				}
		}
	name = CEVTNAME_14103
	desc = CEVTDESC_14103
	style = 0

	action_a = {
		name = CEVTACTA_14103
		command = { type = gain_tech which = 2000 }
		command = { type = gain_tech which = 2001 }
		command = { type = gain_tech which = 2002 }
		command = { type = gain_tech which = 2003 }
		command = { type = gain_tech which = 2004 }
		command = { type = gain_tech which = 2005 }
		command = { type = gain_tech which = 2006 }
		command = { type = supplies value = -100 }
	}
}

#event = { #Trying with province-based events instead of country-based
#	id = 338009
#	random = no
#	province = 603 #Breslau
#	
#	trigger = {
#		
#		ai = no
#		control = { province = 603 data = -1}
#		
#	}
#
#	name = "Test Province" 
##	desc = ""
#	style = 0
#
#	date = { day = 20 month = january year = 1936 }
#	offset = 5
#	deathdate = { day = 1 month = january year = 1939  }
#
#	action_a = {
#		name = "OK" #
#		command = { type = secedeprovince which = FRA value = 603 }
#	}
#}
