# Savoy Events #

event = {
          id = 20318
          random = no
          country = SAV
          name = "EVENTNAME20318"
          desc = "EVENTHIST20318"
          style = 1

          action_a ={
                  name = "ACTIONNAME20318A"
 		      command = { type = casusbelli   which = BUR value = 2500 }
 		      command = { type = CAV   which = -2 value = 6000 }
		      command = { type = relation   which = HAB value = -50 }
		      command = { type = alliance   which = PRO }
		      command = { type = alliance   which = HEL }
	} 
}

event = {
	id = 17311
	random = no
	country = SAV
	name = "EVENTNAME17311"
	desc = "EVENTHIST17311"
	style = 2

	action_a ={
		name = "ACTIONNAME17311A"
		command = { type = casusbelli   which = MAN value = 3100 }
		command = { type = relation which = MAN value = -100}
	}
}

event = {
	id = 17312
	trigger = {
		event = 17310
		NOT = { exists = MAN }
		owned   = { province = 390 data = SAV }
		}
	random = no
	country = SAV
	name = "EVENTNAME17312"
	desc = "EVENTHIST17312"
	style = 3
	date = { day = 11 month = august year = 1533 }
	deathdate = { day = 30 month = december year = 1820 }

	action_a ={
		name = "ACTIONNAME17312A"
		command = { type = stability value = 2}
		command = { type = provincetax   which = 404 value = 4 }
		command = { type = provincemanpower   which = 404 value = 2 }
		command = { type = provincetax   which = 390 value = -5 }
		command = { type = provincemanpower   which = 390 value = -1 }
		command = { type = domestic   which = centralization  value = 1 }
	}

	action_b ={
		name = "ACTIONNAME17312B"
		command = { type = domestic   which = centralization  value = -2 }
	}
}

#Savoy focuses on Italy#
event = {
	id = 17321
	trigger = { control = { province = 404 data = -1 }
}
	random = no
	country = SAV
	name = "EVENTNAME17321"
	desc = "EVENTHIST17321"
	style = 2
	date = { day = 8 month = august year = 1562 }
	offset = 300

	action_a ={ #Torino is the new capital#
		name = "ACTIONNAME17321A"
		command = { type = capital which = 404 }
		command = { type = population which = 404  value = 3000 }
		command = { type = provincetax which = 404 value = 1}
		command = { type = provincetax which = 405 value = -1}
		command = { type = fortress which = 404 value = 1 }
		command = { type = relation which = FRA value = -50 }
		}
	action_b ={ #Chambéry remais the capital#
		name = "ACTIONNAME17321B"
		command = { type = relation which = FRA value = 50 }
		}
}

#The sucession of Francesco of Mantua, Savoy events 1612#
event = {
	id = 17325
	random = no
	country = SAV
	name = "EVENTNAME17325"
	desc = "EVENTHIST17325"
	style = 3

	action_a ={
		name = "ACTIONNAME17325A"	
		command = { type = relation which = MAN value = -200 }
		command = { type = relation which = SPA value = -20 }
		command = { type = relation which = FRA value = 40 }
		command = { type = stability value = 2 }
		command = { type = casusbelli   which = MAN value = 5400 }
		command = { type = diplomats   value = 3 }
	}
}

#The sucession of Francesco of Mantua, Savoy events#
event = {

	id = 17326
	random = no
	country = SAV
	name = "EVENTNAME17326"
	desc = "EVENTHIST17326"
	style = 3

	action_a ={
		name = "ACTIONNAME17326A"	
		command = { type = relation which = MAN value = 200 }
		command = { type = relation which = SPA value = 40 }
		command = { type = relation which = FRA value = -80 }
		command = { type = stability value = 1 }
		command = { type = diplomats   value = 3 }
		command = { type = domestic which = centralization  value = 1 }
		command = { type = provincetax   which = 404 value = 4 }
		command = { type = provincemanpower   which = 404 value = 2 }
		command = { type = fortress   which = 404 value = 1 }
		command = { type = stability value = 2}
		}
}

#SAVOY EVENTS (Spanish version)#
#Carlo of Nevers succeeded to the throne of Mantua#
event = {

	id = 17335			#Triggered by 17327#
	random = no
	country = SAV
	name = "EVENTNAME17335"
	desc = "EVENTHIST17335"
	style = 3

	action_a ={				
		name = "ACTIONNAME17335A"
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = casusbelli which = MAN value = 36 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = MAN value = -150 }
		command = { type = relation which = HAB value = 50 }
		command = { type = stability value = 1 }
	}
}

#Ferrante of Guastalla succedes to the throne of Mantua#		
event = {
	id = 17336			#Triggered by 17327#
	random = no
	country = SAV
	name = "EVENTNAME17336"
	desc = "EVENTHIST17336"
	style = 3

	action_a ={				
		name = "ACTIONNAME17336A"
		command = { type = casusbelli which = SPA value = 36 }
		command = { type = casusbelli which = MAN value = 36 }
		command = { type = relation which = SPA value = -150 }	
		command = { type = relation which = MAN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HAB value = -50 }
		command = { type = stability value = 1 }
	}
}

#SAVOY EVENTS (No Spanish version)#
#Carlo of Nevers succeeded to the throne of Mantua#
event = {

	id = 17339			#Triggered by 17328#
	random = no
	country = SAV
	name = "EVENTNAME17339"
	desc = "EVENTHIST17339"
	style = 3

	action_a ={				
		name = "ACTIONNAME17339A"
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = casusbelli which = MAN value = 36 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = MAN value = -150 }
		command = { type = stability value = 1 }
	}
}

#Ferrante of Guastalla succedes to the throne of Mantua#		
event = {
	id = 17340			#Triggered by 17328#
	random = no
	country = SAV
	name = "EVENTNAME17340"
	desc = "EVENTHIST17340"
	style = 3

	action_a ={				
		name = "ACTIONNAME17340A"
		command = { type = casusbelli which = HAB value = 36 }
		command = { type = casusbelli which = MAN value = 36 }
		command = { type = relation which = MAN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = stability value = 1 }
	}
}

# Civil War under Charles II#

event = {
	id = 17409
	trigger = { 
		OR = {
			event = 17386 #French intervention in Milan
			event = 12022 #French Angevin claims 
			}			
			 #French involvement in Italy
		}
	random = no
	country = SAV
	name = "EVENTNAME17409"
	desc = "EVENTHIST17409"
	style = 1

	date = { day = 1 month = january year = 1495 }
	offset = 900
	deathdate = { day = 30 month = january year = 1499 }#to allow the Milan claim

	action_a = { #Ouch!#
		name = "ACTIONNAME7105A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 24 value = 6 }
		command = { type = relation   which = FRA value = 100 }
		command = { type = domestic   which = centralization value = -2 }
#		command = { type = alliance which = FRA }
#could be a vassal.  Don't know the history well enough.
	}
}

event = {
	id = 17410
	random = no
	country = SAV
	name = "EVENTNAME17410"
	desc = "EVENTHIST17410"
	style = 1

	date = { day = 1 month = january year = 1430 }
	offset = 360
	action_a ={			#Establish Code#
		name = "ACTIONNAME17410A"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = gainbuilding which =-2 value = bailiff }
		command = { type = provincetax which = -2 value = 1 } 
		command = { type = treasury value = -20 }
		command = { type = stability value = -3 }
		command = { type = infra value = 100 } #strengthens government
		}
	action_b ={			
		name = "ACTIONNAME17410B"
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability value = 1 }
		command = { type = trade   value = 50 } #helps cities	
		}
	}

event = {

	id = 17411
	random = no
	country = SAV
	name = "EVENTNAME17411"
	desc = "EVENTHIST17411"
	style = 1

	date = { day = 4 month = november year = 1439 }
	action_a ={			
		name = "ACTIONNAME17411A"
		command = { type = DIP   which = 1 value = 120 }
		command = { type = ADM   which = -2 value = 120 }
		command = { type = relation   which = PAP value = -100 }
		command = { type = casusbelli   which = PAP value = 120 }
		command = { type = treasury value = -50 }
		command = { type = stability value = 2 }
		command = { type = diplomats   value = 3 }
		command = { type = missionaries   value = 2}		
	}
}

#Civil War in Savoy#
event = {
	id = 17412	
	random = no
	country = SAV
	name = "EVENTNAME17412"
	desc = "EVENTHIST17412"
	style = 1

	date = { day = 1 month = june year = 1438 }
	offset = 150

	action_a = { 
		name = "ACTIONNAME17412A"
		command = { type = revolt which = -1 }
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
	}
}


event = { 
	id = 17413 #triggered by 20307  HEL 13 Cantons
	random = no 
	country = SAV 
	name = "EVENTNAME17413" 
	desc = "EVENTHIST17413"
	style = 2 
	action_a = { 
		name = "ACTIONNAME17413A" 
		command = { type = population which = -2 value = -5000 } 
		command = { type = provincemanpower which = -2 value = -1 } 
		command = { type = provincetax which = -2 value = -1 } 
		command = { type = stability value = -2 } 
		command = { type = casusbelli   which = HEL value = 240 }#renounced claim in 1559 
		command = { type = land   value = -200 } #good soldiers
		} 
} 

event = { 
	id = 17414 
	trigger = { 
		event = 17406  #Sack of Rome PAP
		event = 17413  # Swiss expansion SAV
		} 
	random = no 
	country = SAV 
	name = "EVENTNAME17414" 
	desc = "EVENTHIST17414"
	style = 2 
	date = { day = 1 month = january year = 1534 } 
	offset = 600 
	deathdate = { day = 30 month = december year = 1540 } 
	action_a = { 
		name = "ACTIONNAME17413A" 
		command = { type = population which = -2 value = -5000 } 
		command = { type = provincemanpower which = -2 value = -1 } 
		command = { type = provincetax which = -2 value = -1 } 
		command = { type = stability value = -2 } 
		} 
} 

event = { 
	id = 17415
	trigger = { event = 17414 } #Genevan Independence#
	random = no 
	country = SAV 
	name = "EVENTNAME17415" 
	desc = "EVENTHIST17415"
	style = 2 
	date = { day = 11 month = december year = 1602 } 
	deathdate = { day = 12 month = december year = 1602 } 
	action_a = { 
		name = "ACTIONNAME17415A" 
		command = { type = relation   which = HEL value = -50 }
		command = { type = relation   which = PFA value = -50 }
		command = { type = relation   which = SCO value = -50 }
		command = { type = relation   which = HOL value = -50 }
		command = { type = relation   which = HES value = -50 } #The usual Calvinist suspects
		command = { type = DIP   which = -3 value = 18 }
		command = { type = infra   value = -200 }  #there is a university there
		command = { type = revolt   which = 405 }
		} 
} 

#civil wars under Charles Emmanuel II
event = {
	id = 17416
	random = no
	country = SAV
	name = "EVENTNAME17416"
	desc = "EVENTHIST17416"
	style = 1

	date = { day = 1 month = january year = 1637 }
	offset = 2200

	action_a = { #Ouch!#
		name = "ACTIONNAME7105A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 60 value = 4 }
		command = { type = ADM   which = -2 value = 60 }
		command = { type = DIP   which = -2 value = 60 }
		command = { type = MIL   which = -2 value = 60 }
		command = { type = relation   which = FRA value = 50 }
	}
}


# Reforms of Emmanuel Philibert#

event = {
	id = 17417
	random = no
	country = SAV
	name = "EVENTNAME17417"
	desc = "EVENTHIST17417"
	style = 3

	date = { day = 1 month = january year = 1560 }
	offset = 3650

	action_a = { 
		name = "ACTIONNAME17417A"
		command = { type = gainbuilding which = -1 value = bailiff }
		command = { type = domestic   which = centralization value = 3 }
		command = { type = domestic   which = aristocracy value = -1 }
		command = { type = domestic   which = innovative value = 1 }
		command = { type = domestic   which = mercantilism value = 1 }
		command = { type = land   value = 600 }
		command = { type = infra   value = 250 }
	}
}

# The Absolutist reforms of Victor Amadeus II#
event = {
	id = 17418
	random = no
	country = SAV
	name = "EVENTNAME17418"
	desc = "EVENTHIST17418"
	style = 4

	date = { day = 1 month = january year = 1717 }
	offset = 30
	deathdate = { day = 1 month = january year = 1718 }

	action_a ={				#Absolutist reforms#
		name = "ACTIONNAME17418A"
		command = { type = domestic which = Aristocracy value = -2}
		command = { type = domestic which = Centralization value = 2}
		command = { type = domestic which = Innovative value = 1}
		command = { type = domestic which = Quality value = -1}
		command = { type = stability value = -1 }
		command = { type = naval   value = 300 }
		command = { type = provincemanpower   which = -2 value = 1 }
		command = { type = diplomats   value = 3 }

	}

	action_b ={ # Maintain the present system
		name = "ACTIONNAME17418B"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = sleepevent which = 17419 } #absolutist reforms of Charles Emmanuel III
	}
}

# The Absolutist reforms of Charles Emmanuel III#
event = {
	id = 17419
	random = no
	country = SAV
	name = "EVENTNAME17419"
	desc = "EVENTHIST17419"
	style = 4

	date = { day = 1 month = january year = 1731 }
	offset = 90
	deathdate = { day = 1 month = january year = 1732 }

	action_a ={				#More reforms#
		name = "ACTIONNAME17419A"
		command = { type = domestic which = Aristocracy value = -1} #privileges further reduced
		command = { type = domestic which = Centralization value = 1}#effective taxation
		command = { type = domestic which = Innovative value = 1}
		command = { type = domestic which = Quality value = -1}#better manpower
		command = { type = domestic which = Offensive value = -2}#better military doctrine
		command = { type = domestic which = Land value = 2}#better army
		command = { type = provincetax   which = -2 value = 1 }
		command = { type = provincetax   which = -1 value = 1 }
		command = { type = ADM   which = 1 value = 120 }
		command = { type = infra   value = 500 }
		command = { type = land   value = 500 }
	}

	action_b ={ # Maintain the present system
		name = "ACTIONNAME17418B"
		command = { type = fortress which = -1 value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability   value = 2 }
	}
}


#The Expulsion of the Vaudois#
event = {
	id = 17420
	trigger = { 
		owned = { province = 404 data = -1 }#own Piemonte
		OR = {  #expulsion of French Protestants chosen
			event = 3509 #BRA
			event = 3521 #HOL
			event = 20309 #HEL
		}
		NOT = { war   = { country = SAV country = FRA } }
		NOT = { war   = { country = SAV country = ENG } }
		OR = { 
			religion = catholic
			religion = counterreform
			}
		} 
	random = no
	country = SAV
	name = "EVENTNAME17420"
	desc = "EVENTHIST17420"
	style = 3
	date = { day = 1 month = february year = 1681 }
	offset = 30
	deathdate = { day = 1 month = february year = 1688 }

	action_a ={				#We must comply #
		name = "ACTIONNAME17420A"
		command = { type = relation   which = FRA value = 30 }
		command = { type = relation   which = HOL value = -25 }
		command = { type = relation   which = ENG value = -10 }
		command = { type = relation   which = HEL value = -10 }
		command = { type = relation   which = PAP value = 20 }
		command = { type = domestic   which = innovative value = -1 }
		command = { type = stability value = 1 }
		command = { type = revoltrisk   which = 6 value = 3 }
		command = { type = population   which = 404 value = -1000 }
		command = { type = provincemanpower   which = 404 value = -1 }
		command = { type = trigger which = 17428 }#Savoy allies with us
		command = { type = sleepevent which = 17429 }#Savoy defies us
	}
	action_b ={				#We will not be ruled by France#
		name = "ACTIONNAME17420B"
		command = { type = relation   which = FRA value = -25 }
		command = { type = relation   which = HOL value = 25 }
		command = { type = relation   which = ENG value = 10 }
	}
}

#The Glorieuse Rentree#
event = {
	id = 17421
	trigger = { 
		owned = { province = 404 data = -1 }#own Piemonte
		event = 17428 #Savoy allies with France
		event = 3033 #Personal Union between Netherlands and England
		NOT = { event = 17429 } #Vaudois not expelled
		NOT = { war = { country = SAV country = ENG } }
		OR = { 
			religion = catholic
			religion = counterreform
			}
		} 
	random = no
	country = SAV
	name = "EVENTNAME17421"
	desc = "EVENTHIST17421"
	style = 3
	date = { day = 1 month = january year = 1688 }
	offset = 5
	deathdate = { day = 1 month = january year = 1690 }

	action_a ={				#Allow them to return #
		name = "ACTIONNAME17421A"
		command = { type = relation   which = PAP value = -20 }
		command = { type = relation   which = FRA value = -50 }
		command = { type = relation   which = HOL value = 100 }
		command = { type = relation   which = HEL value = 100 }
		command = { type = domestic   which = innovative value = 1 }
		command = { type = stability value = -1 }
		command = { type = population   which = 404 value = 1000 }
		command = { type = provincemanpower   which = 404 value = 2 }
		command = { type = cash   value = 50 }
		command = { type = manpower   value = 4 }
		command = { type = INF   which = 404 value = 6000 }
		command = { type = trigger which = 17433 }#Savoy allies with England ENG
		command = { type = trigger which = 17430 }#Savoy betrays France FRA
	}
	action_b ={				#Fight!#
		name = "ACTIONNAME17421B"
		command = { type = relation   which = FRA value = 25 }
		command = { type = relation   which = HOL value = -100 }
		command = { type = relation   which = ENG value = -100 }
		command = { type = casusbelli   which = ENG value = 6 }
		command = { type = revolt   which = 404 }
		command = { type = revolt   which = 404}
		command = { type = trigger which = 17431 }#Vassalize Savoy FRA
	}

}

#The Kingdom of Sardinia#
event = {
	id = 17422
	trigger = {
                owned = { province = 397 data = -1 }
		NOT = {event = 17423 } # Kingdom of Sicily
	}
	random = no
	country = SAV
	name = "EVENTNAME17422"
	desc = "EVENTHIST17422"
	style = 4

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

	action_a ={				#Excellent#
		name = "ACTIONNAME40116A"
		command = { type = DIP   which = 1 value = 60 }
		command = { type = population   which = -2 value = 1000 }
		command = { type = provincemanpower   which = -2 value = 1 }
		command = { type = diplomats   value = 6 }

	}
}

#The Kingdom of Sicily#
event = {
	id = 17423
	trigger = {
                owned = { province = 396 data = -1}
                owned = { province = 397 data = -1}
		NOT = {event = 17422} # Kingdom of Sardinia
		}
	random = no
	country = SAV
	name = "EVENTNAME17423"
	desc = "EVENTHIST17423"
	style = 4

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

	action_a ={				#Excellent#
		name = "ACTIONNAME40116A"
		command = { type = DIP   which = 1 value = 60 }
		command = { type = population   which = -2 value = 1000 }
		command = { type = provincemanpower   which = -2 value = 1 }
		command = { type = diplomats   value = 6 }

	}
}

###########################################
#####     Move Court Offshore event by Isaac Brock  #
####  Stolen from idea by King of Brazil, Annibale   #
###########################################
 
event = { 
	id = 17424 
	trigger = { 
		owned = { province = 397 data = -1 }
		control = { province = 397 data = -1 } 
		NOT = { 
			control = { province = 405 data = SAV } 
			} 
		event = 17422  # Kingdom of Sardinia
		NOT = { 
			event = 17423
			} # Kingdom of Sicily
		} 
	random = no 
	country = SAV
	name = "EVENTNAME17424" 
	desc = "EVENTHIST17424" 
	style = 5 

	date = { day = 1 month = january year = 1790 } 
	deathdate = { day = 1 month = january year = 1820 } 

	action_a ={ #Flee to Sardinia!# 
		name = "ACTIONNAME17424A" 
		command = { type = capital which = 397 } 
		command = { type = addcore which = 397 } 
		command = { type = fortress which = 397 value = 1 }
		command = { type = population which = 397  value = 2000 } 
		command = { type = stability value = -2 } 
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = MERCANTILISM  value = -2 }
	} 
	action_b ={ #Stay on the mainland# 
		name = "ACTIONNAME17424B" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent  which = 17426 } 
	} 
}

event = { 
	id = 17425 
	trigger = { 
		owned = { province = 396 data = -1 }
		control = { province = 396 data = -1 } 
		NOT = { 
			control = { province = 405 data = SAV }
			} 
		event = 17423 # Kingdom of Sicily
		NOT = { 
			event = 17422
			} # Kingdom of Sardinia
		} 
	random = no 
	country = SAV
	name = "EVENTNAME17425" 
	desc = "EVENTHIST17425" 
	style = 5 

	date = { day = 1 month = january year = 1790 } 
	deathdate = { day = 1 month = january year = 1820 } 

	action_a ={ #Flee to Sicily!# 
		name = "ACTIONNAME17425A" 
		command = { type = capital which = 396 } 
		command = { type = addcore which = 396 } 
		command = { type = fortress which = 396 value = 1 }
		command = { type = population which = 396  value = 2000 } 
		command = { type = stability value = -2 } 
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = MERCANTILISM  value = -2 }
	} 
	action_b ={ #Stay on the mainland# 
		name = "ACTIONNAME17424B" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent  which = 17426 } 
	} 
}


#Return to Torino#
event = {
	id = 17426
	trigger = {
		OR = {
		event = 17424 #move court to Sardinia 
		event = 17425 #move court to Sicily
			}
		owned = { province = 404 data = -1 }
		control = { province = 404 data = -1 }
		}
	random = no
	country = SAV
	name = "EVENTNAME17426"
	desc = "EVENTHIST17426"
	style = 5

	date = { day = 2 month = january year = 1790 }
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={		#Return to Torino#
		name = "ACTIONNAME17426A"
		command = { type = capital which = 404 }  
		command = { type = stability value = 2 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}

	action_b ={		#Stay in Sardinia#
		name = "ACTIONNAME17426B"
		command = { type = stability value = -2 } 
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = revolt  which = 404 }
	}
}

event = {

	id = 17427
	random = no
	country = SAV
	name = "EVENTNAME17427"
	desc = "EVENTHIST17427"
	style = 1

	date = { day = 1 month = january year = 1573 }
	action_a ={			
		name = "ACTIONNAME17427A"
		command = { type = relation   which = SPA value = 20 }
		command = { type = relation   which = TUR value = -20 }
		command = { type = naval   value = 50 }
	}
}
