###########################
###     Inca Events    ####
###  by Captain Krunch ####
###   edited by Crook  ####  
###########################

event = {
	id = 81001
	random = no
	country = INC
	name = "EVENTNAME81001"
	desc = "EVENTHIST81001"
	style = 1
	date = { day = 1 month = january year = 1438 }
	deathdate = { day = 30 month = december year = 1438 }
	offset = 200
	action_a = {
		name = "ACTIONNAME81001A"
                command = { type = manpower value = 10 }
                command = { type = inflation value = -10 }
                command = { type = gainbuilding which = 169 value = barrack } #Cuzco
                command = { type = provincemanpower which = -2 value = 3 }
                command = { type = provincemanpower which = -1 value = 1 }
                command = { type = provincemanpower which = -1 value = 1 }
                command = { type = provincemanpower which = -1 value = 1 }
                command = { type = provincemanpower which = -1 value = 1 }
                command = { type = provincemanpower which = -1 value = 1 }
                command = { type = land value = 500 }
                command = { type = stability value = 1 }
                command = { type = inf which = -2 value = 10000 }
                command = { type = domestic which = LAND value = 6 }
                command = { type = cash value = -200 }
	}
}

event = {
	id = 81002
	random = no
	country = INC
	name = "EVENTNAME81002"
	desc = "EVENTHIST81002"
	style = 1
	date = { day = 1 month = april year = 1440 }
	deathdate = { day = 14 month = june year = 1456 }
	offset = 160
	action_a = {
		name = "ACTIONNAME81002A"
                command = { type = population which = 169 value = 10000 } #Cuzco
                command = { type = gainmanufactory which = 169 value = Luxury }
                command = { type = fortress which = 169 value = 1 } #Cuzco
                command = { type = stability value = 1 }
                command = { type = infra value = 1000 }
                command = { type = inflation value = -5 }
                command = { type = relation which = CHM value = -400 }
                command = { type = cash value = -750 }
	}
	action_b = {
		name = "ACTIONNAME81002B"
                command = { type = population which = 169 value = 10000 } #Cuzco
                command = { type = infra value = 500 }
                command = { type = inflation value = -5 }
                command = { type = relation which = CHM value = -400 }
                command = { type = treasury value = -500 }
	}
	action_c = {
		name = "ACTIONNAME81002C"
                command = { type = population which = 169 value = 10000 } #Cuzco
                command = { type = inflation value = -5 }
                command = { type = relation which = CHM value = -400 }
                command = { type = treasury value = 500 }
	}
}

event = {
	id = 81003
	random = no
	country = INC
	name = "EVENTNAME81003"
	desc = "EVENTHIST81003"
	style = 1
	date = { day = 1 month = april year = 1460 }
	deathdate = { day = 30 month = june year = 1470 }
	offset = 100
	action_a = {
		name = "ACTIONNAME81003A"
                command = { type = war which = CHM }
                command = { type = inf which = 169 value = 20000 }
                command = { type = inf which = 162 value = 20000 }
                command = { type = inf which = -1 value = 10000 }
                command = { type = inflation value = -5 }
	}
	action_b = {
		name = "ACTIONNAME81003B"
                command = { type = relation which = CHM value = 100 }
                command = { type = inflation value = -5 }
	}

}

event = {
	id = 81004
	trigger = { control = { province = 163 data = INC } #assuai
	}
	random = no
	country = INC
	name = "EVENTNAME81004"
	desc = "EVENTHIST81004"
	style = 1
	date = { day = 1 month = april year = 1419 }
	deathdate = { day = 30 month = june year = 1820 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81004A"
                command = { type = cash value = 1000 }
                command = { type = inherit which = CHM }
                command = { type = inflation value = -5 }
	}
}

event = {
	id = 81005
	trigger = { owned = { province = 169 data = CHM } #Cuzco
	}
	random = no
	country = CHM
	name = "EVENTNAME81005"
	desc = "EVENTHIST81004"
	style = 1
	date = { day = 1 month = april year = 1419 }
	deathdate = { day = 30 month = june year = 1820 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81005A"
                command = { type = country which = INC }
                command = { type = capital which = 169 } #Cuzco
                command = { type = stability value = -2 }
                command = { type = treasury value = -100 }
	}
	action_b = {
		name = "ACTIONNAME81005B"
                command = { type = stability value = 1 }
	}
	action_c = {
		name = "ACTIONNAME81005C"
                command = { type = country which = INC }
                command = { type = stability value = 1 }
	}
}

event = {
	id = 81006
	trigger = { owned = { province = 164 data = INC }
	}
	random = no
	country = INC
	name = "EVENTNAME81006"
	desc = "EVENTHIST81006"
	style = 1
	date = { day = 1 month = january year = 1471 }
	offset = 600

	action_a = {
		name = "ACTIONNAME81006A"
                command = { type = inflation value = -5 }
	}
	action_b = {
		name = "ACTIONNAME81006B"
                command = { type = explorer which = 164 }
                command = { type = naval value = 500 }
                command = { type = inflation value = -5 }
	}
}

event = {
	id = 81007
	random = no
	country = INC
	trigger = { 
		OR = { neighbour = SPA 
			neighbour = CAS
			neighbour = POR
			neighbour = ENG
			neighbour = FRA
                        neighbour = HOL
			neighbour = ARG 
                        neighbour = HEI
			neighbour = ITA
			neighbour = DAN
			neighbour = SWE 
			war = { country = INC country = SPA }
			war = { country = INC country = CAS }
			war = { country = INC country = POR }
			war = { country = INC country = FRA }
			war = { country = INC country = ENG }
                        war = { country = INC country = ARG }
			war = { country = INC country = HOL }
                        war = { country = INC country = HEI }
                        war = { country = INC country = ITA }
                        war = { country = INC country = DAN }
                        war = { country = INC country = SWE }
		}
}
	name = "EVENTNAME81007"
	desc = "EVENTHIST81007"
	style = 1
	date = { day = 1 month = january year = 1500 }
	deathdate = { day = 30 month = december year = 1820 }
	offset = 301
	action_a = {
		name = "ACTIONNAME81007A"
                command = { type = stability value = -6 }
           command = { type = population which = 187 value = -10000 }
command = { type = population which = 1861 value = -10000 }
command = { type = population which = 160 value = -10000 }
command = { type = population which = 161 value = -10000 }
command = { type = population which = 162 value = -10000 }
command = { type = population which = 163 value = -20000 }
command = { type = population which = 164 value = -10000 }
command = { type = population which = 165 value = -10000 }
command = { type = population which = 166 value = -10000 }
command = { type = population which = 1482 value = -10000 }
command = { type = population which = 1483 value = -10000 }
command = { type = population which = 167 value = -10000 }
command = { type = population which = 168 value = -10000 }
command = { type = population which = 169 value = -20000 }
command = { type = population which = 170 value = -10000 }
command = { type = population which = 171 value = -10000 }
command = { type = population which = 172 value = -10000 }
command = { type = population which = 173 value = -10000 }
command = { type = population which = 174 value = -10000 }
command = { type = population which = 193 value = -10000 }
command = { type = population which = 1835 value = -10000 }
command = { type = population which = 1876 value = -10000 }
command = { type = population which = 1484 value = -10000 }
                command = { type = losebuilding which = 169 value = barrack } #Cuzco
	}
action_b = {
		name = "Пытаться бороться с болезьнями"
                command = { type = treasury value = -1000 }
                command = { type = stability value = -6 }
                command = { type = population which = 187 value = -5000 }
command = { type = population which = 1861 value = -5000 }
command = { type = population which = 160 value = -5000 }
command = { type = population which = 161 value = -5000 }
command = { type = population which = 162 value = -5000 }
command = { type = population which = 163 value = -10000 }
command = { type = population which = 164 value = -5000 }
command = { type = population which = 165 value = -5000 }
command = { type = population which = 166 value = -5000 }
command = { type = population which = 1482 value = -5000 }
command = { type = population which = 1483 value = -5000 }
command = { type = population which = 167 value = -5000 }
command = { type = population which = 168 value = -5000 }
command = { type = population which = 169 value = -10000 }
command = { type = population which = 170 value = -5000 }
command = { type = population which = 171 value = -5000 }
command = { type = population which = 172 value = -5000 }
command = { type = population which = 173 value = -5000 }
command = { type = population which = 174 value = -5000 }
command = { type = population which = 193 value = -5000 }
command = { type = population which = 1835 value = -5000 }
command = { type = population which = 1876 value = -5000 }
command = { type = population which = 1484 value = -5000 }
	}

}

event = {
	id = 1919200
	random = no
	country = CHM
	trigger = { 
		OR = { neighbour = SPA 
			neighbour = CAS
			neighbour = POR
			neighbour = ENG
			neighbour = FRA
                        neighbour = HOL
			neighbour = ARG 
                        neighbour = HEI
			neighbour = ITA
			neighbour = DAN
			neighbour = SWE 
			war = { country = INC country = SPA }
			war = { country = INC country = CAS }
			war = { country = INC country = POR }
			war = { country = INC country = FRA }
			war = { country = INC country = ENG }
                        war = { country = INC country = ARG }
			war = { country = INC country = HOL }
                        war = { country = INC country = HEI }
                        war = { country = INC country = ITA }
                        war = { country = INC country = DAN }
                        war = { country = INC country = SWE }
		}
}
	name = "EVENTNAME81007"
	desc = "EVENTHIST81007"
	style = 1
	date = { day = 1 month = january year = 1500 }
	deathdate = { day = 30 month = december year = 1820 }
	offset = 301
	action_a = {
		name = "ACTIONNAME81007A"
                command = { type = stability value = -6 }
           command = { type = population which = 187 value = -10000 }
command = { type = population which = 1861 value = -10000 }
command = { type = population which = 160 value = -10000 }
command = { type = population which = 161 value = -10000 }
command = { type = population which = 162 value = -10000 }
command = { type = population which = 163 value = -20000 }
command = { type = population which = 164 value = -10000 }
command = { type = population which = 165 value = -10000 }
command = { type = population which = 166 value = -10000 }
command = { type = population which = 1482 value = -10000 }
command = { type = population which = 1483 value = -10000 }
command = { type = population which = 167 value = -10000 }
command = { type = population which = 168 value = -10000 }
command = { type = population which = 169 value = -20000 }
command = { type = population which = 170 value = -10000 }
command = { type = population which = 171 value = -10000 }
command = { type = population which = 172 value = -10000 }
command = { type = population which = 173 value = -10000 }
command = { type = population which = 174 value = -10000 }
command = { type = population which = 193 value = -10000 }
command = { type = population which = 1835 value = -10000 }
command = { type = population which = 1876 value = -10000 }
command = { type = population which = 1484 value = -10000 }
                command = { type = losebuilding which = 169 value = barrack } #Cuzco
	}
action_b = {
		name = "Пытаться бороться с болезьнями"
                command = { type = treasury value = -1000 }
                command = { type = stability value = -6 }
                command = { type = population which = 187 value = -5000 }
command = { type = population which = 1861 value = -5000 }
command = { type = population which = 160 value = -5000 }
command = { type = population which = 161 value = -5000 }
command = { type = population which = 162 value = -5000 }
command = { type = population which = 163 value = -10000 }
command = { type = population which = 164 value = -5000 }
command = { type = population which = 165 value = -5000 }
command = { type = population which = 166 value = -5000 }
command = { type = population which = 1482 value = -5000 }
command = { type = population which = 1483 value = -5000 }
command = { type = population which = 167 value = -5000 }
command = { type = population which = 168 value = -5000 }
command = { type = population which = 169 value = -10000 }
command = { type = population which = 170 value = -5000 }
command = { type = population which = 171 value = -5000 }
command = { type = population which = 172 value = -5000 }
command = { type = population which = 173 value = -5000 }
command = { type = population which = 174 value = -5000 }
command = { type = population which = 193 value = -5000 }
command = { type = population which = 1835 value = -5000 }
command = { type = population which = 1876 value = -5000 }
command = { type = population which = 1484 value = -5000 }
	}

}

event = {
	id = 81008
	trigger = { event = 81007 } #The Great Plague
	random = no
	country = INC
	name = "EVENTNAME81008"
	desc = "EVENTHIST81008"
	style = 1
	date = { day = 15 month = june year = 1526 }
	deathdate = { day = 15 month = april year = 1527 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81008A"
                command = { type = sleepmonarch which = 07463 } #Huayna Capac
                command = { type = wakeleader which = 09880 } #Atahuallpa
                command = { type = wakeleader which = 09882 } #Chalcuchima
                command = { type = wakeleader which = 09883 } #Quisquis
                command = { type = wakeleader which = 09884 } #Ruminahui
                command = { type = wakemonarch which = 07465 } #Atahuallpa
                command = { type = capital which = 162 } #Cali
                command = { type = population which = 162 value = 5000 }
                command = { type = inf which = 162 value = 10000 }
                command = { type = inf which = 1482 value = 7000 }
                command = { type = inf which = 164 value = 5000 }
                command = { type = domestic which = QUALITY value = -1 }
                command = { type = domestic which = OFFENSIVE value = -5 }
                command = { type = sleepevent which = 81009 } #The War Between The Brothers
                command = { type = sleepmonarch which = 07464 } #Huascar
                command = { type = sleepleader which = 09881 } #Huascar
	}
	action_b = {
		name = "ACTIONNAME81008B"
                command = { type = sleepmonarch which = 07463 } #Huayna Capac
                command = { type = inf which = -2 value = 20000 }
                command = { type = domestic which = QUALITY value = -3 }
                command = { type = domestic which = OFFENSIVE value = -6 }
                command = { type = inf which = 168 value = 7000 }
                command = { type = sleepevent which = 81010 } #Inca Civil War
                command = { type = sleepmonarch which = 07465 } #Atahuallpa
                command = { type = wakemonarch which = 07464 } #Huascar
                command = { type = wakeleader which = 09881 } #Huascar
                command = { type = sleepleader which = 09880 } #Atahuallpa
	}
}

event = {
	id = 81009
	trigger = { event = 81010 } #The Death Of Huayna Capac
	random = no
	country = INC
	name = "EVENTNAME81009"
	desc = "EVENTHIST81009"
	style = 1
	date = { day = 10 month = june year = 1527 }
	deathdate = { day = 30 month = october year = 1529 }
	offset = 20
	action_a = {
		name = "ACTIONNAME81009A"
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 162 }
                command = { type = revolt which = 164 }
                command = { type = revolt which = 1482 }
                command = { type = revolt which = 165 }
                command = { type = revolt which = 1483 }
                command = { type = revolt which = 166 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
                command = { type = stability value = -7 }
                command = { type = revoltrisk which = 26 value = 2 }
	}
	action_b = {
		name = "ACTIONNAME81009B"
                command = { type = independence which = CHM }
                command = { type = stability value = 2 }
	}
}

event = {
	id = 81010
	trigger = { event = 81008 } #The Death Of Huayna Capac
	random = no
	country = INC
	name = "EVENTNAME81010"
	desc = "EVENTHIST81009"
	style = 1
	date = { day = 1 month = january year = 1527 }
	deathdate = { day = 10 month = october year = 1529 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81010A"
                command = { type = fortress which = -2 value = 1 }
                command = { type = stability value = -5 }
                command = { type = revoltrisk which = 26 value = 2 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 169 }
                command = { type = revolt which = 1484 }
                command = { type = revolt which = 167 }
                command = { type = revolt which = 168 }
                command = { type = revolt which = 193 }
                command = { type = revolt which = 170 }
                command = { type = revolt which = 194 }
                command = { type = revolt which = 192 }
                command = { type = revolt which = 171 }
                command = { type = revolt which = 172 }
                command = { type = revolt which = 219 }
                command = { type = revolt which = 173 }
                command = { type = revolt which = 174 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
	}
}

event = {
	id = 81011
	trigger = { event = 81010 #The Inca Civil War
                    control = { province = 169 data = -1 } #Cuzco
	}
	random = no
	country = INC
	name = "EVENTNAME81011"
	desc = "EVENTHIST81011"
	style = 1
	date = { day = 1 month = july year = 1527 }
	deathdate = { day = 1 month = january year = 1532 }
	offset = 100
	action_a = {
		name = "ACTIONNAME81011A"
                command = { type = stability value = 1 }
                command = { type = inflation value = -10 }
                command = { type = vp value = 60 }
                command = { type = sleepmonarch which = 07464 } #Huascar
                command = { type = wakeleader which = 09880 } #Atahuallpa
                command = { type = wakemonarch which = 07465 } #Atahuallpa
                command = { type = capital which = 169 } #Cuzco
	}
}

event = {
	id = 81012
	trigger = { event = 81009 #The War Between The Brothers
                    control = { province = 162 data = INC } #Cali
	}
	random = no
	country = INC
	name = "EVENTNAME81012"
	desc = "EVENTHIST81012"
	style = 1
	date = { day = 1 month = january year = 1527 }
	deathdate = { day = 1 month = january year = 1535 }
	offset = 100
	action_a = {
		name = "ACTIONNAME81011A"
                command = { type = stability value = 3 }
                command = { type = inflation value = -10 }
                command = { type = vp value = 60 }
                command = { type = domestic which = QUALITY value = -1 }
	}
}

event = {
	id = 81013
	random = no
	country = SPA
	name = "EVENTNAME81013"
	desc = "EVENTHIST81013"
	style = 1
	date = { day = 1 month = november year = 1524 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81013A"
                command = { type = conquistador which = 39 } #Gulf Of Panama
		command = { type = cav which = 39 value = 1000 }
                command = { type = population which = 39 value = 700 } #Panama
command = { type = conquistador which = 158 } #Choko
		command = { type = cav which = 158 value = 1000 }
                command = { type = population which = 158 value = 700 } #Choko
                command = { type = treasury value = -200 }
	}
}

event = {
	id = 81014
	trigger = {
                   OR = {
                   owned = { province = 175 data = -1 } # Valparaiso
                   owned = { province = 161 data = -1 } # Cupica
                   owned = { province = 160 data = -1 } # Bogota
                   owned = { province = 39 data = -1 } # Isthmus
                   owned = { province = 38 data = -1 } # Mosquitos
owned = { province = 158 data = -1 } # Valparaiso
                   owned = { province = 157 data = -1 } # Cupica
	}
        }
	random = no
	country = SPA
	name = "EVENTNAME81014"
	desc = "EVENTHIST81014"
	style = 1
	date = { day = 15 month = november year = 1532 }
	offset = 0
	action_a = {
		name = "ACTIONNAME81014A"
                command = { type = art which = 39 value = 10 }
                command = { type = cav which = 39 value = 1000 }
                command = { type = inf which = 39 value = 12000 }
                command = { type = art which = 158 value = 10 }
                command = { type = cav which = 158 value = 1000 }
                command = { type = population which = 39 value = 300 } #Panama
                 command = { type = population which = 158 value = 300 } #Panama
                command = { type = trigger which = 81015 } #Date With Destiny
                command = { type = wakeleader which = 09761 } #Pizarro
                command = { type = treasury value = -200 }
	}
	action_b = {
		name = "ACTIONNAME81014B"
                command = { type = sleepevent which = 81015 } #Date With Destiny
                command = { type = sleepleader which = 09761 } #Pizarro
	}
}

event = {
	id = 81015
	trigger = { event = 81014 } #Pizarro Claims Peru For Spain
	random = no
	country = INC
	name = "EVENTNAME81015"
	desc = "EVENTHIST81015"
	style = 1
	date = { day = 15 month = november year = 1532 }
	offset = 0
	action_a = {
		name = "ACTIONNAME81015A"
                command = { type = trigger which = 81016 }
	}
	action_b = {
		name = "ACTIONNAME81015B"
                command = { type = sleepevent which = 81016 }
                command = { type = vp value = -20 }
                command = { type = stability value = 1 }
	}
}

event = {
	id = 81016
	trigger = { event = 81015 } #Date With Destiny
	random = no
	country = INC
	name = "EVENTNAME81016"
	desc = "EVENTHIST81016"
	style = 1
	date = { day = 16 month = november year = 1532 }
	deathdate = { day = 16 month = november year = 1532 }
	action_a = {
		name = "ACTIONNAME81016A"
                command = { type = trigger which = 81017 } #Santiago! Y a ellos!
                command = { type = sleepevent which = 81018 } #Atahuallpa Accepts Christianity
	}
	action_b = {
		name = "ACTIONNAME81016B"
                command = { type = sleepevent which = 81017 } #Santiago! Y a ellos!
                command = { type = trigger which = 81018 } #Atahuallpa Accepts Christianity
	}
}

event = {
	id = 81017
	trigger = { event = 81010 } #Date With Destiny
	random = no
	country = SPA
	name = "EVENTNAME81017"
	desc = "EVENTHIST81017"
	style = 1
	date = { day = 16 month = november year = 1532 }
	offset = 0
	action_a = {
		name = "ACTIONNAME81017A"
                command = { type = trigger which = 81019 } #Atahuallpa's Ransom
	}
	action_b = {
		name = "ACTIONNAME81017B"
                command = { type = trigger which = 81020 } #Death Of Atahuallpa
                command = { type = sleepevent which = 81019 } #Atahuallpa's Ransom
                command = { type = cash value = 2000 }
                command = { type = inflation value = 5 }
	}
}

event = {
	id = 81018
	trigger = { event = 81008 } #Friar Valverde Preaches Christianity
	random = no
	country = INC
	name = "EVENTNAME81018"
	desc = "EVENTHIST81018"
	style = 1
	date = { day = 21 month = march year = 1533 }
	deathdate = { day = 31 month = march year = 1533 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81018A"
                command = { type = religion which = catholic }
                command = { type = trigger which = 81027 } #Christen The Inca Puppet Atahuallpa
                command = { type = stability value = -7 }
                command = { type = missionaries value = 6 }
                command = { type = inflation value = 10 }
                command = { type = revoltrisk which = 10 value = 4 }
                command = { type = cash value = 2000 }
                command = { type = sleepevent which = 81020 } #Death Of Atahuallpa
	}
	action_b = {
		name = "ACTIONNAME81018B"
                command = { type = religion which = orthodox }
                command = { type = trigger which = 81027 } #Christen The Inca Puppet Atahuallpa
                command = { type = stability value = -5 }
                command = { type = missionaries value = 6 }
                command = { type = inflation value = -10 }
                command = { type = revoltrisk which = 10 value = 2 }
                command = { type = provincereligion which = -2 value = orthodox }
                command = { type = provincereligion which = -1 value = orthodox }
                command = { type = sleepevent which = 81020 } #Death Of Atahuallpa
	}
	action_c = {
		name = "ACTIONNAME81018C"
                command = { type = trigger which = 81017 } #Santiago! Y a ellos!
	}
}

event = {
	id = 81019
	trigger = { event = 81017 } #Santiago! Y a ellos!
	random = no
	country = SPA
	name = "EVENTNAME81019"
	desc = "EVENTHIST81019"
	style = 1
	date = { day = 1 month = december year = 1532 }
	deathdate = { day = 1 month = april year = 1533 }
	offset = 60
	action_a = {
		name = "ACTIONNAME81019A"
                command = { type = cash value = 10000 }
                command = { type = inflation value = 10 }
                command = { type = trigger which = 81020 } #Death Of Atahuallpa
                command = { type = vassal which = INC }
	}
	action_b = {
		name = "ACTIONNAME81019B"
                command = { type = cash value = 10000 }
                command = { type = inflation value = 10 }
                command = { type = vassal which = INC }
                command = { type = sleepevent which = 81020 } #Death Of Atahuallpa
	}
	action_c = {
		name = "ACTIONNAME81019C"
                command = { type = cash value = 2000 }
                command = { type = inflation value = 5 }
                command = { type = trigger which = 81020 } #Death Of Atahuallpa
                command = { type = vassal which = INC }
	}
	action_d = {
		name = "ACTIONNAME81019D"
                command = { type = relation which = INC value = 200 }
                command = { type = vassal which = INC }
                command = { type = sleepevent which = 81020 } #Death Of Atahuallpa
	}
}

event = {
	id = 81020
	random = no
	country = INC
	name = "EVENTNAME81020"
	desc = "EVENTHIST81020"
	style = 1
	date = { day = 21 month = november year = 1532 }
	deathdate = { day = 31 month = june year = 1534 }
	offset = 30
	action_a = {
		name = "ACTIONNAME81020A"
                command = { type = sleepmonarch which = 07465 } #Atahuallpa
                command = { type = wakemonarch which = 07474 } #Manco Inca
                command = { type = wakeleader which = 09887 } #Villac Umu
                command = { type = stability value = -6 }
                command = { type = revolt which = 165 } #Cajamarca
                command = { type = inf which = -2 value = 1000 }
                command = { type = relation which = SPA value = -400 }
                command = { type = inflation value = -10 }
                command = { type = domestic which = CENTRALIZATION value = -3 }
                command = { type = casusbelli which = SPA value = 9999 }
                command = { type = secedeprovince which = SPA value = 168 } #Lima
	}
}

event = {
	id = 81021
	trigger = { event = 81020 } #Death Of Atahuallpa
	random = no
	country = SPA
	name = "EVENTNAME81021"
	desc = "EVENTHIST81021"
	style = 1
	date = { day = 18 month = january year = 1535 }
	offset = 0
	action_a = {
		name = "ACTIONNAME81021A"
                command = { type = colonists value = -3 }
                command = { type = fortress which = 168 value = 1 } #Lima
                command = { type = population which = 168 value = 2000 }
                command = { type = provinceculture which = 168 value = iberian }
                command = { type = provincereligion which = 168 value = catholic }
                command = { type = INF which = 168 value = 5000 }
                command = { type = CAV which = 168 value = 2000 }
                command = { type = ART which = 168 value = 20 }
	}
}

event = {
	id = 81022
	trigger = { event = 81020 } #Death Of Atahuallpa
	random = no
	country = INC
	name = "EVENTNAME81022"
	desc = "EVENTHIST81022"
	style = 1
	date = { day = 21 month = march year = 1536 }
	deathdate = { day = 31 month = march year = 1536 }
	offset = 7
	action_a = {
		name = "ACTIONNAME81022A"
                command = { type = breakvassal which = SPA }
                command = { type = war which = SPA }
                command = { type = capital which = 172 } 
                command = { type = population which = 172 value = 5000 }
                command = { type = INF which = 172 value = 10000 }
command = { type = secedeprovince which = SPA value = 1861 }
command = { type = secedeprovince which = SPA value = 187 }
command = { type = secedeprovince which = SPA value = 160 }
command = { type = secedeprovince which = SPA value = 161 }
command = { type = secedeprovince which = SPA value = 162 }
command = { type = secedeprovince which = SPA value = 163 }
command = { type = secedeprovince which = SPA value = 164 }
command = { type = secedeprovince which = SPA value = 165 }
command = { type = secedeprovince which = SPA value = 166 }
command = { type = secedeprovince which = SPA value = 1482 }
command = { type = secedeprovince which = SPA value = 1483 }
command = { type = secedeprovince which = SPA value = 169 }
command = { type = secedeprovince which = SPA value = 170 }
command = { type = secedeprovince which = SPA value = 171 }
command = { type = secedeprovince which = SPA value = 167 }
command = { type = secedeprovince which = SPA value = 168 }
command = { type = secedeprovince which = SPA value = 193 }
command = { type = secedeprovince which = SPA value = 1835 }
command = { type = secedeprovince which = SPA value = 1876 }
command = { type = secedeprovince which = SPA value = 1484 }
	}
	action_b = {
		name = "ACTIONNAME81022B"
                command = { type = vp value = -20 }
                command = { type = relation which = SPA value = 100 }
                command = { type = sleepevent which = 81023 } #Appeal For Help
	}
}

event = {
	id = 81023
	trigger = { event = 81022 } #The Empire Strikes Back
	random = no
	country = SPA
	name = "EVENTNAME81023"
	desc = "EVENTHIST81023"
	style = 1
	date = { day = 21 month = march year = 1536 }
	deathdate = { day = 31 month = march year = 1536 }
	offset = 0
	action_a = {
		name = "ACTIONNAME81023A"
                command = { type = revolt which = 165 } #Cajamarca
                command = { type = revolt which = 1482 } #Montana
                command = { type = revolt which = 166 } #Huanuco
                command = { type = revolt which = 1483 } #Atalaya
                command = { type = revolt which = 167 } #Ayaucho
                command = { type = revolt which = 169 } #Cuzco
                command = { type = revolt which = 170 } #Arequipa
                command = { type = revolt which = 171 } #Moquega
                command = { type = revolt which = 172 } #Arica
                command = { type = revolt which = 219 } #Tucuman
                command = { type = revolt which = 173 } #Atacama
                command = { type = revolt which = 174 } #Coquimbo
                command = { type = revolt which = 194 } #Potosi
                command = { type = revolt which = 1484 } #Manu
               command = { type = province_revoltrisk which = 1861 value = 3 } 
command = { type = province_revoltrisk which = 187 value = 3 }
command = { type = province_revoltrisk which = 160 value = 3 } 
command = { type = province_revoltrisk which = 161 value = 3 }
command = { type = province_revoltrisk which = 162 value = 3 } 
command = { type = province_revoltrisk which = 163 value = 3 }
command = { type = province_revoltrisk which = 164 value = 3 } 
command = { type = province_revoltrisk which = 165 value = 3 }
command = { type = province_revoltrisk which = 166 value = 3 } 
command = { type = province_revoltrisk which = 167 value = 3 }
command = { type = province_revoltrisk which = 168 value = 3 } 
command = { type = province_revoltrisk which = 169 value = 3 }
command = { type = province_revoltrisk which = 170 value = 3 } 
command = { type = province_revoltrisk which = 193 value = 3 }
command = { type = province_revoltrisk which = 1835 value = 3 } 
command = { type = province_revoltrisk which = 1876 value = 3 }
command = { type = province_revoltrisk which = 1484 value = 3 } 
	}
}

event = {
	id = 81024
	trigger = { event = 81023 } #Appeal For Aid
	random = no
	country = SPA
	name = "EVENTNAME81024"
	desc = "EVENTHIST81024"
	style = 1
	date = { day = 17 month = july year = 1536 }
	deathdate = { day = 31 month = november year = 1536 }
	offset = 50
	action_a = {
		name = "ACTIONNAME81024A"
                command = { type = province_revoltrisk which = 1861 value = 3 } 
command = { type = province_revoltrisk which = 187 value = -3 }
command = { type = province_revoltrisk which = 160 value = -3 } 
command = { type = province_revoltrisk which = 161 value = -3 }
command = { type = province_revoltrisk which = 162 value = -3 } 
command = { type = province_revoltrisk which = 163 value = -3 }
command = { type = province_revoltrisk which = 164 value = -3 } 
command = { type = province_revoltrisk which = 165 value = -3 }
command = { type = province_revoltrisk which = 166 value = -3 } 
command = { type = province_revoltrisk which = 167 value = -3 }
command = { type = province_revoltrisk which = 168 value = -3 } 
command = { type = province_revoltrisk which = 169 value = -3 }
command = { type = province_revoltrisk which = 170 value = -3 } 
command = { type = province_revoltrisk which = 193 value = -3 }
command = { type = province_revoltrisk which = 1835 value = -3 } 
command = { type = province_revoltrisk which = 1876 value = -3 }
command = { type = province_revoltrisk which = 1484 value = -3 } 
                command = { type = INF which = 162 value = 6000 } #Cali
                command = { type = INF which = 168 value = 14000 } #Lima
                command = { type = CAV which = 168 value = 500 } #Lima
                command = { type = ART which = 168 value = 10 } #Lima
                command = { type = INF which = 170 value = 14000 } #Arequipa
                command = { type = INF which = 170 value = 500 } #Arequipa
                command = { type = INF which = 170 value = 10 } #Arequipa
command = { type = treasury value = -200 }
	}
}

event = {
	id = 81025
	trigger = { control = { province = 169 data = INC } #Cuzco
                  event = 81022 #The Empire Strikes Back
        }
	random = no
	country = INC
	name = "EVENTNAME81025"
	desc = "EVENTHIST81025"
	style = 1
	date = { day = 1 month = april year = 1540 }
	deathdate = { day = 30 month = june year = 1820 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81025A"
                command = { type = capital which = 169 } #Cuzco
                command = { type = stability value = 2 }
	}
	action_b = {
		name = "ACTIONNAME81025B"
                command = { type = stability value = 1 }
	}
}

event = {
	id = 81026
	trigger = { owned = { province = 168 data = INC } #Lima
	          event = 81022 #The Empire Strikes Back
	}
	random = no
	country = INC
	name = "EVENTNAME81026"
	desc = "EVENTHIST81026"
	style = 1
	date = { day = 1 month = april year = 1535 }
	deathdate = { day = 30 month = june year = 1820 }
	offset = 10
	action_a = {
		name = "ACTIONNAME81026A"
                command = { type = population which = 168 value = -2000 } #Lima
                command = { type = provinceculture which = 168 value = andean } #Lima
                command = { type = conversion which = 168 } #Lima
                command = { type = revolt which = 168 } #Lima
                command = { type = vp value = 100 }
                command = { type = relation which = SPA value = -50 }
                command = { type = stability value = 2 }
	}
	action_b = {
		name = "ACTIONNAME81026B"
                command = { type = provinceculture which = 168 value = andean } #Lima
                command = { type = conversion which = 168 } #Lima
                command = { type = vp value = 100 }
                command = { type = stability value = -2 }
	}
	action_c = {
		name = "ACTIONNAME81026C"
                command = { type = stability value = -10 }
                command = { type = technology which = china }
                command = { type = domestic which = innovative value = 5 }
                command = { type = relation which = SPA value = 50 }
                command = { type = province_revoltrisk which = 168 value = -1 }
                command = { type = provincetax which = 168 value = 10 }
                command = { type = vp value = 200 }
	}
}

event = {
	id = 81027
	trigger = { event = 81018 } #Atahuallpa Accepts Christianity
	random = no
	country = SPA
	name = "EVENTNAME81027"
	desc = "EVENTHIST81027"
	style = 1
	date = { day = 21 month = march year = 1533 }
	deathdate = { day = 31 month = march year = 1533 }
	offset = 7
	action_a = {
		name = "ACTIONNAME81027A"
                command = { type = vassal which = INC }
                command = { type = relation which = INC value = 200 }
                command = { type = alliance which = INC }
                command = { type = dynastic which = INC }
                command = { type = cash value = 2000 }
	}
	action_b = {
		name = "ACTIONNAME81027B"
                command = { type = trigger which = 81017 } #Santiago! Y a ellos!
	}
}

event = {
	id = 81028
	trigger = { owned = { province = 169 data = INC } #Cuzco
	owned = { province = 168 data = INC } #Lima
	owned = { province = 162 data = INC } #Cali
	}
	random = no
	country = INC
	name = "EVENTNAME81028"
	desc = "EVENTHIST81028"
	style = 1
	date = { day = 1 month = april year = 1580 }
	offset = 1800
	action_a = {
		name = "ACTIONNAME81028A"
	        command = { type = religion which = pagan }
	        command = { type = vp value = 30 }
	        command = { type = inflation value = -10 }
	        command = { type = domestic which = innovative value = -2 }
                command = { type = stability value = 6 }
	}
	action_b = {
		name = "ACTIONNAME81028B"
	        command = { type = religion which = buddhism }
	        command = { type = conversion which = -2 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = inflation value = -10 }
                command = { type = domestic which = innovative value = 3 }
                command = { type = stability value = 2 }
	}
	action_c = {
		name = "ACTIONNAME81028C"
		command = { type = religion which = orthodox }
		command = { type = conversion which = -2 }
		command = { type = conversion which = -1 }
		command = { type = domestic which = innovative value = 3 }
                command = { type = stability value = -2 }
        }
	action_d = {
		name = "ACTIONNAME81028D"
                command = { type = religion which = catholic }
                command = { type = technology which = china }
		command = { type = missionaries value = 6 }
		command = { type = cash value = 5000 } #Stored gold now becomes currency
		command = { type = inflation value = 20 }
		command = { type = domestic which = innovative value = 3 }
		command = { type = stability value = -15 }
	}
}