####################################
# Guatemala AI events 33400 - 33499 by Lothos
####################################
################
# Minister of Security Section 33400 - 33409
#############################################
event = { # Manuel Orellana takes power
	id = 33400
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46050 # Manuel Orellana
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAecurityOrellana }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_setflag which = GUAecurityOrellana }
		command = { type = local_clrflag which = GUAecurityKlee }
		command = { type = ministerofsecurity which = 46050 }
		command = { type = dissent value = -1 }
	}
}
event = { # Alfredo Skinner Klee takes power
	id = 33401
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46054 # Alfredo Skinner Klee
		NOT = { minister = 46050 } # Manuel Orellana
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAecurityKlee }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_clrflag which = GUAecurityOrellana }
		command = { type = local_setflag which = GUAecurityKlee }
		command = { type = ministerofsecurity which = 46054 }
		command = { type = dissent value = -1 }
	}
}
################
# Chief of Staff Section 33410 - 33419
#############################################
event = { # Jorge Ubico Castaneda takes power
	id = 33410
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46066 # Jorge Ubico Castaneda
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAChiefCastaneda }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_setflag which = GUAChiefCastaneda }
		command = { type = chiefofstaff which = 46066 }
		command = { type = dissent value = -1 }
	}
}
################
# Head of Intelligence Section 33420 - 33429
#############################################
################
# Chief of the Army Section 33430 - 33439
#############################################
event = { # Federico Ponce Vaides takes power
	id = 33430
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46071 # Federico Ponce Vaides
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAArmyVaides }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_setflag which = GUAArmyVaides }
		command = { type = chiefofarmy which = 46071 }
		command = { type = dissent value = -1 }
	}
}
################
# Armament Minister Section 33440 - 33449
#############################################
event = { # Diego A. Castro Arigon takes power
	id = 33440
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46044 # Diego A. Castro Arigon
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAArmamentArigon }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_setflag which = GUAArmamentArigon }
		command = { type = local_clrflag which = GUAArmamentArroyo }
		command = { type = armamentminister which = 46044 }
		command = { type = dissent value = -1 }
	}
}
event = { # Manuel Arroyo Arigon takes power
	id = 33441
	random = no 
	country = GUA
	persistent = yes
	
	trigger = {
		ai = yes
		minister = 46048 # Manuel Arroyo
		NOT = { minister = 46044 } # Diego A. Castro Arigon
		OR = {
			AND = {
				day = 1
				NOT = { day = 2 }
			}
			NOT = { local_flag = GUAArmamentArroyo }
		}
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1948 }

	action_a = {
		command = { type = local_clrflag which = GUAArmamentArigon }
		command = { type = local_setflag which = GUAArmamentArroyo }
		command = { type = armamentminister which = 46048 }
		command = { type = dissent value = -1 }
	}
}






#############################################
# Regular AI Events 33460 - 33499
#############################################
