# New 1.3 events for the Age of Timur scenario #
# All events written by Garbon unless stated otherwise; adapted for 1.3 by mandead
# Event IDs: 26000 - 26026

#(1388-1418) The Acciajuoli Conquer Athens - (by Obelixeke)
event = {
	id = 26000
	trigger = {
		owned = { province = 359 data = -1 }
		NOT = { exists = ATH }
	}
	random = no
	country = ARG

	name = "EVENTNAME26000"
	desc = "EVENTHIST26000"

	date = { day = 1 month = january year = 1388 }
	offset = 150
	deathdate = { day = 1 month = january year = 1418 }

	action_a ={
		name = "ACTIONNAME26000A"
		command = { type = independence which = ATH }
		command = { type = relation which = FLO value = 50 }
		command = { type = badboy value = -1 }
		command = { type = trigger which = 26003 } #ATH: The Florentine Duchy of Athens
	}
	action_b ={
		name = "ACTIONNAME26000B"
		command = { type = province_revoltrisk which = 359 value = 10 }
		command = { type = provincetax which = 359 value = -1 }
		command = { type = provincemanpower which = 359 value = -1 }
		command = { type = relation which = FLO value = -50 }
		command = { type = revolt which = 359 }
		command = { type = revolt which = 359 }
		command = { type = stability value = -1 }
	}
}

#(1410-1412) The Compromise of Caspe
event = {
	id = 26001
	random = no
	country = ARG

	name = "EVENTNAME26001"
	desc = "EVENTHIST26001"

	date = { day = 1 month = june year = 1410 }
	offset = 60
	deathdate = { day = 1 month = july year = 1412 }

	action_a = {
		name = "ACTIONNAME26001A"
		command = { type = relation which = CAS value = 100 }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = NAP value = -200 }
		command = { type = relation which = PRO value = -200 }
		command = { type = stability value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
	}
	action_b = {
		name = "ACTIONNAME26001B"
		command = { type = wakemonarch which = 04190 } # Jaume III *
		command = { type = wakemonarch which = 04191 } # Felip I *
		command = { type = wakemonarch which = 04192 } # Jaume IV *
		command = { type = wakemonarch which = 04193 } # Pere Alfons *
		command = { type = wakemonarch which = 04194 } # Jaume V *
		command = { type = wakemonarch which = 04195 } # Felip II *
		command = { type = sleepmonarch which = 04189 } # Ferran I
		command = { type = sleepmonarch which = 04170 } # Alfons V
		command = { type = sleepmonarch which = 04182 } # Juan II
		command = { type = sleepmonarch which = 04171 } # Ferran II
		command = { type = sleepleader which = 010800 } # Alfons V
		command = { type = sleepleader which = 010821 } # Ferran II
		command = { type = cash value = 100 }
		command = { type = stability value = -2 }
		command = { type = relation which = NAP value = 50 }
		command = { type = relation which = PRO value = 50 }
		command = { type = relation which = CAS value = -100 }
		command = { type = relation which = PAP value = -50 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = sleepevent which = 26002 } #ARG: The Revolt of Jaume d'Urgell
	}
	action_c = {
		name = "ACTIONNAME26001C"
		command = { type = wakemonarch which = 04196 } # Frederic I *
		command = { type = wakemonarch which = 04197 } # Frederic II *
		command = { type = wakemonarch which = 04198 } # Ramiro III *
		command = { type = wakemonarch which = 04199 } # Caterina *
		command = { type = sleepmonarch which = 04189 } # Ferran I
		command = { type = sleepmonarch which = 04170 } # Alfons V
		command = { type = sleepmonarch which = 04182 } # Juan II
		command = { type = sleepmonarch which = 04171 } # Ferran II
		command = { type = sleepleader which = 010800 } # Alfons V
		command = { type = sleepleader which = 010821 } # Ferran II
		command = { type = infra value = 400 }
		command = { type = stability value = 1 }
		command = { type = relation which = NAP value = 100 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = CAS value = -50 }
		command = { type = relation which = PAP value = -200 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
	}
}

#(1413) The Revolt of Jaume d'Urgell
event = {
	id = 26002
	random = no
	country = ARG

	name = "EVENTNAME26002"
	desc = "EVENTHIST26002"

	date = { day = 1 month = march year = 1413 }
	offset = 120

	action_a = {
		name = "ACTIONNAME26002A"
		command = { type = revolt which = 429 }
		command = { type = revolt which = 429 }
		command = { type = revolt which = 429 }
	}
}

#(1388-1420) The Florentine Duchy of Athens
event = {
	id = 26003 #triggered by ARG_26000A
	random = no
	country = ATH

	name = "EVENTNAME26003"
	desc = "EVENTHIST26003"

	action_a ={
		name = "ACTIONNAME26003A"
		command = { type = breakvassal which = ARG }
		command = { type = stability value = 4 }
		command = { type = INF which = -2 value = 4000 }
		command = { type = CAV which = -2 value = 1000 }
	}
}

#(1409-1414) Support for the Pisan Papacy
event = {
	id = 26004
	trigger = {
		continent = Europe
		religion = catholic
		event = 26006
		NOT = {
			tag = AVI
			tag = PAP
			flag = [pisan_papacy]
			flag = [avignon_papacy]
		}
	}
	random = yes

	name = "EVENTNAME26004"
	desc = "EVENTHIST26004"

	date = { day = 1 month = january year = 1409 }
	offset = 5
	deathdate = { day = 1 month = january year = 1414 }

	action_a = {
		name = "ACTIONNAME26004A"
		command = { type = cash value = 100 }
		command = { type = relation which = PAP value = -150 }
		command = { type = setflag which = [pisan_papacy] }
	}
	action_b = {
		name = "ACTIONNAME26004B"
		command = { type = stability value = 1 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -4 value = 50 }
		command = { type = relation which = -4 value = 50 }
	}
}

#(1400-1406) Support for the Avignon Papacy
event = {
	id = 26005
	trigger = {
		continent = Europe
		religion = catholic
		NOT = { event = 26007 }
		NOT = {
			tag = AVI
			tag = PAP
			flag = [avignon_papacy]
			flag = [pisan_papacy]
		}
	}
	random = yes

	name = "EVENTNAME26005"
	desc = "EVENTHIST26005"

	date = { day = 1 month = january year = 1400 }
	offset = 5
	deathdate = { day = 1 month = january year = 1406 }

	action_a = {
		name = "ACTIONNAME26005A"
		command = { type = cash value = 100 }
		command = { type = relation which = PAP value = -150 }
		command = { type = setflag which = [avignon_papacy] }
	}
	action_b = {
		name = "ACTIONNAME26005B"
		command = { type = stability value = 1 }
		command = { type = relation which = -1 value = 50 }
		command = { type = relation which = -4 value = 50 }
		command = { type = relation which = -4 value = 50 }
	}
}

#(1409) The Council of Pisa
event = { 
	id = 26006
	global = yes

	name = "EVENTNAME26006"
	desc = "EVENTHIST26006"

	date = { day = 4 month = june year = 1409 }

	action_a = {
		name = "ACTIONNAME26006A"
	}
}

#(1415) The Council of Constance
event = { 
	id = 26007
	global = yes

	name = "EVENTNAME26007"
	desc = "EVENTHIST26007"

	date = { day = 3 month = july year = 1415 }

	action_a = {
		name = "ACTIONNAME26007A"
	}
}

#(1399-1400) Manuel travels to Western Europe - (by Sahib)
event = {
	id = 26008
	trigger = {
		exists = TUR
		NOT = { countrysize = 12 }
	}
	random = no
	country = BYZ

	name = "EVENTNAME26008"
	desc = "EVENTHIST26008"

	date = { day = 1 month = january year = 1400 }
	offset = 30
	deathdate = { day = 1 month = january year = 1401 }

	action_a = {
		name = "ACTIONNAME26008A"
		command = { type = stability value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
	}
	action_b = {
		name = "ACTIONNAME26008B"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 26009 } #BYZ: Manuel's Return
	}
}

#(1402-1403) Manuel's Return - (by Sahib)
event = {
	id = 26009
	random = no
	country = BYZ

	name = "EVENTNAME26009"
	desc = "EVENTHIST26009"

	date = { day = 1 month = january year = 1402 }
	offset = 30
	deathdate = { day = 1 month = january year = 1403 }

	action_a = {
		name = "ACTIONNAME26009A"
		command = { type = stability value = 1 }
		command = { type = treasury value = 50 }
		command = { type = relation which = MLO value = 50 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = -1 value = 25 }
		command = { type = relation which = -4 value = 25 }
		command = { type = relation which = -4 value = 25 }
	}
}

#(1402-1405) A Bridge in the Atlantic - (by Corleone)
event = {
	id = 26010
	random = no
	country = CAS

	name = "EVENTNAME26010"
	desc = "EVENTHIST26010"

	date = { day = 1 month = january year = 1402 }
	offset = 30
	deathdate = { day = 1 month = january year = 1405 }

	action_a = { 
		name = "ACTIONNAME26010A"
		command = { type = naval value = 200 }
		command = { type = infra value = 50 }
		command = { type = trade value = 100 }
		command = { type = warships which = -1 value = 3 }
		command = { type = transports which = -1 value = 2 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = stability value = 1 }
		command = { type = cash value = -100 }
		command = { type = vp value = 15 }
	}
	action_b = { 
		name = "ACTIONNAME26010B"
		command = { type = stability value = -1 }
		command = { type = cash value = 50 }
		command = { type = vp value = -15 }
		command = { type = sleepevent which = 26022 } #CAS: Distant Shores
	}
}

#(1413-1415) The Accession of Henry V
event = {
	id = 26011
	trigger = {
		monarch = 04031 #Henry V
	}
	random = no
	country = ENG

	name = "EVENTNAME26011"
	desc = "EVENTHIST26011"

	date = { day = 1 month = january year = 1413 }
	offset = 20
	deathdate = { day = 1 month = january year = 1415 }

	action_a = {
		name = "ACTIONNAME26011A"
		command = { type = stability value = 3 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = revoltrisk which = 60 value = -3 }
	}
}

#(1407) The Assasination of Louis, Duke of Orléans
event = {
	id = 26012
	random = no 
	country = FRA

	name = "EVENTNAME26012"
	desc = "EVENTHIST26012"
	
	date = { day = 23 month = november year = 1407 }

	action_a ={
		name = "ACTIONNAME26012A"
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = relation which = BUR value = -100 }
		command = { type = desertion which = -1 value = 8000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 7000 }
		command = { type = stability value = -3 }
	}
}

#(1400-1410) A Confucian State
event = {
	id = 26013
	trigger = { 
		monarch = 05088 #Taejong
		NOT = { religion = confucian } 
	}
	random = no
	country = KOR

	name = "EVENTNAME26013"
	desc = "EVENTHIST26013"
	
	date = { day = 1 month = january year = 1400 }
	offset = 90
	deathdate = { day = 1 month = january year = 1410 }

	action_a = { 
		name = "ACTIONNAME26013A"
		command = { type = religion which = confucian }
		command = { type = ADM which = 2 value = 48 }
		command = { type = infra value = 200 }
		command = { type = stability value = -2 }
	}
	action_b = { 
		name = "ACTIONNAME26013B"
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 26015 } #KOR: Promotion of Confucian Studies
		command = { type = vp value = -5 }
	}
}

#(1405-1415) T'aejo II's Land Reforms
event = {
	id = 26014
	trigger = {
		domestic = { type = ARISTOCRACY value = 2 }
	}
	random = no
	country = KOR

	name = "EVENTNAME26014"
	desc = "EVENTHIST26014"
	
	date = { day = 1 month = january year = 1405 }
	offset = 90
	deathdate = { day = 1 month = january year = 1415 }

	action_a = {
		 name = "ACTIONNAME26014A"
		 command = { type = cash value = -150 }
		 command = { type = revoltrisk which = 36 value = -2 }
		 command = { type = provincetax which = 641 value = 2 }
		 command = { type = provincetax which = 642 value = 1 }
		 command = { type = domestic which = SERFDOM value = -1 }
		 command = { type = stability value = -2 }
	}
	action_b = { 
		name = "ACTIONNAME26014B"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = revoltrisk which = 36 value = 2 }
	}
}

#(1405-1415) Promotion of Confucian Studies
event = {
	id = 26015
	trigger = { 
		domestic = { type = INNOVATIVE value = 5 } 
		event = 26013
		religion = confucian
	}
	random = no
	country = KOR

	name = "EVENTNAME26015"
	desc = "EVENTHIST26015"
	
	date = { day = 1 month = january year = 1405 }
	offset = 90
	deathdate = { day = 1 month = january year = 1415 }

	action_a = { 
		name = "ACTIONNAME26015A"
		command = { type = cash value = -100 }
		command = { type = conversion which = 641 }
		command = { type = infra value = 200 }
		command = { type = stability value = -1 }
	}
	action_b = { 
		name = "ACTIONNAME26015B"
		command = { type = cash value = -150 }
		command = { type = land value = 200 }
		command = { type = naval value = 200 }
	}
	action_c = { 
		name = "ACTIONNAME26015C"
		command = { type = vp value = -2 }
	}
}

#(1401-1410) The Approach to Lollardy
event = {
	id = 26016
	random = no
	country = ENG

	name = "EVENTNAME26016"
	desc = "EVENTHIST26016"
	
	date = { day = 1 month = january year = 1401 }
	offset = 300
	deathdate = { day = 1 month = january year = 1410 }
	
	action_a = {
		name = "ACTIONNAME26016A"
		command = { type = revoltrisk which = 24 value = 3 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = 1 }
	}
	action_b = { 
		name = "ACTIONNAME26016B"
		command = { type = revoltrisk which = 24 value = 1 }
		command = { type = provincereligion which = 248 value = lollard }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = stability value = -2 }
	}
	action_c = { 
		name = "ACTIONNAME26016C"
		command = { type = revoltrisk which = 72 value = 6 }
		command = { type = religion which = lollard }
		command = { type = conversion which = 244 }
		command = { type = conversion which = 248 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = treasury value = 400 }
		command = { type = missionaries value = 2 }
		command = { type = relation which = PAP value = -200 }
		command = { type = relation which = -1 value = -100 }
		command = { type = relation which = -4 value = -100 }
		command = { type = relation which = -4 value = -100 }
		command = { type = relation which = -4 value = -100 }
		command = { type = sleepevent which = 3001 } #ENG: The Lollard Heresy
		command = { type = stability value = -5 }
	}
}

#(1402) The Ottoman Interregnum
event = {
	id = 26017
	random = no 
	country = TUR

	name = "EVENTNAME26017"
	desc = "EVENTHIST26017"
	
	date = { day = 2 month = july year = 1402 }

	action_a ={
		name = "ACTIONNAME26017A"
		command = { type = revoltrisk which = 60 value = 6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = desertion which = -1 value = 8000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 7000 }
		command = { type = stability value = -5 }
	}
}

#(1410-1412) The Start of the Colonial Race - (by Corleone)
event = {
	id = 26018
	trigger = {
		countrysize = 3
		NOT = { 
			owned = { province = 732 data = -1 }
		}
	}
	random = no
	country = POR

	name = "EVENTNAME26018"
	desc = "EVENTHIST26018"
	
	date = { day = 1 month = january year = 1410 }
	offset = 60
	deathdate = { day = 1 month = january year = 1412 }

	action_a = { name = "ACTIONNAME26018A"
		command = { type = addcore_claim which = 732 }
		command = { type = land value = 100 }
		command = { type = naval value = 100 }
		command = { type = stability value = 1 }
		command = { type = relation which = MOR value = -50 }
		command = { type = badboy value = 2 }
	}
	action_b = { name = "ACTIONNAME26018B"
		command = { type = stability value = -1 }
		command = { type = relation which = MOR value = 50 }
		command = { type = infra value = 100 }
		command = { type = trade value = 100 }
		command = { type = vp value = -25 }
		command = { type = sleepevent which = 26023 } #POR: Distant Shores
	}
}

#(1405) The Death of Timur
event = {
	id = 26019
	random = no 
	country = TIM

	name = "EVENTNAME26019"
	desc = "EVENTHIST26019"
	
	date = { day = 13 month = february year = 1405 }

	action_a ={
		name = "ACTIONNAME26019A"
		command = { type = revoltrisk which = 60 value = 6 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = 1529 }
		command = { type = revolt which = 1530 }
		command = { type = desertion which = -1 value = 8000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 7000 }
		command = { type = stability value = -8 }
	}
}

#(1413-1417) Armagnacs and Burgundians - (by mandead)
event = {
	id = 26020
	trigger = { 
		event = 26012
	}
	random = no 
	country = FRA

	name = "EVENTNAME26020"
	desc = "EVENTHIST26020"
	
	date = { day = 1 month = january year = 1413 }
	offset = 60
	deathdate = { day = 1 month = january year = 1417 }

	action_a ={
		name = "ACTIONNAME26020A"
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -4 }
		command = { type = revolt which = -4 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = relation which = AUV value = 100 }
		command = { type = relation which = BRI value = 100 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = SCO value = 100 }
		command = { type = relation which = BUR value = -200 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = LOR value = -100 }
		command = { type = relation which = SAV value = -100 }
		command = { type = stability value = -3 }
	}
	action_b ={
		name = "ACTIONNAME26020B"
		trigger = { 
			NOT = {
				war = { country = FRA country = BUR }
				war = { country = FRA country = ENG }
			}
		}
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -4 }
		command = { type = revolt which = -4 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = relation which = BUR value = 200 }
		command = { type = relation which = ENG value = 100 }
		command = { type = relation which = LOR value = 100 }
		command = { type = relation which = SAV value = 100 }
		command = { type = relation which = AUV value = -100 }
		command = { type = relation which = BRI value = -100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = relation which = SCO value = -100 }
		command = { type = sleepleader which = 09148 } # de Buchan
		command = { type = stability value = -5 }
	}
}

#(1404-1406) The Regreg War - (by mandead)
event = {
	id = 26021
	trigger = {
		someof = {
			number = 6
			owned = { province = 678 data = -1 }
			owned = { province = 681 data = -1 }
			owned = { province = 682 data = -1 }
			owned = { province = 697 data = -1 }
			owned = { province = 698 data = -1 }
			owned = { province = 699 data = -1 }
			owned = { province = 703 data = -1 }
			owned = { province = 704 data = -1 }
			owned = { province = 705 data = -1 }
		}
		NOT = { exists = MTR }
	}
	random = no
	country = MAJ

	name = "EVENTNAME26021"
	desc = "EVENTHIST26021"
	
	date = { day = 1 month = january year = 1404 }
	offset = 30
	deathdate = { day = 1 month = january year = 1406 }

	action_a = {
		name = "ACTIONNAME26021A"
		command = { type = revoltrisk which = 60 value = 8 }
		command = { type = revolt which = 698 }
		command = { type = revolt which = 699 }
		command = { type = revolt which = 703 }
		command = { type = revolt which = 705 }
		command = { type = relation which = AYU value = 100 }
		command = { type = relation which = CHI value = -200 }
		command = { type = relation which = BEI value = -100 }
		command = { type = relation which = BJR value = -100 }
		command = { type = relation which = BUT value = -100 }
		command = { type = relation which = KUT value = -100 }
		command = { type = relation which = MKS value = -100 }
		command = { type = relation which = TER value = -100 }
		command = { type = domestic which = LAND value = 2 }
		command = { type = wakeleader which = 055323 } # Wikramawardhana
		command = { type = cot which = 677 }
		command = { type = removecot which = 678 }
		command = { type = stability value = -6 }
	}
	action_b = {
		name = "ACTIONNAME26021B"
		command = { type = revoltrisk which = 60 value = 8 }
		command = { type = revolt which = 678 }
		command = { type = revolt which = 681 }
		command = { type = revolt which = 682 }
		command = { type = revolt which = 697 }
		command = { type = relation which = CHI value = 100 }
		command = { type = relation which = AYU value = -200 }
		command = { type = relation which = ATJ value = -100 }
		command = { type = relation which = BTN value = -100 }
		command = { type = relation which = KED value = -100 }
		command = { type = relation which = MLC value = -100 }
		command = { type = relation which = PAL value = -100 }
		command = { type = relation which = SIA value = -100 }
		command = { type = relation which = SUN value = -100 }
		command = { type = domestic which = LAND value = -2 }
		command = { type = wakeleader which = 09856 } # Bhre Wirabhumi
		command = { type = cot which = 677 }
		command = { type = removecot which = 678 }
		command = { type = stability value = -6 }
	}
	action_c = {
		name = "ACTIONNAME26021C"
		command = { type = independence which = ATJ } # Just in case...
		command = { type = independence which = BEI }
		command = { type = independence which = BJR }
		#command = { type = independence which = BTN } # not needed; overlaps with PAL/SUN
		command = { type = independence which = BUT }
		command = { type = independence which = KUT }
		command = { type = independence which = KED }
		command = { type = independence which = MKS }
		command = { type = independence which = MLC }
		command = { type = independence which = PAL }
		command = { type = independence which = SIA }
		command = { type = independence which = SUN }
		command = { type = independence which = TER }
		command = { type = cedeprovince which = MLC value = 678 }
		command = { type = cedeprovince which = BEI value = 695 }
		command = { type = cedeprovince which = BEI value = 697 }
		command = { type = cedeprovince which = KUT value = 699 }
		command = { type = cedeprovince which = SUN value = 702 }
		command = { type = cedeprovince which = SUN value = 703 }
		command = { type = removecore_national which = 681 } # Imperial cores outside Java
		command = { type = removecore_national which = 682 }
		command = { type = removecore_national which = 697 }
		command = { type = removecore_national which = 698 }
		command = { type = removecore_national which = 699 }
		command = { type = removecore_national which = 700 }
		command = { type = removecore_national which = 708 }
		command = { type = removecore_national which = 709 }
		command = { type = relation which = CHI value = 50 }
		command = { type = relation which = AYU value = 50 }
		command = { type = relation which = -1 value = 100 }
		command = { type = relation which = -4 value = 100 }
		command = { type = relation which = -4 value = 100 }
		command = { type = treasury value = -200 }
		command = { type = cityname which = 704 value = "Kotagede" }
		command = { type = country which = MTR }
		command = { type = stability value = -3 }
	}
}

#(1415-1418) Distant Shores (CAS) - (by mandead)
event = {
	id = 26022
	trigger = {
		atwar = no
		isvassal = no
		stability = 2
		event = 26010
		owned = { province = 817 data = -1 } # The Canary Islands
	}
	random = no
	country = CAS

	name = "EVENTNAME26022"
	desc = "EVENTHIST26022"
	
	date = { day = 1 month = january year = 1415 }
	offset = 90
	deathdate = { day = 1 month = january year = 1418 }

	action_a = {
		name = "ACTIONNAME26022A"
		command = { type = explorer which = -1 }
		command = { type = colonists value = 2 }
		command = { type = missionaries value = 1 }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = POR value = 50 }
	}
}

#(1415-1418) Distant Shores (POR) - (by mandead)
event = {
	id = 26023
	trigger = {
		atwar = no
		isvassal = no
		stability = 2
		event = 26018
		owned = { province = 823 data = -1 } # The Azores
	}
	random = no
	country = POR

	name = "EVENTNAME26022"
	desc = "EVENTHIST26022"
	
	date = { day = 1 month = january year = 1415 }
	offset = 90
	deathdate = { day = 1 month = january year = 1418 }

	action_a = {
		name = "ACTIONNAME26022A"
		command = { type = explorer which = -1 }
		command = { type = colonists value = 2 }
		command = { type = missionaries value = 1 }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = CAS value = 50 }
	}
}

#(1401-1403) The Welsh Revolt - (by mandead)
event = {
	id = 26024
	trigger = {
		owned = { province = 243 data = -1 } # Wales
	}
	random = no
	country = ENG

	name = "EVENTNAME26024"
	desc = "EVENTHIST26024"
	
	date = { day = 1 month = january year = 1401 }
	offset = 60
	deathdate = { day = 1 month = january year = 1403 }

	action_a = {
		name = "ACTIONNAME26024A"
		command = { type = revoltrisk which = 120 value = 4 }
		command = { type = revolt which = 243 }
		command = { type = revolt which = 243 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME26024B"
		command = { type = independence which = WLS }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = stability value = -1 }
	}
}

#(1406-1407) The Ming Conquest of Dai Viet - (by mandead)
event = {
	id = 26025
	trigger = {
		exists = DAI
		NOT = {
			alliance = { country = CHI country = DAI }
			vassal = { country = CHI country = DAI }
			war = { country = CHI country = DAI }
		}
	}
	random = no
	country = CHI

	name = "EVENTNAME26025"
	desc = "EVENTHIST26025"
	
	date = { day = 1 month = january year = 1406 }
	offset = 30
	deathdate = { day = 1 month = january year = 1407 }

	action_a = {
		name = "ACTIONNAME26025A"
		command = { type = war which = DAI }
		command = { type = casusbelli which = DAI value = 72 }
		command = { type = relation which = DAI value = -200 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = badboy value = 10 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME26025B"
		command = { type = vassal which = DAI }
		command = { type = relation which = DAI value = 100 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = stability value = 2 }
	}
	action_c = {
		name = "ACTIONNAME26025C"
		command = { type = dynastic which = DAI }
		command = { type = relation which = DAI value = 50 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = stability value = 1 }
	}
}

#(1403-1405) The Revolt in Beta Israel - (by mandead)
event = {
	id = 26026
	trigger = {
		owned = { province = 1588 data = -1 } # Gonder
	}
	random = no
	country = ETH

	name = "EVENTNAME26026"
	desc = "EVENTHIST26026"
	
	date = { day = 1 month = january year = 1403 }
	offset = 60
	deathdate = { day = 1 month = january year = 1405 }

	action_a = {
		name = "ACTIONNAME26026A"
		command = { type = conversion which = 1588 }
		command = { type = revolt which = 1588 }
		command = { type = revolt which = 1588 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME26026B"
		command = { type = revoltrisk which = 24 value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = stability value = -1 }
	}
	action_c = {
		name = "ACTIONNAME26026C"
		trigger = { 
			ai = no
		}
		command = { type = religion which = jewish }
		command = { type = conversion which = 1517 }
		command = { type = conversion which = 1588 }
		command = { type = conversion which = 1589 }
		command = { type = revolt which = 752 }
		command = { type = revolt which = 753 }
		command = { type = missionaries value = 1 }
		command = { type = relation which = NUB value = -150 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = stability value = -5 }
	}
}
