# ***Southeast Asia (includes Indonesia) 1152000 - 1201999***

#########################################################################
# Japan puts Pressure on Siam (Axis Japan)
#########################################################################
event = { 
	id = 4500
	random = no
	country = SIA
	
	# Triggered by PAN 3806
	
	name = "EVT_4500_NAME"
	desc = "EVT_4500_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME4500A" # Accept
		command = { type = trigger which = 3808 } # Japan
		command = { type = trigger which = 4502 } # Siam
		command = { type = leave_alliance }
		}
	action_b = {
		name = "ACTIONNAME4500B" # Decline
		command = { type = trigger which = 3809 } # Japan
	}
}
#########################################################################
# Japan puts Pressure on Siam ("Neutral" Japan)
#########################################################################
event = { 
	id = 4501
	random = no
	country = SIA
	
	# Triggered by PAN 3807
	
	name = "EVT_4501_NAME"
	desc = "EVT_4501_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME4501A" # Accept
		command = { type = trigger which = 3808 } # Japan
		command = { type = trigger which = 4503 } # Siam
		command = { type = leave_alliance }
	}
	action_b = {
		name = "ACTIONNAME4501B" # Decline
		command = { type = trigger which = 3809 } # Japan
	}
}

#########################################################################
# Japan puts Pressure on Siam (Axis Japan)
#########################################################################
event = { 
	id = 4502
	random = no
	country = SIA
	
	# Triggered by PAN 4500
	
	name = "We accepted an alliance with Japan"
	desc = "EVT_4500_DESC"
	style = 0
	
	action_a = {
		name = "Ok" # Accept
		command = { type = alliance which = GER }
		command = { type = access which = PAN }
		command = { type = trigger which = 4504 } # Japan
		}
}
#########################################################################
# Japan puts Pressure on Siam ("Neutral" Japan)
#########################################################################
event = { 
	id = 4503
	random = no
	country = SIA
	
	# Triggered by PAN 4501
	
	name = "We accepted an alliance with Japan"
	desc = "EVT_4501_DESC"
	style = 0
	
	action_a = {
		name = "Ok" # Accept
		command = { type = war which = ENG }
		command = { type = access which = PAN }
		command = { type = trigger which = 4505 } # Japan
		}
}

##########################################################
# Amelia Earhart Arrives in Bangkok Event
# by MateDow
# Concept by Engineer & Kevin McCarthy
##########################################################

event = {
	id = 1152000
	random = no
	country = SIA

	trigger = {
		event = 322118
		}

	name = CEVTNAME_1152000
	desc = CEVTDESC_1152000
	style = 0

	date = { day = 20 month = june year = 1937 }

	action_a = {
		name = CEVTACTA_1152000
		command = { }
		}
}

#########################################################################
#  Siam demands restoration of lost provinces (Neutral Siam) (by OHgamer)
#########################################################################
event = { 
	id = 1152001
	random = no
	country = SIA
	
	trigger = {
		exists = VIC
		control = { province = 1731 data = VIC }
		control = { province = 1608 data = PAN } 
		control = { province = 1727 data = PAN }
		control = { province = 1730 data = VIC }
		NOT = {
			alliance = { country = PAN country = ENG }
			war = { country = PAN country = USA }
		        alliance = { country = PAN country = SIA }
			alliance = { country = VIC country = GER }
		    }
	}
	
	date = { day = 1 month = october year = 1940 }
	offset = 5
	deathdate = { day = 30 month = december year = 1942 }

	name = CEVTNAME_1152001
	desc = CEVTDESC_1152001
	style = 0

	action_a = {
		name = CEVTACTA_1152001
		command = { type = trigger which = 432093 }
		command = { type = alignment which = fascist value = 15 } # Siam moves toward the fascist bloc
		command = { type = sleepevent which = 1152004 }
	}
	action_b = {
		name = CEVTACTB_1152001
		command = { type = alignment which = democratic value = 15 } # Siam moves toward the democratic bloc
	}
}



#########################################################################
#  Siam demands restoration of lost provinces : Siam goes to war (by OHgamer)
#########################################################################
event = { 
	id = 1152002
	random = no
	country = SIA
	
	#triggered by VIC432093
	
	name = CEVTNAME_1152002
	desc = CEVTDESC_1152002
	style = 0

	action_a = {
		name = CEVTACTA_1152002
		command = { type = war which = VIC }
		command = { type = dissent value = -20 }
	}
	action_b = {
		name = CEVTACTB_1152002
		command = { type = alignment which = democratic value = 30 } # Siam moves toward the democratic bloc
		command = { type = dissent value = 20 }
	}
}


#########################################################################
#  Japan intervenes in the Franco-Siamese War : Siam's response (by OHgamer)
#########################################################################
event = { 
	id = 1152003
	random = no
	country = SIA
	
	#triggered by PAN492126
	
	name = CEVTNAME_1152003
	desc = CEVTDESC_1152003
	style = 0

	action_a = {
		name = CEVTACTA_1152003
		command = { type = peace which = VIC }
		command = { type = alignment which = fascist value = 50 } #Pro-Japan elements strengthened in Siam
		command = { type = dissent value = -10 }
	}
}



#########################################################################
#  Siam demands restoration of lost provinces (Axis Siam) (by OHgamer)
#########################################################################
event = { 
	id = 1152004
	random = no
	country = SIA
	
	trigger = {
		exists = VIC
		control = { province = 1731 data = VIC }
		control = { province = 1608 data = PAN } 
		control = { province = 1727 data = PAN }
		control = { province = 1730 data = VIC }
		alliance = { country = PAN country = SIA }
		NOT = {
			alliance = { country = VIC country = GER }
			alliance = { country = PAN country = ENG }
			war = { country = PAN country = USA }
		    }
	}
	
	date = { day = 1 month = october year = 1940 }
	offset = 5
	deathdate = { day = 30 month = december year = 1942 }

	name = CEVTNAME_1152004
	desc = CEVTDESC_1152004
	style = 0

	action_a = {
		name = CEVTACTA_1152004
		command = { type = trigger which = 432095 }
		command = { type = alignment which = fascist value = 15 } # Siam moves toward the fascist bloc
		command = { type = sleepevent which = 1152001 }
	}
	action_b = {
		name = CEVTACTB_1152004
		command = { type = alignment which = democratic value = 15 } # Siam moves toward the democratic bloc
	}
}

# MOVED TO 082.txt
##################################################
# 1152001 - Philippines Mobilizes Stage 1
##################################################
#
#event = { 
#	id = 1152005
#	random = no
#	country = PHI
#
#	trigger = {
#		random = 20
#		OR = {
#			year = 1937
#			atwar = yes
#		}
#	}
#
#	name = CEVTNAME_1152005
#	desc = CEVTDESC_1152005
#	style = 0
#
#	date = { day = 1 month = january year = 1937 } 
#	offset = 15
#	deathdate = { day = 30 month = december year = 1937 }
#
#	action_a = {
#		name = CEVTACTA_OK
#		command = { type = manpowerpool value = 20 }
#	}
#}
#
##################################################
# 1152002 - Philippines Mobilizes Stage 2
##################################################
#
#event = { 
#	id = 1152006
#	random = no
#	country = PHI
#
#	trigger = {
#			OR = {
#				year = 1939
#				atwar = yes
#			}
#		}
#
#	name = CEVTNAME_1152006
#	desc = CEVTDESC_1152006
#	style = 0
#
#	date = { day = 1 month = january year = 1936 } 
#	offset = 15
#	deathdate = { day = 30 month = december year = 1939 }
#
#	action_a = {
#		name = CEVTACTA_OK
#		command = { type = manpowerpool value = 80 }
#		command = { type = province_manpower which = 1804   value = 10 } #Manila
#		command = { type = province_manpower which = 1974   value = 5 } #Cagyan
#		command = { type = province_manpower which = 1973   value = 5 } #Bacolod
#	}
#}
#
##################################################
# 1152003 - Siam Mobilizes
##################################################

event = { 
	id = 1152007
	random = no
	country = SIA

	trigger = {
			OR = {
				exists = VIC
				Year = 1939
				atwar = yes
			}
		}

	name = CEVTNAME_1152007
	desc = CEVTDESC_1152007
	style = 0

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

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 40 }
		command = { type = province_manpower which = 1744   value = 10 } #Bangkok
		command = { type = province_manpower which = 1746   value = 5 } #Thon Burio
	}
}


#########################################################################
# 1152004 PHI Joins War Against China - part of Panay Incident Event Chain (by Engineer)
#########################################################################
event = { 
	id = 1152008
	random = no
	country = CHI
	
	# triggered by USA Event 322244
	
	name = CEVTNAME_1152008
	desc = CEVTDESC_1152008
	style = 0

	action_a = {
	name = CEVTACTA_OK
			command = { type = access which = CHI }
			command = { type = gain_tech which = 1302 } # Penicillin 
			command = { type = gain_tech which = 1303 } # Blood transfusions 
	}
}

############################################
#Soviet-Japanese Neutrality Treaty (Siam)
############################################

event = {
	id = 1152009 # 9000006
	random = no
	persistent = yes
	country = SIA
	
	# Triggered by Japanese Acceptance of Soviet-Japanese Neutrality Treaty

	name = AI_EVENT 
	desc = ""
	style = 0

	action_a = {
		command = { type = peace which = SOV value = 1 }
		command = { type = peace which = MON value = 1 }
		command = { type = peace which = TAN value = 1 }
	}
}

##############################################

event = {
	id = 1152010 # 9000009
	random = no
	country = SIA
	
	trigger = {
		event = 492039
		alliance = { country = PAN country = GER }
		OR = {
			NOT = { alliance = { country = PAN country = SIA }	}
			NOT = { puppet = { country = SIA country = PAN }	}
		}
	}

	name = CEVTNAME_1152010 
	desc = ""
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 12
	deathdate = { day = 1 month = january year = 1949 }

	action_a = {
		command = { type = sleepevent which = 1152009 }
	}
}

# Files in pack,modified Siam ministers file, modified Siam leader file , siamevents.txt

#ID's
#1152011 - (SIA)Phot Bhahalyodin Resigns(by Semi-Lobster & Ghost_dk)
#1152012 - (SIA)The Thailand for Thai Economic Plan(by Semi-Lobster & Ghost_dk)
#1152013 - (SIA)Official Discrimination of Religious Minorities(by Semi-Lobster & Ghost_dk)
#1152014 - (SIA)Death of King Rama VIII(by Semi-Lobster & Ghost_dk)

######################################
# 1152011 - (SIA)Phot Bhahalyodin Resigns(by Semi-Lobster & Ghost_dk)
######################################
event = {
	id = 1152011
	random = no
	country = SIA

	trigger = {
		headofgovernment = 62002 # Phot Bhahalyodin is HOG
		atwar = no # if Siam is at war the party would probably have put aside differences
		NOT = {
			ispuppet = SIA # if Siam is a puppet of another country they would not have a say in this
			alliance = { country = SIA country = ENG } # If allied with ENG or SOV they would not turn Fascist
			alliance = { country = SIA country = SOV }
		}
	}

	name = CEVTNAME_1152011
	desc = CEVTDESC_1152011
	style = 0

	date = { day = 11 month = september year = 1938 }

	action_a = {
		name = CEVTACTA_1152011
		command = { type = alignment which = fascist value = 15 } 
		command = { type = headofgovernment which = 62019 } #Ministers you specified
		command = { type = ministerofintelligence which = 62100 }
		command = { type = chiefofstaff which = 62007 }
		command = { type = chiefofarmy which = 62008 }
		command = { type = ministerofsecurity which = 62125 } #added to ministers file
		command = { type = armamentminister which = 62016 }
		command = { type = foreignminister which = 62126 } #added to ministers file
		command = { type = addcore which = 1728 } #Laos
		command = { type = addcore which = 1603 } #Laos
		command = { type = addcore which = 1604 } #Laos
		command = { type = addcore which = 1953 } #Malaya
		}
	action_b = {
		name = CEVTACTB_1152011
		command = { type = alignment which = democratic value = 10 } 
		command = { type = headofgovernment which = 62027 } #Ministers you specified
		command = { type = ministerofintelligence which = 62103 }
		command = { type = chiefofstaff which = 62108 } 
		command = { type = chiefofarmy which = 62127 } #added to ministers file
		command = { type = ministerofsecurity which = 62128 } #added to ministers file
		command = { type = armamentminister which = 62013 }
		command = { type = foreignminister which = 62077 } 
		}
}

#########################################
# 1152012 - (SIA)The Thailand for Thai Economic Plan(by Semi-Lobster & Ghost_dk)
#########################################
event = {
	id = 1152012
	random = no
	country = SIA

	trigger = { 
		atwar = no
		NOT = { 
			government = democratic # these governments would probably not have passed the law
			government = communist
			alliance = { country = ENG country = SIA }
			alliance = { country = SOV country = SOV }
		}
	}

	name = CEVTNAME_1152012
	desc = CEVTDESC_1152012
	style = 0

	date = { day = 10 month = june year = 1939 }
	
	action_a = {
		name = CEVTACTA_1152012
		command = { type = alignment which = fascist value = 15 }
		command = { type = industry which = 1744 value = 3 } #Bankok
		command = { type = dissent value = 3 }
		command = { type = supplies value = 500 }
		command = { type = coalpool value = 100 }
		command = { type = steelpool value = 100 }
		command = { type = rubberpool value = 50 }
		command = { type = oilpool value = 10 }
		}
	action_b = {
		name = CEVTACTB_1152012
		command = { type = sleepevent which = 1152013 } #prevents next event from firing
		}
}
#########################################
# 1152013 - (SIA)Official Discrimination of Religious Minorities(by Semi-Lobster & Ghost_dk)
#########################################
event = {
	id = 1152013
	random = no
	country = SIA

	trigger = { 
		event = 1152012
		atwar = no
		NOT = { 
			government = democratic # these governments would probably not have passed the law
			government = communist
			alliance = { country = ENG country = SIA }
			alliance = { country = SOV country = SOV }
			}
		}

	name = CEVTNAME_1152013
	desc = CEVTDESC_1152013
	style = 0

	date = { day = 15 month = august year = 1939 }

	action_a = {
		name = CEVTACTA_1152013
		command = { type = alignment which = fascist value = 10 }
		command = { type = influence value = -2 }
		command = { type = dissent value = -1 }
		}
}
#########################################
# 1152014 - (SIA)Death of King Rama VIII(by Semi-Lobster & Ghost_dk)
#########################################
event = {
	id = 1152014
	random = no
	country = SIA

	trigger = {
		headofstate = 62001
		}

	name = CEVTNAME_1152014
	desc = CEVTDESC_1152014
	style = 0

	date = { day = 9 month = june year = 1946 }

	action_a = {
		name = CEVTACTA_1152014
		command = { type = dissent value = -6 }
		command = { type = headofstate which = 62035 }
		command = { type = sleepleader which = 100018 }
		command = { type = sleepminister which = 62001 }
		}
}

#########################################################################
# The President orders Gen. MacArthur’s evacuation
# By Kevin Mc Carthy
#########################################################################
event = { 
	id = 1152015
	random = no
	country = PHI
	# Triggered by 322391 - The US President orders Gen. MacArthur’s evacuation


	name = CEVTNAME_1152015
	desc = CEVTDESC_1152015
	style = 0

	action_a = {
		name = CEVTACTA_1152015
		command = { type = sleepleader which = 430033 } # leader still exists in the USA
		command = { type = sleepleader which = 430034 } # leader still exists in the USA
		command = { type = sleepleader which = 430035 } # leader still exists in the USA
		command = { type = dissent value = 10 } # simulates the PHI collapse
		command = { type = sleepevent which = 322393 } # Large-scale reinforcement of the Philippines
		command = { type = sleepevent which = 1152018 } # The US Army Air Force deploys aircraft to the Philippines
		command = { type = sleepevent which = 1152017 }	# The US Reinforces the Philippines
	}
}

##################################################################
# Creation of the Philippine Army
# by Kevin Mc Carthy
# http://www.ibiblio.org/hyperwar/USA/USA-P-PI/USA-P-PI-2.html
###################################################################

event = {
	id = 1152016
	random = no
	country = PHI

	trigger = {
		atwar = no
	}

	name = CEVTNAME_1152016
	desc = CEVTDESC_1152016

	date = { day = 29 month = january year = 1937 }
	style = 0

	action_a = {
		name = CEVTACTA_1152016
		command = { type = manpowerpool value = 10 }
		command = { type = gain_tech which = 1200} # Interwar Infantry Weapons and Battlefield C3I
		}
}
##################################################
# 1152005 - Philippines Mobilizes Stage 1
# Modified by Kevin Mc Carthy
# http://www.ibiblio.org/hyperwar/USA/USA-P-PI/USA-P-PI-2.html
##################################################

event = { 
	id = 1152005
	random = no
	country = PHI
	trigger = {
		event = 1152016
		OR = {
			atwar = yes
			event = 322392 # The Recall of General MacArthur
			}
		}

	name = CEVTNAME_1152005
	desc = CEVTDESC_1152005
			
	date = { day = 13 month = january year = 1936 } 
	offset = 30
	deathdate = { day = 30 month = december year = 1947 }
	style = 0

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 20 }
		command = { type = province_manpower which = 1804   value = 10 } #Manila
		command = { type = province_manpower which = 1974   value = 5 } #Cagyan
		command = { type = province_manpower which = 1973   value = 5 } #Bacolod
		command = { type = gain_tech which = 11100 } #Pre-War Field Testing
	}
}

##################################################
# 1152002 - Philippines Mobilizes Stage 2
# Modified by Kevin Mc Carthy
##################################################

event = { 
	id = 1152006
	random = no
	country = PHI
	trigger = {
			atwar = yes 
		}

	name = CEVTNAME_1152006
	desc = CEVTDESC_1152006

	date = { day = 13 month = january year = 1936 } 
	offset = 10
	deathdate = { day = 30 month = december year = 1947 }
	style = 0

	action_a = {
		name = CEVTACTA_OK
		command = { type = manpowerpool value = 50 }
	}
}

##################################################################
# The US Army Air Force deploys aircraft to the Philippines
# by Kevin Mc Carthy
# http://www.ibiblio.org/hyperwar/USA/USA-P-PI/USA-P-PI-3.html
###################################################################

event = {
	id = 1152018

	random = no
	country = PHI
	trigger = {
		exists = PHI
		random = 50
		event = 322392
		}

	name = CEVTNAME_1152018
	desc = CEVTDESC_1152018

	date = { day = 4 month = january year = 1936 }
	offset = 30
	deathdate = { day = 29 month = december year = 1947 }
	style = 0

	action_a = {
		name = CEVTACTA_1152018
		command = { type = add_division which = fighter }
		#command = { type = add_division which = strategic_bomber } #Andris: removed
		}
}

##################################################################
# The US Reinforces the Philippines
# by Kevin Mc Carthy
# http://www.ibiblio.org/hyperwar/USA/USA-P-PI/USA-P-PI-2.html
###################################################################

event = {
	id = 1152017 

	random = no
	country = PHI
	#Triggered by USA 322393A


	name = CEVTNAME_1152017
	desc = CEVTDESC_1152017

	action_a = {
		name = CEVTACTA_1152017
		command = { type = flak which = 1804 value = 1 } #Manila
		command = { type = supplies value = 500 }
		command = { type = gain_tech which = 1400 } #Combat Medical Service

		}
}

