#####Naples Major Events######
#By Joakim 'Greven' Bergqwist#
##############################
#####Naples Major Events######
#By Joakim 'Greven' Bergqwist#
##############################
###   Updated by Korall    ###
##############################






#The Holy League - modified by IB and YodaMaster
event = {

	id = 3661
	trigger = {
			exists = TUR
			OR = { 
				event = 3549
				event = 236000
			}
		}
	random = no
	country = NAP
	name = "EVENTNAME3661"
	desc = "EVENTHIST3661"
	style = 2

	date = { day = 7 month = may year = 1571 }
	offset = 30
	deathdate = { day = 13 month = april year = 1573 }

	action_a ={						#Support the Holy League#
		name = "ACTIONNAME3661A"	
		command = { type = casusbelli which = TUR value = 72 }
		command = { type = relation which = TUR value = -150 }#fixed IB
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = GEN value = 150 }
		command = { type = relation which = ITA value = 150 }
		command = { type = relation which = KNI value = 150 }
		command = { type = relation which = SAV value = 150 }
		command = { type = relation which = SIC value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = VEN value = 150 }
                command = { type = warships which = -1 value = 5 }
command = { type = transports which = -1 value = 5 }
command = { type = INF which = -1 value = 8000 }
command = { type = cavalry which = -1 value = 4000 }
	}

	action_b ={						#Let the matter fall#
		name = "ACTIONNAME3661B"
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = GEN value = -50 }
		command = { type = relation which = ITA value = -50 }
		command = { type = relation which = KNI value = -50 }
		command = { type = relation which = NAP value = -50 }
		command = { type = relation which = SAV value = -50 }
		command = { type = relation which = SIC value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = VEN value = -50 }
	}
}


###########################
#####  Napoli Events  #####
#####    by Havard   ######
###########################

event = {
	id = 7118
	random = no
	country = NAP
	name = "EVENTNAME7114"
	desc = "EVENTHIST7118"
	style = 1

	action_a = { # #
		name = "ACTIONNAME5251A"
		command = { type = breakvassal which = ARG }#have Apulia# 
		command = { type = stability value = 1 } 
	}
}

##############################################
#
#  EEP events for Naples (Anjou sequence)
#
#  by Havard
#


#Crisis in Naples
event = {
	id = 239006 #moved from 1434 to 1420, added Papal relations and events
	trigger = { 
			exists = PRO
			exists = ARG
			NOT = {
				OR = {
					war = { country = NAP country = ARG }
					war = { country = NAP country = PAP }
				}
			}
			NOT = {
				OR = {
					event = 239008
					event = 239011
					event = 239012
					}
				}
			}
	random = no
	country = NAP
	name = "Неапольский кризис"
	desc = "В 1420 году Муцио Сфорца, главный генерал Неаполя, начал плести интриги с Папой Римским Мартином V и Людовиком III Анжуйским против фаворита королевы Джованны II Неаполитанской. Людовик III заявил о своих правах на неаполитанский престол, потому что в 1382 году Джованна I оставила его деда Людовика I наследником престола. Сфорца мобилизовал армию в Папской области, и приготовился оккупировать Неаполь от имени Людовика. Не желая выполнять требования Людовика, бездетная Джованна II усыновила Альфонса V Арагонского, своего будущего наследника, в обмен на его помощь в борьбе со Сфорцой, Людовиком и Папой Римским. Альфонс V также заявил о своих правах на неаполитанский престол, т.к. его предок, живший в 13 веке, король Манфред, проигравший престол Карлу I в войне, был первым анжуйским королем Неаполя. Альфонс принял предложение Джованны, и по прибытию в Неаполь, назначил Браччио да Монтоне, самого злейшего врага Сфорцы, командующим неаполитанской армии."
	style = 1

	date = { day =14 month = March year = 1420 }
	offset = 30

	action_a = {
		name = "Провозгласить Альфонса будущим наследником" 
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = relation which = ARG value = 100 }
		command = { type = dynastic which = ARG }
		command = { type = trigger which = 262004 } #PRO
		command = { type = trigger which = 251020 } #PAP
		command = { type = trigger which = 111012 } #ARG
		command = { type = INF   which = 1936 value = 2000 }
		command = { type = CAV   which = 1936 value = 4000 }
		command = { type = leader which = 19610 }#Montone 
		}
	action_b = {
		name = "Принять требования Людовика"
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = ARG value = -100 }
		command = { type = dynastic which = PRO }
		command = { type = trigger which = 111009 } #ARG
		command = { type = trigger which = 262003 } #PRO
		command = { type = INF   which = 393 value = 2000 }
		command = { type = CAV   which = 393 value = 4000 }
		command = { type = leader which = 19611 }#Sforza in Naples
		command = { type = stability value = -1 }#have to dismiss Caracciolo
		}
	}
#Could add “Stand Alone” option C for the real masochists, piss off both Aragon and Anjou simultaneously
# -----------------------------------------------------------------------------------------


#The death of the Queen/Anjou (1435)#  Only changed description. 
event = {
	id = 239007
	trigger = {
		exists = PRO
		event = 262003 #Renй is chosen as heir
	}
	random = no
	country = NAP
	name = "Смерть королевы"
	desc = "Умерла королева Джованна II Неаполитанская. Ее наследником стал герцог Прованса Рене Анжуйский, брат Людовика III Анжуйского. Теперь он дожидается вступления на престол!"
	style = 1

	date = { day = 2 month = february year = 1435 }

	action_a ={
		name = "Милости просим, дорогой король! (конец игры)"	
		command = { type = trigger which = 262005 } #PRO
		command = { type = trigger which = 111011 } #ARG
	}
	action_b ={
		name = "Настоять на независимости!"	
		command = { type = trigger which = 262006 } #PRO
		command = { type = trigger which = 111011 } #ARG
		command = { type = trigger which = 239009 } #NAP
	}
}

#The Aragon Inheritance of Napoli
# Modified for the EEP by Havard
event = {

        id = 3660
        trigger = {
                exists = ARG
                event = 111012 #Alfonso is chosen as heir
                }
        random = no
        country = NAP
        name = "Смерть королевы(1435)" #Changed as Aragon isn’t necessarily going to inherit
        desc = "После того как Альфонс, выходец из Арагона,  оказал помощь Неаполю в 1420 году, он попытался заполучить полный контроль над государством от королевы Джованны II. Чтобы помешать ему, и сохранить независимость Неаполя от Сицилии и Арагона, Джованна назвала Луи III Валуа, своим наследником, а он, выступил против Альфонса. На случай смерти Луи, она вручила наследство его брату, Рене, отныне королю Анжуйскому. Теперь, когда королева мертва, кому из этих наследников предстоит управлять Неаполем?"
        style = 1

        date = { day = 2 month = february year = 1435 }

	action_a ={ #identical to event 239007
		name = "Милости просим, дорогой король! (конец игры)"	
		command = { type = trigger which = 262005 } #PRO
		command = { type = trigger which = 111011 } #ARG
	}
        action_b ={
                name = "Стать вассалом Альфонса"        #Ruled as Vassal#
                command = { type = trigger which = 3555 } #ARG
                command = { type = trigger which = 262007 } #PRO
                command = { type = relation which = ARG value = 150 }
                command = { type = relation which = PAP value = -25 }# from 100
                command = { type = relation which = VEN value = -25 }# from 100
                command = { type = relation which = GEN value = -25 }# from 100
                command = { type = relation which = MLO value = -25 } # ADDED
		command = { type = relation which = PRO value = -100 }
                command = { type = stability value = 2 }
        }
        action_c ={
                name = "ACTIONNAME3660B"        #Independent#
                command = { type = relation which = ARG value = -150 }
                command = { type = relation which = PRO value = 100 }
                command = { type = relation which = FRA value = 100 }
                command = { type = stability value = -2 }
        }
}
# -----------------------------------------------------------------------------------------

#The battle over Naples (1435)#
event = {

	id = 239009 #Triggered by NAP239007_B or PRO262005_A
	random = no
	country = NAP
	name = "Борьба за Неаполь"
	desc = "Вступив в 1435 году на престол, король Рене столкнулся с серьезными угрозами со стороны своего соперника Альфонса Арагонского и его сторонников при неаполитанском дворе."
	style = 1

	action_a ={
		name = "Мы победим!"	
		command = { type = revoltrisk which = 85 value = 4 }
		command = { type = sleepmonarch which = 06732 } #ADDED Alfonso I Aragonese Trastamara dinasty
		command = { type = sleepmonarch which = 06733 } #
		command = { type = sleepmonarch which = 06734 } #
		command = { type = sleepmonarch which = 06735 } #
		command = { type = sleepmonarch which = 06736 } #
		command = { type = sleepmonarch which = 06737 } #Ferdinando III->Ferrбn II El Rey Catolico
		command = { type = sleepmonarch which = 06738 } #Carlo IV->SPA Carlos I Hapsburg dinasty
		command = { type = sleepmonarch which = 06739 } #
		command = { type = sleepmonarch which = 06740 } #
		command = { type = sleepmonarch which = 06741 } #
		command = { type = sleepmonarch which = 06742 } #last of Spanish Hapsburg dinasty
		command = { type = sleepmonarch which = 06743 } #Filippo IV ->SPA Felipe V Bourbon
		command = { type = sleepmonarch which = 06744 } #Giuseppe I->HAB Joseph I Hapsburg
		command = { type = sleepmonarch which = 06745 } #Carlo VI->HAB Karl II Hapsburg
		command = { type = sleepmonarch which = 06746 } #Carlo VII Bourbon Naples
		command = { type = sleepmonarch which = 06747 } #Ferrante IV Bourbon Naples
		command = { type = wakemonarch which = 05413 } #ADDED Renato I
		command = { type = wakemonarch which = 05400 } #House of Lorraine-Vaudйmont
		command = { type = wakemonarch which = 05401 } #
		command = { type = wakemonarch which = 05402 } #
		command = { type = wakemonarch which = 05403 } #
		command = { type = wakemonarch which = 05404 } #
		command = { type = wakemonarch which = 05405 } #
		command = { type = wakemonarch which = 05406 } #
		command = { type = wakemonarch which = 05407 } #
		command = { type = wakemonarch which = 05408 } #
		command = { type = wakemonarch which = 05409 } #
		command = { type = wakemonarch which = 05410 } #
		command = { type = wakemonarch which = 05411 } #
		command = { type = wakemonarch which = 05412 } #	
	}
}

#The battle over Naples (1442)#
event = {

	id = 239010 #Triggered by PRO262009_A
	random = no
	country = NAP
	name = "Борьба за Неаполь"
	desc = "Поддавшись давлению со стороны Арагона и его сторонников в Неаполе, король Рене решил отречься от неаполитанского престола, и заявить о своих правах на Арагон."
	style = 1

	action_a ={
		name = "Пусть будет так..."
		command = { type = breakvassal which = PRO } #ADDED from PRO262009/262010	
		command = { type = wakemonarch which = 06732 } #Alfonso I  Aragonese Trastamara dinasty 
		command = { type = wakemonarch which = 06733 } #
		command = { type = wakemonarch which = 06734 } #
		command = { type = wakemonarch which = 06735 } #
		command = { type = wakemonarch which = 06736 } #
		command = { type = wakemonarch which = 06737 } #Ferdinando III->Ferrбn II El Rey Catolico
		command = { type = wakemonarch which = 06738 } #Carlo IV->SPA Carlos I Hapsburg dinasty
		command = { type = wakemonarch which = 06739 } #
		command = { type = wakemonarch which = 06740 } #
		command = { type = wakemonarch which = 06741 } #
		command = { type = wakemonarch which = 06742 } #last of Spanish Hapsburg dinasty
		command = { type = wakemonarch which = 06743 } #Filippo IV ->SPA Felipe V Bourbon
		command = { type = wakemonarch which = 06744 } #Giuseppe I->HAB Joseph I Hapsburg
		command = { type = wakemonarch which = 06745 } #Carlo VI->HAB Karl II Hapsburg
		command = { type = wakemonarch which = 06746 } #Carlo VII Bourbon Naples
		command = { type = wakemonarch which = 06747 } #Ferdinando IV Bourbon Naples
		command = { type = sleepmonarch which = 05413 } #ADDED Renato I
		command = { type = sleepmonarch which = 05400 } #House of Lorraine-Vaudйmont
		command = { type = sleepmonarch which = 05401 } #
		command = { type = sleepmonarch which = 05402 } #
		command = { type = sleepmonarch which = 05403 } #
		command = { type = sleepmonarch which = 05404 } #
		command = { type = sleepmonarch which = 05405 } #
		command = { type = sleepmonarch which = 05406 } #
		command = { type = sleepmonarch which = 05407 } #
		command = { type = sleepmonarch which = 05408 } #
		command = { type = sleepmonarch which = 05409 } #
		command = { type = sleepmonarch which = 05410 } #
		command = { type = sleepmonarch which = 05411 } #
		command = { type = sleepmonarch which = 05412 } #
	}
}

#The battle over Naples (1442)#
event = {
	id = 239013 #if PRO doesn't exist or has prov 393 (Campania) and NAP exists in prov 394 (Apulia)
	trigger = { 
		OR = {
			NOT = { exists = PRO }
			NOT = { owned = { province = 1936 data = -1 } } #Campania 
		} 
	} 
	random = no
	country = NAP
	name = "Борьба за Неаполь"
	desc = "Поддавшись давлению со стороны Арагона и его сторонников в Неаполе, король Рене решил отречься от неаполитанского престола, и заявить о своих правах на Арагон."
	style = 1

	date = { day = 2 month = june year = 1442 }

	action_a ={
		name = "Пусть будет так..."
		command = { type = wakemonarch which = 06732 } #Alfonso I Aragonese Trastamara dinasty 
		command = { type = wakemonarch which = 06733 } #
		command = { type = wakemonarch which = 06734 } #
		command = { type = wakemonarch which = 06735 } #
		command = { type = wakemonarch which = 06736 } #
		command = { type = wakemonarch which = 06737 } #Ferdinando III->Ferrбn II El Rey Catolico
		command = { type = wakemonarch which = 06738 } #Carlo IV->SPA Carlos I Hapsburg dinasty
		command = { type = wakemonarch which = 06739 } #
		command = { type = wakemonarch which = 06740 } #
		command = { type = wakemonarch which = 06741 } #
		command = { type = wakemonarch which = 06742 } #last of Spanish Hapsburg dinasty
		command = { type = wakemonarch which = 06743 } #Filippo IV ->SPA Felipe V Bourbon
		command = { type = wakemonarch which = 06744 } #Giuseppe I->HAB Joseph I Hapsburg
		command = { type = wakemonarch which = 06745 } #Carlo VI->HAB Karl II Hapsburg
		command = { type = wakemonarch which = 06746 } #Carlo VII Bourbon Naples
		command = { type = wakemonarch which = 06747 } #Ferdinando IV Bourbon Naples
		command = { type = sleepmonarch which = 05413 } #ADDED Renato I
		command = { type = sleepmonarch which = 05400 } #House of Lorraine-Vaudйmont
		command = { type = sleepmonarch which = 05401 } #
		command = { type = sleepmonarch which = 05402 } #
		command = { type = sleepmonarch which = 05403 } #
		command = { type = sleepmonarch which = 05404 } #
		command = { type = sleepmonarch which = 05405 } #
		command = { type = sleepmonarch which = 05406 } #
		command = { type = sleepmonarch which = 05407 } #
		command = { type = sleepmonarch which = 05408 } #
		command = { type = sleepmonarch which = 05409 } #
		command = { type = sleepmonarch which = 05410 } #
		command = { type = sleepmonarch which = 05411 } #
		command = { type = sleepmonarch which = 05412 } #
	}
}

###########################
#####  Napoli Events  #####
#####     by Wido    ######
###########################

#The Commissioning of Reggia di Caserta#
event = {
	id = 17322
	random = no
	country = NAP
	name = "EVENTNAME17322"
	desc = "EVENTHIST17322"
	style = 4

	date = { day = 1 month = january year = 1752 }
	offset = 30
	deathdate = { day = 30 month = december year = 1752 }

	action_a ={ #We need it for the Glory#
		name = "ACTIONNAME17322A"
		command = { type = treasury value = -400 }
		command = { type = stability value = -1 }
		}

	action_b ={ #Useless piece of..#
		name = "ACTIONNAME17322B"
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 17323 }
		}
}

#Reggia di Caserta stands in Unearthly Glory#
event = {
	id = 17323
	random = no
	country = NAP
	trigger = { event = 17322 }
	name = "EVENTNAME17323"
	desc = "EVENTHIST17323"
	style = 4
	date = { day = 1 month = january year = 1774 }
	offset = 30
	deathdate = { day = 30 month = december year = 1774 }

	action_a ={ #We have our "Versailles"!#
		name = "ACTIONNAME5251A"
		command = { type = gainmanufactory which = 393 value = luxury }
		command = { type = vp value = 50 }
		}
}


### Naples' Response to French Aggression (Naples Event) ###

event = {
	id = 12022
	random = no
	country = NAP
	name = "EVENTNAME12022"
	desc = "EVENTHIST12022"
	style = 1
	action_a = {
		name = "ACTIONNAME12022A"
		command = { type = stability value = -2}
}
	action_b = {
		name = "ACTIONNAME12022B"
		command = { type = trigger which = 12023 }
}
}

#Osuna:  Naval for Naples
#Basically in to shift the sliders a bit
event = {

	id = 239000
	random = no
	country = NAP
	name = "Герцог Осуна"
	desc = "Герцог Осуна служил в качестве неаполитанского вице-короля с 1610 по 1620 года. Он проводил агрессивную внешнюю политику, особенно в отношении вопросов, касающихся моря. Он создал личный военно-морской флот, который был больше государственного. Флот, созданный будто бы для защиты побережья, на самом деле состоял из каперов, и постоянно нападал на венецианские и мусульманские торговые корабли. Также герцог предпочитал использовать овальные корабли вместо традиционных неаполитанских галер. После его смерти флот перешел в ведение правительства."

	style = 3
        date = { day = 1 month = january year = 1610 }
	offset = 500

	action_a ={			
		name = "Поддержать его амбиции"
		command = { type = stability value = -2 } 
		command = { type = naval   value = 1000 }#not too much for 1610
		command = { type = domestic which = land value = -1 }
		command = { type = warships   which = -2 value = 10 }
		command = { type = cash   value = -300 }
		command = { type = relation   which = VEN value = -150 } #nearly caused a war
		command = { type = relation   which = TUR value = -80 }
		command = { type = relation   which = MAM value = -80 }
		command = { type = relation   which = ALD value = -40 }
		command = { type = relation   which = TRI value = -40 }#are they still Tripoli?
		command = { type = relation   which = TUN value = -80 }#Cyrenacia??
                command = { type = galleys which = -1 value = 10 }
command = { type = transports which = -1 value = 3 }
	}
	action_b ={			
		name = "Это глупо!"
		command = { type = stability value = 1 } 
		command = { type = naval   value = -200 }
	}
}

#Neopolitan Decadence
# By Isaac Brock, for now this is used to shift the DPs.  Any
#suggestions for better 
# events in this period are appreciated
event = {

	id = 239001
	random = no
	country = NAP
	name = "Упадок Неаполя"
	desc = "В конце XVII века южная Италия отдалилась от основного направления европейского развития. Таким образом, управление Неаполем отличалось от управления современных ему городов. Со снижением вероятности вторжения мусульманских государств со стороны Средиземного моря, Неаполь больше не нуждался в такой большой армии." #wording could be improved
	style = 3
        date = { day = 1 month = january year = 1675 }
        deathdate = { day = 1 month = january year = 1680 }
	offset = 1000

	action_a ={			#Alas#
		name = "Увы"
		command = { type = stability value = -1 } 
		command = { type = domestic which = innovative value = -1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = desertion   which = -1 value = 10000 }
	}
}

#L'Illuminismo Napoletano 
#From The Bard, scripted by Isaac Brock
event = {

	id = 239002
	random = no
	country = NAP
	name = "Рост Неаполя"
	desc = "Основными центрами итальянского Просвещения были Милан и Неаполь. В Неаполе начало эпохе положили проводимые Бурбонами во вновь независимом королевстве социальные и культурные реформы. Интеллигенция поддержала предприимчивость королей, особенно в области сокращения церковных привилегий и политической власти Папы Римского. Среди выдающихся ученых неаполитанского Просвещения выделяют Антонио Дженовези, Фердинанда Гальяни и Гаэтано Филанджиери. Именно они заложили основы современных политических и экономических наук. В частности, Филанджиери предложил провести общую реформу юриспруденции. Таким образом, была возобновлена гражданская жизнь королевства."#some changes, slight change in meaning
	style = 4
        date = { day = 1 month = january year = 1740 }
        deathdate = { day = 1 month = january year = 1760 }
	offset = 3000

	action_a ={			#excellent#
		name = "Превосходно!"
		command = { type = infra value = 300 }
		command = { type = stability value = -2 } 
		command = { type = domestic which = innovative value = 2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = mercantilism value = -1 }
               
	}
}

# Army reforms of Carlo VII#
#by Isaac Brock#
event = {
	id = 239003
	random = no
	country = NAP
	name = "Военная реформа Карла VII"
	desc = "Став королем Неаполя, Карл VII тут же получил в подарок от своего отца Филиппа V Испанского небольшую армию. В 1743 году состоявшую в основном из иностранцев неаполитанскую армию Карл разбил на 12 ‘народных’ полков. Их пополнение шло за счет провинциальных народных ополченцев. Армию, как и у пруссаков, должно было возглавлять неаполитанское дворянство, чтобы оно еще больше зависело от власти. Несмотря на то что в 1744 году новая армия смогла отразить нашествие австрийцев, основные цели реформ не были достигнуты."
	style = 4

	date = { day = 1 month = january year = 1742 }
	offset = 90
	deathdate = { day = 30 month = december year = 1743 }

	action_a ={				#Reform the Army#
		name = "Провести реформы"
		command = { type = domestic which = Serfdom value = -1}
		command = { type = domestic which = Offensive value = -1}
		command = { type = domestic which = Land value = 2}
		command = { type = domestic which = Quality value = -1}
		command = { type = stability value = -2 }
		command = { type = land   value = 2000 }
		command = { type = provincemanpower   which = -2 value = 1 }
                command = { type = warships which = -1 value = 8 }
command = { type = transports which = -1 value = 3 }
command = { type = INF which = -1 value = 3000 }
command = { type = cavalry which = -1 value = 3000 }
	}

	action_b ={ # Maintain the present system
		name = " Поддержать существующую реформу"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = {type = stability value = 1}
	}
}

#Masaniello event sequence#
#by Archeolooginspe
event = {
	id = 239004 
	random = no 
	country = NAP 
	name = "Неаполитанский революционер" 
	desc = "Неаполитанский революционер, чье настоящее имя было Томмазо Аньелло. Будучи рыбаком, он возглавил восстание рабочих, обремененных высокими налогами, против испанских правителей Неаполя. Беспорядки начались в 1647 году и вскоре приобрели настолько серьезный характер, что испанский вице-король принял условия Мазаньелло, пообещал провести требуемые реформы, и официально признал его генерал-капитаном. В скором времени, потеряв голову от неожиданного успеха, Мазаньелло был убит либо агентами испанского вице-короля, либо своими собственными разочарованными сторонниками. Восстание вскоре было подавлено." 
	style = 3 

	date = { day = 1 month = january year = 1647 } 
	offset = 360 
	deathdate = { day = 1 month = january year = 1648 } 

	action_a = { 
		name = "Обещать реформы и казнить зачинщика!" 
		command = { type = stability value = -2 } 
		command = { type = revolt which = -2 } 
		command = { type = domestic which = serfdom value = 1 } 
                command = { type = warships which = -1 value = 5 }
command = { type = transports which = -1 value = 2 }
command = { type = INF which = -1 value = 5000 }
command = { type = cavalry which = -1 value = 4000 }
	} 
	action_b = { 
		name = "Обещать реформы!" 
		command = { type = stability value = -1 } 
		command = { type = revolt which = -2 } 
		command = { type = treasury value = -25 } 
		command = { type = domestic which = aristocracy value = 1 } 
	}		 
	action_c = { 
		name = "Немедленно провести реформы" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = serfdom value = -2 } 
		command = { type = domestic which = aristocracy value = -4 } 
		command = { type = domestic which = innovative value = 2 } 
		command = { type = infra value = 300 } 
		command = { type = provincetax which = -1 value = -2 } 
		command = { type = relation which = SPA value = -400 } 
		command = { type = relation which = PAP value = -400 } 
		command = { type = breakvassal which = SPA } 
	} 
	action_d = { 
		name = "Отказаться от любых контактов с предателями" 
		command = { type = revolt which = -1 } 
		command = { type = revolt which = -2 } 
		command = { type = revoltrisk which = 36 value = 10 } 
		command = { type = domestic which = innovative value = -1 } 
	} 
} 

event = { 
	id = 239005 
	random = no 
	country = NAP 
	name = "Независимость" 
	desc = "Восстание, поднятое Мазаньелло, закончилось провозглашением независимости от Испании. Как нам следует устроить наше государство?" 
	style = 3 
	
	action_a = { 
		name = "Следовать за лидером революционеров" 
		command = { type = domestic which = serfdom value = -7 } 
		command = { type = domestic which = aristocracy value = -4 } 
		command = { type = domestic which = innovative value = 2 } 
		command = { type = infra value = 300 } 
		command = { type = provincetax which = -2 value = -2 } 
		command = { type = relation which = SPA value = -400 } 
		command = { type = relation which = PAP value = -400 } 
		command = { type = breakvassal which = SPA } 
		command = { type = treasury value = 150 } 
	} 
	action_b = { 
		name = "Буржуазное общество" 
		command = { type = domestic which = centralization value = 4 } 
		command = { type = domestic which = serfdom value = -4 } 
		command = { type = domestic which = aristocracy value = -2 } 
		command = { type = domestic which = quality value = 2 } 
		command = { type = relation which = SPA value = -100 } 
		command = { type = breakvassal which = SPA } 
	} 
	action_c = { 
		name = "королевство Анжу" 
		command = { type = breakvassal which = SPA } 
		command = { type = vassal which = FRA } 
		command = { type = relation which = FRA value = 300 } 
	} 
}

#Crisis in Naples
event = {
	id = 239008 #moved from 1434 to 1420, added Papal relations and events
	trigger = { 
		exists = PRO
		exists = ARG
		NOT = { war   = { country = NAP country = ARG } }
		war = { country = NAP country = PAP }
		NOT = {
			OR = {
				event = 239006
				event = 239011
				event = 239012
				}
			}
		}
	random = no
	country = NAP
	name = "Crisis in Naples"
	desc = "In 1420 Muzio Sforza, the most important general in Naples began intriguing with Pope Martin V and Louis III of Anjou against the favorite of Queen Giovanna II of Naples.  Louis III claimed the throne of Naples because his grandfather, Louis I had been made heir by Giovanna I in 1382.  Sforza raised an army in the Papal States and prepared to invade Naples in the name of Louis.  Unwilling to give in the Louis claims, Giovanna II, who had no children, made Alfonso V of Aragon her son and her heir in return for his aid against Sforza, Louis and the Pope.  Alfonso V also claimed the throne of Naples due to his descent from the 13th century King Manfred, who was lost his throne in war to Carlo I the first Angevin King of Naples.  Alfonso accepted Giovanna’s offer, and upon arrival in Naples, made Braccio da Montone, Sforza’s greatest rival, commander of the Neapolitan armies."
	style = 1

	date = { day = 14 month = March year = 1420 }
	offset = 30
	deathdate = { day = 14 month = June year = 1420 }

	action_a = {
		name = "Make Alfonso our heir" 
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = relation which = ARG value = 100 }
		command = { type = dynastic which = ARG }
		command = { type = trigger which = 262004 } #PRO
		command = { type = trigger which = 251020 } #PAP
		command = { type = trigger which = 111012 } #ARG
		command = { type = INF   which = 1936 value = 2000 }
		command = { type = CAV   which = 1936 value = 4000 }
		command = { type = leader which = 19610 }#Montone 
		}
	}
#Crisis in Naples
event = {
id = 239011 #moved from 1434 to 1420, added Papal relations and events
	trigger = { 
		exists = PRO
		exists = ARG
		war = { country = NAP country = ARG }			
		NOT = { war   = { country = NAP country = PAP } }
		NOT = {
			OR = {
				event = 239006
				event = 239008
				event = 239012
				}
	}
			}
	random = no
	country = NAP
	name = "Борьба за Неаполь"
	desc = "В 1420 году Муцио Сфорца, главный генерал Неаполя, начал плести интриги с Папой Римским Мартином V и Людовиком III Анжуйским против фаворита королевы Джованны II Неаполитанской. Людовик III заявил о своих правах на неаполитанский престол, потому что в 1382 году Джованна I оставила его деда Людовика I наследником престола. Сфорца мобилизовал армию в Папской области, и приготовился оккупировать Неаполь от имени Людовика. Не желая выполнять требования Людовика, бездетная Джованна II усыновила Альфонса V Арагонского, своего будущего наследника, в обмен на его помощь в борьбе со Сфорцой, Людовиком и Папой Римским. Альфонс V также заявил о своих правах на неаполитанский престол, т.к. его предок, живший в 13 веке, король Манфред, проигравший престол Карлу I в войне, был первым анжуйским королем Неаполя. Альфонс принял предложение Джованны, и по прибытию в Неаполь, назначил Браччо да Монтоне, самого злейшего врага Сфорцы, командующим неаполитанской армии."
	style = 1

	date = { day = 14 month = March year = 1420 }
	offset = 30
	deathdate = { day = 14 month = June year = 1420 }

	action_a = {
		name = "Принять требования Людовика"
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = ARG value = -100 }
		command = { type = dynastic which = PRO }
		command = { type = trigger which = 111009 } #ARG
		command = { type = trigger which = 262003 } #PRO
		command = { type = INF   which = 1936 value = 2000 }
		command = { type = CAV   which = 1936 value = 4000 }
		command = { type = leader which = 19611 }#Sforza in Naples
		command = { type = stability value = -1 }#have to dismiss Caracciolo
		}
	}


event = {
id = 239012 #moved from 1434 to 1420, added Papal relations and events
	trigger = { 
		exists = PRO
		exists = ARG
		war = { country = NAP country = ARG }
		war = { country = NAP country = PAP }
		NOT = {
			OR = {
				event = 239006
				event = 239008
				event = 239011
				}
			}
		}
	random = no
	country = NAP
	name = "Борьба за Неаполь"
	desc = "В 1420 году Муцио Сфорца, главный генерал Неаполя, начал плести интриги с Папой Римским Мартином V и Людовиком III Анжуйским против фаворита королевы Джованны II Неаполитанской. Людовик III заявил о своих правах на неаполитанский престол, потому что в 1382 году Джованна I оставила его деда Людовика I наследником престола. Сфорца мобилизовал армию в Папской области, и приготовился оккупировать Неаполь от имени Людовика. Не желая выполнять требования Людовика, бездетная Джованна II усыновила Альфонса V Арагонского, своего будущего наследника, в обмен на его помощь в борьбе со Сфорцой, Людовиком и Папой Римским. Альфонс V также заявил о своих правах на неаполитанский престол, т.к. его предок, живший в 13 веке, король Манфред, проигравший престол Карлу I в войне, был первым анжуйским королем Неаполя. Альфонс принял предложение Джованны, и по прибытию в Неаполь, назначил Браччо да Монтоне, самого злейшего врага Сфорцы, командующим неаполитанской армии."
	style = 1

	date = { day =14 month = March year = 1420 }
	offset = 30
	deathdate = { day = 14 month = June year = 1420 }

	action_a = {
		name = "Мы продолжим борьбу с ними обоими!" 
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = relation which = ARG value = -100 }
		command = { type = trigger which = 262004 } #PRO
		command = { type = trigger which = 251020 } #PAP
		command = { type = trigger which = 111009 } #ARG
		}
	}