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

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



#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 = 600 }
		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 }
	}
}





#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 }
command = { type = addcore which = 1981 }

	}

	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 = badboy value = -2 }
		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 = 300 }
		command = { type = treasury value = -100 }
		command = { type = merchants value = 6 }
		command = { type = inflation value = -5 }
                command = { type = domestic which = ARISTOCRACY value = -1 }
                command = { type = domestic which = centralization value = -1 }
                command = { type = domestic which = MERCANTILISM value = 2 }
	}

	action_b ={				#Turn the Fuggers offer down#
		name = "Íàì íå íóæíû ìîíîïîëèñòû"
		command = { type = treasury value = -100 }
		command = { type = stability value = -3 }
                command = { type = loansize which = 100 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
                command = { type = domestic which = MERCANTILISM value = -1 }
                command = { type = inflation value = -2 }
	}
}

#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 = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 366 }
                command = { type = addcore which = 1952 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
		command = { type = add_countryculture which = magyar }
command = { type = vassal which = HUN }
		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 = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 366 }
                command = { type = addcore which = 1952 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
		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 }
                command = { type = addcore which = 1940 }
		command = { type = addcore which = 1943 }
command = { type = addcore which = 1987 }
command = { type = addcore which = 992 }
                command = { type = provinceculture which = 327 value = german }
                command = { type = secedeprovince which = SAC value = 1940 } 
		command = { type = secedeprovince which = BRA value = 1940 } 
	}
}

#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 = domestic which = centralization value = -1 }
		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 = domestic which = innovative value = -1 }
		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 = domestic which = innovative value = 1 }
command = { type = domestic which = centralization value = -1 }
		command = { type = stability value = -2 }
	}

}

#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 = domestic which = centralization 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 = domestic which = centralization value = 1 }
		command = { type = stability value = -2 }
	}

	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 = domestic which = centralization value = -3 }
		command = { type = stability value = -4 }
	}

}



#The Abdication of Charles V#
event = {

	id = 3749
	trigger = {
			NOT = {
				event = 3178
                                vassal = { country = SPA country = HAB }
				}
			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 }
                command = { type = sleepmonarch which = 04264 }
                command = { type = wakemonarch which = 04265 }
	}
}



#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 }
command = { type = domestic which = innovative value = -1 }
	}

	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 }
command = { type = domestic which = centralization value = -1 }
	}
}

#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 = provincetax which = 329 value = 1 }
command = { type = provincetax which = 1987 value = 1 }
command = { type = domestic which = CENTRALIZATION 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 = provincetax which = 329 value = -1 }
                command = { type = provincetax which = 1987 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
			}
                        religion = protestant
			religion = reformed
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3194"
	desc = "EVENTHIST3194"
	style = 3

	date = { day = 1 month = may 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 = 12 }
		command = { type = province_revoltrisk which = 329 value = 10 }
		command = { type = province_revoltrisk which = 330 value = 10 }
command = { type = province_revoltrisk which = 1987 value = 10 }
command = { type = province_revoltrisk which = 992 value = 10 }
		command = { type = province_revoltrisk which = 315 value = 7 }
		command = { type = revolt which = 328  }
		command = { type = revolt which = 330  }
		command = { type = revolt which = 329  }
		command = { type = revolt which = 315  }
                command = { type = revolt which = 328  }
		command = { type = revolt which = 330  }
		command = { type = revolt which = 329  }
		command = { type = revolt which = 315  }
                command = { type = revolt which = 328  }
		command = { type = revolt which = 330  }
		command = { type = revolt which = 329  }
		command = { type = revolt which = 315  }
command = { type = revolt which = 1987  }
command = { type = revolt which = 1987  }
command = { type = revolt which = 1987  }
command = { type = revolt which = 992  }
command = { type = revolt which = 992  }
command = { type = revolt which = 992  }
		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 = {
                     event = 3194
		OR = {
			
			owned = { province = 315 data = -1 }
			owned = { province = 328 data = -1 }
			owned = { province = 329 data = -1 }
			owned = { province = 330 data = -1 }
                        owned = { province = 1987 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 = 12 }
		command = { type = province_revoltrisk which = 329 value = 10 }
		command = { type = province_revoltrisk which = 330 value = 10 }
command = { type = province_revoltrisk which = 1987 value = 10 }
command = { type = province_revoltrisk which = 992 value = 10 }
		command = { type = province_revoltrisk which = 315 value = 7 }
command = { type = provincereligion which = 1987 value = catholic }
		command = { type = provincereligion which = 328 value = catholic }
		command = { type = provincereligion which = 330 value = catholic }
		command = { type = provincereligion which = 315 value = catholic }
                command = { type = provincereligion which = 327 value = catholic }
                command = { type = population which = 328 value = -10000 }
                command = { type = population which = 330 value = -5000 }
                command = { type = population which = 329 value = -5000 }
command = { type = population which = 1987 value = -5000 }
                command = { type = population which = 315 value = -3000 }
		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 }
                command = { type = provinceculture which = 327 value = german }
command = { type = domestic which = CENTRALIZATION value = 2 }
command = { type = domestic which = INNOVATIVE value = -1 }
	}

	action_b ={			#No, and appease Protestants in Bohemia#
		name = "ACTIONNAME3196B"
		command = { type = sleepevent which = 3754 }
		command = { type = province_revoltrisk which = 328 value = 12 }
		command = { type = province_revoltrisk which = 329 value = 10 }
		command = { type = province_revoltrisk which = 330 value = 10 }
command = { type = province_revoltrisk which = 1987 value = 10 }
command = { type = province_revoltrisk which = 992 value = 10 }
		command = { type = province_revoltrisk which = 315 value = 7 }
		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 }
                command = { type = provinceculture which = 327 value = german }
command = { type = domestic which = CENTRALIZATION value = -1 }
command = { type = domestic which = INNOVATIVE value = 1 }
	}
}


#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 }
command = { type = addcore which = 374 }
command = { type = addcore which = 1980 }
command = { type = treasury value = -200 }
	}

	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 }
command = { type = stability value = -2 }
command = { type = domestic which = offensive value = -3 }
	}
}

#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 = -250 }
		command = { type = relation which = FRA value = -250 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = stability value = 3 }
                command = { type = treasury value = -200 }
                command = { type = INF which = -2 value = 22000 }
                command = { type = CAV which = -2 value = 10000 }
                command = { type = ART which = -2 value = 30 }
                   command = { type = addcore which = 389 } #Lombardia
                command = { type = addcore which = 1919 }
command = { type = addcore which = 1988 }
                command = { type = addcore which = 1921 }
                command = { type = addcore which = 1924 }

                command = { type = addcore which = 377 } #Luxembourg
                command = { type = addcore which = 378 } #Brabant
                command = { type = addcore which = 380 } #Flandern
   command = { type = addcore which = 1903 }
                command = { type = addcore which = 1947 }
command = { type = addcore which = 933 }
	}

	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 = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = stability value = -3 }
command = { type = treasury value = 800 }
	}
}

#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 = 316 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
                                owned = { province = 324 data = -1 }
				owned = { province = 355 data = -1 }
				owned = { province = 1950 data = -1 }
                                owned = { province = 317 data = -1 }
 owned = { province = 1402 data = -1 }
				}
			NOT = {
				exists = HUN
				}
		}
	random = no
	country = HAB
	name = "EVENTNAME3201"
	desc = "EVENTHIST3201"
	style = 4

	date = { day = 1 month = may 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 = 326 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 325 }
                command = { type = revolt which = 1950 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1402 }
command = { type = revolt which = 325 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 325 }
                command = { type = revolt which = 1950 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1402 }
command = { type = revolt which = 325 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 325 }
                command = { type = revolt which = 1950 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1402 }
command = { type = revolt which = 1999 }
command = { type = revolt which = 1999 }
		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 = revolt which = 353 }
		command = { type = revolt which = 325 }
command = { type = revolt which = 325 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 325 }
                command = { type = revolt which = 1950 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1999 }
command = { type = revolt which = 1402 }
		command = { type = relation which = TUR value = -50 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -1 }
	}
}

#The Oostende Company#
event = {

	id = 3202
	trigger = {
		OR = { owned = { province = 380 data = -1 }
owned = { province = 1947 data = -1 }
owned = { province = 933 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 }
command = { type = galleys which = -1 value = 20 }
	}
}

#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 = -1 }
		command = { type = population which = 350 value = -4000 }
		command = { type = stability value = -1 }
                command = { type = trigger which = 3543 }
	}

	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 }
                command = { type = treasury value = -100 }
	}

	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 = {
		OR = { exists = BAY
                       exists = PFA 
                     }
	        event = 179019 #Straubing granted to Hapsburg
                event = 255003 #PFA: Palatinate inherits Bavaria 
                NOT = { owned = { province = 348 data = -1 } }
		}
	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 = "Press the claim and invade Bavaria"
		command = { type = relation which = PRU value = -150 }
                command = { type = trigger which = 3666 }
                command = { type = trigger which = 3617 }		
	}

	action_b ={				#Do not interfere#
		name = "ACTIONNAME3207B"
		command = { type = relation which = BAY value = -50 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = PFA value = -50 }
                command = { type = sleepevent which = 3531 } #PRU: Bavarian Succession of 1777
                command = { type = sleepevent which = 179021 } #Austria is victorious
		command = { type = stability value = 1 }
	}
}

#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 = 1940 }
		command = { type = addcore which = 1943 }
		command = { type = addcore which = 315 }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 329 }
		command = { type = addcore which = 330 }
command = { type = addcore which = 1987 }
command = { type = addcore which = 992 }
	}

	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 = 317 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 367 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 366 }
                command = { type = addcore which = 367 }
                command = { type = addcore which = 1952 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
	}
}

#The Protestant Rebellion in Hungary#
event = {

	id = 3099
	trigger = {
			AND = {
				owned = { province = 316 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
                                owned = { province = 324 data = -1 }
				owned = { province = 355 data = -1 }
				owned = { province = 1950 data = -1 }
                                owned = { province = 317 data = -1 }
owned = { province = 1402 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 = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
                command = { type = religiousrevolt which = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
		command = { type = religiousrevolt which = -1 }
		command = { type = religiousrevolt which = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = stability value = -3 }
command = { type = treasury value = -300 }
	}

	action_b ={				#Repress the Heretics#
		name = "ACTIONNAME3099B"
		command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
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 = -500 }
	}

}

#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 = -3 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = MERCANTILISM value = -3 }
		command = { type = domestic which = LAND value = -1 }
		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 = province_revoltrisk which = 1919 value = -6 }
                command = { type = province_revoltrisk which = 1921 value = -6 }
                command = { type = province_revoltrisk which = 1988 value = -6 }
command = { type = province_revoltrisk which = 1989 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 = province_revoltrisk which = 1919 value = -6 }
                command = { type = province_revoltrisk which = 1921 value = -6 }
                command = { type = province_revoltrisk which = 1988 value = -6 }
command = { type = province_revoltrisk which = 1989 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 = 415 }
		command = { type = addcore which = 414 }
	}
}

#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 = -2 }
		command = { type = domestic which = QUALITY value = -1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = stability value = -1 }
                command = { type = treasury value = -200 }
	}

	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 = 1 }
		command = { type = CAV which = -1 value = 10000 }
		command = { type = CAV which = -1 value = 10000 }
		command = { type = stability value = -1 }
                command = { type = treasury value = -200 }
	}
}

#The Chastening of Hungary#
event = {

	id = 3332
	trigger = {
			AND = {
				owned = { province = 316 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
                                owned = { province = 324 data = -1 }
				owned = { province = 355 data = -1 }
				owned = { province = 1950 data = -1 }
                                owned = { province = 317 data = -1 }
owned = { province = 1402 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 = revolt which = 1402 }
command = { type = revolt which = 325 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1402 }
command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
                command = { type = religiousrevolt which = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
                command = { type = religiousrevolt which = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
		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 = 2 }
		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 = 316 data = -1 }
				owned = { province = 326 data = -1 }
				owned = { province = 352 data = -1 }
				owned = { province = 353 data = -1 }
                                owned = { province = 324 data = -1 }
				owned = { province = 355 data = -1 }
				owned = { province = 1950 data = -1 }
                                owned = { province = 317 data = -1 }
owned = { province = 1402 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 = revolt which = 325 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 325 }
                command = { type = revolt which = 1950 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 352 }
command = { type = revolt which = 1402 }
command = { type = revolt which = 1999 }
command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
                command = { type = religiousrevolt which = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
command = { type = religiousrevolt which = 325 }
		command = { type = religiousrevolt which = 353 }
                command = { type = religiousrevolt which = 324 }
		command = { type = religiousrevolt which = 1950 }
                command = { type = religiousrevolt which = 326 }
		command = { type = religiousrevolt which = 317 }
		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 }
                command = { type = treasury value = -300 }
	}

	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 }
command = { type = addcore which = 1949 }
	}
}

#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 = 299 }
		command = { type = addcore which = 1911 }
command = { type = addcore which = 1397 }
	}
}

#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 }
                command = { type = treasury value = -600 }
	}

	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 = -2  }
	}

}

#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 = 1983 }  
command = { type = secedeprovince which = BUR value = 1980 }  
		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 = 1925 } 
		command = { type = secedeprovince which = BUR value = 1927 }
                command = { type = secedeprovince which = BUR value = 1926 } 
		command = { type = secedeprovince which = BUR value = 1924 }
		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 = 374 }
		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 = secedeprovince which = BUR value = 1997 } 
command = { type = secedeprovince which = BUR value = 979 } 
		command = { type = secedeprovince which = BUR value = 1947 }  
		command = { type = secedeprovince which = BUR value = 1903 }
		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 = 28008
	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 = 1983 }  
command = { type = secedeprovince which = BUR value = 1980 } 
		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 = 1925 } 
		command = { type = secedeprovince which = BUR value = 1927 }
                command = { type = secedeprovince which = BUR value = 1926 } 
		command = { type = secedeprovince which = BUR value = 1924 }
command = { type = secedeprovince which = BUR value = 1997 } 
		command = { type = secedeprovince which = BUR value = 1947 }  
		command = { type = secedeprovince which = BUR value = 1903 }
command = { type = secedeprovince which = BUR value = 979 } 
		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 = 374 }
		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 }
command = { type = addcore which = 1981 }
	}

	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 }
command = { type = badboy value = -2 }
	}

}

#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 }
command = { type = addcore which = 1981 }
	}

	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
command = { type = badboy value = -2 }
	}

}

#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!
		}
}


#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 = addcore which = 979 }
                  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 }
                  command = { type = addcore which = 979 }
                  }
}
event = {
        id = 75009
        random = no 
        country = HAB
        name = "EVENTNAME75009"
        desc = "EVENTHIST75009"
        style = 2
        
        action_a ={
                 name = "ACTIONNAME75007A" 
                  command = { type = addcore which = 338 }
                  command = { type = addcore which = 979 }
                  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 = 326 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 1952 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 354 }
		command = { type = addcore which = 323 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
	}

	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 }
		}
}

event = {

trigger = { 

NOT = {		
	
religion = protestant
religion = reformed

		}

OR = { 
 provincereligion = { province = 369 data = protestant }
 provincereligion = { province = 367 data = protestant }
 provincereligion = { province = 350 data = protestant }
 provincereligion = { province = 327 data = protestant }
}

OR = {
                        owned = { province = 369 data = -1 }
			owned = { province = 367 data = -1 }
			owned = { province = 350 data = -1 }
			owned = { province = 327 data = -1 }	
	}

}

	id = 320103
	random = no
	country = HAB
	name = "Ìèðíàÿ áîðüáà ñ Ïðîòåñòàíòàìè â Àâñòðèè"
	desc = "â ñåðåäèíå 16 âåêà â àâñòðèè ñëîæèëàñü óäèâèòåëüíàÿ ñèòóàöèÿ,â îôèöèàëüíî êàòîëè÷åñêîé ñòðàíå, áîëüøèíñòâî ïîääàíûõ áûëè ïðîòåñòàíòàìè. Àâñòðèéñêèå ïðàâèòëåè áîðîëèñü ñ åðåñüþ ïî "ìÿãêîìó" ñöåíàðèþ. ïðèãëàøàÿ îáðàçîâàííûõ âÿùåííèêîâ è ïðîïîâåäíèêîâ èç èòàëè, ñòîðÿ ìîíàñòûðè, è  ïî÷òè íå ïðåáåãàÿ ê ãîíåíèÿì è ðåïðåññèÿì."
	style = 2
	date = { day = 10 month = december year = 1558 } 
	offset = 100
	deathdate = { day = 1 month = april year = 1560 }

	action_a ={
		name = "Ïðèãëàñèòü èòàëüÿíñêèõ ñâÿùåííèêîâ"	
	        command = { type = treasury value = -300 }
                command = { type = domestic which = innovative value = 1 }
	}

	action_b ={
		name = "Îáðàòèòü åðåòèêîâ ñèëîé!"
                command = { type = revolt which = 367 }
                command = { type = revolt which = 369 }
                command = { type = revolt which = 327 }	
                command = { type = revolt which = 367 }
                command = { type = revolt which = 369 }
                command = { type = revolt which = 327 }	
                command = { type = population which = 327 value = -3000 }
                command = { type = population which = 369 value = -3000 }
                command = { type = population which = 367 value = -3000 }
                command = { type = provincereligion which = 369 value = catholic }
                command = { type = provincereligion which = 327 value = catholic }
                command = { type = provincereligion which = 367 value = catholic }
		command = { type = sleepevent which = 320104 } 
	}

	
}

event = {

trigger = { 

NOT = {		
	
religion = protestant
religion = reformed

		}

}

	id = 320104
	random = no
	country = HAB
	name = "Ìèðíàÿ áîðüáà ñ Ïðîòåñòàíòàìè â Àâñòðèè"
	desc = "Ðåëèãîçíàÿ ïðîñâåòèòåëüñêàÿ ðàáîòà â Àâñòðèè òðåáîâàëà áîëüøèõ çàòðàò, íî ïðèíîñèëà çíà÷èòåëüíÿå óñïåõè. "
	style = 2

	date = { 1 month = january year = 1563 } 
	offset = 100
	deathdate = { 1 month = january year = 1565 }

	action_a ={
		name = "Ïðèãëàñèòü èòàëüÿíñêèõ ñâÿùåííèêîâ"	
	        command = { type = treasury value = -500 }
                command = { type = provincereligion which = 369 value = catholic }
                command = { type = provincereligion which = 327 value = catholic }
                command = { type = provincereligion which = 367 value = catholic }
                command = { type = gainmanufactory which = 351 value = luxury }
	}

	action_b ={
		name = "Õâàòèò öåðåìîíèòüñÿ ñ åðåòèêàìè!"
                command = { type = revolt which = 367 }
                command = { type = revolt which = 369 }
                command = { type = revolt which = 327 }	
                command = { type = population which = 327 value = -1000 }
                command = { type = population which = 369 value = -1000 }
                command = { type = population which = 367 value = -1000 }
                command = { type = provincereligion which = 369 value = catholic }
                command = { type = provincereligion which = 327 value = catholic }
                command = { type = provincereligion which = 367 value = catholic }
	}

	
}


#########################
#The Brabant Revolution # 
#by Archeolooginspe     #
#########################

event = {
	id = 179300
	trigger = {
		OR = { owned = { province = 378 data = -1 } 
owned = { province = 1903 data = -1 } 
owned = { province = 1947 data = -1 } 
owned = { province = 933 data = -1 } 
owned = { province = 380 data = -1 } 
}
		event = 3216
	}
	random = no
	country = HAB
	name = "Áðàáàíòñêàÿ Ðåâîëþöèÿ"
	desc = "Îòìåíà 'Blijde Inkomste' 18 èþíÿ 1789 ãîäà îòäàëèëà Âîíêèñòîâ, êîòîðûå ñåé÷àñ äåéñòâîâàëè âìåñòå ñ Ñòàòèñòàìè. Â îêòÿáðå 1789 ãîäà áûë îïóáëèêîâàí ìàíèôåñò æèòåëåé Áðàòàíòà, ïðîâîçãëàøàÿ ïðîâèíöèþ íåçàâèñèìîé, âîåííûå ñèëû Ãàáñáóðãà áûëè âûòåñíåíû. Ñîñëîâèÿ âñòðåòèëèñü 11 ÿíâàðÿ 1790 ãîäà è îáúÿâèëè î Îáúåäèíåííûõ øòàòàõ Áåëüãèè. Èìïåðàòîð Äæîçåô II óìåð â ôåâðàëå 1790 ãîäà. Ðåâîëþöèîííàÿ êîàëèöèÿ  Áðàáàíòà ðàñïàëàñü, Âîíêèñòîâ ïðåñëåäîâàëè è ïîäâåðãàëè ãîíåíèþ. Â ñîãëàøåíèè Ðåéõåíáàõ Ïðóññèÿ îáåùàåò íå ïîääåðæèâàòü ðåâîëþöèîíåðîâ. 3 äåêàáðÿ 1790 ãîäà àâñòðèéñêèå âîéñêà çàõâàòèëè Áðþññåëü, òåì ñàìûì, çàêîí÷èâ êîðîòêîå ñóùåñòâîâàíèå Îáúåäèíåííûõ Øòàòîâ Áåëüãèè."
	style = 4	
	date = { day = 18 month = june year = 1789 }
	offset = 90
	deathdate = { day = 1 month = september year = 1789 }

	action_a = {
		name = "Ïðîêëÿòûå"
		command = { type = revolt which = 378 } #Brabant
		command = { type = revolt which = 380 } #Flanders
		command = { type = revolt which = 377 } #Luxenbourg
		command = { type = revolt which = 1924 }
command = { type = revolt which = 1903 } 
		command = { type = revolt which = 1947 }
command = { type = revolt which = 933 }
		command = { type = province_revoltrisk which = 933 value = 6 }
		command = { type = province_revoltrisk which = 1947 value = 6 }
		command = { type = province_revoltrisk which = 1903 value = 6 }
		command = { type = province_revoltrisk which = 1924 value = 6 }
		command = { type = province_revoltrisk which = 378 value = 6 }
		command = { type = province_revoltrisk which = 380 value = 6 }
	}
}

#The Brabant Revolution
event = {
	id = 179301
	trigger = {
		event = 179300
		NOT = { event = 179302 }
	}
	random = no
	country = HAB
	name = "Ëåïîëüä II âîçâðàùàåò Þæíûå Íèäåðëàíäû"
	desc = "3 äåêàáðÿ âîéñêà Ëåîïîëüäà II çàõâàòèëè Áðþññåëü, ñ ýòîãî ìîìåíòà Áåëüãèÿ ïåðåñòàëà ñóùåñòâîâàòü êàê íåçàâèñèìîå ãîñóäàðñòâî."
	style = 4

	date = { day = 1 month = december year = 1790 }
	offset = 56
	deathdate = { day = 1 month = january year = 1791 }

	action_a = {
		name = "Ýòî ïðåïîäàñò èì óðîê"
command = { type = province_revoltrisk which = 933 value = -6 }
		command = { type = province_revoltrisk which = 378 value = -6 }
		command = { type = province_revoltrisk which = 380 value = -6 }
		command = { type = province_revoltrisk which = 1924 value = -6 }
command = { type = province_revoltrisk which = 1903 value = -6 }
		command = { type = province_revoltrisk which = 1947 value = -6 }
	}
}

#The Brabant Revolution
event = {
	id = 179302
	trigger = {  
		NOT = {
			OR = {
				control = { province = 378 data = -1 }
				control = { province = 380 data = -1 }
                                control = { province = 1947 data = -1 }
				control = { province = 1903 data = -1 }
control = { province = 933 data = -1 }
				event = 3779
				event = 3342
				atwar = no
				}
		}		
		NOT = { exists = HAU }	# IB:  added this one	
	}
	random = no
	country = HAB
	name = "Áðàáàíò ïîëó÷èë íåçàâèñèìîñòü"
	desc = "Ïðóññèÿ è Ãîëëàíäèÿ âèäåëè â Áðàáàíòñêîé Ðåâîëþöèè øàíñ ñáðîñèòü àâñòðèéñêóþ âëàñòü â ýòîì ðåãèîíå, 
            äëÿ ýòîãî îíè òàéíî ïîääåðæèâàëè ìÿòåæíèêîâ â èõ áîðüáå çà íåçàâèñèìîñòü.Òåïåðü îíè òî÷íî ïîáåäÿò."
	style = 4

	date = { day = 1 month = september year = 1790 }
	offset = 180
	deathdate = { day = 1 month = december year = 1790 }

	action_a = {
		name = "Íå  ïðèçíàâàòü èõ"
		command = { type = relation which = PRU value = -25 }
		command = { type = relation which = HOL value = -25 }
		command = { type = stability value = 2 }
		command = { type = independence which = HAU }
		command = { type = secedeprovince which = HAU value = 1924 }
		command = { type = secedeprovince which = HAU value = 380 }
		command = { type = secedeprovince which = HAU value = 378 }
command = { type = secedeprovince which = HAU value = 1903 }
		command = { type = secedeprovince which = HAU value = 1947 }
command = { type = secedeprovince which = HAU value = 933 }
		command = { type = trigger which = 182300 } #HAU
	}
	action_b = {
		name = "Ïðèçíàòü èõ"
		command = { type = relation which = PRU value = 25 }
		command = { type = relation which = HOL value = 25 }
		command = { type = stability value = -1 }
		command = { type = independence which = HAU }
		command = { type = secedeprovince which = HAU value = 1924 }
		command = { type = secedeprovince which = HAU value = 380 }
		command = { type = secedeprovince which = HAU value = 378 }
command = { type = secedeprovince which = HAU value = 933 }
command = { type = secedeprovince which = HAU value = 1903 }
		command = { type = secedeprovince which = HAU value = 1947 }
command = { type = removecore which = 933 }
		command = { type = removecore which = 380 }
		command = { type = removecore which = 378 }
		command = { type = removecore which = 377 }
		command = { type = removecore which = 1924 }
		command = { type = trigger which = 182301 } #HAU
	}
}
############

#The Pragmatic Sanction of 1549, by Archeolooginspe
event = {
	id = 179303
	trigger = {
			OR = {
				owned = { province = 379 data = -1 } #Artois	
				owned = { province = 1924 data = -1 }	
				owned = { province = 378 data = -1 } #Brabant
				owned = { province = 380 data = -1 } #Flanders
				owned = { province = 337 data = -1 } #Friesen	
				owned = { province = 338 data = -1 } #Geldre	
				owned = { province = 1925 data = -1 }	
				owned = { province = 1927 data = -1 }
				owned = { province = 339 data = -1 } #Holland
				owned = { province = 377 data = -1 } #Luxenbourg
				owned = { province = 340 data = -1 } #Zeeland
owned = { province = 1997 data = -1 } 
				owned = { province = 1947 data = -1 } 
				owned = { province = 1903 data = -1 }
owned = { province = 979 data = -1 } 
owned = { province = 933 data = -1 } 
			}
			NOT = {
				exists = BUR 
			}
			NOT = { #IB added this to avoid both Austria and Spain getting the event
				event = 285300 #SPA
				}
	}
	random = no
	country = HAB
	name = "Ñàíêöèÿ î Ïðàãìàòàõ"
	desc = "Â 1549 ãîäó, 'Ñàíêöèÿ î Ïðàãìàòàõ' ïðîäëèëà äàëüíåéøóþ ñâÿçü ìåæäó ýòèìè 17 îáëàñòÿìè è îáúÿâèëî èõ êàê  'íåîòåìëåìûì è íåäèëèìûì öåëûì'."
	style = 2

	date = { day = 1 month =  january year = 1549 }
	offset = 360
	deathdate = { day = 1 month = january year = 1550 }

	action_a = {
		name = "Ïðèìèðèòü ýòè 17 îáëàñòåé"
		command = { type = domestic which = centralization value = 1 }
		command = { type = provincetax which = 379 value = 1 }
		command = { type = provincetax which = 378 value = 1 }
		command = { type = provincetax which = 380 value = 1 }
		command = { type = provincetax which = 337 value = 1 }
		command = { type = provincetax which = 338 value = 1 }
		command = { type = provincetax which = 339 value = 1 }
		command = { type = provincetax which = 377 value = 1 }
		command = { type = provincetax which = 340 value = 1 }
		command = { type = provincetax which = 1927 value = 1 }
		command = { type = provincetax which = 1924 value = 1 }
		command = { type = provincetax which = 1925 value = 1 }
command = { type = provincetax which = 1997 value = 1 }
command = { type = provincetax which = 979 value = 1 }
command = { type = provincetax which = 933 value = 1 }
		command = { type = provincetax which = 1947 value = 1 }
		command = { type = provincetax which = 1903 value = 1 }
		command = { type = relation which = FRA value = -50 }
	}
	action_b = {
		name = "Ïîçâîëèòü èì æèòü îòäåëüíî äðóã îò äðóãà"
		command = { type = stability value = 1 }
		command = { type = domestic which = aristocracy value = 1 }
	}
}

############################
# Barrier Treaty           #
#events by archeolooginspe #
############################
event = {
	id = 179305 #triggered by HOL 186321
	random = no
	country = HAB
	name = "Ñîãëàøåíèå î áàðüåðå"
	desc = "Ïîñëå óñïåøíîé âîéíû ñ Èñïàíèåé Àâñòðèÿ ïðèîáðåëà Þæíûå Íèäåðëàíäû. Íî äî òîãî êàê îíè ìîãóò ïîëíîñòüþ çàÿâèòü î ñâîåé âëàñòè èì íåîáõîäèìî ïîäïèñàòü äîãîâîð ñ Ãîëëàíäèåé, óñëîâèåì êîòîðîãî ÿâëÿëîñü äàëüíåéøåå çàêðûòèå Øåëòà è ïîëó÷åíèå Ãîëëàíäèåé ïðàâà íà ðàçìåùåíèå âîéñê âäîëü ôðàíöóçñêîé ãðàíèöû. Ó âîéñê áûëè ñâîè ïðîòåñòàíòñêèå öåðêâè è èõ êîðìèëè àâñòðèéöû."
	style = 4

	action_a = {
		name = "Ïðèíÿòü ñîãëàøåíèå"
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = -1 }
		command = { type = trade value = -500 }
		command = { type = relation which = FRA value = -25 }
		command = { type = INF which = 380 value = 3000 }
		command = { type = INF which = 378 value = 3000 }
		command = { type = INF which = 1947 value = 3000 }
		command = { type = provincetax which = 380 value = -1 }
		command = { type = provincetax which = 1947 value = -1 }
		command = { type = provincetax which = 378 value = -1 }
command = { type = provincetax which = 933 value = -1 }
		command = { type = dynastic which = HOL }
	}
	action_b = {
		name = "Îòêàçàòüñÿ ïîäïèñûâàòü ñîãëàøåíèå"
		command = { type = trigger which = 186322 } #HOL
		command = { type = relation which = FRA value = 50 }
		command = { type = infra value = 100 }
		command = { type = trade value = 100 }
	}
}
event = {
	id = 179306 #triggered by HOL 186321
	random = no
	country = HAB
	name = "Ñîãëàøåíèå"
	desc = "Ïîñëå âîéíû çà Èñïàíñêîå íàñëåäñòâî, Àâñòðèÿ ïîëó÷èëà þæíûå Íèäåðëàíäû. 
            Íî ïðåæäå ÷åì îíè ñìîãëè óòâåðäèòü ñâîþ âëàñòü, èì ïðèøëîñü ïîäïèñàòü äîãîâîð ñ ãîëëàíäöàìè, êîòîðûé ïîñòàâèë  óñëîâèå äàëüíåéøåå çàêðûòèå ðåêè Øåëüäà è ïðàâî äèñëîöèðîâàòü ãîëëàíäñêèå âîéñêà âäîëü ôðàíöóçñêîé  ãðàíèöû."
	style = 4

	action_a = {
		name = "Ïðèíÿòü ñîãëàøåíèå"
		command = { type = relation which = HOL value = 100 }
		command = { type = stability value = -1 }
		command = { type = trade value = -100 }
		command = { type = provincetax which = 380 value = -1 }
		command = { type = provincetax which = 1947 value = -1 }
		command = { type = provincetax which = 378 value = -1 }
command = { type = provincetax which = 933 value = -1 }
		command = { type = dynastic which = HOL }
	}
	action_b = {
		name = "Îòêàçàòüñÿ ïîäïèñûâàòü ñîãëàøåíèå"
		command = { type = trigger which = 186322 } #HOL
		command = { type = infra value = 100 }
		command = { type = trade value = 100 }
	}
}
event = {
	id = 179307 #triggered by HOL 186321
	random = no
	country = HAB
	name = "Ñîãëàøåíèå"
	desc = "Ïîñëå âîéíû çà Èñïàíñêîå íàñëåäñòâî, Àâñòðèÿ ïîëó÷èëà þæíûå Íèäåðëàíäû. 
            Íî ïðåæäå ÷åì îíè ñìîãëè óòâåðäèòü ñâîþ âëàñòü, èì ïðèøëîñü ïîäïèñàòü äîãîâîð ñ ãîëëàíäöàìè, êîòîðûé ïîñòàâèë  óñëîâèå äàëüíåéøåå çàêðûòèå ðåêè Øåëüäà è ïðàâî äèñëîöèðîâàòü ãîëëàíäñêèå âîéñêà âäîëü ôðàíöóçñêîé  ãðàíèöû."
	style = 4

	action_a = {
		name = "Ïðèíÿòü ñîãëàøåíèå"
		command = { type = relation which = HOL value = 100 }
		command = { type = stability value = -1 }
		command = { type = trade value = 100 }
		command = { type = infra value = 100 }
		command = { type = relation which = FRA value = -75 }
		command = { type = INF which = 380 value = 1000 }
		command = { type = INF which = 378 value = 1000 }
		command = { type = INF which = 377 value = 1000 }
		command = { type = provincetax which = 380 value = -1 }
		command = { type = provincetax which = 1947 value = -1 }
		command = { type = provincetax which = 378 value = -1 }
command = { type = provincetax which = 933 value = -1 }
		command = { type = dynastic which = HOL }
	}
	action_b = {
		name = "Îòêàçàòüñÿ ïîäïèñûâàòü ñîãëàøåíèå"
		command = { type = trigger which = 186322 } #HOL
		command = { type = relation which = FRA value = 50 }
		command = { type = infra value = 100 }
		command = { type = trade value = 100 }
	}
}	

##############################
# Frans Anneesens            #
# events by Archeolooginspe  #
##############################

event = {
	id = 179308
	trigger = {       owned = { province = 378 data = -1 }
			
			domestic = { type = centralization value = 6 }
	}
	random = no
	country = HAB
	name = "Âîññòàíèÿ â Áðþññåëå"
	desc = "Âî âðåìåíà ïðàâëåíèÿ ïåðâîãî ãåðöîãà Þäæèíà Ñàâîé, êîòîðûé áûë ïðåäñòàâëåí êàê ïîëíîìî÷íûé ìèíèñòð ìàðêèçà Äå Ïðè, áðþññåëüñêèå ñèëû ïûòàëèñü ëèøèòü åãî âñå âîçìîæíûõ ïðèâåëåãèé. Ýòî ïðèâåëî ê ïðîäîëæèòåëüíûì êîíôëèêòàì ñ Àâñòðèéñêèì óïðàâëåíèåì, êîòîðûå õîòåëè ñîçäàòü öåíòðàëèçîâàííûå çàêîíû. Ìàðêèç Äå Ïðè ïîçâîëèë Ôðàíñó îáåçãëàâèòü îäíîãî ñâÿùåííèêà íà ïëîùàäè â Áðþññåëå."
	style = 4

	date = { day = 1 month = january year = 1718 }
	offset = 360
	deathdate = { day = 1 month = january year = 1719 }

	action_a = {
		name = "Àõ ýòè ïðîêëÿòûå òêà÷è!"
command = { type = revolt which = 378 }
		command = { type = province_revoltrisk which = 378 value = 4 }
		
	}
}

event = {
	id = 179309
	trigger = {
			owned = { province = 378 data = -1 } #Brabant
			event = 179308
	}
	random = no
	country = HAB
	name = "Êàçíü Ôðàíñà Àííèñåíñà"
	desc = "Â òå÷åíèè âñåãî âîññòàíèÿ áûëî àðåñòîâàíî 10 ãëàâ òêà÷åé, íî òîëüêî îäèí, Ôðàíñ Àííèñåíñ, áûë îòñòðàí¸í îò äîëæíîñòè. 
            ×òî ìû áóäåì äåëàòü äëÿ òîãî ÷òîáû îñëàáèòü âîññòàíèÿ?"
	style = 4
	
	date = { day = 1 month = august year = 1719 }
	offset = 30
	deathdate = { day = 1 month = january year = 1721 }

	action_a = {
		name = "Îòñòðàíèòü îò äîëæíîñòè îäíîãî èç íèõ, ÷òîáû óñòàíîâèòü ãëàâíîãî çà÷èíùèêà"
		command = { type = stability value = 1 }
		command = { type = population which = 378 value = -1 }
		command = { type = province_revoltrisk which = 378 value = -4 }
	}
	action_b = {
		name = "Îòïóñòèòü âñåõ"
		command = { type = stability value = 1 } #lowered by mnorrefeldt
		command = { type = province_revoltrisk which = 378 value = -4 }
		command = { type = revoltrisk which = 6 value = -1 }
	}
	action_c = {
		name = "Îòñòðàíèòü âñåõ!"
		command = { type = stability value = -1 }
		command = { type = population which = 378 value = -10 }
		command = { type = province_revoltrisk which = 378 value = -4 }
		command = { type = revoltrisk which = 3 value = 1 }
	}
}
#The Archduchy of Austria by Fate
event = {
	id = 179034
	trigger = {
           religion = catholic
	}
	random = NO
	country = HAB
	name = "Àâñòðèÿ ñòàíîâèòñÿ Ýðö-ãåðöîãñòâîì"
	desc = "23 íîÿáðÿ 1457 ãîäà Èìïåðàòîð Ôðèäðèõ III ïîäíÿë ñòàòóñ Àâñòðèè îò Ãåðöîãñòâà äî Ýðöãåðöîãñòâà. 
            Îò öàðñòâîâàíèÿ Ôðèäðèõà V, äî öàðñòâîâàíèÿ Êàðëà IV, âñå ïðàâèòåëè Àâñòðèè èìåíîâàëèñü êàê Ýðö-ãåðöîãè."
	style = 1
	date = { day = 23 month = november year = 1457 }

	action_a = {
		name = "Ïðåâîñõîäíî!"
		command = { type = vp value = 50 }
		command = { type = dip which = 2 value = 400  } #Until the reign of his son#
                command = { type = stability value = 1 }
		}
}
#The rewards of mediation (edited and connected with Bavarian event)
event = {
        id = 179001
        trigger = { 
	exists = BAY 
        exists = PFA 
        event = 125006
	}
	random = no 
	country = HAB 
	name = "Íàãðàäà çà ïîñðåäíè÷åñòâî" 
	desc = "1 äåêàáðÿ 1503 ãîäà Ãåîðã Áàéåðí-Ëàíäøòóäñêèé óìåð, íå îñòàâèâ íàñëåäíèêà ìóæñêîãî ïîëà. 
           Ñîãëàñíî ïîäïèñàííûì åù¸ â XV âåêå äîãîâîðàì, Ãåîðã äîëæåí áûë îáåñïå÷èòü íàñëåäíèêàìè ìóæñêîãî ïîëà Áàâàðèþ, 
           íî òàê êàê ýòî ó íåãî íå ïîëó÷èëîñü, ñëåäóþùåé ïðåñòîëîíàñëåäíèöåé îáúÿâëÿëàñü åãî äî÷ü, Ýëèçàáåò è å¸ ìóæ Ðóïðåõò. 
           Ýòè äåéñòâèÿ ñðàçó âëåêëè çà ñîáîé âîéíû è äâîðöîâûå ïåðåâîðîòû. ×òîáû íå äîïóñòèòü ýòîãî, Àëüáðåõò IV Áàâàðñêèé, îáðàòèëñÿ ê Èìïåðàòîðó Àâñòðèéñêîé Èìïåðèè Ìàêñèìèëëèàíó çà ïîìîùüþ, 
           è Ìàêñèìèëëèàí ðåøèë ýòîò âîïðîñ â àðáèòðàæå Ê¸ëüíà 30 èþíÿ 1505 ãîäà. Ãàáñáóðãè áûëè âîçíàãðàæäåíû, îíè ïîëó÷èëè íåñêîëüêî îêðóãîâ â þæíîé Áàâàðèè." 
	style = 2 

	date = { day = 30 month = june year = 1505 } 
        deathdate = { day = 31 month = december year = 1510 }

        action_a ={ 
	         name = "Ðåøåíèå â ïîëüçó Áàâàðèè" 
                 command = { type = relation which = BAY value = 100 } 
                 command = { type = relation which = PFA value = -100 } 
	         command = { type = population which = 371 value = 2000 }
	         command = { type = provincetax which = 371 value = 1 }
	         command = { type = trigger which = 125007 }
                  } 
        action_b ={ 
	         name = "Íå îòâå÷àòü íà èõ ïðîñüáó" 
	         command = { type = relation which = BAY value = -100 } 
                 command = { type = relation which = PFA value = 100 } 
	         command = { type = trigger which = 255002 }
                  } 
}


#Austria is offered Wirtemberg#
event = { 
       id = 179004 
       random = no 
       country = HAB
       name = "Ïîêóïêà Âèòåìáåðãà"
       desc = "Ïîñëå çàÿâëåíèé ãåðöîãà Óëüðè÷à î íàðóøåíèè ñâîèõ ïðàâ è óáèéñòâà Ãàíñà ôîí Õóòòåíà,ïîñëå êîíôèñêàöèè Ðåòëèíãåíà, Óëðèõ âûäâèíóë ïðåäëîæåíèå, ïî êîòîðîìó ñîãàøàëñÿ ïðîäàòü ×àðëüçó Âèòåìáåðã çà 220.000 ãóëüäåíîâ."
       style = 2
       
       action_a = {
                 name = "Ñîãëàñèòñÿ è êóïèòü Âèòåìáåðã"
                 command = { type = inherit which = WUR }
                 command = { type = addcore which = 372 } 
                  command = { type = addcore which = 1985 } 
                 command = { type = treasury value = -200 }
                  }
       action_b = {
                 name = "Îòêëîíèòü ïðåäëîæåíèå"
                 command = { type = relation which = WUR value = -50 }
                  }
}

#Loss of Wirtemberg (Hessen)
event = { 
       id = 179005
       random = no
       country = HAB 
       name = "Ïîòåðÿ Âèòåìáåðãà"
       desc = "Óëüðèõ, ïðåæíèé ãåðöîã Âèòåìáåðãà, ïðîäàâ ñâî¸ ãåðöîñòâî Ãàáñáóðãàì è ñáåæàë â Ã¸ññåí. Âî âðåìÿ ñâîåãî èçãíàíèÿ, îí ïðèíÿë ïðîòåñòàíñòâî è ñòàë óáåæäàòü Ôèëèïïà Ã¸ññåíñêîãî ïîìî÷ü åìó âîçâðàòèòü åãî âëàäåíèÿ ðàäè ïðîòåñòàíñòâà. Ôèëèïï ñîãëàñèëñÿ ïîìî÷ü è â òå÷åíèè íåñêîëüêèõ äíåé çàíÿë âåñü Âèòåìáåðã, ó àâñòðèéöåâ îí ïîòðåáîâàë âîññòàíîâèòü íåçàâèñèìîñòü ãåðöîãñòâà. Â êîíå÷íîì èòîãå, Ãàáñáóðãè ïðèíÿëè åãî ïðåäëîæåíèå è âåðíóëè Âèòåìáåðã Óëüðèõó, êîòîðûé îñòàâàëñÿ âàññàëîì Ãàáñáóðãîâ äî 1599 ãîäà."        
       style = 2
       
       action_a = {
                 name = "Ñîãëàñèòñÿ è ïåðåäàòü Âèòåìáåðã Óëüðèõó"
                 command = { type = independence which = WUR }
                 command = { type = removecore which = 372 }
  command = { type = removecore which = 1985 }
  command = { type = secedeprovince which = WUR value = 1985 }
                 }
       action_b = {
                 name = "Áîðîòñÿ ñ åðåòèêàìè"
                 command = { type = removecore which = 372 }
                  command = { type = removecore which = 1985 }
                 command = { type = desertion which = 372 value = 7000 }
                 command = { type = revolt which = 372 }
                 command = { type = revolt which = 372 }
  command = { type = revolt which = 1985 }
command = { type = revolt which = 1985 }
                 command = { type = relation which = HES value = -50 }
                 command = { type = war which = HES } #absolutely not sure about that
                 command = { type = province_revoltrisk which = 372 value = 5 } 
                  }
}
#Loss of Wirtemberg (Saxony)
event = { 
       id = 179006
       random = no
       country = HAB 
       name = "Ïîòåðÿ Âþðòåìáåðãà"
       desc = "Óëüðèõ, ïðåæíèé ãåðöîã Âèòåìáåðãà, ïðîäàâ ñâî¸ ãåðöîñòâî Ãàáñáóðãàì è ñáåæàë â Ñàêñîíèþ. Âî âðåìÿ ñâîåãî èçãíàíèÿ, îí ïðèíÿë ïðîòåñòàíñòâî è ñòàë óáåæäàòü Éîõàí-Ôðèäðèõà Ñàêñîíñêîãî ïîìî÷ü åìó âîçâðàòèòü åãî âëàäåíèÿ ðàäè ïðîòåñòàíñòâà. Éîõàí-Ôðèäðèõ ñîãëàñèëñÿ ïîìî÷ü è â òå÷åíèè íåñêîëüêèõ äíåé çàíÿë âåñü Âèòåìáåðã, ó àâñòðèéöåâ îí ïîòðåáîâàë âîññòàíîâèòü íåçàâèñèìîñòü ãåðöîãñòâà. Â êîíå÷íîì èòîãå, Ãàáñáóðãè ïðèíÿëè åãî ïðåäëîæåíèå è âåðíóëè Âèòåìáåðã Óëüðèõó, êîòîðûé îñòàâàëñÿ âàññàëîì Ãàáñáóðãîâ äî 1599 ãîäà."        
       style = 2
       
       action_a = {
                 name = "Ñîãëàñèòñÿ è ïåðåäàòü Âþðòåìáåðã Óëüðèõó"
                 command = { type = independence which = WUR }
                 command = { type = removecore which = 372 }
 command = { type = removecore which = 1985 }
  command = { type = secedeprovince which = WUR value = 1985 }
                 }
       action_b = {
                 name = "Áîðîòñÿ ñ åðåòèêàìè"
                 command = { type = removecore which = 372 }
                 command = { type = desertion which = 372 value = 7000 }
                 command = { type = revolt which = 372 }
                 command = { type = revolt which = 372 }
                 command = { type = relation which = SAC value = -50 }
                 command = { type = war which = SAC } #absolutely not sure about that
                 command = { type = province_revoltrisk which = 372 value = 5 } 
command = { type = province_revoltrisk which = 1985 value = 5 } 
                  }
}
#Wirtemberg secured
event = {
       id = 179007
       trigger = { OR = { event = 179005
                          event = 179006 }
                   owned = { province = 372 data = -1 }
                     owned = { province = 1985 data = -1 }
                   }
       random = no
       country = HAB 
       name = "Àâñòðèÿ îòñòàèâàåò Âþðòåìáåðã"
       desc = "Àâñòðèÿ ñóìåëà îòñòîÿòü Âþðòåìáåðã, óçóðïàòîð óìåð, íàøè çàêîííûå ïðèòÿçàíèÿ áîëüøå íå ïîäâåðãàþòñÿ ñîìíåíèÿì, íàêîíåö òî ìû ñìîæåì çàêðåïèòü ñâîþ âëàñòü â ýòîì ãåðöîãñòâå."
       style = 2
       
       date = { day = 1 month = january year = 1550 }
       offset = 200
       
       action_a = {
                 name = "Ïðåêðàñíî"
                 command = { type = addcore which = 372 }
                 command = { type = addcore which = 1985 }
                 command = { type = province_revoltrisk which = 372 value = -5 } 
                 command = { type = province_revoltrisk which = 1985 value = -5 } 
                  }
}
#Wirtemberg pays to end vassalage
event = {       
       id = 179008
       random = no 
       country = HAB 
       name = "Âèòåìáåðã ïðîñèò ñâîáîäó"
       desc = "Õîòÿ ãåðöîãó Óëüðèõó áûë âîçâðàù¸í Âèòåìáåðã, îí ïî ïðåæíåìó îñòàâàëñÿ âàññàëîì Ãàáñáóðãîâ. Â 1599 ãîäó Óëüðèõ ðåøèë, ÷òî ïðèøëà ïîðà ïðåêðàòèòü îñòàâàòüñÿ â âàññàëüíîé çàâèñèìîñòè îò Àâñòðèè è ïðåäëîæèë å¸ èìïåðàòîðó, Ðóäîëüôó áîëüøóþ ñóììó çà ñâîáîäó."
       style = 2
       
       action_a = {
                 name = "Âçÿòü äåíüãè è îòïóñòèòü"
                 command = { type = treasury value = 150 }
                 command = { type = breakvassal which = WUR }
                 command = { type = relation which = WUR value = 50 }
                 command = { type = trigger which = 331019 } #WUR: Wirtemberg is released
                  }
       action_b = {
                 name = "Íèêàêîé ñâîáîäû!"
                 command = { type = relation which = WUR value = -70 }
                  }
}

#Maximilian takes control of the Vorlande
event = {
	id = 179009
	random = no
	country = HAB
	name = "Ñèãèçìóíä ñòàðååò"
	desc = "Â 1487 ãîäó ñòàðåþùèé ãåðöîã Ñèãìóíä áûë âûíóæäåí âåðíóòü Ôðàéáóðã è äðóãèå ðåéíñêèå îáëàñòè Ìàêñèìèëèàíó."
	style = 2

	action_a = { 
		name = "Çàìå÷àòåëüíî."
		command = { type = stability value = 1 }
	}
}

#The meteorite of Ensisheim
event = {
      id = 179010
      trigger = { owned = { province = 374 data = -1 }}
      random = no
      country = HAB
      name = "Ýëüçàññêèå ïðåäãîòîâëåíèÿ"
      desc = "7 íîÿáðÿ 1492 ãîäà íà ïøåíè÷íîå ïîëå íåïîäàëåêó îò Åíñèøàéì, ñòîëèöû Ýëüçàñà, óïàë ìåòåîðèò, âåñîì â 250 ôóíòîâ, ñòàâøèé ñàìûì áîëüøèì êîãäà-ëèáî îáíàðóæåííûì ìåòåîðèòîì. Èìïåðàòîð Ìàêñèìèëèàí, ãîòîâèâøèéñÿ â ýòîì ãîðîäå ê ïîõîäó ïðîòèâ ×àðëüçàVIII, âîñïîëüçîâàëñÿ ýòèì ñîáûòèåì êàê ïðîïàãàíäîé, èñòîëêîâàâ åãî êàê çíàê Áîæåñòâåííîãî îäîáðåíèÿ. Ïîçäíåå ìåòåîðèò âûçâàë ê ñåáå îãðîìíûé èíòåðåñ, ó÷åíûå ñî âñåé Åâðîïû ñúåçæàëèñü ïîñìîòðåòü íà íåãî. Áûëî îñíîâàíî áðàòñòâî 'Gardiens de la Meteorite d'Ensisheim', êîòîðîå îõðàíÿåò åãî è ïî ñåé äåíü."
      style = 1
      
      date = { day = 7 month = november year = 1492 }
      
      action_a = {
               name = "Áîæåñòâåííûé çíàê"
               command = { type = stability value = 1 }
               command = { type = casusbelli which = FRA value = 12 }
                }
}

#Seamless mantle of Christ discovered
event = {
      id = 179011
      random = no  
      country = HAB
      name = "Ïëàùåíèöà Èèñóñà Õðèñòà"
      desc = "Îòêðûòèå ïëàùàíèöû Èèñóñà Õðèñòà èìïåðàòîðîì Ìàêñèìèëèàíîì â òðèåðñêîì ñîáîðå â 1512 ãîäó áûëî ñîáûòèåì âîêðóã êîòîðîãî óâåí÷àíî ìíîæåñòâîì ëåãåíä. Ñîãëàñíî ñàìîé èçâåñòíîé, àíãåë ÿâèëñÿ ê Ìàêñèìèëèàíó â êåëüíå, ñêàçàâ åìó  íàïðàâëÿòüñÿ â òðèåð. Êîãäà îí âîøåë â òðèåðñêèé ñîáîð, âíåçàïíî çàæãëèñü 15 ñâå÷åé íà àëòàðå. Îòîäâèíóëñÿ àëòàðü, è çà íèì áûëà ìàíòèÿ, ñäåëàííàÿ èç îäíîãî êóñêà òêàíè, ÷òî íûíåøíèå öåðêîâíèêè óñòàíîâèëè, ÷òî ýòî ìàíòèÿ Õðèñòà, è ìîùè ïðèçíàíû ìîùàìè ñòðàæíèêîâ, êîòîðûå ðàñïÿëè åãî. Ýòà ìàíòèÿ ñòàëà ñèìâîëîì Ñâÿùåííîé Ðèìñêîé Èìïåðèè è íåäåëèìîãî Õðèñòèàíñêîãî ìèðà."
      style = 1
      
      date = { day = 1 month = january year = 1512 }
      offset = 150
        
      action_a = {
               name = "Ìû âûáðàíû, ÷òîáû îáúåäèíèòü âåñü õèñòèàíñêèé ìèð"
               command = { type = stability value = 1 }
               command = { type = relation which = -1 value = 30 }
               command = { type = relation which = -1 value = 30 }
               command = { type = relation which = -1 value = 30 }
               command = { type = relation which = -1 value = 30 } 
                 }
}

#Hussite Wars
event = {
	id = 179013
	random = no
	country = HAB
	name = "Ãóññèòñêèå âîéíû"
	desc = "6 èþëÿ 1415, â Áîãåìèè, à òî÷íåå â Êîñòàíöèè ñôîðìèðîâàëîñü ðåâîëþöèîííîå äâèæåíèå, âäîõíîâë¸ííîå ñîöèàëüíûìè ïðîáëåìàìè è íàöèîíàëèñòè÷åñêèìè èäåÿìè, âîññòàíèå ïðåæäå âñåãî áûëî íàïðàâëåíî ïðîòèâ êîðîëÿ Ñèãèçìóíäà. Ïîñêîëüêó åãî çÿòü, ýðöãåðöîã Îëüáåðò V àâñòðèéñêèé ó÷àñòâîâàë â âîåííûõ êîìïàíèÿõ â Áîãåìèè è Ìîðàâèè ñ 1420, òî â 1425-1431 ãóñèòñêèå âîéñêà âòîðãëèñü â Àâñòðèþ è îïóñòîøèëè îáëàñòè ê ñåâåðó îò Äóíàÿ."
	style = 1
	date = { day = 25 month = april year = 1424 }
	action_a = {
		name = "Îðãàíèçîâàòü íàöèîíàëüíóþ ñèñòåìó çàùèòû"
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = fortress which = 327 value = 1 } #Ostmarch
		command = { type = cash value = -50 }
	}
	action_b = {
		name = "Â ýòîì íåò íå êàêîé ïîòðåáíîñòè"
		command = { type = stability value = 1 }
	}
}

#General Estates
event = {
	id = 179014
	random = no
	country = HAB
	name = "Ñîáðàíèå Îðãàíîâ çàêîíîäàò. âëàñòè"
	desc = "8 ÿíâàðÿ 1518 ãîäà èìïåðàòîð Ìàêñèìèëüÿí I ñîçâàë îðãàí çàêîíîäàòåëüíîé âëàñòè â Èííñáðóêå íà ñîáðàíèå, íàìåðåâàÿñü ïåðåäàòü ïî íàñëåäñòâó çåìëè Àâñòðèè. Ïîñëå ñîáðàíèÿ Îðãàíîâ çàêîíîäàòåëüíîé âëàñòè Ìàðöóøëàã â 1508 è Àóãñáóðãà â 1510, òðåòåé ïîïûòêîé èìïåðàòîðà ñòàëî ñîçäàíèå öåíòðàëèçîâàííîé àäìèíèñòðàöèè ñ îáùåì óïðàâëåíèåì, çàùèòîé è ôèíàíñèðîâàíèåì äëÿ Àâñòðèè è Èìïåðèè. Íà ñîáðàíèè ïðèñóòñòâîâàëî 70 ïðåäñòàâèòåëåé,  ãëàâíûì îáðàçîì ïðåäñåäàòåëüñòâîâàâøèõ â Òèðîëå.  18 ìàÿ èòîãè äåáàòîâ áûëè ïðåäñòàâëåíû â äîêóìåíòå, çàâåðåííîì ñóäîì, ãäå âîïðîñ âîîðóæåíèÿ è âñå íåäîâîëüñòâà áûëè ïðîïèñàíû â òðåõ äîêóìåíòàõ. Èìïåðàòîð ïîîáåùàë, ÷òî äåíüãè áóäóò èñïîëüçîâàíû íà ñàìîå íåîáõîäèìîå, çåìëè ïîëó÷èëè âûñøèé ñòàòóñ. Ýòî ñîáðàíèå ñòàëî ïåðâûì Àâñòðèéñêèì ïàðëàìåíòîì è îáîçíà÷èëî âàæíûé øàã íà ïóòè ê öåíòðàëèçèðîâàíèþ."
	style = 1
	date = { day = 8 month = january year = 1518 }
	action_a = {
		name = "Ïðåâîñõîäíî"
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
	}
}

#Edicts of Worms and Brussels (Austria vassalised to Spain)
event = {
	id = 179015
	trigger = {
	NOT = { war = { country = HAB country = SPA } }
	}
	random = no
	country = HAB
	name = "Áðþññåëüñêèå óêàçû"
	desc = "Êàðë V, ïðàâèòåëü Íèäåðëàíäîâ, êîðîëü Èñïàíèè, Ñâÿùåííîé Ðèìñêîé Èìïåðèè è âíóê Èìïåðòîðà Ìàêñèìèëèàíà I â 1519 ãîäó èìåíîâàëñÿ êàê ïðèíö è íàñëåäíèê àâñòðèéñêîé èìïåðèè. Â 1521 ãîäó ÷åðåç áðþññåëüñêèå óêàç Êàðë îòêàçàëñÿ îò íàñëåäîâàíèÿ Àâñòðèè â ïîëüçó ñâîåãî áðàòà Ôåðäèíàíäà I, â ýòî æå âðåìÿ Êàðë, îñòàâàëñÿ ïðàâèòåëåì Èñïàíèè, Èòàëèè, Íèäåðëàíä è Àìåðèêàíñêèõ êîëîíèé. Õîòÿ Ôåðäèíàíä ñâîáîäíî óïðàâëÿë âíóòðåííåé ïîëèòèêîé ãîñóäàðñòâà, îí âñ¸ åù¸ áûë çàâèñèì îò Êàðëà. Â 1556 ãîäó, êîãäà Êàðë ñîâñåì îòêàçàëñÿ îò èìïåðàòîðñêîãî ñòàòóñà, àâñòðèéñêèé äîì Ãàáñáóðãîâ ïîëó÷èë ïîëíóþ íåçàâèñèìîñü îò èñïàíñêîãî äîìà."
	style = 1
	date = { day = 1 month = january year = 1521 }
	action_a = {
		name = "Ïðèíÿòü ïðåäëîæåíèå Êàðëà"
		command = { type = relation which = SPA value = 100 }
                command = { type = sleepmonarch which = 04263 }
                command = { type = wakemonarch which = 04264 }
	}
	action_b = {
		name = "Àâñòðèÿ íå áóäåò íå îò êîãî çàâèñèòü"
		command = { type = relation which = SPA value = -100 }
		command = { type = stability value = -3 }
		command = { type = relation which = PAP value = -100 }
		command = { type = sleepevent which = 179016 }
                command = { type = sleepmonarch which = 04263 }
                command = { type = wakemonarch which = 04265 }
	}
}

#The Abdication of Charles V
event = {
	id = 179016
	trigger = { event = 3178
	vassal = { country = SPA country = HAB }
	}
	random = no
	country = HAB
	name = "Ñëîæåíèå ïîëíîìî÷èé èìïåðàòîðà"
	desc = "Â 1556 ãîäó, êîãäà Êàðë ñîâñåì îòêàçàëñÿ îò èìïåðàòîðñêîãî ñòàòóñà, àâñòðèéñêèé äîì Ãàáñáóðãîâ ïîëó÷èë ïîëíóþ íåçàâèñèìîñòü, îò èñïàíñêîãî. Ôèëèïï, ñûí Êàðëà, äîëæåí áûë óïðàâëÿòü Èñïàíèåé è Íèäåðëàíäàìè,  òî âðåìÿ êàê Àâñòðèÿ è òèòóë Èìïåðàòîðà Ñâÿùåííîé Ðèìñêîé Èìïåðèè áûëè ïåðåäàíû Ôåðäèíàíäó. Âåíà ñòàëà ïîëèòè÷åñêèì è ýêîíîìè÷åñêèì öåíòðîì àâñòðèéñêèõ Ãàáñáóðãîâ."
	style = 1
	date = { day = 30 month = september year = 1556 }
	action_a = {
		name = "Êàê âû æåëàòå, áðàò."
		command = { type = breakvassal which = SPA } 
		command = { type = stability value = 2 }
		command = { type = relation which = SPA value = 200 }
		command = { type = sleepmonarch which = 04264 }
                command = { type = wakemonarch which = 04265 }
	}
}


event = {
id = 179023
trigger = {

        owned = { province = 351 data = -1 }
          }
random = no
country = HAB
name = "Âåíà"
desc = "Âåíà ñòàëà ïîëèòè÷åñêèì è ýêîíîìè÷åñêèì öåíòðîì àâñòðèéñêèõ Ãàáñáóðãîâ."
style = 1
date = { day = 30 month = september year = 1556 }
offset = 10
deathdate = { day = 30 month = november year = 1556 }
action_a = {
name = "Îê"
command = { type = capital which = 351 }
command = { type = cot which = 351 }
command = { type = stability value = 1 }
}
}


###Decline of Venice COT
event = {
	ID = 179022
	trigger = { OR = { event = 3749
			   event = 179016 }
		    OR = { vassal = { country = HAB country = VEN }
			   control = { province = 370 data = HAB }
			   owned = { province = 370 data = HAB } }
		  }
	random = no
	province = 370
	name = "Çàêðûòèå âåíåöèàíñêîãî òîðãîâîãî öåíòðà"
	desc = "Âåíåöèÿ ïîòåðÿëà ñâî¸ ìåñòî, êàê öåíòðà òîðãîâëè íà÷èíàÿ ñ ïàäåíèÿ Êîíñòàíòèíîïîëÿ, â 1453 ãîäó. Òàê æå Âåíåöèÿ ïîòåðÿëà ñâîþ òîðãîâóþ âëàñòü íà Âîñòîêå è òåïåðü óæå ðåñóðñû èç äðóãèõ ñòðàí ïîïàäàëè â Åâðîïó íå ÷åðåç Âåíåöèþ. Â êîíå÷íîì ñ÷¸òå âëàñòü Âåíåöèè óìåíüøèëàñü ìàêñèìàëüíî, ÷åì è  âîñïîëüçîâàëàñü Àâñòðèÿ. Òîðãîâëÿ è íîâûé öåíòð âëàñòè ïåðåìåñòèëñÿ ê Ïðàãå, òåððèòîðèè âõîäÿùåé â Ãàáñáóðãñêèå âëàäåíèÿ."
	style = 2
	date = { day = 1 month = march year = 1557 }

	action_a = { #Venice becomes a vacation spot#
		name = "Âåíåöèÿ ïîòåðÿëà áûëóþ âëàñòü"
			command = { type = removecot which = 370 }
		   }
}	
		
#Military academy
event = {
	id = 179017
	random = no
	country = HAB
	name = "Ìèëèòàðàêåéäìè"
	desc = "Âîåííîå ó÷èëèùå áûëî îñíîâàíî èìïåðàòðèöåé Ìàðèåé Òåðåçîé àêòîì îò 14 åêàáðÿ 1751 ãîäà. Ñ 1752-1918, ýòî áûë öåíòð îáðàçîâàíèÿ äëÿ èìïåðñêèõ ÷èíîâíèêîâ, óñòðîåííûé â çàìêå Âèíåð Íàóøòàä; ïåðâûì åãî äèðåêòîðîì áûë ïîëåâîé ìàðøàëë Ë. ôîí Äàóí. Íàçâàíèå 'Ìèëèòàðàêåéäìè' èñïîëüçîâàëîñü íà÷èíàÿ ñ ñîþçà ñ êàäåòñêîé øêîëîé, íàõîäèâøåéñÿ â Âåíå, êàæäûé ãîä ýòîò öåíòð çàêàí÷èâàëî 400 ó÷ÿùèõñÿ."
	style = 1
	date = { day = 14 month = december year = 1751 }
	action_a = {
		name = "Ïîñòðîèòü"
		command = { type = gainbuilding which = -2 value = Barrack }
		command = { type = treasury value = -200 }
	}
	action_b = {
		name = "Îòïðàâèòü ðåñóðñû íà èññëåäîâàíèÿ"
		command = { type = land value = 2000 }
	}
}
#Hapsburg Archbishop in Cologne 
event = {
          id = 179018
          random = no
          country = HAB
          name = "Àðõèåïèñêîïîì âûáðàí Ìàêñèìèëèàí Ôðàíö àâñòðèéñêèé"    
          desc = "ïîïûòêà Êåëüíà äîñòè÷ü íåçàâèñèìîñòè îò èíòåðåñîâ äèíàñòèè áûëà áåçóñïåøíîé: êîãäà Ìàêñèìèëèàí Ôðèäðèõ óìåð, ãëàâà ñîáîðà óñòóïèë ïðàâî ïîïûòêàì èìïåðàòîðà  íàçíà÷èòü àðõèåïèñêîïà êóðôþðñòà èç Ãàáñáóðãñêîé äèíàñòèè è îòäàë ïðåäïî÷òåíèå Ìàêñèìèëèàíó Ôðàíöó Àâñòðèéñêîìó. Ñëåäóþùèé àðõèåïèñêîï, Àíòîí Âèêòîð, òàêæå áûë îäíèì èç Ãàáñáóðãîâ, è, êàçàëîñü, èìïåðàòîð çàïîëó÷èë âëèÿíèå â Ðàéíëåíä, î ÷åì îí è ìå÷òàë."
          style = 1

          action_a ={
                      name = "OK"
		      command = { type = relation which = KOL value = 50 }
		      command = { type = vassal which = KOL }
		      command = { type = alliance which = KOL }
                      }
   }

#Bavaria-Straubing, Conflict with Bavaria
event = {
      id = 179019
      random = no
      country = HAB
      name = "Ãàáñáóðãè ïîëó÷àþò âëàñòü â Øòðîáèíãå"
      desc = "Ïîñëå èñ÷åçíîâåíèÿ äèíàñòèè Âèòòåëüñáàõ â Áàâàðèè (1777), Äæîçåô II ïîïûòàëñÿ óñèëèòü âëèÿíèå Àâñòðèè âíóòðè Èìïåðèè è âíîâü çàïðîñèë ñòàðîå Ãåðöîãñòâî Øòðîáèíã â Íèæíåé Áàâàðèè. Êàðë Òýîäîð, íå èìåÿ áîëüøîé ïðèâÿçàííîñòè ê ñâîåìó íîâîìó ïðèîáðåòåíèþ, âñêîðå óñòóïèë åãî çà íåáîëüøóþ ôèíàíñîâóþ êîìïåíñàöèþ. Îäíàêî, â èþëå 1778 ãîäà âìåøàëàñü Ïðóññèÿ, äëÿ êîòîðîé ðàñøèðåíèå ãðàíèö Àâñòðèè ïðåäñòàâëÿëî îïàñíîñòü. Äåéñòâèÿ âåëèñü îò èìåíè ãåðöîãà Êàðëà Öâàéáðåêåíà, ïðåäïîëàãàåìîãî íàñëåäíèêà áåçäåòíîãî êîðîëÿ Êàðëà Òýîäîðà. Ýòîò êîíôëèêò îáîøåëñÿ áåç øèðîêîìàñøòàáíûõ âîåííûõ äåéñòâèé. Îí íà÷àëñÿ ñ ïðóññêîãî âòîðæåíèÿ â Áîãåìèþ è ïðîäîëæàëñÿ äî ìàÿ 1779 ãîäà, êîãäà Èìïåðàòðèöà Ìàðèÿ Òýðåçà âûíóäèëà ñâîåãî ñûíà Äæîçåôà II ñäàòüñÿ. Ìèð áûë çàêëþ÷åí â Òåøåíå 16-îãî ìàÿ 1779 ãîäà. Àâñòðèÿ ïîëó÷èëà íåáîëüøîé ó÷àñòîê âíóòðåííåé òåððèòîðèè."
      style = 1
      
      action_a = {
               name = "Ïðèíÿòü Øòðîáèíã è áîðîòüñÿ çà íåãî"
               command = { type = relation which = BAY value = -100 }
               command = { type = addcore which = 350 }
               command = { type = trigger which = 125001 } #BAY: Straubing granted to Hapsburg
                 }
      action_b = {
               name = "Îêëîíèòü ïåäëîæåíèå"
               command = { type = relation which = BAY value = 100 }
               command = { type = relation which = HUN value = -50 }
command = { type = secedeprovince which = BAY value = 350 }
               command = { type = trigger which = 125000 } #BAY: Inheritance of Straubing
               command = { type = sleepevent which = 188002 } #HUN: Sigismund reverses his decision
               command = { type = sleepevent which = 3207 } #The Bavarian Succession of 1777; the Habsburgs based their claim on bavarian territories on the emperor's decision of 1425 
                 }
}        
event = { 
       id = 179020
       random = no
       country = HAB 
       name = "Ñèãèçìóíä ïîëíîñòüþ èçìåíÿåò ñâî¸ ðåøåíèå îòíîñèòåëüíî Áàâàðèè"
       desc = "Îêàçûâàÿñü ïåðåä ñèëüíîé àïïîçèöèåé, èìïåðàòîð Ñèãèçìóíä âåðíóëñÿ ê îáñóæäåíèþ ýòîãî âîïðîñà è â 1429 ãîäó ðàçäåëèë âëàñòü â Áàâàðèè ìåæäó Ãàáñáóðãàìè è Âèòòåëüñáàõàìè."
       style = 1  
       
      action_a = {
               name = "Ïðèíÿòü ìóäðîå ðåøåíèå èìïåðàòîðà"
               command = { type = removecore which = 348 }
command = { type = removecore which = 350 }
               command = { type = removecore which = 1931 }
               command = { type = relation which = BAY value = 50 }
               command = { type = relation which = HUN value = -50 }
                 }
      action_b = {
               name = "Áîðîòüñÿ çà Øòðîáèíã"
               command = { type = relation which = BAY value = -50 }
               command = { type = relation which = HUN value = -50 }
                }
}
#Austria is victorious
event = {
       id = 179021
       trigger = { NOT = { event = 125022 #BAY: Austria is defeated
                           event = 255004 #PFA: Austria is defeated
                           event = 263000 #PRU: Austria is defeated 
                         }
                   event = 3207
                   atwar = no 
                 }
       random = no
       country = HAB
       name = "Àâñòðèÿ çàõâàòûâàåò Øòðîáèíã"
       desc = "Íåñìîòðÿ íà ñîïðîòèâëåíèå Ïðóññèè, Àâñòðèÿ ñóìåëà çàíÿòü è çàõâàòûâàòü Øòðîáèíã, òàêèì îáðàçîì ðàñøèðÿ ñâîè âëàäåíèÿ â Þæíîé Ãåðìàíèè."
       style = 4
       
       date = { day = 1 month = january year = 1780 }
       offset = 0
       deathdate = { day = 31 month = december year = 1783 }   
       
       action_a = {
                name = "Ìû ïîáåäèëè"
                command = { type = treasury value = 50 }
                command = { type = vp value = 30 } 
                command = { type = addcore which = 350 }
                command = { type = trigger which = 125023 } #BAY: Straubing ceded to Austria
                command = { type = trigger which = 255005 } #PFA: Straubing ceded to Austria
                  }
}

#Move to Innsbruck (all options)
event  = {
       id = 179113
       trigger = {
               owned = { province = 351 data = -1 } #Austria
               owned = { province = 327 data = -1 } #Ostmarch
               owned = { province = 371 data = -1 } #Tirol
               owned = { province = 369 data = -1 } #Styria        
                 }
       random = no
       country = HAB 
       name = "Ìåñòî æèòåëüñòâà Ìàêñèìèëèàíà" 
       desc = "Óíàñëåäîâàâ Òèðîëü îò áåçäåòíîãî Ñèãèçìóíäà, Ìàêñèìèëèàí ëþáèë ýòó çåìëþ è ãîðîä Èíñáðóê. Îí íàçûâàë îäåæäó 'êðåñòüÿíèíîì, êîòîðûé äåðæèò åãî â òåïëå'. Ãîðû, êðàñèâàÿ ïðèðîäà, âñåãäà âëåêëè åãî â Òèðîëü, ãäå îí ëþáèë îõîòèòñÿ è ïðîãóëèâàòñÿ ïî ãîðíûì àëüïèéñêèì òðîïèíêàì. Èíñáðóê ñòàë öåíòðîì åãî èìïåðèè è åãî íîâûõ àäìèíèñòðàòèâíûõ ó÷ðåæäåíèé, îí òàê æå áûë ïðåâðàù¸í â öåíòð èñêóññòâ ñ æèâîïèñè. Òàì ðàáîòàëè òàêèå âåëèêèå ìàñòåðà ñâîåãî äåëà, êàê: Æèâîïèñåö Àëüáðåõò, Äèðåð, Øòåôàí Ãîëä, Ïèòåð Ôèøåð, è Ïèòåð Ëèôëåð, àðõèòåêòîð è ñêóëüïòîð Íèêîëàñ Òþðèíã. Òîðãîâëÿ ìåæäó Èòàëèåé è Ãåðìàíèåé ïðîõîäèëà ÷åðåç Èíñáðóê, êîòîðûé áûë ýêîíîìè÷åñêèì öåíðîì Àâñòðèè è Þæíîé Ãåðìàíèè âî âðåìÿ ïðàâëåíèÿ Ìàêñèìèëèàíà. Òàê æå â Òèðîëå äîáûâàëè æåëåçî è íà íîâûõ ëèòåéíûõ çàâîäàõ ïðîèçâîäèëè âûñîêîêà÷åñòâåííîå îðóæèå."
       style = 1
       
       date = { day = 20 month = august year = 1493 }
       offset = 0
       
       action_a = {
                name = "Ïðîæèâàòü â Èíñáðóêå "         
                command = { type = capital which = 371 }
                command = { type = gainmanufactory which = 371 value = weapons }
                command = { type = provincetax which = 371 value = 1 }
                command = { type = treasury value = -200 }
                  }
       action_b = {
                name = "Ïðîæèâàòü â Âåíå"
                command = { type = capital which = 351 }
                command = { type = provincetax which = 351 value = 2 }
                command = { type = stability value = 1 }
                  }
       action_c = {
                name = "Ïðîæèâàòü â Ëèíçå"
                command = { type = capital which = 327 }
                command = { type = provincetax which = 327 value = 1 }
                command = { type = stability value = 3 }
                  }
       action_d = {
                name = "Ïðîæèâàòü â Ãð¸çå "
                command = { type = capital which = 369 }
                command = { type = provincetax which = 369 value = 1 }
                command = { type = provincetax which = 1932 value = 1 }
                  }
}

#Move to Innsbruck (without Graz)
event  = {
       id = 179114
       trigger = {
               owned = { province = 351 data = -1 } #Austria
               owned = { province = 327 data = -1 } #Ostmarch
               owned = { province = 371 data = -1 } #Tirol
               NOT = { owned = { province = 369 data = -1 } } #Styria        
                 }
       random = no
       country = HAB 
       name = "Ìåñòî æèòåëüñòâà Ìàêñèìèëèàíà" 
       desc = "Óíàñëåäîâàâ Òèðîëü îò áåçäåòíîãî Ñèãèçìóíäà, Ìàêñèìèëèàí ëþáèë ýòó çåìëþ è ãîðîä Èíñáðóê. Îí íàçûâàë îäåæäó 'êðåñòüÿíèíîì, êîòîðûé äåðæèò åãî â òåïëå'. Ãîðû, êðàñèâàÿ ïðèðîäà, âñåãäà âëåêëè åãî â Òèðîëü, ãäå îí ëþáèë îõîòèòñÿ è ïðîãóëèâàòñÿ ïî ãîðíûì àëüïèéñêèì òðîïèíêàì. Èíñáðóê ñòàë öåíòðîì åãî èìïåðèè è åãî íîâûõ àäìèíèñòðàòèâíûõ ó÷ðåæäåíèé, îí òàê æå áûë ïðåâðàù¸í â öåíòð èñêóññòâ ñ æèâîïèñè. Òàì ðàáîòàëè òàêèå âåëèêèå ìàñòåðà ñâîåãî äåëà, êàê: Æèâîïèñåö Àëüáðåõò, Äèðåð, Øòåôàí Ãîëä, Ïèòåð Ôèøåð, è Ïèòåð Ëèôëåð, àðõèòåêòîð è ñêóëüïòîð Íèêîëàñ Òþðèíã. Òîðãîâëÿ ìåæäó Èòàëèåé è Ãåðìàíèåé ïðîõîäèëà ÷åðåç Èíñáðóê, êîòîðûé áûë ýêîíîìè÷åñêèì öåíðîì Àâñòðèè è Þæíîé Ãåðìàíèè âî âðåìÿ ïðàâëåíèÿ Ìàêñèìèëèàíà. Òàê æå â Òèðîëå äîáûâàëè æåëåçî è íà íîâûõ ëèòåéíûõ çàâîäàõ ïðîèçâîäèëè âûñîêîêà÷åñòâåííîå îðóæèå."
       style = 1
       
       date = { day = 20 month = august year = 1493 }
       offset = 0
       
       action_a = {
                name = "Ïðîæèâàòü â Èíñáðóêå"         
                command = { type = capital which = 371 }
                command = { type = gainmanufactory which = 371 value = weapons }
                command = { type = provincetax which = 371 value = 1 }
                command = { type = treasury value = -200 }
                  }
       action_b = {
                name = "Ïðîæèâàòü â Âåíå"
                command = { type = capital which = 351 }
                command = { type = provincetax which = 351 value = 2 }
                command = { type = stability value = 1 }
                  }
       action_c = {
                name = "Ïðîæèâàòü â Ëèíçå"
                command = { type = capital which = 327 }
                command = { type = provincetax which = 327 value = 1 }
                command = { type = stability value = 3 }
                  }
}
#Move to Innsbruck (without Linz)
event  = {
       id = 179115
       trigger = {
               owned = { province = 351 data = -1 } #Austria
               NOT = { owned = { province = 327 data = -1 }} #Ostmarch
               owned = { province = 371 data = -1 } #Tirol
               owned = { province = 369 data = -1 } #Styria        
                 }
       random = no
       country = HAB 
       name = "Ìåñòî æèòåëüñòâà Ìàêñèìèëèàíà" 
       desc = "Óíàñëåäîâàâ Òèðîëü îò áåçäåòíîãî Ñèãèçìóíäà, Ìàêñèìèëèàí ëþáèë ýòó çåìëþ è ãîðîä Èíñáðóê. Îí íàçûâàë îäåæäó 'êðåñòüÿíèíîì, êîòîðûé äåðæèò åãî â òåïëå'. Ãîðû, êðàñèâàÿ ïðèðîäà, âñåãäà âëåêëè åãî â Òèðîëü, ãäå îí ëþáèë îõîòèòñÿ è ïðîãóëèâàòñÿ ïî ãîðíûì àëüïèéñêèì òðîïèíêàì. Èíñáðóê ñòàë öåíòðîì åãî èìïåðèè è åãî íîâûõ àäìèíèñòðàòèâíûõ ó÷ðåæäåíèé, îí òàê æå áûë ïðåâðàù¸í â öåíòð èñêóññòâ ñ æèâîïèñè. Òàì ðàáîòàëè òàêèå âåëèêèå ìàñòåðà ñâîåãî äåëà, êàê: Æèâîïèñåö Àëüáðåõò, Äèðåð, Øòåôàí Ãîëä, Ïèòåð Ôèøåð, è Ïèòåð Ëèôëåð, àðõèòåêòîð è ñêóëüïòîð Íèêîëàñ Òþðèíã. Òîðãîâëÿ ìåæäó Èòàëèåé è Ãåðìàíèåé ïðîõîäèëà ÷åðåç Èíñáðóê, êîòîðûé áûë ýêîíîìè÷åñêèì öåíðîì Àâñòðèè è Þæíîé Ãåðìàíèè âî âðåìÿ ïðàâëåíèÿ Ìàêñèìèëèàíà. Òàê æå â Òèðîëå äîáûâàëè æåëåçî è íà íîâûõ ëèòåéíûõ çàâîäàõ ïðîèçâîäèëè âûñîêîêà÷åñòâåííîå îðóæèå."
       style = 1
       
       date = { day = 20 month = august year = 1493 }
       offset = 0
       
       action_a = {
                name = "Ïðîæèâàòü â Èíñáðóêå"         
                command = { type = capital which = 371 }
                command = { type = gainmanufactory which = 371 value = weapons }
                command = { type = provincetax which = 371 value = 1 }
                command = { type = treasury value = -200 }
                  }
       action_b = {
                name = "Ïðîæèâàòü â Âåíå"
                command = { type = capital which = 351 }
                command = { type = provincetax which = 351 value = 2 }
                command = { type = stability value = 1 }
                  }
       action_c = {
                name = "Ïðîæèâàòü â Ãð¸çå"
                command = { type = capital which = 369 }
                command = { type = provincetax which = 369 value = 1 }
                command = { type = provincetax which = 1932 value = 1 }
                  }
}
#Move to Innsbruck (without Vienna)
event  = {
       id = 179116
       trigger = {
               NOT = { owned = { province = 351 data = -1 }} #Austria
               owned = { province = 1403 data = -1 } #Ostmarch
               owned = { province = 371 data = -1 } #Tirol
               owned = { province = 369 data = -1 } #Styria        
                 }
       random = no
       country = HAB 
       name = "Ìåñòî æèòåëüñòâà Ìàêñèìèëèàíà" 
       desc = "Óíàñëåäîâàâ Òèðîëü îò áåçäåòíîãî Ñèãèçìóíäà, Ìàêñèìèëèàí ëþáèë ýòó çåìëþ è ãîðîä Èíñáðóê. Îí íàçûâàë îäåæäó 'êðåñòüÿíèíîì, êîòîðûé äåðæèò åãî â òåïëå'. Ãîðû, êðàñèâàÿ ïðèðîäà, âñåãäà âëåêëè åãî â Òèðîëü, ãäå îí ëþáèë îõîòèòñÿ è ïðîãóëèâàòñÿ ïî ãîðíûì àëüïèéñêèì òðîïèíêàì. Èíñáðóê ñòàë öåíòðîì åãî èìïåðèè è åãî íîâûõ àäìèíèñòðàòèâíûõ ó÷ðåæäåíèé, îí òàê æå áûë ïðåâðàù¸í â öåíòð èñêóññòâ ñ æèâîïèñè. Òàì ðàáîòàëè òàêèå âåëèêèå ìàñòåðà ñâîåãî äåëà, êàê: Æèâîïèñåö Àëüáðåõò, Äèðåð, Øòåôàí Ãîëä, Ïèòåð Ôèøåð, è Ïèòåð Ëèôëåð, àðõèòåêòîð è ñêóëüïòîð Íèêîëàñ Òþðèíã. Òîðãîâëÿ ìåæäó Èòàëèåé è Ãåðìàíèåé ïðîõîäèëà ÷åðåç Èíñáðóê, êîòîðûé áûë ýêîíîìè÷åñêèì öåíðîì Àâñòðèè è Þæíîé Ãåðìàíèè âî âðåìÿ ïðàâëåíèÿ Ìàêñèìèëèàíà. Òàê æå â Òèðîëå äîáûâàëè æåëåçî è íà íîâûõ ëèòåéíûõ çàâîäàõ ïðîèçâîäèëè âûñîêîêà÷åñòâåííîå îðóæèå."
       style = 1
       
       date = { day = 20 month = august year = 1493 }
       offset = 0
       
       action_a = {
                name = "Ïðîæèâàòü â Èíñáðóêå"         
                command = { type = capital which = 371 }
                command = { type = gainmanufactory which = 371 value = weapons }
                command = { type = provincetax which = 371 value = 1 }
                command = { type = treasury value = -200 }
                  }
       action_b = {
                name = "Ïðîæèâàòü â Ëèíöå"
                command = { type = capital which = 1403 }
                command = { type = provincetax which = 1403 value = 1 }
                command = { type = stability value = 3 }
                  }
       action_c = {
                name = "Ïðîæèâàòü â Ãð¸çå"
                command = { type = capital which = 369 }
                command = { type = provincetax which = 369 value = 1 }
                command = { type = provincetax which = 1932 value = 1 }
                  }
}
#Maximilian's residence (without Innsbruck)
event  = {
       id = 179117
       trigger = {
               owned = { province = 351 data = -1 } #Austria
               owned = { province = 1403 data = -1 } #Ostmarch
               NOT = { owned = { province = 371 data = -1 }} #Tirol
               owned = { province = 369 data = -1 } #Styria        
                 }
       random = no
       country = HAB 
       name = "Ìåñòî æèòåëüñòâà Ìàêñèìèëèàíà" 
       desc = "Êîãäà Ìàêñèìèëèàí âñòóïèë íà òðîí, êàê íîâûé èìïåðàòîð è ýðöãåðöîã Àâñòðèè, Ìàêñèìèëèàí äîëæåí áûë ðåøèòü, êàêîé ãîðîä äîëæåí ñòàòü ïîëèòè÷åñêèì, ýêîíîìè÷åñêèì è êóëüòóðíûì öåíòðîì èìïåðèè."
       style = 1
       
       date = { day = 20 month = august year = 1493 }
       offset = 0
       
       action_a = {
                name = "Ïðîæèâàòü â Âåíå"
                command = { type = capital which = 351 }
                command = { type = provincetax which = 351 value = 2 }
                command = { type = stability value = 1 }
                  }
       action_b = {
                name = "Ïðîæèâàòü â Ëèíçå"
                command = { type = capital which = 1403 }
                command = { type = provincetax which = 1403 value = 1 }
                command = { type = stability value = 3 }
                  }
       action_c = {
                name = "Ïðîæèâàòü â Ãð¸çå"
                command = { type = capital which = 369 }
               command = { type = provincetax which = 369 value = 1 }
                command = { type = provincetax which = 1932 value = 1 }
                  }
}

#########################
#Confiscation of Cleves
event = {
      id = 179202
      random = no 
      country = HAB 
      name = "Êîíôèñêàöèè â Êëåâåñå"
      desc = "EVENTHIST179202"
      style = 3

      action_a = {
               name = "Îòëè÷íî"
               command = { type = addcore which = 343 }
                command = { type = addcore which = 1404 }
               command = { type = inherit which = KLE }
               command = { type = relation which = BRA value = -100 }
               command = { type = relation which = SAC value = -50 }
                  }
	}

#Italian Leaders abandon Austria 
event = {

	id = 179035 #seems available from list
	trigger = {
		OR = { #one of Italy, Modena/Ferrara and Tuscany must exist
			exists = ITA
			exists = PAR
			exists = TOS
			}			
		NOT = { emperor = yes } #if they are emperor they get the leaders
		NOT = { countrysize = 6 } #if they have 6 provinces they get the leaders
		NOT = {#cannot own Vienna plus two other cores
			AND = { 
				owned = { province = 351 data = -1 }#Austria
				OR = {
					AND = {
						owned = { province = 371 data = -1 }#Tyrol
						owned = { province = 327 data = -1 }#Ostmarch
						 }
					AND = {
						owned = { province = 371 data = -1 }#Tyrol
						owned = { province = 350 data = -1 }#Salzburg
						 }
					AND = {
						owned = { province = 371 data = -1 }#Tyrol
						owned = { province = 369 data = -1 }#Steiermark
						 }
					AND = {
						owned = { province = 327 data = -1 }#Ostmarch
						owned = { province = 350 data = -1 }#Salzburg
						 }
					AND = {
						owned = { province = 327 data = -1 }#Ostmarch
						owned = { province = 369 data = -1 }#Steiermark
						 }
					AND = {
						owned = { province = 350 data = -1 }#Salzburg
						owned = { province = 369 data = -1 }#Steiermark
						 }
					}
				}
			}
		}
	random = no
	country = HAB
	name = "Èòàëüÿíñêèå ëèäåðû îñòàâëÿþò Àâñòðèþ"
	desc = "Ñ îòêàçîì Àâñòðèè ñòàíîâèòñÿ ãëàâíûì èãðîêîì íà åâðîïåéñêîé ñöåíå, îíà áîëüøå íå ïðèâëåêàòåëüíà äëÿ èíîñòðàííûõ âîåííîñëóæàùèõ, íåêîòîðûå èòàëüÿíñêèå ãåíåðàëû áîëüøå íå äîñòóïíû."
	style = 1

	date = { day = 7 month =  march year = 1600 }
	deathdate = { day = 17 month =  november year = 1620 }
	offset = 953


	action_a ={
		name = "Î íåò!"	
		command = { type = sleepleader which = 09360 } # Montecuccoli
		command = { type = sleepleader which = 09359 } # Piccolimini
		command = { type = wakeleader which = 19683 } # Montecuccoli (PAR)
	}
}

#The Hussite Wars
event = {
         id = 179600
         trigger = { event = 129001 } #BOH: Death of Vaclav IV
         random = no
         country = HAB
         name = "Ãóñèòñêèå âîéíû" 
         desc = "Óíè÷òîæèì åðåòèêîâ!"
         style = 1
         
         date = { day = 17 month = august year = 1419 }        
         offset = 1
         
         action_a = {
                      name = "Ok"
                      command = { type = casusbelli which = SIL value = 120 }
                        }
}

#Catholicism restored in Bohemia
event = {
      id = 179601
      trigger = { 
              OR = { religion = reformed
                     religion = protestant }
                  NOT = { exists = SIL }
                }
      random = no
      country = HAB
      name = "Ãóñèòñêàÿ åðåñü ïîäàâëåíà"
      desc = "Íàêîíåö òî êîðîëåâñòâî Áîãåìèÿ îáðàòíî âåðíóëîñü â ëîíî êàòîëè÷åñêîé öåðêâè. Êàê ñëåäñòâèå, íåìåöêèå ïðèíöû, êîòîðûå áûëè âûíóæäåíû îòâåðíóòñÿ îò öåðêâè âî âðåìÿ ãóññèòñêèõ âîéí, òåïåðü ìîãóò áëàãîïîëó÷íî âåðíóòñÿ ê ðèìñêîé öåðêâè, Ïàïà Ðèìñêèé îáåùàåò áûòü ñíèñõîäèòåëüíûì è ïðîñòèò íåâåðóþùèõ."
      style = 1
      
      date = { day = 17 month = august year = 1419 }
      offset = 0
      deathdate = { day = 31 month = december year = 1499 }

      action_a = {
               name = "Âîññòàíîâèòü êàòîëèöèçì"
               command = { type = religion which = catholic }
               command = { type = stability value = 3 }
                 }
}




#Kingdom of Italy vassalage (Francesco IV - 13296) by YodaMaster 
event = {
	id = 193021
 	trigger = {
		NOT = { vassal = { country = ITA country = HAB } }
		}
	random = no
	country = HAB
	name = "Ôðàí÷åñêî IV-êîðîëü Èòàëèè"
	desc = "â 1806, âëàñòü ïåðåäàâàåìàÿ ïî ìóæñêîé ëèíèè â Èòàëèè îáîðâàëàñü, äî÷ü ïîñëåäíåãî êîðîëÿ Èòàëèè áûëà æåíàòà íà ñûíå Ôðàíöà I àâñòðèéñêîãî. Êîðîëåâñòâî Èòàëèÿ òåïåðü ïðî÷íî ïðèâÿçàíî ê Àâñòðèéñêîé Èìïåðèè."
	style = 4
	action_a ={
		name = "ACTIONNAME3373A"
		command = { type = vassal  which = ITA }
		command = { type = alliance   which = ITA }
		}
}

#Kingdom of Italy vassalage (Francesco II - 13258) by YodaMaster 
event = {
	id = 193040
	trigger = {
		NOT = { vassal = { country = ITA country = HAB } }
		}
	random = no
	country = HAB
	name = "Ôðàí÷åñêî II-êîðîëü Èòàëèè"
	desc = "Â 1737, ãåðöîã Ôðåíñèñ ëîòàðèíãñêèé îñòàâèë ñâî¸ ãåðöîãñòâî è ñòàë êîðîë¸ì Èòàëèè. Åãî æåíà, Ìàðèÿ Òåðåçà, ñòàëà íàñëåäíèöåé Àâñòðèè è âñåõ ïîä÷èí¸ííûõ åé îáëàñòåé."
	style = 4
	action_a ={
		name = "ACTIONNAME3373A"
		command = { type = vassal  which = ITA }
		command = { type = alliance   which = ITA }
		}
}

#The Restoration of the French Monarchy#
event = {

	id = 3209
	trigger = {
		monarch = 04018#Napoleon#
		control = {
			province = 385
			data = -1
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3209"
	desc = "EVENTHIST3209"
	style = 5

	date = { day = 1 month = january year = 1809 }
	offset = 10
	deathdate = { day = 1 month = january year = 1821 }

	action_a ={				#The Bourbons are reinstalled#
		name = "ACTIONNAME3209A"
		command = { type = vp value = 500 }
		command = { type = treasury value = 500 }
		command = { type = relation which = FRA value = 200 }
		command = { type = stability value = 3 }
		command = { type = trigger which = 3787 }
	}
}

#
# eep rus
#

# Austria vassalizes Switzerland # 
event = { 
	id = 20304 #triggered by 20303# 
	random = no 
	country = HAB 
	name = "EVENTNAME20304" 
	desc = "EVENTHIST20304"
	style = 1 
	action_a = { 
		name = "ACTIONNAME20304A" 
		command = { type = vassal which = HEL } 
		command = { type = DIP which = 2 value = 36 } 
		command = { type = vp value = 5 } 
		} 
}

# The Swabian war # 
event = { 
	id = 20305 #triggered by 20303# 
	random = no 
	country = HAB 
	name = "EVENTNAME20305" 
	desc = "EVENTHIST20305"
	style = 1 
	action_a = { #War# 
		name = "ACTIONNAME20305A" 
		command = { type = casusbelli which = HEL value = 24 } 
		} 
	action_b = { #Peace# 
		name = "ACTIONNAME20305B" 
		command = { type = relation which = HEL value = 20 } 
		} 
	action_c ={ #Independant HEL# 
		name = "ACTIONNAME20305C" 
		command = { type = relation which = HEL value = 100 } 
		command = { type = revoltrisk which = 24 value = 1 } 
		command = { type = domestic which = centralization value = -1 } 
command = { type = removecore   which = 1612 }
command = { type = removecore   which = 388 }
		} 
} 

#HAPSBURG EVENTS (Spain version)#
#Carlo of Nevers succeeds to the throne of Mantua#	#Nevers#
event = {

	id = 17333		#Triggered by 17327#
	random = no
	country = HAB
	name = "EVENTNAME17333"
	desc = "EVENTHIST17333"
	style = 3

	action_a ={				#Fight him#
		name = "ACTIONNAME17333A"
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = casusbelli which = MAN value = 36 }
		command = { type = relation which = MAN value = -100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = SAV value = 50 }
		command = { type = stability value = 2 }
	}

	action_b ={				#Accept it#
		name = "ACTIONNAME17333B"
		command = { type = relation which = MAN value = 100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = SAV value = -50 }
		command = { type = stability value = -2 }
	}
}

#Ferrante of Guastalla suceeds to the throne of Mantua#	##
event = {

	id = 17334		#Triggered by 17327#
	random = no
	country = HAB
	name = "EVENTNAME17334"
	desc = "EVENTHIST17334"
	style = 3

	action_a ={				#Accept it#
		name = "ACTIONNAME17333B"
		command = { type = relation which = MAN value = 100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = SAV value = -50 }
		command = { type = stability value = -1 }
	}

	action_b ={				#Accept it conditionally#
		name = "ACTIONNAME17333A"
		command = { type = casusbelli which = SPA value = 36 }
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = 1 }
	}
}

#HAPSBURG EVENTS (No-Spain version)#
#Carlo Duke of Nevers succeeds to the Mantuan throne#	
event = {

	id = 17337		#Triggered by 17328#
	random = no
	country = HAB
	name = "EVENTNAME17337"
	desc = "EVENTHIST17337"
	style = 3

	action_a ={				#No it ours#
		name = "ACTIONNAME17337A"
		command = { type = casusbelli which = FRA 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 = SAV value = 100 }
		command = { type = alliance which = SAV }
		command = { type = stability value = 1 }
	}

	action_b ={				#We have more pressing matters#
		name = "ACTIONNAME17337B"
		command = { type = relation which = MAN value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = SAV value = -50 }
		command = { type = stability value = -2 }
	}
}

#Duke of Guastalla succedes to the Mantuan throne#
event = {

	id = 17338		#Triggered by 17328#
	random = no
	country = HAB
	name = "EVENTNAME17338"
	desc = "EVENTHIST17338"
	style = 3

	action_a ={				#Splendid#
		name = "ACTIONNAME17338A"
		command = { type = vassal which = MAN }
		command = { type = alliance which = MAN }
		command = { type = relation which = MAN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = SAV value = -75 }
		command = { type = stability value = 1 }
	}
}

##############
### taken from eep-centra for the using the varian the Hussites Wars of AGCEEP 
#######################
#Austrian-Hungarian War#
event = {

	id = 92009
	trigger = { 
			war = { country = HUN country = HAB } 
			control = { province = 351 data = HUN } 
	} 
	random = no
	country = HUN
	name = "EVENTNAME92009"
	desc = "EVENTHIST92009"
	style = 1

	date = { day = 23 month = november year = 1457 }
	offset = 30
	deathdate = { day = 6 month = april year = 1490 }

	action_a = {
			name = "ACTIONNAME92009A"
			command = { type = addcore which = 351 }
                        command = { type = addcore which = 327 }
			command = { type = addcore which = 369 }
			command = { type = treasury value = 250 }
			command = { type = domestic which = quality value = 1 }
			command = { type = domestic which = centralization value = -1 }
			command = { type = trigger which = 92113 }
	} 
}

#Loss of Vienna#
event = {

	id = 92113
	random = no
	country = HAB
	name = "EVENTNAME92113"
	desc = "EVENTHIST92113"
	style = 1

	action_a = {
			name = "ACTIONNAME92113A"
			command = { type = treasury value = -250 }
			command = { type = capital which = 371 }
			command = { type = domestic which = centralization value = -2 }
			command = { type = provincetax which = 351 value = -2 }
			command = { type = provincemanpower which = 351 value = -2 }
			command = { type = population which = 351 value = -5000 }
			command = { type = stability value = -3 }
	} 
}

#Moved Capital#
event = {

	id = 92409
	trigger = {
			owned = { province = 351 data = HUN } 
			core = { province = 351 data = HUN }
	} 
	random = no
	country = HUN
	name = "EVENTNAME92409"
	desc = "EVENTHIST92409"
	style = 1

	date = { day = 23 month = july year = 1471 }
	offset = 30
	deathdate = { day = 6 month = april year = 1490 }
	
	action_a = {
			name = "ACTIONNAME92409A"
			command = { type = capital which = 351 }
			command = { type = treasury value = -150 }
			command = { type = fortress which = 351 value = 1 }
			command = { type = domestic which = centralization value = -1 }
			command = { type = stability value = -1 }
			command = { type = province_revoltrisk which = 351 value = 8 }
			command = { type = province_revoltrisk which = 369 value = 8 }
                        command = { type = province_revoltrisk which = 327 value = 8 }
	} 
	action_b = {
			name = "ACTIONNAME92409B"
			command = { type = domestic which = centralization value = 1 }
			command = { type = stability value = 1 }
			command = { type = province_revoltrisk which = 351 value = 8 }
			command = { type = province_revoltrisk which = 369 value = 8 }
                        command = { type = province_revoltrisk which = 327 value = 8 }
	} 
}

#Fleeing Austria#
event = {
	
	id = 92010
	trigger = {
			control = { province = 351 data = HAB } 
			owned = { province = 351 data = HUN } 
			core = { province = 351 data = HUN }
	} 
	random = no
	country = HUN
	name = "EVENTNAME92010"
	desc = "EVENTHIST92010"
	style = 1

	date = { day = 1 month = january year = 1477 }
	offset = 30
	deathdate = { day = 20 month = august year = 1519 }

	action_a = {
			name = "ACTIONNAME92010A"
			command = { type = capital which = 325 }
			command = { type = treasury value = -100 }
			command = { type = removecore which = 351 }
			command = { type = removecore which = 369 }
                        command = { type = removecore which = 327 }
			command = { type = stability value = -2 }
	} 
}

#Back to Vienna#
event = {

	id = 92114
	trigger = {
			owned = { province = 351 data = HAB } 
			event = 92113 
	} 
	random = no
	country = HAB
	name = "EVENTNAME92114"
	desc = "EVENTHIST92114"
	style = 1

	date = { day = 1 month = january year = 1477 }
	offset = 30
	deathdate = { day = 20 month = august year = 1519 }
	
	action_a = {
			name = "ACTIONNAME92010A"
			command = { type = capital which = 351 }
			command = { type = treasury value = -150 }
			command = { type = domestic which = centralization value = 1 }
			command = { type = provincetax which = 351 value = 2 }
			command = { type = provincemanpower which = 351 value = 2 }
			command = { type = population which = 351 value = 5000 }
			command = { type = infra value = 500 }
			command = { type = stability value = 1 }
	} 
}

#Reconciliation with Germans#
event = {

	id = 92011
	trigger = { 
			owned = { province = 351 data = HUN } 
			core = { province = 351 data = HUN }
			event = 92009
			NOT = { 
					event = 92010 
				}
			atwar = no
			stability = 1
	} 
	random = no
	country = HUN
	name = "EVENTNAME92011"
	desc = "EVENTHIST92011"
	style = 2

	date = { day = 1 month = january year = 1520 }
	offset = 50
	deathdate = { day = 29 month = august year = 1526 }

	action_a = {
			name = "ACTIONNAME92000A"
			command = { type = capital which = 351 }
			command = { type = province_revoltrisk which = 351 value = -8 }
			command = { type = province_revoltrisk which = 369 value = -8 }
                        command = { type = province_revoltrisk which = 327 value = -8 }
			command = { type = treasury value = -600 }
			command = { type = domestic which = centralization value = -3 }
	} 
}

#
# AGCEEP_(Husites)_HAB
#
#

#Albrecht becomes King of Bohemia (1437)
event = {  #triggered by BOH129003
      id = 179201
      trigger = { event = 129003 }
      random = no
      country = HAB
      name = "Êîðîíà ñâÿòîãî Âàöëàâà"
      desc = "Ïîñëå ñìåðòè áåçäåòíîãî èìïåðàòîðà Ëþêñåìáóðãà, Àëüáðåõò Ãàáñáóðãñêèé èìåë áîëüøîé óñïåõ â Áîãåìå. Êîðîíû Ñâÿùåííîé Ðèìñêîé Èìïåðèè Ñâ.Ñòåôàíà è Ñâ.Âàöëàâà áûëè ïåðåâåçåíû èç Ëþêñåìáóðãà â Ãàáñáóðã, êîòîðûå íåäîëãîå âðåìÿ íàõîäèëèñü â Áîãåìèè è Âåíãðèè, ýòî è ñòàëî íà÷àëîì áûñòðîãî ïîäúåìà äèíàñòèè Ãàáñáóð è äîñòèãëè îíè ïèêà êîãäà õîçÿèíîì èìïåðèè áûë ×àðëüç V."
      style = 1
 
      date = { day = 9 month = december year = 1437 }
      offset = 0
      deathdate = { day = 27 month = october year = 1439 }

      action_a = {
               name = "Îòëè÷íî"
               command = { type = vassal which = BOH }
               command = { type = alliance which = BOH }
               command = { type = dynastic which = BOH }
               command = { type = relation which = BOH value = 300 }
                  }
}


#Albrecht elected King of Hungary (1437)
event = {  #triggered by HUN18800
      id = 179100
      random = no
      country = HAB
      name = "Êîðîíà ñâÿòîãî Ñòåôàíà"
      desc = "Ñèãèçìóíä Ëþêñåìáóðãñêèé, êîðîëü Ãåðìàíèè, Âåíãðèè è Áîãåìèè óìåðëè íå îñòàâèâ ïîñëå ñåáÿ íàñëåäíèêîâ. Ñòîÿ ïåðåä òàêîé ïðîáëåìîé, Ñèãèçìóíä âûáðàë ñâîåãî ñòàðîãî äðóãà Àëüáðåõòà Àâñòðèéñêîãî, êîòîðûé âî âðåìÿ âîéíû ñ Ãóññèòàìè äîêàçàë, ÷òî îí ñèëüíûé âîèí, â êà÷åñòâå ïðèåìíèêà è ïðàâèòåëÿ âñåìè òðåìÿ êîðîëåâñòâàìè è æåíèë åãî íà ñâîåé åäèíñòâåííîé äî÷åðè Ýëèçàáåò. Ïîñëåäíèå ãîäû åãî öàðñòâîâàíèÿ ãëàâíûì îáðàçîì áûëè ïîñâÿùåíû îáåñïå÷åíèþ íàñëåäñòâåííîãî ïîðÿäêà, îðãàí çàêîíîäàòåëüíîé âëàñòè Âåíãðèè óáåäèë, ÷òî ëó÷øåé çàùèòîé ñòðàíû îò òóðêîâ áóäåò Ãàáñáóðã. Ñëåäóÿ æåëàíèþ Ñèãèçìóíäà, è âûáèðàÿ ëó÷øåå äëÿ ãîñóäàðñòâà, êîðîëåì Âåíãðèè âûáðàëè Àëüáðåõòà è êîðîíîâàëè 1 ÿíâàðÿ 1438 â Øòóëüâàéçåíáóðãå. Ïîñëå òîãî, êàê îí óíàñëåäîâàë Áîãåìèþ è êîðîíó Ñâÿùåííîé Ðèìñêîé Èìïåðèè, îí áûë íåñïîñîáåí ñêîíöåíòðèðîâàòü âñå ñâîè óñèëèÿ íà ïðàâëåíèè Âåíãðèåé. Îí âåðèë, ÷òî Ïàðëàìåíò íå ñìîæåò ïðàâèòü áåç íåãî è ïîýòîìó çà êîðîòêèé ïåðèîä öàðñòâîâàíèÿ îí îáåñïå÷èë èì ïðèâèëåãèè."
      style = 1

      action_a = {
               name = "Îòëè÷íî"
               command = { type = vassal which = HUN }
               command = { type = alliance which = HUN }
               command = { type = dynastic which = HUN }
               command = { type = relation which = HUN value = 300 }
                  }
}

########################################
#Succession of Albrecht (1440)
event = {
      id = 179101 #triggered by HUN188090A, Wladislaw chosen
      random = no
      country = HAB 
      name = "Êîðîëåâñêèé êîíôëèêò"
      desc = "EVENTHIST188101"
     style = 1
     
     action_a = {
              name = "Çàùèòèòü òðåáîâàíèÿ Ëàäèñëàâà íà âåíãåðñêèé òðîí"
              command = { type = casusbelli which = HUN value = 48 }
              command = { type = relation which = HUN value = -200 }
              command = { type = relation which = POL value = -150 }
                command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 366 }
                command = { type = addcore which = 1952 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1007 }
command = { type = breakvassal which = HUN }
                command = { type = breakdynastic which = HUN }
              command = { type = setflag which = support_Ladislaus }
               command = { type = stability value = 3 }
                }
     action_b = {
              name = "Ïðèíÿòü Âëàäèñëàâà Ïîëüñêîãî, êàê áóäóùåãî êîðîëÿ"
              command = { type = relation which = POL value = 100 }
              command = { type = vp value = -25 }
                }
}
#Coronation of Ladislaus Postumus (1440)
#Hungary choose Ladislaus from start, no civil war
event = {
      id = 179102 #triggered by HUN188090B
      random = no
      country = HAB 
      name = "Êîðîíàöèÿ Ëàäèñëàâà Ïîñòóìà"
      desc = "EVENTHIST179102" 
       style = 1
        
       action_a = {
                name = "Âåíãðèÿ íàøà!"
                command = { type = vassal which = HUN }
                command = { type = dynastic which = HUN }
                command = { type = alliance which = HUN }
                command = { type = relation which = HUN value = 300 }
                  }
}
#Coronation of Ladislaus Postumus II
#Austria supported him during the war against Wladislaw, and the war is won.
event = {
	id = 179103 
	trigger = { 
        	flag = support_Ladislaus
		event = 188092 #HUN: Loyalist victory (if Hungary took Nationalist side)
		}
      	random = no
      	country = HAB 
      	name = "Êîðîíàöèÿ Ëàäèñëàâà Ïîñòóìà"
      	desc = "Áîëüøàÿ ÷àñòü Âåíãðèè áûëà çàõâà÷åí Ãàáñáóðãàìè è èõ âåíãåðñêèìè ñòîðîííèêàìè. Ïîääåðæêà êîðîëÿ Óëàñëî è ßíà Õóíüÿäè îñëàáëà, Âëàäèñëàâ Ïîñòóì â áîëüøèíñòâå ñëó÷àåâ ïîäòâåðæäàë êàê çàêîííûé êîðîëü. Îí áûë ñíîâà êîðîíîâàí â Ñòóëüâåñåíáóðãå, ïî÷òè ñ åäèíîãëàñíîé ïîääåðæêîé. ×óòü òîëüêî îí äîñòèãíåò ñîâåðøåííîëåòèÿ, îí áóäåò ïðàâèòü Âåíãðèåé." 
       	style = 1
	date =  { day = 9 month = march year = 1440 }
        
       	action_a = {
                name = "Óïðàâëÿòü Âåíãðèåé â ëè÷íîé óíèè ñ Àâñòðèåé"
                command = { type = vassal which = HUN }
                command = { type = dynastic which = HUN }
                command = { type = alliance which = HUN }
                command = { type = relation which = HUN value = 300 }
                command = { type = vp value = 100 }
                command = { type = secedeprovince which = HUN value = 326 } #Carpathia
	        command = { type = secedeprovince which = HUN value = 352 } #Ruthenia
	        command = { type = secedeprovince which = HUN value = 353 } #Transylvania
	        command = { type = secedeprovince which = HUN value = 324 } #Maros 
	        command = { type = secedeprovince which = HUN value = 325 } #Magyar
	        command = { type = secedeprovince which = HUN value = 1950 } #Presburg
	        command = { type = secedeprovince which = HUN value = 326 } #Odenburg
	        command = { type = secedeprovince which = HUN value = 316 } #Pest
	        command = { type = secedeprovince which = HUN value = 317 } #Banat 
                command = { type = secedeprovince which = HUN value = 354 } #Croatia
                command = { type = secedeprovince which = HUN value = 366 } #Krain
                command = { type = secedeprovince which = HUN value = 1952 }
          command = { type = secedeprovince which = HUN value = 1402 }
   command = { type = secedeprovince which = HUN value = 1999 }
   command = { type = secedeprovince which = HUN value = 1007 }
          command = { type = removecore which = 1007 }
          command = { type = removecore which = 1999 }
                command = { type = removecore which = 1402 }
                command = { type = removecore which = 326 }
		command = { type = removecore which = 352 }
		command = { type = removecore which = 353 }
		command = { type = removecore which = 325 }
		command = { type = removecore which = 324 }
		command = { type = removecore which = 1950 }
		command = { type = removecore which = 326 }
		command = { type = removecore which = 316 }
		command = { type = removecore which = 317 }
		command = { type = removecore which = 354 }
		command = { type = removecore which = 367 }
                command = { type = removecore which = 366 }
                command = { type = removecore which = 1952 }
                command = { type = badboy value = -5 }
                  }
      	action_b = {
               name = "Ïîïûòàòüñÿ îáúåäèíèòü Àâñòðèþ è Âåíãðèþ"
               command = { type = inherit which = HUN }
               command = { type = stability value = -2 }
               command = { type = badboy value = 3 }

		command = { type = revolt which = 1402 }
command = { type = revolt which = 1402 }
command = { type = revolt which = 1402 }
               command = { type = revolt which = 326 }
		command = { type = revolt which = 352 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 325 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 1950 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 316 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 354 }
		command = { type = revolt which = 367 }
                command = { type = revolt which = 366 }
                command = { type = revolt which = 1952 }
                 command = { type = revolt which = 326 }
		command = { type = revolt which = 352 }
		command = { type = revolt which = 353 }
		command = { type = revolt which = 325 }
		command = { type = revolt which = 324 }
		command = { type = revolt which = 1950 }
		command = { type = revolt which = 326 }
		command = { type = revolt which = 316 }
		command = { type = revolt which = 317 }
		command = { type = revolt which = 354 }
		command = { type = revolt which = 367 }
                command = { type = revolt which = 366 }
                command = { type = revolt which = 1952 } 
  command = { type = revolt which = 1999 }
                command = { type = revolt which = 1999 } 
                }
}  
#Death of Elizabeth
#A setback in the civil war for the supporters of Ladislaus Postumus
event = {
      id = 179104
      trigger = { 
		flag = support_Ladislaus
         	NOT = { event = 179103 } #Coronation of Ladislaus Postumus II
		OR = { 
		       	event = 188093 #HUN: Nationalist victory
		       	event = 188094 #HUN: Nationalist victory
			event = 188095 #HUN: Nationalist victory, by death of Elizabeth
		     }
                NOT = { war = { country = HUN country = HAB }} #War needs to be over, otherwise there could be weird consequences
                }
      random = no 
      country = HAB 
      name = "Ñìåðòü Ýëèçàáåò Ëþêñåìáóðãñêîé"
      desc = "EVENTHIST179104"
      style = 1
      
      date = { day = 13 month = december year = 1443 }
      
      action_a = {
               name = "Ó íàñ ïðåòåíçèé ê Âåíãðèè"
                  command = { type = secedeprovince which = HUN value = 326 } #Carpathia
	        command = { type = secedeprovince which = HUN value = 352 } #Ruthenia
	        command = { type = secedeprovince which = HUN value = 353 } #Transylvania
	        command = { type = secedeprovince which = HUN value = 324 } #Maros 
	        command = { type = secedeprovince which = HUN value = 325 } #Magyar
	        command = { type = secedeprovince which = HUN value = 1950 } #Presburg
	        command = { type = secedeprovince which = HUN value = 326 } #Odenburg
	        command = { type = secedeprovince which = HUN value = 316 } #Pest
	        command = { type = secedeprovince which = HUN value = 317 } #Banat 
                command = { type = secedeprovince which = HUN value = 354 } #Croatia
                command = { type = secedeprovince which = HUN value = 366 } #Krain
                command = { type = secedeprovince which = HUN value = 1952 }
           command = { type = secedeprovince which = HUN value = 1402 }
             command = { type = secedeprovince which = HUN value = 1999 }
 command = { type = secedeprovince which = HUN value = 1007 }
          command = { type = removecore which = 1007 }
          command = { type = removecore which = 1999 }
                command = { type = removecore which = 1402 }
                command = { type = removecore which = 326 }
		command = { type = removecore which = 352 }
		command = { type = removecore which = 353 }
		command = { type = removecore which = 325 }
		command = { type = removecore which = 324 }
		command = { type = removecore which = 1950 }
		command = { type = removecore which = 326 }
		command = { type = removecore which = 316 }
		command = { type = removecore which = 317 }
		command = { type = removecore which = 354 }
		command = { type = removecore which = 367 }
                command = { type = removecore which = 366 }
                command = { type = removecore which = 1952 }
               command = { type = relation which = PAP value = 50 } #Hapsburgs give up their claim to allow for a crusade
               command = { type = relation which = HUN value = 50 }
		command = { type = clrflag which = support_Ladislaus }	 
                }
     action_b = {
              name = "Ïîäåðæàòü Ëàäèñëàâà"
              command = { type = stability value = -2 }
              command = { type = badboy value = 2 } #Hapsburgs are preventing a crusade against the Ottomans
              command = { type = relation which = PAP value = -100 }
                }
}
########################################

#Ladislaus Postumus inherits the Bohemian throne
event = {
      id = 179106
      random = no 
      country = HAB
      name = "Ëàäèñëàâ Ïîñòóì"
      desc = "Â 1439 ãîäó êîðîëü Âåíãðèè Àëüáðåõò òÿæåëî çàáîëåë õîëåðîé, âî âðåìÿ ïðîâåäåíèÿ îïåðàöèè ñ Îòòîìàí. ×åðåç ìåñÿö îí óìåð, îñòàâèâ äâå ìàëåíüêèõ äî÷åðè è áåðåìåííóþ æåíó Ýëèçàáåò. Íà òîò ñëó÷àé åñëè ðîäèòñÿ ìàëü÷èê, Àëüáðåõò ïðîâîçãëàñèë åãî ñâîèì íàñëåäíèêîì."
      style = 1
       
      action_a = {
               name = "Óïðàâëÿòü Áîãåìèåé â ëè÷íîé óíèè ñ Àâñòðèåé"
               command = { type = vp value = 50 }
               command = { type = vassal which = BOH }
               command = { type = dynastic which = BOH }
               command = { type = alliance which = BOH }
               command = { type = relation which = BOH value = 300 }
                }
      action_b = { 
               name = "Ïîïûòàòüñÿ îáúåäèíèòü Àâñòðèþ è Áîãåìèþ"
               command = { type = inherit which = BOH }
               command = { type = badboy value = 4 }
               command = { type = revolt which = 328 }
command = { type = revolt which = 1987 }
command = { type = revolt which = 1987 }
command = { type = revolt which = 1987 }
               command = { type = revolt which = 329 }
               command = { type = revolt which = 330 }
               command = { type = revolt which = 1943 }
                 command = { type = revolt which = 328 }
               command = { type = revolt which = 329 }
               command = { type = revolt which = 330 }
               command = { type = revolt which = 1943 }
               command = { type = addcore which = 328 }
               command = { type = addcore which = 329 }
               command = { type = addcore which = 330 }
               command = { type = addcore which = 314 }
               command = { type = addcore which = 315 }
command = { type = addcore which = 992 }
               command = { type = addcore which = 1940 }
               command = { type = addcore which = 1943 }
 command = { type = addcore which = 1987 }
command = { type = addcore which = 992 }
                              command = { type = stability value = -3 } 
                 }
}
#Inheritance of Bohemia (after the extinction of the Podiebrad or Rozmberg dynasties)
event = {
      id = 179107
      random = no
      country = HAB
      name = "Íàñëåäîâàíèå Áîãåìèè"
      desc = "Ñ èñ÷åçíîâåíèåì íàöèîíàëüíîé äèíàñòèè, ðóêîâîäÿùàÿ Áîãåìèåé, ñîþç ìåæäó Àâñòðèåé è Áîãåìèåé, êîòîðûé áûë äîëãî öåëüþ Ãàáñáóðãà, â êîíöå êîíöîâ áûë äîñòèãíóò."
      style = 1
      
      action_a = {
               name = "Îòëè÷íî"
               command = { type = inherit which = BOH }
               command = { type = addcore which = 314 }
	       command = { type = addcore which = 315 }
command = { type = addcore which = 992 }
	       command = { type = addcore which = 328 }
	       command = { type = addcore which = 329 }
	       command = { type = addcore which = 330 }
               command = { type = addcore which = 1940 }
               command = { type = addcore which = 1943 }
               command = { type = addcore which = 1987 }
               command = { type = add_countryculture which = czech }
               command = { type = provinceculture which = 327 value = german }
                 }
}
#Inheritance of Bohemia (after the Death of Ulrich of Rosenberg)
event = {
      id = 179108
      random = no
      country = HAB
      name = "Íàñëåäîâàíèå Áîãåìèè"
      desc = "Êîãäà Âëàäèñëàâ Ïîñòóì óìåð â 1457 ãîäó, Óëüðèõ Ðîöìáåðã, ëèäåð àâñòðèéñêîé è êàòîëè÷åñêîé ôðàêöèè Áîãåìñêîé çíàòè, êîòîðàÿ ïîääåðæèâàëà êàòîëèöèçì è áûëà â ïîñòîÿííîì ñîþçå ñ Àâñòðèåé, ñ÷èòàëñÿ ñàìûì ìîãóùåñòâåííûì ÷åëîâåêîì â Áîãåìèè ïîñëå ïîáåäû â ãðàæäàíñêîé âîéíå 1446 -1453 ãã. Îí èñïîëüçîâàë âîçìîæíîñòü îñóùåñòâèòü ñâîè àìáèöèè è ñòàë êîðîëåì Áîãåìèè. Îäíàêî, ïîñëå åãî ñìåðòè â 1462 ãîäó îñòàâøèåñÿ êàòîëèêè íå æåëàëè  ïîâûøàòü Ðîçìáåðãîâ íà áîëåå âûñîêîå ïîëîæåíèå ïî ñðàâíåíèþ ñ äðóãèìè ìíîãî÷èñëåííûìè  áîãåìñêèìè äèíàñòèÿìè è áîÿëèñü ïîâòîðíîãî ïîÿâëåíèÿ Ãóñèòñêèõ îïïîíåíòîâ; îíè âñòóïèëè â òåñíûé ñîþç ñ Àâñòðèåé."
      style = 1
      
      action_a = {
		name = "Ïðèíÿòü ñîþç"
               command = { type = addcore which = 314 }
	       command = { type = addcore which = 315 }
command = { type = addcore which = 992 }
	       command = { type = addcore which = 328 }
	       command = { type = addcore which = 329 }
	       command = { type = addcore which = 330 }
               command = { type = addcore which = 1940 }
               command = { type = addcore which = 1943 }
               command = { type = addcore which = 1987 }

               command = { type = inherit which = BOH }
               command = { type = add_countryculture which = czech }
               command = { type = domestic which = centralization value = -1 }
               command = { type = domestic which = aristocracy value = 1 }
               command = { type = domestic which = innovative value = -1 }
               command = { type = provinceculture which = 327 value = german }
                 }
}
#Treaty with Mathias Corvinus
event = {
      id = 179109
      random = no
      country = HAB
      name = "Ïðåäëîæåíèå Êîðâèíà"
      desc = "Ïðåäëîæèâ òðîí íåêîòîðîé íåäîâîëüíîé çíàòè, â 1459 ãîäó Ôðèäðèõ 3 áûë èçáðàí êîðîëåì âåíãðèè âìåñòå ñ êîðîíîé ñâÿòîãî Ñòåôàíà, êîòîðàÿ áûëà  åãî ñîáñòâåííîñòüþ ñ 1440 ãîäà. Êîãäà Ìàòüÿø Êîðâèí, êîðîëü Âåíãðèè, ñìîã ïîäàâèòü âîññòàâøóþ çíàòü è îáåñïå÷èë ñâîþ äèïëîìàòè÷åñêîå ïîëîæåíèå, äîñòèãíóâ ñîãëàøåíèé ñ Èðæè Ïîäåáðàòîì Áîãåìñêèì è êîðûñòíûì ßíîì Âèòîâåêîì, êîòîðûé çàõâàòèë áûâøèå çåìëè Ñèëëåçèè è îí ñîáèðàëñÿ óãðîæàòü Àâñòðèè, Ôðèäðèõ áûñòðî ïðèíÿë äîãîâîð, â êîòîðîì ìû îòêàçûâàòüñÿ îò åãî ïðåòåíçèè íà Âåíãðèþ, íî ñîõðàíèòü òèòóë êîðîëÿ Âåíãðèè, ñîõðàíèòü íåñêîëüêî ãðàíè÷àùèõ ðàéîíîâ, âêëþ÷àÿ ãîðîäà Ãàíç è Àèçåíøòàäò, îñòàâèâ ãîðîä Ñîïðîí, ïîëó÷èâ âûêóï â 60000 äóêàò çà êîðîíó ñâÿòîãî Ñòåôàíà è íàçíà÷åííûé íàñëåäíèêîì Ìàòèàñà  â ñëó÷àå áåçäåòíîé ñìåðòè."
      style = 1
      
      action_a = {
               name = "Ïðèíÿòü ïðåäëîæåíèå"
               command = { type = treasury value = 100 }
               command = { type = addcore which = 1402 } #Odenburg
               command = { type = vp value = 30 }
               command = { type = trigger which = 188112 } #HUN: Friedrich accepts
                 } 
      action_b = {
               name = "Íàäàâèòü íà Âåíãðèþ"
command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 1952 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 354 }
		command = { type = addcore which = 323 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
               command = { type = stability value = -2 }
               command = { type = badboy value = 2 }
               command = { type = war which = HUN }
                 }
}

#Inheritance of Hungary after the death of Mathias Corvinus, ahistorical option
event = {
      id = 179111
      random = no
      country = HAB
      name = "Íàñëåäîâàíèå Âåíãðèè"
      desc = "Ìàòüÿø Êîðâèí Âåãåðñêèé óìåð â 1490 ãîäó, íå óñïåâ îòñòîÿòü ïðåñòîë äëÿ ñâîåãî çàêîííîãî ñûíà. Âåíãåðñêàÿ çíàòü, ïî ãîðëî ñûòàÿ âëàñòüþ è âûñîêèìè íàëîãàìè Êîðâèíà, áûñòðî ëèøèëè ßíîøà åãî ïðèâèëåãèé è íà÷àëè èñêàòü çàðóáåæíîãî êàíäèäàòà íà ïðåñòîë, íà êîòîðîãî ìîæíî ëåãêî âëèÿòü, è êîòîðûé áóäåò ìàðèîíåòêîé â ðóêàõ ìîíàðõèè. Ñìîòðÿ íà òî, êàê åãî çàñòàâëÿþò óñòóïèòü çåìëè è ãîðîäà Áóðãóíäèè, îíè ðåøèëè, ÷òî îíè íàøëè ïðàâèòåëÿ â ëèöå Ìàêñèìèëüÿíà Àâñòðèéñêîãî è èçáðàëè åãî êîðîëåì Âåíãðèè."
      style = 1
      
      action_a = {
               name = "ß äîêàæó èõ íåïðàâîòó"
command = { type = addcore which = 1402 }
             command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 1952 }
		command = { type = addcore which = 366 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 354 }
		command = { type = addcore which = 323 }
command = { type = addcore which = 1402 }
command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
               command = { type = inherit which = HUN }
               command = { type = add_countryculture which = magyar }
                }
}
#Civil war in Hungary
event = {
      id = 179112
      random = no
      country = HAB
      name = "Ãðàæäàíñêàÿ âîéíà â Âåíãðèè"
      desc = "Ïîñëå âíåçàïíîé ñìåðòè Ìàòüÿøà Êîðâèíà, â Âåíãðèè âñïûõíóë ñèëüíûé êîíôëèêò çà íàñëåäñòâåííîå ïðàâî. Ïîñëå åãî ïîñëåäíåãî æåëàíèÿ, áûë êîðîíîâàí åãî çàêîííûé ñûí ßíîø, îäíàêî ñóùåñòâîâàëî ñåùåñòâåííîå ïðîòèâîäåéñòâèå ñðåäè áàðîíîâ, êîòîðûå ñîäåðæàëèñü ñèëüíîé êîðîëåâñêîé âëàñòüþ è âûñîêèìè íàëîãàìè. Îíè ðåøèëè  âîññòàòü ïðîòèâ íîâîãî êîðîëÿ äëÿ òîãî, ÷òîáû çàùèòèòü ñâîè èíòåðåñû. Òåì âðåìåíåì, Ôðèäðèõ III  âñå åùå íîñèë îðäåí êîðîëÿ âåíãðèè è îí è åãî ñûí Ìàêñèìèëèàí ñ÷èòàëèñü êàê  ïðàâîïðååìíèê òðîíà. Âîñïîëüçîâàâøèñü ïðåèìóùåñòâîì êîíôëèêòà, ïðåäúÿâèòü òðåáîâàíèÿ è çàõâàòèòü Âåíãðèþ."
      style = 1

      action_a = {
               name = "Òðåáîâàòü âåíãåðñêèé òðîí"
command = { type = addcore which = 1402 }
                command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 324 }
		command = { type = addcore which = 1950 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 367 }
                command = { type = addcore which = 366 }
                command = { type = addcore which = 1952 }
 command = { type = addcore which = 1999 }
command = { type = addcore which = 1007 }
               command = { type = relation which = HUN value = -200 }
                 }
}

#The Bohemian throne
event = { #triggered by ROM event 398013
      id = 179602
      random = no 
      country = HAB
      name = "Áîãåìñêèé òðîí"
      desc = "Îñîçíàâ, ÷òî îíè íå äîñòàòî÷íî ñèëüíû äëÿ òîãî, ÷òîáû ïðîòèâîñòîÿòü åðåòè÷åñêèì ãóññèòàì â îäèíî÷êó è ïðèçíàâ çàêîííîñòü ïðåñòîëà Áîãåìèè, êàòîëèêè Áîãåìèè îáúÿâèëè Ôðèäðèõà íàñëåäíèêîì ïðåñòîëà, êàê ïðååìíèêà Ëàäèñëàâà Ïîñòóìà, êîðîíà Áîãåìèè ïðèíàäëåæàëà äèíàñòèè Ãàáñáóðãîâ è ïåðåõîäèëà èç ïîêîëåíèÿ â ïîêîëåíèå. Òåïåðü íàøåé ãëàâíîé çàäà÷åé ÿâëÿåòñÿ ïîäàâëåíèå âîññòàíèÿ Ãóññèòîâ, è ñîçäàíèå ñâîèõ çàêîíîâ äëÿ Áîãåìèè."
      style = 1 

      action_a = {
               name = "Îòëè÷íî"
               command = { type = addcore which = 314 } #Silesia
               command = { type = addcore which = 315 } #Moravia
command = { type = addcore which = 992 }
               command = { type = addcore which = 328 } #Bohemia
               command = { type = addcore which = 329 } #Erz
               command = { type = addcore which = 330 } #Sudeten
               command = { type = addcore which = 1940 }
               command = { type = addcore which = 1943 }
               command = { type = addcore which = 1987 }
               command = { type = inherit which = ROM }
               command = { type = relation which = SIL value = -400 }
command = { type = provinceculture which = 327 value = german }
                }
}

#Inheritance of Bohemia
event = { #triggered by BOH 129003
      id = 179603
      random = no
      country = HAB 
      name = "Íàñëåäîâàíèå Áîãåìèè"
      desc = "Áîãåìèÿ îôèöèàëüíî ïðèñòàâèëà èìïåðàòîðà Ôðèäðèõà III çàêîííûì íàñëåäíèêîì óìåðøåãî Ëàäèñëàâà Ïîñòóìà è åãî îòöà Àëüáðåõòà Ãàáñáóðãñêîãî ê òðîíó."
      style = 1
      
      action_a = {
               name = "Áîãåìèÿ ïðèíàäëåæèò Àâñòðèè"
               command = { type = addcore which = 314 } #Silesia
               command = { type = addcore which = 315 } #Moravia
command = { type = addcore which = 992 }
               command = { type = addcore which = 328 } #Bohemia
               command = { type = addcore which = 329 } #Erz
               command = { type = addcore which = 330 } #Sudeten
               command = { type = addcore which = 1940 }
               command = { type = addcore which = 1943 }
               command = { type = addcore which = 1987 }
               command = { type = inherit which = BOH }
               command = { type = add_countryculture which = czech }
               command = { type = provinceculture which = 327 value = german }
                }
}

#####Austria Flavor Events######
#By Henrik 'Doomdark' Fåhraeus#
###############################

#Ludwig van Beethoven#
event = {
	id = 5190
	random = no
	country = HAB
	name = "EVENTNAME5190"
	desc = "EVENTHIST5190"
	style = 4
	date = { day = 1 month = january year = 1790 }

	action_a ={				#Ok#
		name = "ACTIONNAME5190A"
		command = { type = stability value = 1 }
		command = { type = infra value = 100 }
	}
}
#Wolfgang Amadeus Mozart#
event = {
	id = 5191
	random = no
	country = HAB
	name = "EVENTNAME5191"
	desc = "EVENTHIST5191"
	style = 4
	date = { day = 1 month = january year = 1784 }

	action_a ={				#Ok#
		name = "ACTIONNAME5191A"
		command = { type = stability value = 1 }
		command = { type = infra value = 100 }
	}
}


# Ids free to 5219