#####Austrian Major Events#######
#By Joakim 'Greven' Bergqwist   #
#   Henrik 'Doomdark' Fåhraeus  #
#################################

#modified inheritance of Burgundy (no claim on Gelre and Friesland)#

event = {

	id = 3178				#Triggered by BUR3597#
	random = no
	country = HAB
	name = "EVENTNAME3178"
	desc = "EVENTHIST3178"
	style = 1

	action_a ={				#Its all mine!#
		name = "ACTIONNAME3178A"
		command = { type = inherit which = BUR }
		command = { type = stability value = 2  }
		command = { type = DIP which = 3 value = 60 }
		command = { type = addcore which = 377 }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 387 }
	}
}

#The Spanish Wedding#
event = {

	id = 3179

	trigger = {
		exists = SPA
		NOT = {
			war = {
				country = SPA
				country = HAB
			}
	     }
	}

	random = no
	country = HAB
	name = "EVENTNAME3179"
	desc = "EVENTHIST3179"
	style = 1

	date = { day = 1 month = january year = 1519 }
	offset = 5
	deathdate = { day = 1 month = january year = 1520 }

	action_a ={				#Let the Habsburg Empire be ruled from Vienna#
		name = "ACTIONNAME3179A"
		command = { type = trigger which = 3151 }
		command = { type = relation which = SPA value = 50 }
		command = { type = dynastic which = SPA }
		command = { type = alliance which = SPA }
#		command = { type = vassal which = SPA }
		command = { type = treasury value = 1000 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}

	action_b ={				#Let the Habsburg Empire be ruled from Madrid#
		name = "ACTIONNAME3179B"
		command = { type = trigger which = 3731 }
		command = { type = relation which = SPA value = 400 }
		command = { type = stability value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = diplomats value = -6 }
	}
}

#France inherits Burgundy#
event = {

	id = 3180				#Triggered by BUR3597#
	random = no
	country = HAB
	name = "EVENTNAME3180"
	desc = "EVENTHIST3180"
	style = 1

	action_a ={					#I crave blood!#
		name = "ACTIONNAME3180A"
		command = { type = addcore which = 379 }
		command = { type = addcore which = 387 }
		command = { type = addcore which = 409 }
		command = { type = stability value = -2 }
		command = { type = casusbelli which = FRA value = 24 }
	}
}

#The Habsburg Inheritance of Milano#
event = {

	id = 3181				#Triggered by MLO3706#
	random = no
	country = HAB
	name = "EVENTNAME3181"
	desc = "EVENTHIST3181"
	style = 2

	action_a ={				#Rule as separate country#
		name = "ACTIONNAME3181A"
		command = { type = vassal which = MLO }
		command = { type = relation which = FRA value = -100 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Rule as part of Austria#
		name = "ACTIONNAME3181B"
		command = { type = inherit which = MLO }
		command = { type = addcore which = 389 }
		command = { type = province_revoltrisk which = 389 value = 6 }
		command = { type = relation which = FRA value = -180 }
		command = { type = stability value = -1 }
	}
}

#HAB event if FRA doesn't exist-starts at historic date of League of Cambrai  same as original 
#Paradox event but sleeps Venetian Danger event

event = {

	id = 3182
	trigger = { 
			exists = VEN 
			event = 17017
			NOT = {event = 3107} #earlier FRA Cambrai event
		}
	random = no
	country = HAB
	name = "EVENTNAME3182"
	desc = "EVENTHIST3182"
	style = 2

	date = { day = 10 month = december year = 1508 } #must be after deathdate of 3107
	offset = 2070
	deathdate = { day = 1 month = april year = 1509 }

	action_a ={
		name = "ACTIONNAME3182A"	#Express Support#
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = ARG value = 150 }
	}

	action_b ={
		name = "ACTIONNAME3182B"	#Ignore#
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = sleepevent which = 17018 } #VEN sensing great danger
	}

	action_c ={
		name = "ACTIONNAME3182C"	#Express Hostility#
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = TOS value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = sleepevent which = 17018 } #VEN sensing great danger
	}
}

#The Fuggers#
event = {

	id = 3183
	random = no
	country = HAB
	name = "EVENTNAME3183"
	desc = "EVENTHIST3183"
	style = 2

	date = { day = 1 month = january year = 1508 }
	offset = 30
	deathdate = { day = 1 month = january year = 1514 }

	action_a ={				#Let the Fuggers run our Finances#
		name = "ACTIONNAME3183A"
		command = { type = loansize which = 500 }
		command = { type = treasury value = -100 }
		command = { type = merchants value = 6 }
		command = { type = inflation value = -5 }
	}

	action_b ={				#Turn the Fuggers offer down#
		name = "ACTIONNAME3183B"
		command = { type = treasury value = -100 }
		command = { type = stability value = -3 }
		command = { type = inflation value = 10 }
	}
}

#The Habsburg Inheritance of Hungary#	#Habsburg#
event = {

	id = 3185			#Triggered by EEP_HUN120007, EEP_HUN120008, and EEP_HUN120009#
	random = no
	country = HAB
	name = "EVENTNAME3185"
	desc = "EVENTHIST3185"
	style = 2

	action_a ={				#I will be crowned King of Hungary#
		name = "ACTIONNAME3185A"
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 323 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
		command = { type = vassal which = HUN }
		command = { type = add_countryculture which = magyar }
		command = { type = relation which = HUN value = 150 }
		command = { type = relation which = TUR value = -200 }
		command = { type = stability value = 1 }
	}
} 
#The Habsburg Inheritance of Hungary#	#Zapolya#
event = {

	id = 3186				#Triggered by EEP_HUN120009, EEP_HUN120010, and EEP_HUN80029#
	random = no
	country = HAB
	name = "EVENTNAME3186"
	desc = "EVENTHIST3186"
	style = 2

	action_a ={				#No! It is mine!#
		name = "ACTIONNAME3186A"
		command = { type = relation which = TUR value = -200 }
		command = { type = relation which = HUN value = -150 }
		command = { type = war which = HUN }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 323 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
		command = { type = trigger which = 120015 }
	}

	action_b ={				#Let him have it#
		name = "ACTIONNAME3186B"
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = TUR value = 50 }
	}
}

#The Habsburg Inheritance of Bohemia#
event = {

	id = 3187				#Triggered by BOH3642#
	random = no
	country = HAB
	name = "EVENTNAME3187"
	desc = "EVENTHIST3187"
	style = 2

	action_a ={				#I will become the King of Bohemia#
		name = "ACTIONNAME3187A"
		command = { type = vassal which = BOH }
		command = { type = relation which = BOH value = 100 }
		command = { type = stability value = 1 }
	}
}

#The Habsburg Inheritance of Bohemia#
event = {

	id = 3733			#Triggered by BOH12000#
	random = no
	country = HAB
	name = "EVENTNAME3733"
	desc = "EVENTHIST3733"
	style = 2

	action_a ={				#Bohemia is now secured for Our Dynasty#
		name = "ACTIONNAME3733A"
		command = { type = inherit which = BOH }
		command = { type = add_countryculture which = czech }
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 315 }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 329 }
		command = { type = addcore which = 330 }
	}
}

#The Imperial Parliament at Augsburg#
event = {

	id = 3188
	random = no
	country = HAB
	name = "EVENTNAME3188"
	desc = "EVENTHIST3188"
	style = 2

	date = { day = 1 month = january year = 1548 }
	offset = 10
	deathdate = { day = 2 month = december year = 1548 }

	action_a ={			#Middle-ground#
		name = "ACTIONNAME3188A"
		command = { type = relation which = BRA value = -50 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = THU value = -50 }
		command = { type = relation which = SHL value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = BAY value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Catholic Support#
		name = "ACTIONNAME3188B"
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = SHL value = -100 }
		command = { type = relation which = KLE value = 50 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PAP value = 50 }
		command = { type = stability value = -1 }
	}

	action_c ={			#Protestant Support#
		name = "ACTIONNAME3188C"
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = THU value = 50 }
		command = { type = relation which = SHL value = 50 }
		command = { type = relation which = KLE value = -100 }
		command = { type = relation which = KOL value = -100 }
		command = { type = relation which = BAY value = -100 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -1 }
	}

}

#The Religious Peace of Augsburg#
event = {

	id = 3189
	random = no
	country = HAB
	name = "EVENTNAME3189"
	desc = "EVENTHIST3189"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 10
	deathdate = { day = 2 month = december year = 1555 }

	action_a ={			#The Princes may choose their Religion#
		name = "ACTIONNAME3189A"
		command = { type = relation which = BRA value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = THU value = 100 }
		command = { type = relation which = SHL value = 100 }
		command = { type = relation which = KLE value = 50 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PAP value = -100 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = stability value = 1 }
	}

	action_b ={			#There is only one religion, Catolicism#
		name = "ACTIONNAME3189B"
		command = { type = relation which = BRA value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = BAY value = 100 }
		command = { type = relation which = PAP value = 150 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = -1 }
	}

	action_c ={			#Anyone may choose their Religion#
		name = "ACTIONNAME3189C"
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = SHL value = -100 }
		command = { type = relation which = KLE value = -100 }
		command = { type = relation which = KOL value = -100 }
		command = { type = relation which = BAY value = -100 }
		command = { type = relation which = PAP value = -200 }
		command = { type = domestic which = INNOVATIVE value = 3 }
		command = { type = stability value = -1 }
	}

}

#The Abdication of Charles V#
event = {

	id = 3190
	trigger = {
			exists = SPA
			event = 3178
		}
	random = no
	country = HAB
	name = "EVENTNAME3190"
	desc = "EVENTHIST3190"
	style = 2

	date = { day = 29 month = september year = 1556 }
	offset = 0
	deathdate = { day = 30 month = september year = 1556 }

	action_a ={		#Give all the possessions to Filip#
		name = "ACTIONNAME3190A"
		command = { type = trigger which = 3157 }
		#Burgundy w.Fr.Comte#
		command = { type = secedeprovince which = SPA value = 387 }
		command = { type = secedeprovince which = SPA value = 409 }
		command = { type = secedeprovince which = SPA value = 374 }
		command = { type = secedeprovince which = SPA value = 375 }
		command = { type = removecore which = 387 }
		#The Netherlands#
		command = { type = secedeprovince which = SPA value = 377 }
		command = { type = secedeprovince which = SPA value = 378 }
		command = { type = secedeprovince which = SPA value = 379 }
		command = { type = secedeprovince which = SPA value = 380 }
		command = { type = secedeprovince which = SPA value = 337 }
		command = { type = secedeprovince which = SPA value = 338 }
		command = { type = secedeprovince which = SPA value = 339 }
		command = { type = secedeprovince which = SPA value = 340 }
		command = { type = removecore which = 377 }
		command = { type = removecore which = 378 }
		command = { type = removecore which = 379 }
		command = { type = removecore which = 380 }
		command = { type = removecore which = 337 }
		command = { type = removecore which = 338 }
		command = { type = removecore which = 339 }
		command = { type = removecore which = 340 }
		#Italy#
		command = { type = secedeprovince which = SPA value = 370 }
		command = { type = secedeprovince which = SPA value = 389 }
		command = { type = secedeprovince which = SPA value = 390 }
		command = { type = secedeprovince which = SPA value = 391 }
		command = { type = secedeprovince which = SPA value = 392 }
		command = { type = secedeprovince which = SPA value = 393 }
		command = { type = secedeprovince which = SPA value = 394 }
		command = { type = secedeprovince which = SPA value = 399 }
		command = { type = secedeprovince which = SPA value = 400 }
		command = { type = secedeprovince which = SPA value = 401 }
		command = { type = secedeprovince which = SPA value = 402 }
		command = { type = secedeprovince which = SPA value = 403 }
		command = { type = secedeprovince which = SPA value = 404 }
		command = { type = secedeprovince which = SPA value = 405 }
		command = { type = removecore which = 389 }
		command = { type = stability value = -1 }
	}

	action_b ={		#Let Ferdinand keep the Netherlands#
		name = "ACTIONNAME3190B"
		command = { type = trigger which = 3484 }
		#Burgundy w.Fr.Comte#
		command = { type = secedeprovince which = SPA value = 387 }
		command = { type = secedeprovince which = SPA value = 409 }
		command = { type = secedeprovince which = SPA value = 374 }
		command = { type = secedeprovince which = SPA value = 375 }
		command = { type = removecore which = 387 }
		#Italy#
		command = { type = secedeprovince which = SPA value = 370 }
		command = { type = secedeprovince which = SPA value = 389 }
		command = { type = secedeprovince which = SPA value = 390 }
		command = { type = secedeprovince which = SPA value = 391 }
		command = { type = secedeprovince which = SPA value = 392 }
		command = { type = secedeprovince which = SPA value = 393 }
		command = { type = secedeprovince which = SPA value = 394 }
		command = { type = secedeprovince which = SPA value = 399 }
		command = { type = secedeprovince which = SPA value = 400 }
		command = { type = secedeprovince which = SPA value = 401 }
		command = { type = secedeprovince which = SPA value = 402 }
		command = { type = secedeprovince which = SPA value = 403 }
		command = { type = secedeprovince which = SPA value = 404 }
		command = { type = secedeprovince which = SPA value = 405 }
		command = { type = removecore which = 389 }
		command = { type = stability value = 2 }
	}

	action_c ={		#Let Ferdinand keep the Italian possesions#
		name = "ACTIONNAME3190C"
		command = { type = trigger which = 3747 }
		#Burgundy w.Fr.Comte#
		command = { type = secedeprovince which = SPA value = 387 }
		command = { type = secedeprovince which = SPA value = 409 }
		command = { type = secedeprovince which = SPA value = 374 }
		command = { type = secedeprovince which = SPA value = 375 }
		command = { type = removecore which = 387 }
		#The Netherlands#
		command = { type = secedeprovince which = SPA value = 377 }
		command = { type = secedeprovince which = SPA value = 378 }
		command = { type = secedeprovince which = SPA value = 379 }
		command = { type = secedeprovince which = SPA value = 380 }
		command = { type = secedeprovince which = SPA value = 337 }
		command = { type = secedeprovince which = SPA value = 338 }
		command = { type = secedeprovince which = SPA value = 339 }
		command = { type = secedeprovince which = SPA value = 340 }
		command = { type = removecore which = 377 }
		command = { type = removecore which = 378 }
		command = { type = removecore which = 379 }
		command = { type = removecore which = 380 }
		command = { type = removecore which = 337 }
		command = { type = removecore which = 338 }
		command = { type = removecore which = 339 }
		command = { type = removecore which = 340 }
		command = { type = stability value = 1 }
	}
}

#The Abdication of Charles V#
event = {

	id = 3749
	trigger = {
			NOT = {
				event = 3178
				}
			exists = SPA
			
		}
	random = no
	country = HAB
	name = "EVENTNAME3749"
	desc = "EVENTHIST3749"
	style = 2

	action_a ={			#We go seperate ways as Brothers#
		name = "ACTIONNAME3749A"
		command = { type = trigger which = 3748 }
		command = { type = stability value = 1 }
	}
}



#The Catholic League#
event = {

	id = 3192
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}
	random = no
	country = HAB
	name = "EVENTNAME3192"
	desc = "EVENTHIST3192"
	style = 3

	date = { day = 1 month = january year = 1607 }
	offset = 30
	deathdate = { day = 1 month = january year = 1609 }

	action_a ={						#Prepare to Join#
		name = "ACTIONNAME3192A"
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = BRA value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 150 }
		command = { type = relation which = BAY value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = SPA value = 150 }
	}

	action_b ={						#Stay Neutral#
		name = "ACTIONNAME3192B"
		command = { type = relation which = BRA value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = THU value = 100 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = PAP value = -150 }
	}
}

#The Royal Letter of Bohemia#
event = {

	id = 3193
	random = no
	country = HAB
	name = "EVENTNAME3193"
	desc = "EVENTHIST3193"
	style = 3

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

	action_a ={			#Issue it#
		name = "ACTIONNAME3193A"
		command = { type = relation which = BOH value = 100 }
		command = { type = provincetax which = 328 value = 1 }
		command = { type = provincetax which = 330 value = 1 }
		command = { type = stability value = -1 }
	}

	action_b ={			#Do not issue it#
		name = "ACTIONNAME3193B"
		command = { type = relation which = BOH value = -150 }
		command = { type = provincetax which = 328 value = -1 }
		command = { type = provincetax which = 330 value = -1 }
		command = { type = stability value = 1 }
	}
}

#The Defenstration of Prague#
event = {

	id = 3194
	trigger = {
		OR = {
			vassal = {
				country = HAB
				country = BOH
			}
			owned = {
				province = 328
				data = -1
			}
		}
		NOT = { 
			domestic = {
				type = INNOVATIVE
				value = 8
			}
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3194"
	desc = "EVENTHIST3194"
	style = 3

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

	action_a ={			#Not good at all#
		name = "ACTIONNAME3194A"
		command = { type = relation which = BOH value = -200 }
		command = { type = province_revoltrisk which = 328 value = 10 }
		command = { type = province_revoltrisk which = 329 value = 6 }
		command = { type = province_revoltrisk which = 330 value = 6 }
		command = { type = province_revoltrisk which = 314 value = 6 }
		command = { type = province_revoltrisk which = 315 value = 4 }
		command = { type = revolt which = 328  }
		command = { type = revolt which = 330  }
		command = { type = revolt which = 314  }
		command = { type = revolt which = 315  }
		command = { type = stability value = -1 }
	}
}

#Peasant Revolt in Austria#
event = {

	id = 3195
	random = no
	country = HAB
	name = "EVENTNAME3195"
	desc = "EVENTHIST3195"
	style = 3

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

	action_a ={			#Pappenheim will take care of the Matter#
		name = "ACTIONNAME3195A"
		command = { type = revoltrisk which = 36 value = 3 }
		command = { type = stability value = -1 }
	}
}

#The Edict of Restitution#
event = {

	id = 3196
	trigger = {
		OR = {
			owned = { province = 314 data = -1 }
			owned = { province = 315 data = -1 }
			owned = { province = 328 data = -1 }
			owned = { province = 329 data = -1 }
			owned = { province = 330 data = -1 }
			vassal = { country = HAB country = BOH }
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3196"
	desc = "EVENTHIST3196"
	style = 3

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

	action_a ={			#Yes, and eradicate Protestants in Bohemia#
		name = "ACTIONNAME3196A"
		command = { type = trigger which = 3754 }
		command = { type = province_revoltrisk which = 328 value = -10 }
		command = { type = province_revoltrisk which = 329 value = -6 }
		command = { type = province_revoltrisk which = 330 value = -6 }
		command = { type = province_revoltrisk which = 314 value = -6 }
		command = { type = province_revoltrisk which = 315 value = -4 }
		command = { type = provincereligion which = 328 value = catholic }
		command = { type = provincereligion which = 329 value = catholic }
		command = { type = provincereligion which = 330 value = catholic }
		command = { type = provincereligion which = 314 value = catholic }
		command = { type = provincereligion which = 315 value = catholic }
		command = { type = provinceculture which = 330 value = german }
		command = { type = casusbelli which = BOH value = 36 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = BRA value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 150 }
		command = { type = relation which = BAY value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = stability value = -1 }
	}

	action_b ={			#No, and appease Protestants in Bohemia#
		name = "ACTIONNAME3196B"
		command = { type = sleepevent which = 3754 }
		command = { type = province_revoltrisk which = 328 value = -10 }
		command = { type = province_revoltrisk which = 329 value = -6 }
		command = { type = province_revoltrisk which = 330 value = -6 }
		command = { type = province_revoltrisk which = 314 value = -6 }
		command = { type = province_revoltrisk which = 315 value = -4 }
		command = { type = gainmanufactory which = 328 value = luxury }
		command = { type = gainmanufactory which = -1 value = luxury }
		command = { type = relation which = BRA value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = THU value = 100 }
		command = { type = relation which = SHL value = 100 }
		command = { type = relation which = PAP value = -50 }
		command = { type = stability value = 3 }
	}
}


#The League of Augsburg#
event = {

	id = 3198			#triggered by FRA3127#
	random = no
	country = HAB
	name = "EVENTNAME3198"
	desc = "EVENTHIST3198"
	style = 3

	action_a ={					#Defy French claims#
		name = "ACTIONNAME3198A"
		command = { type = casusbelli which = FRA value = 72 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = BAD value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = THU value = 100 }
	}

	action_b ={					#Ignore it#
		name = "ACTIONNAME3198B"
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = BAD value = -50 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = THU value = -50 }
	}
}

#Phillip of Bourbon succedes Carlos II in Spain#	#Bourbon#
event = {

	id = 3199		#Triggered by SPA3173#
	random = no
	country = HAB
	name = "EVENTNAME3199"
	desc = "EVENTHIST3199"
	style = 4

	action_a ={				#No it ours#
		name = "ACTIONNAME3199A"
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = casusbelli which = SPA value = 36 }
		command = { type = relation which = SPA value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = stability value = 3 }
	}

	action_b ={				#We must accept the will of poor Carlos#
		name = "ACTIONNAME3199B"
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = stability value = -3 }
	}
}

#Charles of Habsburg succedes Carlos II in Spain#	#Habsburg#
event = {

	id = 3200		#Triggered by SPA3173#
	random = no
	country = HAB
	name = "EVENTNAME3200"
	desc = "EVENTHIST3200"
	style = 4

	action_a ={				#Splendid#
		name = "ACTIONNAME3200A"
		command = { type = vassal which = SPA }
		command = { type = relation which = SPA value = 400 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HOL value = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = stability value = 3 }
	}
}
#Noble Revolt in Hungary#
event = {

	id = 3201
	trigger = {
			AND = {
				owned = { province = 325 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
				}
			NOT = {
				exists = HUN
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3201"
	desc = "EVENTHIST3201"
	style = 4

	date = { day = 1 month = january year = 1700 }
	offset = 50
	deathdate = { day = 1 month = january year = 1713 }

	action_a ={			#Whip!#
		name = "ACTIONNAME3201A"
		command = { type = revolt which = 325 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 316 }
		command = { type = relation which = TUR value = -150 }
		
	}

	action_b ={			#Whip and Carrot!#
		name = "ACTIONNAME3201B"
		command = { type = revolt which = 325 }
		command = { type = revolt which = 316 }
		command = { type = relation which = TUR value = -50 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -1 }
	}
}

#The Oostende Company#
event = {

	id = 3202
	trigger = {
		owned = { province = 380 data = -1 }
	}
	random = no
	country = HAB
	name = "EVENTNAME3202"
	desc = "EVENTHIST3202"
	style = 4

	date = { day = 1 month = january year = 1716 }
	offset = 100
	deathdate = { day = 1 month = january year = 1726 }

	action_a ={			#We will exploit this!#
		name = "ACTIONNAME3202A"
		command = { type = sleepevent which = 3596 }
		command = { type = treasury value = 200 }
		command = { type = merchants value = 6 }
		command = { type = explorer which = -1 }
		command = { type = relation which = HOL value = -100 }
		command = { type = trade value = 1000 }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = stability value = 1 }
	}
}

#The Purge of the Archbishop of Salzburg#
event = {

	id = 3203
	trigger = {
			owned = {
				province = 350
				data = -1
				}
			NOT = {
				exists = SLZ
				event = 3755
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3203"
	desc = "EVENTHIST3203"
	style = 4

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

	action_a ={			#Let the Archbishop Purge the Protestants#
		name = "ACTIONNAME3203A"
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = population which = 350 value = -10000 }
		command = { type = stability value = -1 }
	}

	action_b ={			#Stop the Archbishop's Purge#
		name = "ACTIONNAME3203B"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = provincereligion which = 350 value = protestant }
		command = { type = stability value = 1 }
	}
}

#The Polish Succession of 1733#
event = {

	id = 3204				#Triggered by SAC3628##
	random = no
	country = HAB
	name = "EVENTNAME3204"
	desc = "EVENTHIST3204"
	style = 4

	action_a ={				#Give the Wettins a helping hand#
		name = "ACTIONNAME3204A"
		command = { type = casusbelli which = FRA value = 12 }
		command = { type = relation which = POL value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = SWE value = -100 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Secure Poland for the Wettins#
		name = "ACTIONNAME3204B"
		command = { type = casusbelli which = FRA value = 12 }
		command = { type = casusbelli which = PRU value = 12 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = stability value = 1 }
	}
}

#The Effects of the Pragmatic Sanction#
event = {

	id = 3205
	random = no
	country = HAB
	name = "EVENTNAME3205"
	desc = "EVENTHIST3205"
	style = 4

	date = { day = 30 month = december year = 1739 }
	offset = 0
	deathdate = { day = 1 month = january year = 1740 }

	action_a ={				#Staunchly Defend Your Rights#
		name = "ACTIONNAME3205A"
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = BAY value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = GEN value = -50 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Meekly Argue for Moral Justice#
		name = "ACTIONNAME3205B"
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = BAY value = -80 }
		command = { type = relation which = SAC value = -80 }
		command = { type = relation which = GEN value = -20 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = stability value = -1 }
	}

	action_c ={				#Publicly promise Concessions#
		name = "ACTIONNAME3205C"
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = GEN value = 100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = HOL value = 100 }
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = stability value = -2 }
		command = { type = revolt which = -2 }
	}

}

#Kaunitz#
event = {

	id = 3206
	random = no
	country = HAB
	name = "EVENTNAME3206"
	desc = "EVENTHIST3206"
	style = 4

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

	action_a ={				#An Excellent Minister!#
		name = "ACTIONNAME3206A"
		command = { type = DIP which = 3 value = 240 }
		command = { type = ADM which = 3 value = 240 }
		command = { type = MIL which = 3 value = 240 }
		command = { type = stability value = 2 }
	}
}

#The Bavarian Succession of 1777#
event = {

	id = 3207
	trigger = {
			exists = BAY
			NOT = {
				war = {
					country = PFA
					country = HAB
					}
				war = {
					country = PRU
					country = BAY
					}
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3207"
	desc = "EVENTHIST3207"
	style = 4

	date = { day = 1 month = january year = 1777 }
	offset = 0
	deathdate = { day = 1 month = july year = 1777 }

	action_a ={				#Make legal claims on Bayern#
		name = "ACTIONNAME3207A"
		command = { type = trigger which = 3666 }
		command = { type = trigger which = 3617 }
		command = { type = trigger which = 3531 }
		command = { type = casusbelli which = BAY value = 24 }
		command = { type = relation which = BAY value = -150 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = PFA value = 200 }
		command = { type = dynastic which = PFA }
	}

	action_b ={				#Do not interfere#
		name = "ACTIONNAME3207B"
		command = { type = relation which = BAY value = 150 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = PFA value = -150 }
		command = { type = stability value = 1 }
		command = { type = trade value = 1000 }
	}
}

#Metternich#
event = {

	id = 3208
	random = no
	country = HAB
	name = "EVENTNAME3208"
	desc = "EVENTHIST3208"
	style = 4

	date = { day = 1 month = january year = 1800 }
	offset = 10
	deathdate = { day = 30 month = december year = 1805 }

	action_a ={			#An Excellent Minister!#
		name = "ACTIONNAME3208A"
		command = { type = DIP which = 5 value = 240 }
		command = { type = ADM which = 3 value = 240 }
		command = { type = MIL which = 2 value = 240 }
		command = { type = stability value = 2 }
	}
}

#The Winterking of Prague#
event = {

	id = 3097				#Triggered by BOH3643#
	random = no
	country = HAB
	name = "EVENTNAME3097"
	desc = "EVENTHIST3097"
	style = 3

	action_a ={				#Exterminate the Troublemakers#
		name = "ACTIONNAME3097A"
		command = { type = relation which = BOH value = -200 }
		command = { type = relation which = PFA value = -150 }
		command = { type = casusbelli which = BOH value = 60 }
		command = { type = casusbelli which = PFA value = 60 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = treasury value = -200 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 315 }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 329 }
		command = { type = addcore which = 330 }
	}

	action_b ={				#Let them go their own way#
		name = "ACTIONNAME3097B"
		command = { type = relation which = BOH value = 150 }
		command = { type = relation which = PFA value = 150 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = stability value = 2 }
	}
}

#The Death of Johan Zapolya#
event = {

	id = 3098			#Triggered by HUN3640#
	random = no
	country = HAB
	name = "EVENTNAME3098"
	desc = "EVENTHIST3098"
	style = 2

	action_a ={				#I will become King of Hungary#
		name = "ACTIONNAME3098A"
		command = { type = inherit which = HUN }
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 367 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 366 }
	}
}

#The Protestant Rebellion in Hungary#
event = {

	id = 3099
	trigger = {
			AND = {
				owned = { province = 325 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
				}
			NOT = {
				exists = HUN
				}
		}
	random = no 
	country = HAB
	name = "EVENTNAME3099"
	desc = "EVENTHIST3099"
	style = 3

	date = { day = 1 month = january year = 1604 }
	offset = 30
	deathdate = { day = 1 month = january year = 1605 }

	action_a ={				#Crush the Heretics#
		name = "ACTIONNAME3099A"
		command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
		command = { type = religiousrevolt which = -1 }
		command = { type = religiousrevolt which = -1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Repress the Heretics#
		name = "ACTIONNAME3099B"
		command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = stability value = -2 }
	}

	action_c ={				#Give Concessions#
		name = "ACTIONNAME3099C"
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = stability value = 2 }
		command = { type = treasury value = -300 }
	}

}

#The Habsburg Inheritance of Lothringen#
event = {

	id = 3100				#Triggered by LOR3632
	random = no
	country = HAB
	name = "EVENTNAME3100"
	desc = "EVENTHIST3100"
	style = 4

	action_a ={			#Lothringen will stay within the Habsburg Dynasty#
		name = "ACTIONNAME3100A"
		command = { type = vassal which = LOR }
		command = { type = relation which = LOR value = 150 }
		command = { type = stability value = 1 }
	}

}
#The Enlightened Reforms of Josef II#
event = {

	id = 3216
	random = no
	country = HAB
	name = "EVENTNAME3216"
	desc = "EVENTHIST3216"
	style = 4

	date = { day = 1 month = january year = 1770 }
	offset = 30
	deathdate = { day = 1 month = january year = 1774 }

	action_a ={				#Reforms of Enlightenment#
		name = "ACTIONNAME3216A"
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = LAND value = -2 }
		command = { type = revoltrisk which = 36 value = 4 }
		command = { type = treasury value = -200 }
	}

	action_b ={				#No Change#
		name = "ACTIONNAME3216B"
		command = { type = stability value = 1 }
	}

	action_c ={				#Reforms of Reaction#
		name = "ACTIONNAME3216C"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = revoltrisk which = 36 value = 2 }
		command = { type = treasury value = -200 }

	}

}
#Hofkanzlei, Hofkammer and Hofrat#
event = {

	id = 3328
	random = no
	country = HAB
	name = "EVENTNAME3328"
	desc = "EVENTHIST3328"
	style = 2

	date = { day = 1 month = january year = 1520 }
	offset = 30
	deathdate = { day = 1 month = january year = 1530 }


	action_a ={				#Create these New Functions#
		name = "ACTIONNAME3328A"
		command = { type = province_revoltrisk which = 389 value = -6 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Let the Nobility run these modane things#
		name = "ACTIONNAME3328B"
		command = { type = province_revoltrisk which = 389 value = -6 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = land value = 500 }
		command = { type = stability value = 1 }
	}
}

#The Martial Inheritance of Brittany#
event = {

	id = 3329					#Triggered by BRI 3603#
	random = no
	country = HAB
	name = "EVENTNAME3329"
	desc = "EVENTHIST3329"
	style = 1

	action_a ={				#Seek her consent and ask to marry her#
		name = "ACTIONNAME3329A"
		command = { type = vassal which = BRI }
		command = { type = stability value = 1 }
	}
}

#The Martial Inheritance of Brittany#
event = {

	id = 3330					#Triggered by BRI 3602#
	random = no
	country = HAB
	name = "EVENTNAME3330"
	desc = "EVENTHIST3330"
	style = 1

	action_a ={				#Only if I get Franche-Comté#
		name = "ACTIONNAME3330A"
		command = { type = relation which = FRA value = -50 }
		command = { type = treasury value = -100 }
		command = { type = addcore which = 387 }
		command = { type = addcore which = 379 }
	}
}

#Hofkriegsrat#
event = {

	id = 3331
	random = no
	country = HAB
	name = "EVENTNAME3331"
	desc = "EVENTHIST3331"
	style = 2

	date = { day = 1 month = january year = 1556 }
	offset = 30
	deathdate = { day = 1 month = january year = 1557 }

	action_a ={				#Centralized Defensive Strategy#
		name = "ACTIONNAME3331A"
		command = { type = land value = 1000 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = domestic which = OFFENSIVE value = -3 }
		command = { type = domestic which = QUALITY value = -2 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Flexible Frontier Strategy#
		name = "ACTIONNAME3331B"
		command = { type = land value = 500 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = LAND value = 3 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = CAV which = -1 value = 10000 }
		command = { type = CAV which = -1 value = 10000 }
		command = { type = stability value = -1 }
	}
}

#The Chastening of Hungary#
event = {

	id = 3332
	trigger = {
			AND = {
				owned = { province = 325 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3332"
	desc = "EVENTHIST3332"
	style = 3

	date = { day = 1 month = january year = 1668 }
	offset = 30
	deathdate = { day = 1 month = january year = 1673 }

	action_a ={				#Centralized German Administration from Budapest#
		name = "ACTIONNAME3332A"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = domestic which = QUALITY value = -1 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Centralized German Administration from Vienna#
		name = "ACTIONNAME3332B"
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -2 }
		command = { type = revolt which = 325 }
		command = { type = revolt which = 352 }
		command = { type = stability value = -2 }
	}

	action_c ={				#Decentralized Hungarian Noble Council in Budapest#
		name = "ACTIONNAME3332C"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = sleepevent which = 3333 }
		command = { type = stability value = 1 }
	}

}

#The Insurrection of Duke Imre Tököll#
event = {

	id = 3333
	trigger = {
			AND = {
				owned = { province = 325 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3333"
	desc = "EVENTHIST3333"
	style = 3

	date = { day = 1 month = january year = 1676 }
	offset = 30
	deathdate = { day = 1 month = january year = 1679 }

	action_a ={				#Stop the Movement for Independence#
		name = "ACTIONNAME3333A"
		command = { type = revolt which = 325 }
		command = { type = revolt which = 325 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 352 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 353 }
		command = { type = stability value = 1 }
	}
}



#The Reform of the Bureaucracy#
event = {

	id = 3336
	random = no
	country = HAB
	name = "EVENTNAME3336"
	desc = "EVENTHIST3336"
	style = 4

	date = { day = 1 month = january year = 1750 }
	offset = 30
	deathdate = { day = 1 month = january year = 1760 }

	action_a ={				#Reform#
		name = "ACTIONNAME3336A"
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Let it be#
		name = "ACTIONNAME3336B"
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#The Partition of Poland#		#1st#
event = {

	id = 3337			#Triggered by POL3499#
	random = no
	country = HAB
	name = "EVENTNAME3337"
	desc = "EVENTHIST3337"
	style = 4

	action_a ={			#Poland is trying to reform and it must be stopped#
		name = "ACTIONNAME3337A"
		command = { type = casusbelli which = POL value = 60 }
		command = { type = relation which = POL value = -150 }
		command = { type = stability value = 3 }
		command = { type = treasury  value = 250 }
		command = { type = addcore which = 298 }
	}
}

#The Partition of Poland#		#2nd#
event = {

	id = 3338			#Triggered by POL3500#
	random = no
	country = HAB
	name = "EVENTNAME3338"
	desc = "EVENTHIST3338"
	style = 4

	action_a ={			#Poland is trying to reform and it must be stopped#
		name = "ACTIONNAME3338A"
		command = { type = casusbelli which = POL value = 60 }
		command = { type = relation which = POL value = -150 }
		command = { type = stability value = 3 }
		command = { type = treasury  value = 250 }
		command = { type = addcore which = 292 }
		command = { type = addcore which = 299 }
	}
}

#Serfdom is formally abolished#
event = {

	id = 3339
	random = no
	country = HAB
	name = "EVENTNAME3339"
	desc = "EVENTHIST3339"
	style = 4

	date = { day = 1 month = january year = 1776 }
	offset = 30
	deathdate = { day = 1 month = january year = 1785 }

	action_a ={				#Yes, certainly!#
		name = "ACTIONNAME3339A"
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 1  }
		command = { type = stability value = -1 }
	}

	action_b ={				#No, certainly not!#
		name = "ACTIONNAME3339B"
		command = { type = domestic which = INNOVATIVE value = -1 }
	}

	action_c ={				#No, and go further!#
		name = "ACTIONNAME3339C"
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = domestic which = INNOVATIVE value = -3  }
		command = { type = stability value = 1  }
	}

}

#The Reactionary Reforms of 1789#
event = {

	id = 3340
	random = no
	country = HAB
	name = "EVENTNAME3340"
	desc = "EVENTHIST3340"
	style = 4

	date = { day = 20 month = september year = 1789 }
	offset = 30
	deathdate = { day = 30 month = december year = 1789 }

	action_a ={				#React against Revolutionary Tendencies!#
		name = "ACTIONNAME3340A"
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = domestic which = INNOVATIVE value = -3  }
		command = { type = stability value = -1 }
	}

	action_b ={				#Risk the Revolution!#
		name = "ACTIONNAME3340B"
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = revoltrisk which = 156 value = 3 }
		command = { type = stability value = 1 }
	}
}



########################
###  Austria Events  ###
########################

event = {
	id = 28005
	random = no
	country = HAB #should be HEI#
	name = "EVENTNAME28005"
	desc = "EVENTHIST28005"
	style = 1

	action_a ={				#No#
		name = "ACTIONNAME28005A"
		command = { type = relation which = BUR value = -50 } 
		command = { type = relation which = FRA value = 50 } 
		}
	action_b ={				#Yes#
		name = "ACTIONNAME28005B"
		command = { type = stability  value = -1 } 
		command = { type = secedeprovince which = BUR value = 334 } 
		command = { type = secedeprovince which = BUR value = 335 }
		command = { type = secedeprovince which = BUR value = 337 } 
		command = { type = secedeprovince which = BUR value = 338 } 
		command = { type = secedeprovince which = BUR value = 343 }
		command = { type = secedeprovince which = BUR value = 344 } 
		command = { type = secedeprovince which = BUR value = 345 } 
		command = { type = secedeprovince which = BUR value = 375 }  
		command = { type = secedeprovince which = BUR value = 377 }  
		command = { type = secedeprovince which = BUR value = 388 }
		command = { type = secedeprovince which = BUR value = 405 } 
		command = { type = secedeprovince which = BUR value = 406 } 
		command = { type = secedeprovince which = BUR value = 407 }  
		command = { type = secedeprovince which = BUR value = 408 }
		command = { type = relation which = BUR value = 200 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = PFA value = -50 } 
		command = { type = relation which = HEL value = -50 }
		command = { type = relation which = LOR value = -50 }
		command = { type = relation which = OLD value = -50 } 
		command = { type = relation which = MUN value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = trigger   which = 28006 }
		}
	}

event = {
	id = 17354 #triggered by 17353 Fall of Petrucci PIS
	random = no
	country = HAB
	name = "EVENTNAME17354"
	desc = "EVENTHIST17354"
	style = 1
	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = vassal  which = PIS }
		command = { type = relation   which = PAP value = -20 }
		command = { type = alliance   which = PIS }
		}
}

event = {
	id = 17359 #triggered by 17358 Burnt Siena PIS
	random = no
	country = HAB
	name = "EVENTNAME17359"
	desc = "EVENTHIST17359"
	style = 1
	action_a ={
		name = "ACTIONNAME17359A"
		command = { type = casusbelli which = PIS value = 12 }
		command = { type = relation which = PIS value = -400 }
		command = { type = relation which = TOS value = 200 }
		command = { type = trigger which = 17357 }   #TOS Revolt in Siena         
          	}
	action_b ={
		name = "ACTIONNAME17359B"
		command = { type = casusbelli which = PIS value = 12 }
		command = { type = relation which = PIS value = -400 }          
          	}
}

#Tuscan vassalage
event = {
	id = 17371  # triggered by 17370 TOS The Emperor Francis
	random = no
	country = HAB
	name = "EVENTNAME17371"
	desc = "EVENTHIST17371"
	style = 1
	action_a ={
		name = "OK"
		command = { type = vassal  which = TOS }
		command = { type = alliance   which = TOS }
	}
}

# League of Cambrai - reworked by Isaac Brock
#HAB event if FRA accepted
event = {

	id = 17021
	random = no
	country = HAB
	name = "EVENTNAME3182"
	desc = "EVENTHIST3182"
	style = 2

	action_a ={
		name = "ACTIONNAME3182A"	#Express Support#
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = ARG value = 150 }
	}

	action_b ={
		name = "ACTIONNAME3182B"	#Ignore#
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = ARG value = -50 }
	}

	action_c ={
		name = "ACTIONNAME3182C"	#Express Hostility#
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = TOS value = -150 }
		command = { type = relation which = ARG value = -150 }
	}

}

#HAB event if FRA did not accept
event = {

	id = 17022
	random = no
	country = HAB
	name = "EVENTNAME3182"
	desc = "EVENTHIST3182"
	style = 2

	action_a ={
		name = "ACTIONNAME3182A"	#Express Support#
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = ARG value = 150 }
	}

	action_b ={
		name = "ACTIONNAME3182B"	#Ignore#
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = sleepevent which = 17018 } #VEN sensing great danger
	}

	action_c ={
		name = "ACTIONNAME3182C"	#Express Hostility#
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = TOS value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = sleepevent which = 17018 } #VEN sensing great danger
	}

}

#Holy League of 1510 Austrian Version
event = {

	id = 17025
	trigger = { 
		event = 17024
	}
	random = no
	country = HAB
	name = "EVENTNAME17024"
	desc = "EVENTHIST17025"
	style = 2

	date = { day = 1 month = july year = 1510 }
	offset = 500
	deathdate = { day = 1 month = april year = 1512 }

	action_a ={
		name = "ACTIONNAME17024A"	#Express Support#
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = PAP value = 150 }
	}

	action_b ={
		name = "ACTIONNAME17024B"	#Ignore#
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = relation which = PAP value = -50 }
	}

	action_c ={
		name = "ACTIONNAME17024C"	#Express Hostility#
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = PAP value = -150 }
	}
}

### Charles V's Mercenary Army Sacks Rome (Papal States Event) ###  Isaac Brock
event = {
	id = 17408 #triggered by 17406 Sack of Rome PAP
	random = no
	country = HAB
	name = "EVENTNAME17406"
	desc = "EVENTHIST17408"
	style = 2
	action_a = {
		name = "ACTIONNAME17382A"
		command = { type = relation which = ENG value = -100}
		command = { type = relation which = FRA value = -100}
		command = { type = DIP   which = -2 value =12 }
		command = { type = ADM   which = -2 value =12 }
		command = { type = treasury  value = 50 }# no need to pay their back pay now!
		}
}


#Friesland events by TheF, modified by Twoflower

event = { 
	id = 22008 
	random = no 
	country = HAB 
	name = "EVENTNAME22007" 
	desc = "EVENTHIST22008"
	style = 1 

	action_a = { 
		name = "ACTIONNAME22008A" 
		command = { type = treasury value = -200 } 
		command = { type = trigger which = 22009 } 
		command = { type = addcore which = 337 } 
		} 
	action_b = {
		name = "ACTIONNAME22008B"
		command = { type = relation which = SAC value = -75 }	
		}
} 
event = { 
	id = 22024 
	random = no 
	country = HAB 
	name = "EVENTNAME22024" 
	desc = "EVENTHIST22024" 
	style = 1 

	action_a = { 
		name = "ACTIONNAME3855A" 
		command = { type = inherit which = FRI } 
		} 
}

#Gelre events by Twoflower

event = {
        id = 75007
        random  = no
        country = HAB 
        name = "EVENTNAME75007"
        desc = "EVENTHIST75007"
        style = 2
        
        action_a ={
                  name = "ACTIONNAME75007A" 
                  command = { type = addcore which = 338 }
                  command = { type = relation which = KLE value = -200 }
                  command = { type = casusbelli which = KLE value = 36 }
                  }
        action_b ={
                  name = "ACTIONNAME75007B"
                  command = { type = relation which = KLE value = 100 }
                  command = { type = removecore   which = 338 }
                  }
}
event = {
        id = 75008
        random = no 
        country = HAB
        name = "EVENTNAME75008"
        desc = "EVENTHIST75008"
        style = 2
        
        action_a ={
                  name = "ACTIONNAME75008A"
                  command = { type = inherit which = GEL }
                  command = { type = addcore which = 338 }
                  }
}
event = {
        id = 75009
        random = no 
        country = HAB
        name = "EVENTNAME75009"
        desc = "EVENTHIST75009"
        style = 2
        
        action_a ={
                 name = "ACTIONNAME75007A" 
                  command = { type = addcore which = 338 }
                  command = { type = relation which = GEL value = -200 }
                  command = { type = casusbelli which = GEL value = 36 }
                  }
        action_b ={
                  name = "ACTIONNAME75007B"
                  command = { type = relation which = GEL value = 100 }
                  command = { type = removecore   which = 338 }
                  }
}

### French Encirclement by the Habsburgs ###  #HAB Event#

event = {
	id = 12066
	random = no
	country = HAB
	name = "EVENTNAME12062"
	desc = "EVENTHIST12062"
	style = 3
	action_a = {
		name = "ACTIONNAME12066A"
		command = { type = casusbelli which = FRA value = 48}
		command = { type = relation which = FRA value = -100}
		}
	action_b = {
		name = "ACTIONNAME12066B"
		command = { type = relation which = FRA value = 10}
}
}

### Sabre Rattling ## #HAB Event#

event = {
	id = 12115
	random = no
	country = HAB
	name = "EVENTNAME12114"
	desc = "EVENTHIST12114"
	style = 4
	action_a = {
		name = "ACTIONNAME12114A"
		command = { type = casusbelli which = FRA value = 80 } 
}
	action_b = {
		name = "ACTIONNAME12114B"
		command = { type = stability value = -1 } 
}
}


### War Again ## #HAB Event#

event = {
	id = 12127
	random = no
	country = HAB
	name = "EVENTNAME12125"
	desc = "EVENTHIST12128"
	style = 5
	action_a = {
		name = "ACTIONNAME12126A"
		command = { type = casusbelli which = FRA value = 216 } 
		}
	action_b = {
		name = "ACTIONNAME12126B"
		command = { type = stability value = -1 } 
	}
}

##############################
#EEP events for the Hapsburgs#
#       chegitz guevara      #
##############################

#The Death of Zapolya#
event = {

	id = 19026				#Triggered by EEP_HUN120017 and EEP_HUN80029#
	random = no
	country = HAB
	name = "EVENTNAME19019"
	desc = "EVENTHIST19026"
	style = 2

	action_a ={				#No! It is mine!#
		name = "ACTIONNAME19026A"
		command = { type = relation which = TUR value = -200 }
		command = { type = relation which = HUN value = -150 }
		command = { type = war which = HUN }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 323 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
	}

	action_b ={				#Let him have it#
		name = "ACTIONNAME19026B"
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = TUR value = 50 }
	}
}

#Hungary is Mine!#
event = {
	id = 19027
	trigger = {
		vassal = { country = HAB  country = HUN }
		NOT = { event = 3185 }
	}
	random = no
	country = HAB
	name = "EVENTNAME19027"
	desc = "EVENTHIST19027"
	style = 2
	date = { day = 22  month = august  year = 1526 }
	deathdate = { day = 30  month = december  year = 1819 } 

	action_a ={				#At last!#
		name = "ACTIONNAME40116A"
		command = { type = trigger which = 19018 }
	}
}

# By Isaac Brock #
event = {
	id = 17440
	random = no
	country = HAB
	name = "EVENTNAME17440"
	desc = "EVENTHIST17440"
	style = 4
	action_a ={
		name = "ACTIONNAME3373A"
		command = { type = vassal  which = PAR }
		command = { type = alliance   which = PAR }
		}
}
