###### Lan Xang Major Events ######
#By Tom Rinschler                 #
#   Håvard                        #
###################################

#The Move to Vieng Chan#
event = {
	id = 3902
	trigger = {
		NOT = { exists = VIE }
		owned = { province = 1551 data = -1 } # Sarakham
	}
	random = no
	country = LAX
	name = "EVENTNAME3902"
	desc = "EVENTHIST3902"
	date = { day = 1 month = january year = 1563 }
	offset = 30
	deathdate = { day = 1 month = january year = 1564 }
	
	action_a ={	#Move to Vieng Chan#
		name = "ACTIONNAME3902A"
		command = { type = capital which = 1551 }
		command = { type = domestic which = centralization value = 1 } 
		command = { type = stability value = -2 }
		command = { type = provincetax which = 1551 value = 1 }
		command = { type = cash value = -200 }
	}
	action_b ={	#Stay in Luang Prabang#
		name = "ACTIONNAME3902B"
		command = { type = stability value = 1 }
		command = { type = domestic which = innovative value = -1 }
	}
}

#The Succession Crisis#
event = {
	id = 3903
	trigger = {
		NOT = {
			exists = CMP
			exists = LUA
			exists = VIE
		}
	}
	random = no
	country = LAX
	name = "EVENTNAME3903"
	desc = "EVENTHIST3903"
	
	date = { day = 1 month = january year = 1707 }
	offset = 30
	deathdate = { day = 1 month = january year = 1708 }
	
	action_a = {     #Let them fight it out#
		name = "ACTIONNAME3903A"
		command = { type = stability value = -6 }
		command = { type = domestic which = centralization value = -3 }
		command = { type = revoltrisk value = 5 }
	}
	action_b ={        #Support the rightful heir#
		name = "ACTIONNAME3903B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk value = 5 }
		command = { type = revolt which = 1552 }
		command = { type = revolt which = -1 }
	}
	action_c ={        #Accept the division of the kingdom#
		name = "ACTIONNAME3903C"
		trigger = { 
			capital = 1552
		}
		command = { type = stability value = -2 }
		command = { type = removecore_national which = 669 }
		command = { type = removecore_national which = 1551 }
		command = { type = free which = CMP }
		command = { type = free which = VIE }
		command = { type = country which = LUA }
	}
	action_d ={        #Accept the division of the kingdom#
		name = "ACTIONNAME3903C"
		trigger = { 
			capital = 1551
		}
		command = { type = stability value = -2 }
		command = { type = removecore_national which = 669 }
		command = { type = removecore_national which = 1552 }
		command = { type = free which = CMP }
		command = { type = free which = LUA }
		command = { type = country which = VIE }
	}
}
