##########################################################################################################
#													 #
#													 #
#													 #
#													 #
#													 #
#					Napoleonic Events                                                #
#													 #
#													 #
#													 #
#													 #
#													 #
##########################################################################################################

#IDS ARE NOT WORKING
#EVENTS ARE NOT BEING USED
#COMMANDS THAT TRIGGER OTHER EVENTS NEED A REVISION
#TREATIES THAT SHOULD CREATE A PEACE BETWEEN NATIONS ARE NOT WORKING
#SOME EVENTS DESCRIPTION NEED TO BE TRANSFERED TO TEXT.CSV BECAUSE THEY ARE TOO BIG

##########################################################################################################
#													 #
#					      For Holland                                                #
#													 #
##########################################################################################################

#The Dutch Patriot Revolt#
event = {

	id = 3515
	random = no
	country = HOL
	name = "The Dutch Patriot Revolt"
	desc = "The Patriots were a political faction in the Dutch Republic in the second half of the 18th century. They struggled for the removal of stadtholder William V, Prince of Orange. Discontented with the hereditary system of allocating posts, the decline of Dutch East India Company Asian trade, unemployment in the textile industry, the course of the Fourth Anglo-Dutch War and desiring more democracy, the middle and upper classes looked towards the United States and its Declaration of Independence and the Dutch Act of Abjuration and began to reclaim their rights, going as far as staging a revolt against the authoritarian regime of stadtholder William V in 1787, revolt which was eventually struck down through the intervention of William's brother-in-law Frederick William II of Prussia in June of the same year."
	style = 4

	date = { day = 1 month = january year = 1787 }
	offset = 30
	deathdate = { day = 1 month = january year = 1789 }

	action_a ={
		name = "Crush the Revolt"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1  }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = FRA value = -150 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revoltrisk which = 36 value = 10 }
		command = { type = stability value = -3 }
	}

	action_b ={
		name = "Try to reach a compromise"
		command = { type = treasury value = -1000 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = FRA value = 50 }
		command = { type = revoltrisk which = 36 value = 5 }
		command = { type = stability value = -1 }
	}
}

#The Nootka Crisis - Spanish Refusal
event = {

	id = 88429
	random = no
	country = HOL
	name = "The Nootka Crisis"
	desc = "The Nootka Crisis was an international incident and political dispute between the Kingdom of Great Britain and the Kingdom of Spain, triggered by a series of events that took place during the summer of 1789 at Nootka Sound. Nootka Sound is a network of inlets on the west coast of Vancouver Island, in the Pacific Northwest region of North America, now part of the Canadian province of British Columbia. The crisis revolved around larger issues about sovereignty claims and rights of navigation and trade. Between 1774 and 1789 Spain sent several expeditions to the Pacific Northwest to reassert its long-held navigation and territorial claims to the area. Some years later, several British fur trading vessels entered the area which Spain had laid claim to. A complex series of events led to these British vessels being seized by the Spanish Navy at Nootka Sound. When the news reached Europe, Britain requested compensation and the Spanish government refused. The Dutch Republic provided naval support to the British during the Nootka Crisis, a result of a shift in Dutch alliance from France to Britain. Shall we honour our alliance with Britain and declare war on Spain?"
	style = 2

	action_a ={
		name = "Declare War!"
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = SPA value = -100 }
		command = { type = stability value = 1 }
		command = { type = war which = SPA }
	}

	action_b ={
		name = "Do nothing"
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = SPA value = 50 }
		command = { type = vp value = -100 }
      		command = { type = trigger which = 88530 } #ENG: The Nootka Crisis
	}
}


#The Batavian Republic
event = {
	id = 88712
	trigger = {
		owned = { province = 339 data = HOL }
	        control = { province = 339 data = FRA }
	}
	random = no
	country = HOL
	name = "The Batavian Republic"
	desc = "The First Coalition proceeded disastrously for the Stadtholder's forces, and in the severe winter of 1794/95 a French army under general Charles Pichegru, with a Dutch contingent under general Herman Willem Daendels, crossed the great frozen rivers that traditionally protected the Netherlands from invasion. Aided by the fact that a substantial proportion of the Dutch population looked favorably upon the French incursion, and often considered it a liberation, the French were quickly able to break the resistance of the forces of the Stadtholder, and his Austrian and British allies. After acrimonious negotiations between the representatives of the new Batavian Republic, a name that refers to the Germanic tribe of the Batavians that in Dutch nationalistic lore represented both its ancestry and its ancient quest for liberty, and those of the French Republic, a harsh Treaty of The Hague was concluded on May 16, 1795. This changed the new republic from an Anglo-Prussian to a French client state."
	style = 3

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

	action_a = {
		name = "Vrijdooooooom!"
                command = { type = flagname which = "" }
		command = { type = stability value = 3 }
		command = { type = relation which = PRU value = -300 }
		command = { type = relation which = ENG value = -300 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = FRA value = 150 }
      		command = { type = trigger which = 88530 } #FRA: Treaty of the Hague
	}
}

#The Kingdom of Holland
event = {
	id = 88712
	trigger = {
		vassal = {
			country = FRA
			country = HOL
		}
	}
	random = no
	country = HOL
	name = "The Kingdom of Holland"
	desc = "In 1806 Napoleon restyled the Netherlands (along with a small part of what is now Germany) into the Kingdom of Holland, with his brother Louis (Lodewijk) Bonaparte (1778–1846), on the throne. The new king was unpopular, but he was willing to cross his brother for the benefit of his new kingdom. He would later be forced to abdicate by Napoleon, who would annex the kingdom into the French Empire making the Netherlands, in effect, an integral part of France itself."
	style = 3

	date = { day = 6 month = june year = 1806 }
	offset = 10
	deathdate = { day = 1 month = january year = 1810 }

	action_a = {
		name = ""
                command = { type = flagname which = "" }
		command = { type = stability value = 1 }
		command = { type = relation which = FRA value = 50 }
		command = { type = dynastic which = FRA }
	}
}

#The United Kingdom of the Netherlands
event = {

	id = 88566
	trigger = { ai = no }
	random = no
	country = HOL
	name = "The United Kingdom of the Netherlands"
	desc = EVENTHIST88566
	style = 4
	
	date = { day = 3 month = december year = 1813 }
	offset = 30
	deathdate = { day = 7 month = october year = 1840 }

	action_a ={
		name = "Long Live the King!"
		command = { type = breakvassal  which = FRA }
		command = { type = wakeleader which = 100069 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = stability value = 2 }
          }

	action_b ={
		name = "We shall remain loyal to Napoleon!"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = stability value = -1 }
          }
}


##########################################################################################################
#													 #
#					For United States                                                #
#													 #
##########################################################################################################

#The War of 1812
event = {

	id = 88429
	random = no
	country = USA
	name = "The War of 1812"
	desc = "The War of 1812, a war between the United States and the British Empire (particularly Great Britain and British North America), and Britain's Indian allies, lasted from 1812 to 1815. It was fought chiefly on the Atlantic Ocean and on the land, coasts and waterways of North America. There were several immediate stated causes for the U.S. declaration of war: First, a series of trade restrictions introduced by Britain to impede American trade with France, a country with which Britain was at war (the U.S. contested these restrictions as illegal under international law); second, the impressment (forced recruitment) of U.S. seamen into the Royal Navy; third, the British military support for American Indians who were offering armed resistance to the expansion of the American frontier to the Northwest; fourth, a possible desire on the part of the United States to annex Canada. An implicit but powerful motivation for the Americans was the desire to uphold national honor in the face of what they considered to be British insults (such as the Chesapeake affair)."
	style = 2

	date = { day = 1 month = july year = 1812 }
	offset = 30
	deathdate = { day = 1 month = january year = 1812 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 3 }
		command = { type = war which = ENG }
		command = { type = relation which = ENG value = -100 }
		command = { type = revoltrisk which = 36 value = -5 }
	}

	action_b ={
		name = "Do nothing"
		command = { type = revoltrisk which = 72 value = 5 }
		command = { type = relation which = ENG value = 50 }
		command = { type = vp value = -100 }
		command = { type = stability value = -1 }
	}
}

#The Jay Treaty#
event = {

	id = 3152
	random = no
	country = USA
	name = "The Jay Treaty"
	desc = "The Jay Treaty was a treaty between the United States of America and the Kingdom of Great Britain that is credited with averting war, resolving issues remaining since the Treaty of Paris of 1783, which ended the American Revolution, and facilitating ten years of peaceful trade between the United States and Britain in the midst of the French Revolutionary Wars, which began in 1792. Amongst many clauses, Britain agreed withdrew from Michilimackinac and the Michigan region in 1796 and gained the status of most favored trading nation."
	style = 2

	action_a ={
		name = "Peace in our time!"
		command = { type = relation which = ENG value = 50 }
		}
}

#The Jay Treaty - British Refusal
event = {

	id = 88429
	trigger = {
		event = 3733 #ENG: The Jay Treaty
		exists = ENG
		owned = { province = 93 data = ENG }    #Mascouten
		owned = { province = 81 data = ENG }    #Potawatomi
	}
	random = no
	country = USA
	name = "The Jay Treaty"
	desc = "By 1796 the British were still occupying forts on U.S. territory in the Great Lakes region, they were continually impressing American sailors into British service and the fact that American merchants were having their ships confiscated from time to time together with other insults to the integrity of the United States, forced the Britain to sign the Jay Treaty by 1796 if they wanted to avoid another war. However, this time, England refuses to provide us with compensation. Shall we declare war?"
	style = 2

	date = { day = 19 month = november year = 1796 }
	offset = 30
	deathdate = { day = 29 month = february year = 1797 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 1 }
		command = { type = war which = ENG }
	}

	action_b ={
		name = "Do nothing"
		command = { type = relation which = ENG value = 50 }
		command = { type = vp value = -200 }
	}
}




##########################################################################################################
#													 #
#					      For England                                                #
#													 #
##########################################################################################################


#Convention of Artlenburg#
event = {

	id = 3152
	trigger = {
		owned = { province = 336 data = ENG }    #Bremen
		control = { province = 336 data = FRA }
		owned = { province = 1935 data = ENG }   #Lueneburg
		control = { province = 1935 data = FRA }
		owned = { province = 310 data = ENG }    #Hannover
		control = { province = 310 data = FRA }
	}
	random = no
	country = ENG
	name = "Convention of Artlenburg"
	desc = "The Convention of Artlenburg or Elbkonvention was the surrender of the Electorate of Hanover to Napoleon's army, signed at Artlenburg on 5 July 1803 by Oberbefehlshaber Johann Ludwig von Wallmoden-Gimborn. It disbanded the Electorate of Hanover and instigated its occupation by French troops."
	style = 2

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

	action_a ={
		name = "Nooooooooo!"
		command = { type = secedeprovince which = FRA value = 336 }
		command = { type = secedeprovince which = FRA value = 1935 }
		command = { type = secedeprovince which = FRA value = 310 }
		}
}

#The Jay Treaty
event = {

	id = 88429
	trigger = {
		exists = USA
		owned = { province = 93 data = ENG }    #Mascouten
		owned = { province = 81 data = ENG }    #Potawatomi
	}
	random = no
	country = ENG
	name = "The Jay Treaty"
	desc = "The Jay Treaty was a treaty between the United States of America and the Kingdom of Great Britain that is credited with averting war, resolving issues remaining since the Treaty of Paris of 1783, which ended the American Revolution, and facilitating ten years of peaceful trade between the United States and Britain in the midst of the French Revolutionary Wars, which began in 1792. Amongst many clauses, Britain agreed withdrew from Michilimackinac and the Michigan region in 1796 and gained the status of most favored trading nation."
	style = 2

	date = { day = 19 month = november year = 1794 }
	offset = 30
	deathdate = { day = 29 month = february year = 1796 }

	action_a ={
		name = "Sign it"
		command = { type = relation which = USA value = 50 }
		command = { type = secedeprovince which = USA value = 93 }
		command = { type = secedeprovince which = USA value = 81 }
		command = { type = trade value = 1000 }
		command = { type = treasury value = 250 }
      		command = { type = trigger which = 88530 } #USA: The Jay Treaty
		command = { type = sleepevent which = 3751 } #USA: The Jay Treaty - British Refusal
	}

	action_b ={
		name = "Do not sign it"
		command = { type = relation which = USA value = -50 }
		command = { type = vp value = 100 }
	}
}

#The Nootka Crisis
event = {

	id = 88429
	trigger = {
		exists = SPA
		owned = { province = 6 data = SPA }    #Quimault
		owned = { province = 5 data = SPA }    #Nootka
		owned = { province = 4 data = SPA }    #Salish
	}
	random = no
	country = ENG
	name = "The Nootka Crisis"
	desc = "The Nootka Crisis was an international incident and political dispute between the Kingdom of Great Britain and the Kingdom of Spain, triggered by a series of events that took place during the summer of 1789 at Nootka Sound. Nootka Sound is a network of inlets on the west coast of Vancouver Island, in the Pacific Northwest region of North America, now part of the Canadian province of British Columbia. The crisis revolved around larger issues about sovereignty claims and rights of navigation and trade. Between 1774 and 1789 Spain sent several expeditions to the Pacific Northwest to reassert its long-held navigation and territorial claims to the area. Some years later, several British fur trading vessels entered the area which Spain had laid claim to. A complex series of events led to these British vessels being seized by the Spanish Navy at Nootka Sound. When the news reached Europe, Britain requested compensation and the Spanish government refused. Both sides prepared for war and sought assistance from allies. The crisis was eventually resolved peacefully since France, Spain's ally, was facing imminent revolution. Spain agreed to share some rights to settle along the Pacific coast but kept its main Pacific claims. The outcome was considered a victory for mercantile interests of Britain and opened the way to certain British expansion in the Pacific. However, Spain continued to colonize and settle the Pacific coast, especially present-day California, until 1821."
	style = 2

	date = { day = 25 month = october year = 1790 }
	offset = 30
	deathdate = { day = 30 month = october year = 1790 }

	action_a ={
		name = "Demand immediate compensation"
		command = { type = relation which = SPA value = -50 }
      		command = { type = trigger which = 88530 } #SPA: The Nootka Crisis
	}

	action_b ={
		name = "We dare not complain"
		command = { type = relation which = SPA value = 50 }
		command = { type = cash value = -500 }
		command = { type = trade value = -2500 }
		command = { type = merchants value = -6 }
		command = { type = vp value = -200 }
	}
}

#The Nootka Crisis - Spanish Refusal
event = {

	id = 88429
	random = no
	country = ENG
	name = "The Nootka Crisis"
	desc = "The Nootka Crisis was an international incident and political dispute between the Kingdom of Great Britain and the Kingdom of Spain, triggered by a series of events that took place during the summer of 1789 at Nootka Sound. Nootka Sound is a network of inlets on the west coast of Vancouver Island, in the Pacific Northwest region of North America, now part of the Canadian province of British Columbia. The crisis revolved around larger issues about sovereignty claims and rights of navigation and trade. Between 1774 and 1789 Spain sent several expeditions to the Pacific Northwest to reassert its long-held navigation and territorial claims to the area. Some years later, several British fur trading vessels entered the area which Spain had laid claim to. A complex series of events led to these British vessels being seized by the Spanish Navy at Nootka Sound. When the news reached Europe, Britain requested compensation and the Spanish government refused. My lord, shall we declare war on Spain?"
	style = 2

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 1 }
		command = { type = war which = SPA }
      		command = { type = trigger which = 88530 } #HOL: The Nootka Crisis - Spanish Refusal
	}

	action_b ={
		name = "Do nothing"
		command = { type = relation which = SPA value = 50 }
		command = { type = vp value = -200 }
      		command = { type = trigger which = 88530 } #ENG: The Nootka Crisis
	}
}


##########################################################################################################
#													 #
#					      For Spain                                                  #
#													 #
##########################################################################################################

#The Nootka Crisis
event = {

	id = 88429
	random = no
	country = SPA
	name = "The Nootka Crisis"
	desc = "The Nootka Crisis was an international incident and political dispute between the Kingdom of Great Britain and the Kingdom of Spain, triggered by a series of events that took place during the summer of 1789 at Nootka Sound. Nootka Sound is a network of inlets on the west coast of Vancouver Island, in the Pacific Northwest region of North America, now part of the Canadian province of British Columbia. The crisis revolved around larger issues about sovereignty claims and rights of navigation and trade. Between 1774 and 1789 Spain sent several expeditions to the Pacific Northwest to reassert its long-held navigation and territorial claims to the area. Some years later, several British fur trading vessels entered the area which Spain had laid claim to. A complex series of events led to these British vessels being seized by the Spanish Navy at Nootka Sound. When the news reached Europe, Britain requested compensation and the Spanish government refused. Both sides prepared for war and sought assistance from allies. The crisis was eventually resolved peacefully since France, Spain's ally, was facing imminent revolution. Spain agreed to share some rights to settle along the Pacific coast but kept its main Pacific claims. The outcome was considered a victory for mercantile interests of Britain and opened the way to certain British expansion in the Pacific. However, Spain continued to colonize and settle the Pacific coast, especially present-day California, until 1821."
	style = 2

	action_a ={
		name = "Give in to British demands"
		command = { type = secedeprovince which = ENG value = 6 }
		command = { type = secedeprovince which = ENG value = 5 }
		command = { type = secedeprovince which = ENG value = 4 }
		command = { type = vp value = -50 }
	}

	action_b ={
		name = "Defy the British ultimatum"
		command = { type = relation which = ENG value = -100 }
		command = { type = vp value = 200 }
      		command = { type = trigger which = 88530 } #ENG: The Nootka Crisis - Spanish Refusal
	}
}

##########################################################################################################
#													 #
#					      For Poland                                                 #
#													 #
##########################################################################################################

#The Constitution of May 3#
event = {

	id = 3057
	random = no
	country = POL
	name = "The Constitution of May 3"
	desc = "The Constitution of May 3 of 1791 was drafted between October 6, 1788, and May 3, 1791, when it was adopted as a 'Government Act' by the Great Sejm of the Polish–Lithuanian Commonwealth. The constitution sought to supplant the prevailing anarchy, fostered by some of the country's magnates, with a more democratic constitutional monarchy. It introduced elements of political equality between townspeople and nobility and placed the peasants under the protection of the government, thus mitigating the worst abuses of serfdom. It banned pernicious parliamentary institutions such as the liberum veto, which had put the Sejm at the mercy of any single deputy who could choose, or be bribed by an interest or foreign power, to undo all the legislation that had been passed by that Sejm. The constitution's adoption was however met with hostile political and military responses from the Commonwealth's neighbors arguing that Poland had fallen prey to the radical Jacobinism then at high tide in France."
	style = 5

	date = { day = 2 month = may year = 1791 }
	offset = 1
	deathdate = { day = 5 month = may year = 1791 }

	action_a ={
		name = "Let us change this depressive situation"
		command = { type = technology which = latin }
		command = { type = land value = 5000 }
		command = { type = infra value = 10000 }
		command = { type = stability value = -1 }	
		command = { type = vp value = 500 }
		command = { type = domestic which = ARISTOCRACY value = -5 }
		command = { type = domestic which = CENTRALIZATION value = 5 }
		command = { type = domestic which = MERCANTILISM value = -3 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 3 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = provincetax which = 1946 value = 3 } #Warszawa
		command = { type = provincetax which = 299 value = 2 }  #Malopolska
		command = { type = provincetax which = 292 value = 2 }  #Lublin
		command = { type = provincetax which = 284 value = 2 }  #Wilna
		command = { type = provincetax which = 291 value = 2 }  #Mazowsze
		command = { type = provincetax which = 300 value = 2 }  #Kalisz
		command = { type = provincetax which = 303 value = 2 }  #Poznan
		command = { type = provincetax which = 288 value = 1 }  #Podlasie
		command = { type = provincetax which = 289 value = 1 }  #Samogitia
		command = { type = provincetax which = 283 value = 1 }  #Curonia
		command = { type = provincetax which = 287 value = 1 }  #Minsk
		command = { type = provincetax which = 879 value = 1 }  #Navahradak
		command = { type = provincetax which = 293 value = 1 }  #Luck
		command = { type = provincetax which = 294 value = 1 }  #Zhitomir
		command = { type = provincetax which = 297 value = 1 }  #Kamieniec
		command = { type = provincetax which = 295 value = 1 }  #Braclav
		command = { type = inflation value = -5 }
		command = { type = cash value = 500 }
	}

	action_b ={
		name = "We dare not anger our neighbours"
		command = { type = stability value = -3 }
		command = { type = vp value = -100 }
		command = { type = revoltrisk which = 72 value = 5 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = domestic which = SERFDOM value = 2 }		
		command = { type = sleepevent which = 3751 } #POL: The Targowica Confederation
	}
}

#The Targowica Confederation
event = {
	id = 88712
	random = no
	country = POL
	name = "The Targowica Confederation"
	desc = "The Targowica Confederation was a confederation established by Polish and Lithuanian magnates on 27 April 1792, in Saint Petersburg, with the backing of the Russian Empress Catherine II. With the aim of restoring the magnates' Golden Liberties and the overthrown of the May 3rd Constitution, Russian and confederate armies invaded the Polish-Lithuanian Commonwealth, eventually defeating the Poles and forcing the Second Partition of Poland in the process. Prussia eventually demanded territories as well if they were to continue supporting Russia against revolutionary France."
	style = 3

	date = { day = 25 month = april year = 1792 }
	offset = 1
	deathdate = { day = 30 month = april year = 1792 }

	action_a = {
		name = "Damn Targowiczanin!"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 24 value = 4 }
		command = { type = revolt which = 1946 }
		command = { type = revolt which = 1946 }
		command = { type = revolt which = 292 }
		command = { type = revolt which = 292 }
      		command = { type = trigger which = 88530 } #RUS: The Targowica Confederation
	}
}

#The Second Partition of Poland#
event = {

	id = 3152
	trigger = {
		owned = { province = 1946 data = POL }    #Warszawa
		control = { province = 1946 data = RUS }
		owned = { province = 294 data = POL }     #Zhitomir
		control = { province = 294 data = RUS }
		owned = { province = 297 data = POL }     #Kamieniec
		control = { province = 297 data = RUS }
		owned = { province = 295 data = POL }     #Braclav
		control = { province = 295 data = RUS }
		owned = { province = 287 data = POL }     #Minsk
		control = { province = 287 data = RUS }
	}
	random = no
	country = POL
	name = "The Second Partition of Poland"
	desc = EVENTHIST3534
	style = 2

	date = { day = 1 month = august year = 1790 }
	offset = 1
	deathdate = { day = 1 month = january year = 1821 }

	action_a ={
		name = "This wont go... unpunished"
		command = { type = secedeprovince which = RUS value = 294 }
		command = { type = secedeprovince which = RUS value = 297 }
		command = { type = secedeprovince which = RUS value = 295 }
		command = { type = secedeprovince which = RUS value = 287 }
		command = { type = secedeprovince which = PRU value = 303 }
      		command = { type = trigger which = 88530 } #PRU: The Second Partition of Poland
      		command = { type = trigger which = 88530 } #RUS: The Second Partition of Poland
		#THERE SHOULD BE PEACE BETWEEN POL AND RUS#
		}
}

#Kosciuszko proclamation#
event = {

	id = 3152
	trigger = {
		OR = {
			war = { country = POL country = RUS }
			event = 3733 #POL: The Second Partition of Poland
		}
	}
	random = no
	country = POL
	name = "Kosciuszko proclamation"
	desc = "Kosciuszko's proclamation refers to a speech given by Tadeusz Kosciuszko in Kraków on March 24, 1794. The speech is considered the starting point of the Kosciuszko's Uprising against the forces of Imperial Russia occupying Poland. Given dictatorial powers and command over the National Armed Force, Kosciuszko, a veteran of the American Revolutionary War, ultimately failed in his objectives of freeing Poland from Russian influence but not before causing a lot of troubles to Russia, Austria and Prussia, who had to tie up a good portion of their army in Poland instead of using it against Revolutionary France."
	style = 2

	date = { day = 1 month = march year = 1794 }
	offset = 1
	deathdate = { day = 30 month = march year = 1794 }

	action_a ={
		name = "We are not finished... yet!"
		command = { type = war which = RUS }
		command = { type = revoltrisk which = 36 value = -3 }
		command = { type = cash value = 500 }
		command = { type = provincemanpower which = 1496 value = 2 }
		command = { type = provincemanpower which = 292 value = 1 }
		command = { type = provincemanpower which = 284 value = 1 }
		command = { type = provincemanpower which = 299 value = 1 }
		command = { type = manpower value = 30 }
      		command = { type = trigger which = 88530 } #PRU: Kosciuszko Uprising
      		command = { type = trigger which = 88530 } #RUS: Kosciuszko Uprising
      		command = { type = trigger which = 88530 } #HAB: Kosciuszko Uprising
		command = { type = stability value = 6 }		
		}
}

#Polaniec Manifesto#
event = {

	id = 3152
	random = no
	country = POL
	name = "Polaniec Manifesto"
	desc = "The Polaniec Manifesto (also known as the Proclamation of Polaniec), issued on 7 May 1794 by Tadeusz Kosciuszko near the town of Polaniec, was one of the most notable events of Poland's Kosciuszko Uprising, and the most famous legal act of the Uprising. It partially abolished serfdom in Poland, granting substantial civil liberties to all the peasants. The motives behind the Polaniec Proclamation were twofold: first, Kosciuszko, a liberal and reformer, believed that serfdom was an unfair system and should be ended; second, the uprising was in desperate need of recruits, and freeing the peasants would prompt many to enlist. The new law itself actually never fully came into being and was boycotted by much of the nobility but it was so popular amongst the lower classes that the Polish army more than doubled in size."
	style = 2

	date = { day = 1 month = may year = 1794 }
	offset = 1
	deathdate = { day = 30 month = may year = 1794 }

	action_a ={
		name = "Freedom for everyone at long last!"
		command = { type = stability value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = manpower value = 100 }
		command = { type = gainbuilding which = 1496 value = barrack }	
		command = { type = gainbuilding which = 299 value = barrack }	
		command = { type = provincemanpower which = 1496 value = 1 }
		command = { type = provincemanpower which = 299 value = 1 }
		}
}

#The Third Partition of Poland#
event = {

	id = 3152
	trigger = {
		AND = {
			event = 3733 #POL: The Second Partition of Poland
			owned = { province = 1946 data = POL }    #Warszawa
			owned = { province = 299 data = POL }     #Malopolska
			owned = { province = 284 data = POL }     #Wilna
			owned = { province = 292 data = POL }     #Lublin
			owned = { province = 291 data = POL }     #Mazowsze
			owned = { province = 300 data = POL }     #Kalisz
			AND = {
				NOT = { 
					control = { province = 1946 data = POL } 
					control = { province = 299 data = POL } 
					control = { province = 284 data = POL } 
					control = { province = 292 data = POL } 
					control = { province = 291 data = POL } 
					control = { province = 300 data = POL } 		
				}
			}
		}
	}
	random = no
	country = POL
	name = "The Third Partition of Poland"
	desc = "Following the end of the Kosciuszko rebellion, Austria, Prussia, and Russia decided to put an end to the unrest by wiping Poland off of the map of Europe. On October 24, 1795, the representatives of the Russian Empire, the Austro-Hungarian Empire, and the Kingdom of Prussia assembled to write the treaty formally dissolving the Polish-Lithuanian Commonwealth and all of her institutions."
	style = 2

	date = { day = 1 month = august year = 1790 }
	offset = 1
	deathdate = { day = 1 month = january year = 1821 }

	action_a ={
		name = "Finis Poloniae!"
		command = { type = secedeprovince which = RUS value = 284 }
		command = { type = secedeprovince which = RUS value = 283 }
		command = { type = secedeprovince which = RUS value = 289 }
		command = { type = secedeprovince which = RUS value = 288 }
		command = { type = secedeprovince which = RUS value = 879 }
		command = { type = secedeprovince which = RUS value = 293 }
		command = { type = secedeprovince which = HAB value = 292 }
		command = { type = secedeprovince which = PRU value = 300 }
		command = { type = secedeprovince which = PRU value = 291 }
      		command = { type = trigger which = 88530 } #PRU: The Third Partition of Poland
      		command = { type = trigger which = 88530 } #RUS: The Third Partition of Poland
      		command = { type = trigger which = 88530 } #HAB: The Third Partition of Poland
		#THERE SHOULD BE PEACE BETWEEN POL AND RUS+HAB+PRU#
		}
}

##########################################################################################################
#													 #
#					      For Austria                                                #
#													 #
##########################################################################################################


#Declaration of Pillnitz
event = {
	id = 88712
	random = no
	country = HAB
	name = "Declaration of Pillnitz"
	desc = "The Declaration of Pillnitz was a statement issued on 27 August 1791 at Pillnitz Castle near Dresden (Saxony) by the Habsburg Holy Roman Emperor Leopold II and Frederick William II of Prussia. The declaration stated that Austria would go to war if and only if all the other major European powers also went to war with France and was intended to serve as a warning to the French revolutionaries not to infringe further on the king's prerogatives and to permit his resumption of power. The National Assembly of France interpreted the declaration to mean that Leopold was going to declare war; radical Frenchmen who called for war, such as Jacques Pierre Brissot, used it as a pretext to gain influence and declare war on 20 April 1792, leading to the formation of the first coalition against revolutionary France."
	style = 3

	date = { day = 27 month = august year = 1791 }
	offset = 0
	deathdate = { day = 30 month = august year = 1791 }

	action_a = {
		name = "This is merely a friendly warning, obviously!"
		command = { type = vp value = 50 }
		command = { type = relation which = FRA value = -25 }
		command = { type = relation which = PRU value = 25 }
		command = { type = stability value = 1 }
		command = { type = trigger which = 88530 } #FRA: Declaration of Pillnitz
		command = { type = trigger which = 88530 } #PRU: Declaration of Pillnitz
	}
}


#Kosciuszko Uprising#
event = {

	id = 3152
	random = no
	country = HAB
	name = "Kosciuszko Uprising"
	desc = "Outraged with the further humiliation of Poland by her neighbors and the betrayal of the Polish nobility and emboldened by the French Revolution unfolding in France, the Polish masses quickly turned against the occupying forces of Prussia and Russia. Following a series of nationwide riots, on March 24, 1794, Polish patriot Tadeusz Kosciuszko took command of the Polish armed forces and declared a nationwide uprising against Poland’s foreign occupiers, marking the beginning of the Kosciuszko Uprising."
	style = 2

	action_a ={
		name = "Do they really think they can suceed?"
		command = { type = stability value = -1 }
		command = { type = war which = POL }
		command = { type = province_revoltrisk which = 298 value = 5 }
		command = { type = province_revoltrisk which = 1949 value = 5 }
		command = { type = revolt which = 1949 }
		command = { type = revolt which = 1949 }
		}
}

#The Third Partition of Poland#
event = {

	id = 3152
	random = no
	country = HAB
	name = "The Third Partition of Poland"
	desc = "Following the end of the Kosciuszko rebellion, Austria, Prussia, and Russia decided to put an end to the unrest by wiping Poland off of the map of Europe. On October 24, 1795, the representatives of the Russian Empire, the Austro-Hungarian Empire, and the Kingdom of Prussia assembled to write the treaty formally dissolving the Polish-Lithuanian Commonwealth and all of her institutions."
	style = 2

	action_a ={
		name = "Poland is finally done for!"
		command = { type = stability value = 1 }
		command = { type = addcore which = 292 }
		command = { type = province_revoltrisk which = 298 value = -5 }
		command = { type = province_revoltrisk which = 1949 value = -5 }
		}
}


##########################################################################################################
#													 #
#					      For Prussia                                                #
#													 #
##########################################################################################################

#Declaration of Pillnitz
event = {
	id = 88712
	random = no
	country = PRU
	name = "Declaration of Pillnitz"
	desc = "The Declaration of Pillnitz was a statement issued on 27 August 1791 at Pillnitz Castle near Dresden (Saxony) by the Habsburg Holy Roman Emperor Leopold II and Frederick William II of Prussia. The declaration stated that Austria would go to war if and only if all the other major European powers also went to war with France and was intended to serve as a warning to the French revolutionaries not to infringe further on the king's prerogatives and to permit his resumption of power. The National Assembly of France interpreted the declaration to mean that Leopold was going to declare war; radical Frenchmen who called for war, such as Jacques Pierre Brissot, used it as a pretext to gain influence and declare war on 20 April 1792, leading to the formation of the first coalition against revolutionary France."
	style = 3

	action_a = {
		name = "This is merely a friendly warning, obviously!"
		command = { type = vp value = 25 }
		command = { type = relation which = FRA value = -25 }
		command = { type = relation which = HAB value = 25 }
		command = { type = stability value = 1 }
	}
}

#Brunswick Manifesto
event = {
	id = 88712
	random = no
	country = PRU
	name = "Brunswick Manifesto"
	desc = "On August 1st, the Duke of Brunswick issued the Brunswick Manifesto. The manifesto promised that if the French Royal family was not harmed, then the Allies would not harm French civilians or loot. However, if acts of violence or acts to humiliate the French Royal family were committed, the Allies threatened to burn Paris to the ground. Many believed the Brunswick Manifesto was final proof that Louis XVI was collaborating with the Allies. In the end, the Brunswick Manifesto, rather than intimidating the populace into submission, sent it into furious action and created fear and anger towards the Allies. It also spurred revolutionaries to take further action - a mob eventually stormed the Tuileries Palace (where King Louis XVI resided with his family) on 10 August, butchering the Swiss Guards protecting the King and his family in the process."
	style = 3

	date = { day = 1 month = august year = 1792 }
	offset = 0
	deathdate = { day = 11 month = august year = 1792 }

	action_a = {
		name = "The French shall submit, one way or another!"
		command = { type = vp value = 50 }
		command = { type = relation which = FRA value = -50 }
      		command = { type = trigger which = 88530 } #FRA: Assault on the Tuileries
	}
}

#Treaty of Tilsit#
event = {

	id = 3152
	trigger = {
		owned = { province = 1941 data = PRU }    #Berlin
		control = { province = 1941 data = FRA }
		owned = { province = 312 data = PRU }     #Brandenburg
		control = { province = 312 data = FRA }
		owned = { province = 311 data = PRU }     #Magdeburg
		control = { province = 311 data = FRA }
		owned = { province = 1936 data = PRU }    #Braunschweig
		control = { province = 1936 data = FRA }
		owned = { province = 1937 data = PRU }    #Westfalen
		control = { province = 1937 data = FRA }
		owned = { province = 343 data = PRU }     #Kleve
		control = { province = 343 data = FRA }
		owned = { province = 838 data = PRU }     #Berg
		control = { province = 838 data = FRA }
	}
	random = no
	country = PRU
	name = "Treaty of Tilsit"
	desc = "The Treaties of Tilsit were two agreements signed by Napoleon I of France in the town of Tilsit in July, 1807 in the aftermath of his victory at Friedland. The first was signed on 7 July, between Tsar Alexander I of Russia and Napoleon I of France, when they met on a raft in the middle of the Neman River. The second was signed with Prussia on 9 July. The treaties ended the War of the Fourth Coalition at the expense of the Prussian king, who had already agreed to a truce on 25 June after the Grande Armée had pursued him to the easternmost frontier of his realm, and in Tilsit ceded about half of his pre-war territories. From those territories, Napoleon had created French client states which were formalized and recognized at Tilsit: the Kingdom of Westphalia, the Duchy of Warsaw and the Free City of Danzig; the other ceded territories were awarded to further French clients and to Russia."
	style = 2

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

	action_a ={
		name = "Nooooooooo!"
		command = { type = secedeprovince which = FRA value = 311 }
		command = { type = secedeprovince which = FRA value = 1936 }
		command = { type = secedeprovince which = FRA value = 1937 }
		command = { type = secedeprovince which = FRA value = 343 }
		command = { type = secedeprovince which = FRA value = 838 }
		#THERE SHOULD BE PEACE BETWEEN FRA AND PRU#
		}
}

#The Second Partition of Poland#
event = {

	id = 3152
	random = no
	country = PRU
	name = "The Second Partition of Poland"
	desc = EVENTHIST3534
	style = 2

	action_a ={
		name = "Very, Very nice"
		command = { type = stability value = 1 }
		command = { type = addcore which = 303 }
		}
}

#Kosciuszko Uprising#
event = {

	id = 3152
	random = no
	country = PRU
	name = "Kosciuszko Uprising"
	desc = "Outraged with the further humiliation of Poland by her neighbors and the betrayal of the Polish nobility and emboldened by the French Revolution unfolding in France, the Polish masses quickly turned against the occupying forces of Prussia and Russia. Following a series of nationwide riots, on March 24, 1794, Polish patriot Tadeusz Kosciuszko took command of the Polish armed forces and declared a nationwide uprising against Poland’s foreign occupiers, marking the beginning of the Kosciuszko Uprising."
	style = 2

	action_a ={
		name = "Do they really think they can suceed?"
		command = { type = stability value = -1 }
		command = { type = war which = POL }
		command = { type = province_revoltrisk which = 1945 value = 5 }
		command = { type = province_revoltrisk which = 303 value = 5 }
		command = { type = revolt which = 303 }
		command = { type = revolt which = 303 }
		}
}

#The Third Partition of Poland#
event = {

	id = 3152
	random = no
	country = PRU
	name = "The Third Partition of Poland"
	desc = "Following the end of the Kosciuszko rebellion, Austria, Prussia, and Russia decided to put an end to the unrest by wiping Poland off of the map of Europe. On October 24, 1795, the representatives of the Russian Empire, the Austro-Hungarian Empire, and the Kingdom of Prussia assembled to write the treaty formally dissolving the Polish-Lithuanian Commonwealth and all of her institutions."
	style = 2

	action_a ={
		name = "Poland is finally done for!"
		command = { type = stability value = 1 }
		command = { type = addcore which = 300 }
		command = { type = addcore which = 291 }
		command = { type = province_revoltrisk which = 1945 value = -5 }
		command = { type = province_revoltrisk which = 303 value = -5 }
		}
}


##########################################################################################################
#													 #
#					      For France                                                 #
#													 #
##########################################################################################################



#French Bankruptcy#
event = {

	id = 88569
	random = no
	country = FRA
	name = "French Bankruptcy"
	desc = "It is said that before the revolution, the debt that France had risen from 8 billion to 12 billion livres. Extravagant expenditures on luxuries by Louis XVI, whose rule began in 1774, were compounded by debts that were run up during the reign of his even-more-profligate predecessor, Louis XV. Heavy expenditures to conduct the losing Seven Years' War against Britain (1756–1763), and France's backing of the Americans in their War of Independence, ran the tab up even further. Several financial reforms were attempted, but all were blocked by the parlement who insisted that the king did not have the legal right to levy new taxes and thus by 1787, during the final appearance of the Assembly of Notables, France had reached a state of virtual bankruptcy; no one would lend the king money sufficient to meet the expenses of the royal court and the government."
	style = 3

	date = { day = 22 month = february year = 1787 }
	offset = 1
	deathdate = { day = 30 month = february year = 1787 }

	action_a ={
		name = "We are doomed!"
		command = { type = stability value = -3 }
	}
}


#The General Estates#
event = {

	id = 3144
	random = no
	country = FRA
	name = "The General Estates"
	desc = "The Treaty of Versailles in 1783 was a success for France and revenge from previous defeats. However, it did nothing to ease the financial problems but rather increased the burden of debts. The success of the American independence movement also reinforced criticism of the regime. The 1786 commercial treaty with Britain was followed by a sharp decline in domestic industrial production, a very severe famine resulting from bad harvests, unrest and finally public bankruptcy in 1788. The King was forced to recall the Estates General, a feat unseen since 1626. On 5th May 1789, the Estates General convened at Versailles and soon pronounced itself a National Assembly (17th June), pledging to stay until they devised a constitution. Louis XVI acknowledged the changes in the situation, but the dismissal of his popular finance minister Necker and troop concentrations in the suburbs prompted the Paris masses to storm the state prison of La Bastille on 14th July 1789. The French Revolution had started."
	style = 4

	date = { day = 5 month = may year = 1789 }
	offset = 1
	deathdate = { day = 11 month = july year = 1789 }

	action_a ={				#Economic Reforms, but no Social Change#
		name = "ACTIONNAME3144A"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = stability value = -1 }
		command = { type = provincetax which = 385 value = 2 }
		command = { type = provincetax which = 382 value = 2 }
		command = { type = provincetax which = 383 value = 2 }
		command = { type = provincetax which = 384 value = 2 }
		command = { type = provincetax which = 376 value = 2 }
		command = { type = provincetax which = 375 value = 2 }
		command = { type = provincetax which = 387 value = 2 }
		command = { type = provincetax which = 409 value = 2 }
		command = { type = provincetax which = 386 value = 2 }
		command = { type = provincetax which = 410 value = 2 }
		command = { type = provincetax which = 411 value = 2 }
		command = { type = provincetax which = 412 value = 2 }
		command = { type = provincetax which = 413 value = 2 }
		command = { type = provincetax which = 414 value = 2 }
		command = { type = provincetax which = 415 value = 2 }
		command = { type = provincetax which = 416 value = 2 }
		command = { type = provincetax which = 417 value = 2 }
		command = { type = provincetax which = 418 value = 2 }
		command = { type = provincetax which = 419 value = 2 }
		command = { type = provincetax which = 420 value = 2 }
		command = { type = provincetax which = 421 value = 2 }
		command = { type = provincetax which = 422 value = 2 }
		command = { type = provincetax which = 423 value = 2 }
		command = { type = provincetax which = 424 value = 2 }
		command = { type = provincetax which = 425 value = 2 }
		command = { type = provincetax which = 426 value = 2 }
		command = { type = provincetax which = 428 value = 2 }
		command = { type = provincetax which = 404 value = 2 }
		command = { type = provincetax which = 405 value = 2 }
		command = { type = provincetax which = 406 value = 2 }
		command = { type = provincetax which = 407 value = 2 }
		command = { type = provincetax which = 408 value = 2 }
		command = { type = provincetax which = 377 value = 2 }
		command = { type = provincetax which = 379 value = 2 }
		command = { type = provincetax which = 374 value = 2 }
	}

	action_b ={				#Economic Reforms, and small Social Change#
		name = "ACTIONNAME3144B"
		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 = INNOVATIVE value = 1 }
		command = { type = stability value = 1 }
		command = { type = provincetax which = 385 value = 2 }
		command = { type = provincetax which = 382 value = 2 }
		command = { type = provincetax which = 383 value = 2 }
		command = { type = provincetax which = 384 value = 2 }
		command = { type = provincetax which = 376 value = 2 }
		command = { type = provincetax which = 375 value = 2 }
		command = { type = provincetax which = 387 value = 2 }
		command = { type = provincetax which = 409 value = 2 }
		command = { type = provincetax which = 386 value = 2 }
		command = { type = provincetax which = 410 value = 2 }
		command = { type = provincetax which = 411 value = 2 }
		command = { type = provincetax which = 412 value = 2 }
		command = { type = provincetax which = 413 value = 2 }
		command = { type = provincetax which = 414 value = 2 }
		command = { type = provincetax which = 415 value = 2 }
		command = { type = provincetax which = 416 value = 2 }
		command = { type = provincetax which = 417 value = 2 }
		command = { type = provincetax which = 418 value = 2 }
		command = { type = provincetax which = 419 value = 2 }
		command = { type = provincetax which = 420 value = 2 }
		command = { type = provincetax which = 421 value = 2 }
		command = { type = provincetax which = 422 value = 2 }
		command = { type = provincetax which = 423 value = 2 }
		command = { type = provincetax which = 424 value = 2 }
		command = { type = provincetax which = 425 value = 2 }
		command = { type = provincetax which = 426 value = 2 }
		command = { type = provincetax which = 428 value = 2 }
		command = { type = provincetax which = 404 value = 2 }
		command = { type = provincetax which = 405 value = 2 }
		command = { type = provincetax which = 406 value = 2 }
		command = { type = provincetax which = 407 value = 2 }
		command = { type = provincetax which = 408 value = 2 }
		command = { type = provincetax which = 377 value = 2 }
		command = { type = provincetax which = 379 value = 2 }
		command = { type = provincetax which = 374 value = 2 }
	}

	action_c ={				#Economic and Social Reforms#
		name = "ACTIONNAME3144C"
		command = { type = domestic which = CENTRALIZATION value = -3 }
		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 = -2 }
		command = { type = provincetax which = 385 value = 2 }
		command = { type = provincetax which = 382 value = 2 }
		command = { type = provincetax which = 383 value = 2 }
		command = { type = provincetax which = 384 value = 2 }
		command = { type = provincetax which = 376 value = 2 }
		command = { type = provincetax which = 375 value = 2 }
		command = { type = provincetax which = 387 value = 2 }
		command = { type = provincetax which = 409 value = 2 }
		command = { type = provincetax which = 386 value = 2 }
		command = { type = provincetax which = 410 value = 2 }
		command = { type = provincetax which = 411 value = 2 }
		command = { type = provincetax which = 412 value = 2 }
		command = { type = provincetax which = 413 value = 2 }
		command = { type = provincetax which = 414 value = 2 }
		command = { type = provincetax which = 415 value = 2 }
		command = { type = provincetax which = 416 value = 2 }
		command = { type = provincetax which = 417 value = 2 }
		command = { type = provincetax which = 418 value = 2 }
		command = { type = provincetax which = 419 value = 2 }
		command = { type = provincetax which = 420 value = 2 }
		command = { type = provincetax which = 421 value = 2 }
		command = { type = provincetax which = 422 value = 2 }
		command = { type = provincetax which = 423 value = 2 }
		command = { type = provincetax which = 424 value = 2 }
		command = { type = provincetax which = 425 value = 2 }
		command = { type = provincetax which = 426 value = 2 }
		command = { type = provincetax which = 428 value = 2 }
		command = { type = provincetax which = 404 value = 2 }
		command = { type = provincetax which = 405 value = 2 }
		command = { type = provincetax which = 406 value = 2 }
		command = { type = provincetax which = 407 value = 2 }
		command = { type = provincetax which = 408 value = 2 }
		command = { type = provincetax which = 377 value = 2 }
		command = { type = provincetax which = 379 value = 2 }
		command = { type = provincetax which = 374 value = 2 }
	}
}

#The French Revolution#
event = {

	id = 3342
	trigger = {
			event = 3733 #FRA: The General Estates
			}
	random = no
	country = FRA
	name = "The French Revolution"
	desc = "On 5th may 1789 the General Estates met at Versailles. The different sections of the French society were divided on which issues and what to decide. Only farmers wanted a social reform, while some noblemen could accept a constitutional reform. The Bourgeois was ambiguous, as they on one hand wanted to share the right of the nobility and on the other hand not franchise the populace. However, that a financial reform was needed were beyond doubt by all members. On several occasions the king counteracted initiatives to produce a constitutional and social reform and on 11th July the king dismissed the popular minister of finance, Necker, took over government and started to send troops to Versailles. This was just too much for the frustrated and on 14th July the Bastille was stormed. A revolutionary wave went through the masses and as the politicians failed to produce justice for all, people took the matters in their own hands. The French Revolution had begun..."
	style = 4

	date = { day = 13 month = july year = 1789 }
	offset = 0
	deathdate = { day = 22 month = december year = 1789 }

	action_a ={				#A Violent Revolution has struck us, Sire#
		name = "ACTIONNAME3342A"
		command = { type = flagname which = REV }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = -5 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 5 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = domestic which = LAND value = 3 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = stability value = -7 }
	}
}

#Declaration of Pillnitz
event = {
	id = 88712
	random = no
	country = FRA
	name = "Declaration of Pillnitz"
	desc = "The Declaration of Pillnitz was a statement issued on 27 August 1791 at Pillnitz Castle near Dresden (Saxony) by the Habsburg Holy Roman Emperor Leopold II and Frederick William II of Prussia. The declaration stated that Austria would go to war if and only if all the other major European powers also went to war with France and was intended to serve as a warning to the French revolutionaries not to infringe further on the king's prerogatives and to permit his resumption of power. The National Assembly of France interpreted the declaration to mean that Leopold was going to declare war; radical Frenchmen who called for war, such as Jacques Pierre Brissot, used it as a pretext to gain influence and declare war on 20 April 1792, leading to the formation of the first coalition against revolutionary France."
	style = 3

	action_a = {
		name = "We are not amused"
		command = { type = relation which = PRU value = -25 }
		command = { type = relation which = HAB value = -25 }
	}
}

#French Revolutionary War#
event = {

	id = 88569
	random = no
	country = FRA
	name = "French Revolutionary War"
	desc = "On 27 August 1791, Leopold and King Frederick William II of Prussia, in consultation with emigrant French nobles, issued the Declaration of Pillnitz, which declared the interest of the monarchs of Europe in the well-being of Louis and his family, and threatened vague but severe consequences if anything should befall them. Although Leopold saw the Pillnitz Declaration as a non-committal gesture to placate the sentiments of French monarchists and nobles, it was seen in France as a serious threat and was denounced by the revolutionary leaders. In addition to the ideological differences between France and the monarchical powers of Europe, there were continuing disputes over the status of Imperial estates in Alsace, and the French were becoming concerned about the agitation of émigré nobles abroad, especially in the Austrian Netherlands and the minor states of Germany. France declared war on Austria first, with the Assembly voting for war on 20 April 1792. Following the declaration of war, French soldiers deserted en masse and, in one case, murdered their general."
	style = 3

	date = { day = 20 month = april year = 1792 }
	offset = 1
	deathdate = { day = 25 month = april year = 1792 }

	action_a ={
		name = "Declare War!"
		command = { type = relation which = HAB value = -100 }
		command = { type = war which = HAB }
		command = { type = stability value = 1 }
		command = { type = manpower value = -50 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = INF which = -2 value = 2000 }
		command = { type = INF which = -2 value = 2000 }
		command = { type = INF which = -2 value = 2000 }
		command = { type = INF which = -2 value = 2000 }
		command = { type = INF which = -2 value = 2000 }
	}
}

#Assault on the Tuileries
event = {
	id = 88712
	random = no
	country = FRA
	name = "Assault on the Tuileries"
	desc = "On August 1st, the Duke of Brunswick issued the Brunswick Manifesto. The manifesto promised that if the French Royal family was not harmed, then the Allies would not harm French civilians or loot. However, if acts of violence or acts to humiliate the French Royal family were committed, the Allies threatened to burn Paris to the ground. Many believed the Brunswick Manifesto was final proof that Louis XVI was collaborating with the Allies. In the end, the Brunswick Manifesto, rather than intimidating the populace into submission, sent it into furious action and created fear and anger towards the Allies. It also spurred revolutionaries to take further action - an angry mob eventually stormed the Tuileries Palace (where King Louis XVI resided with his family) on 10 August, butchering the Swiss Guards protecting the King and his family in the process."
	style = 3

	action_a = {
		name = "The King is clearly a traitor!"
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 3 value = -3 }
		command = { type = relation which = PRU value = -25 }
	}
}

#The Execution of King Louis#
event = {

	id = 3146
	trigger = {
			event = 3145
			}
	random = no
	country = FRA
	name = "The Execution of King Louis"
	desc = "After the failed flight of the royal family on 20 June 1791 the king is forced into house-arrest. When the Reign of Terror starts the nobility is beheaded en-masse and the king is declared to have conspired with foreign powers and thus considered a traitor. The king is first forced to abdicate, imprisoned and called 'Citizen Capet'. On 15 Jan 1793 the National Convent votes for a proposal to execute the king with the figures 361 votes against 360. On 21 Jan 1793 King Louis is beheaded."
	style = 4

	date = { day = 21 month = january year = 1793 }
	offset = 0
	deathdate = { day = 29 month = january year = 1793 }

	action_a ={				#361 votes for and 360 against execution#
		name = "ACTIONNAME3146A"
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = diplomats value = -6 }
		command = { type = stability value = 1 }
	}

	action_b ={				#361 votes against and 360 for execution#
		name = "ACTIONNAME3146B"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = ENG value = 100  }
		command = { type = relation which = HAB value = 100  }
		command = { type = relation which = SPA value = 100  }
		command = { type = relation which = PRU value = 100  }
		command = { type = relation which = RUS value = 100  }
		command = { type = relation which = SWE value = 100  }
		command = { type = stability value = -1  }
	}
}

#Levée en masse#
event = {

	id = 3146
	trigger = {
			event = 3145
			}
	random = no
	country = FRA
	name = "Levée en masse"
	desc = "The progression of the Revolution came to produce friction between France and its European neighbors, who grew determined to invade France to restore the monarchical regime. War with Prussia and Austria was declared in April 1792. The invading forces were met in France by a mixture of what was left of the old professional army and volunteers. In response to this desperate situation, at war with European states, facing internal rebellions, and needing more men, a levée en masse was decreed by the National Convention on 23 August 1793. All unmarried able-bodied men between 18 and 25 were thus requisitioned with immediate effect for military service. This significantly increased the number of men in the army, reaching a peak of about 1,500,000 in September 1794."
	style = 4

	date = { day = 23 month = august year = 1793 }
	offset = 0
	deathdate = { day = 25 month = august year = 1793 }

	action_a ={
		name = "Pass the decree"
		command = { type = INF which = 408 value = 25000 }
		command = { type = INF which = 411 value = 25000 }
		command = { type = INF which = -2 value = 25000 }
		command = { type = domestic which = QUALITY value = -1 }
		command = { type = revoltrisk which = 6 value = 1 }
		command = { type = manpower value = 100 }
		command = { type = gainbuilding which = 408 value = barrack } #Lyon
		command = { type = gainbuilding which = 411 value = barrack } #Orleans
		command = { type = gainbuilding which = 421 value = barrack } #Toulouse
		command = { type = land value = 2500 }
	}
}

#The Chouan Revolt#
event = {

	id = 3147
	random = no
	country = FRA
	name = "The Chouan Revolt"
	desc = "As the French revolution dragged on and saw permanent turmoil and the outburst of war, the people of the western province of France (Poitou, Vendée, Brittany) came to regret the old regime and its relative stability, if not liberty. The unwise move of the Republican government to suppress the old clergy and replace the Catholic cult, combined with the return of some Royalist nobles, were the sparks that ignited a terrible revolt in 1794 that would force the diversion of large number of troops and mass massacres."
	style = 4

	date = { day = 1 month = march year = 1793 }
	offset = 0
	deathdate = { day = 29 month = march year = 1793 }

	action_a ={				#Royalists and Ultracatholics are on the move#
		name = "ACTIONNAME3147A"
		command = { type = revolt which = 417 } #Poitou
		command = { type = revolt which = 417 } #Poitou
		command = { type = revolt which = 414 } #Bretagne
		command = { type = revolt which = 416 } #Anjou
		command = { type = revolt which = 415 } #Penthievre
		command = { type = revoltrisk which = 24 value = 2 }
		command = { type = stability value = -1  }
	}
}

#The Reign of Terror#
event = {

	id = 3145
	trigger = {
			event = 3733 #FRA: The French Revolution
			}
	random = no
	country = FRA
	name = "The Reign of Terror"
	desc = "As Robespierre's militantly radical faction was brought to power in the People's Assembly a campaign to root out the 'Enemy within' started. Mass arrests of 'thought-to-be' royalist sympathizers were followed by the September massacres, after which Madame Guillotine was held warm by the blood of the people."
	style = 4

	date = { day = 5 month = september year = 1793 }
	offset = 0
	deathdate = { day = 30 month = september year = 1793 }

	action_a ={				#The September-murders have taken place#
		name = "ACTIONNAME3145A"
		command = { type = wakemonarch which = 04016 } #Règne de la Terreur
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = -5 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = -6 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = domestic which = LAND value = 3 }
		command = { type = domestic which = QUALITY value = -1 }
		command = { type = revoltrisk which = 24 value = 4 }
		command = { type = relation which = ENG value = -200  }
		command = { type = relation which = HAB value = -200  }
		command = { type = relation which = SPA value = -200  }
		command = { type = relation which = PRU value = -200  }
		command = { type = relation which = RUS value = -200  }
		command = { type = relation which = SWE value = -200  }
		command = { type = stability value = -3 }
	}
}

#The Directory#
event = {

	id = 3781
	trigger = {
			event = 3733 #FRA: The French Revolution
			}
	random = no
	country = FRA
	name = "EVENTNAME3781"
	desc = "EVENTHIST3781"
	style = 4

	date = { day = 1 month = november year = 1795 }
	offset = 10
	deathdate = { day = 30 month = november year = 1795 }

	action_a ={				#A Coup-de-Etat has brought Order#
		name = "ACTIONNAME3781A"
		command = { type = wakemonarch which = 04017 } #Le Directoire
		command = { type = domestic which = CENTRALIZATION value = 5 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = INNOVATIVE value = 6 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = stability value = 3 }
	}
}


#The Treaty of the Hague
event = {
	id = 88712
	random = no
	country = FRA
	name = "The Treaty of the Hague"
	desc = "Though the French presented themselves as liberators, they behaved like conquerors. After acrimonious negotiations between the representatives of the new Batavian Republic, a name that refers to the Germanic tribe of the Batavians that in Dutch nationalistic lore represented both its ancestry and its ancient quest for liberty, and those of the French Republic, a harsh Treaty of The Hague was concluded on May 16, 1795. Apart from imposing territorial concessions and a huge indemnity, this obligated the Dutch to maintain a French army of occupation of 25,000 men. This changed the new republic from an Anglo-Prussian to a French client state; henceforth it would conduct a foreign and military policy dictated by France, where its predecessor had followed British dictates since 1787 (an offensive and defensive alliance of the two republics was part of the treaty), while its economic policies would in effect also be made subservient to the interests of France."
	style = 3

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

	action_a = {
		name = "Welcome, puppet!"
		command = { type = stability value = 1 }
		command = { type = relation which = HOL value = 150 }
		command = { Type = vassal which = HOL }
		#THERE SHOULD BE PEACE BETWEEN HOL AND FRA#
	}
}

#The Continental System
event = {

	id = 88429
	random = no
	country = FRA
	name = "The Continental System"
	desc = "Also known as the Berlin Decree, the Continental System was issued by Napoleon on November 21, 1806, following the French success against Prussia at the Battle of Jena. The United Kingdom had alwasy been an important force in encouraging and financing resistance to Napoleonic France, so Napoleon tried to defeat the Royal Navy in order to invade England, but his one attempt ended with defeat at the Battle of Trafalgar in 1805. His answer to that failure was economic warfare - he believed that England would be vulnerable to an embargo on trade with all the European nations under his control. All of Europe, sooner or later, joined the Continental System since they were either a French sattelite or simply afraid of Napoleon. Portugal was the only exception and as a result they were invaded 3 times by the French."
	style = 2

	date = { day = 25 month = march year = 1473 }
	offset = 30
	deathdate = { day = 1 month = april year = 1498 }

	action_a ={
		name = "Issue it"
		command = { type = domestic which = mercantilism value = 4 }
		command = { type = stability value = 1 }
		command = { type = relation which = ENG value = -200 }
	}

	action_b ={
		name = "Do not issue it"
		command = { type = trade value = 1000 }
		command = { type = relation which = ENG value = 50 }
		command = { type = stability value = -1 }
	}
}

#The Treaty of Finckenstein#
event = {

	id = 88429
	trigger = {
		exists = PER
		exists = RUS
	}
	random = no
	country = FRA
	name = "The Treaty of Finckenstein"
	desc = "The Treaty of Finckenstein, often spelled Finkenstein, was concluded between France and Persia (modern-day Iran) in Finckenstein Palace (East Prussia) on 4 May 1807 and formulised the Franco-Persian alliance. Napoleon I guaranteed the integrity of Persia, recognized part of Georgia and other eastern Transcaucasia as Fath Ali Shah's possession, and was to make all possible efforts for restoring those territories to him. A military mission was also sent under General Antoine Gardanne in order to help modernize the Persian army. This modernized army successfully defeated a Russian Army attack on the strategic city of Erevan on 29 November 1808, showing the efficiency of French training. The embassy of Gardanne to Persia soon lost one of the main reasons for its original dispatch after France signed the Treaty of Tilsit with Russia and became allied."
	style = 2

	date = { day = 7 month = may year = 1807 }
	offset = 1
	deathdate = { day = 30 month = may year = 1807 }

	action_a ={
		name = "Sign the Treaty"
		command = { type = treasury value = -100 }
		command = { type = relation which = PER value = 200 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = ENG value = -50 }
      		command = { type = trigger which = 88530 } #PER: The Treaty of Finckenstein
	}

	action_b ={
		name = "Do not sign it"
		command = { type = relation which = PER value = -50 }
		command = { type = relation which = RUS value = 25 }
		command = { type = relation which = ENG value = 25 }
	}
}

##########################################################################################################
#													 #
#			                 For Ottoman Empire                                              #
#													 #
##########################################################################################################

#Russo–Turkish War of 1787–1792
event = {

	id = 88429
	random = no
	country = TUR
	name = "Russo–Turkish War of 1787–1792"
	desc = "In the spring of 1787, Catherine II of Russia made a triumphal procession through the annexed Crimea in company with her ally, Holy Roman Emperor Joseph II. These events and the friction caused by mutual complaints of infringements of the Treaty of Kuchuk-Kainarji, which had closed the previous war of 1768-1774, stirred up public opinion in Constantinople, while the British and French ambassadors lent their unconditional support to the Ottoman war party. War was once more declared against Russia in 1787, with Prussia and Sweden later joining the war on the side of the Ottomans. How shall we proceed, my Sultan?"
	style = 2

	date = { day = 1 month = july year = 1787 }
	offset = 30
	deathdate = { day = 1 month = january year = 1792 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 1 }
		command = { type = war which = RUS }
		command = { type = relation which = RUS value = -200 }
		command = { type = relation which = HAB value = -100 }
		command = { type = revoltrisk which = 72 value = -5 }
	}

	action_b ={
		name = "Do nothing"
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revoltrisk which = 72 value = 5 }
		command = { type = relation which = RUS value = 20 }
		command = { type = relation which = HAB value = 20 }
		command = { type = stability value = -3 }
	}
}

#The Massacre of Ochakov
event = {
	id = 88712
	trigger = {
		control = { province = 296 data = RUS }
		owned = { province = 296 data = TUR }
	}
	random = no
	country = TUR
	name = "The Massacre of Ochakov"
	desc = "In 1788, Russian forces led by Prince Grigori Potemkin and general Alexander Suvorov besieged the city of Ochakov controlled by the Ottoman army under the command of Hasan Pasha. Despite Suvorov's urging to storm the city immediately, Potemkin kept the Russian forces encircling Ochakov, bombarding the city with cannons and cutting off the defenders' supply of food and ammunition. The condition of both armies continued to decline, there was a threat of epidemic, the weather was growing very cold and Potemkin ultimately gave in to Suvorov's arguments. On the night of December 17, the Russians struck and captured Hassan-pasha's palace, forcing its guards to surrender. About 4,000 Turks were taken prisoners, including Hassan Pasha himself, but most of the city garrison along with its inhabitants was massacred in the street fight. The Sultan himself had a stroke when he heard of the events."
	style = 3

	date = { day = 1 month = january year = 1788 }
	offset = 10
	deathdate = { day = 1 month = january year = 1795 }

	action_a = {
		name = "Nooooooooo!"
		command = { type = provincetax which = 296 value = -2 }
		command = { type = provincemanpower which = 296 value = -2 }
		command = { type = fortress which = 296 value = -1 }
		command = { type = population which = 296 value = -2000 }
	}
}


#The Nizam-i Cedid Reform 
event = {

	id = 88522
        trigger = {
		atwar = no
  	}
	random = no
	country = TUR
	name = "The Nizam-i Cedid Reform"
	desc = "The Nizam-i Cedid (meaning 'New Order') was a series of reforms carried out by the Ottoman Empire sultan Selim III during the late eighteenth century in a drive to catch up militarily and politically with the Western Powers. Specific reforms included conscription, new taxes, new legal categories, and the promotion of a more territorially-based state structure achieved by more strictly defined regions and administrative centralization. The term later came to refer to the new regular army established under the reform program. Western military advisors were imported but their abilities to enact change were limited. A parade of French officers were brought in, and none of them could do a great deal. Apart from the Sultan, no one in power in the Empire had any interest in social transformation."
	style = 3

	date = { day = 1 month = january year = 1792 }
	offset = 30
	deathdate = { day = 1 month = january year = 1793 }

	action_a ={
		name = "Make a strict reform only"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 36 value = 3 }
		command = { type = technology which = orthodox }
		command = { type = gainmanufactory which = 1959 value = weapons }
		command = { type = MIL which = 1 value = 240 }
		command = { type = ADM which = 1 value = 240 }
		command = { type = land value = 2500 }
		command = { type = naval value = 2500 }
		command = { type = infra value = 2500 }
		command = { type = trade value = 2500 }
		command = { type = provincetax which = -2 value = 2 }
		command = { type = provincemanpower which = -2 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = manpower value = 25 }
	}

	action_b ={
		name = "Implement full reforms"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 36 value = 5 }
		command = { type = technology which = latin }
		command = { type = gainmanufactory which = 1959 value = weapons }
		command = { type = gainmanufactory which = 477 value = goods }
		command = { type = MIL which = 3 value = 240 }
		command = { type = ADM which = 3 value = 240 }
		command = { type = land value = 5000 }
		command = { type = naval value = 5000 }
		command = { type = infra value = 5000 }
		command = { type = trade value = 5000 }
		command = { type = provincetax which = -2 value = 2 }
		command = { type = provincemanpower which = -2 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = manpower value = 50 }
	}

	action_c ={
		name = "The current system is fine"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = QUALITY value = -1 }
		command = { type = stability value = 3 }
		command = { type = revoltrisk which = 72 value = -3 }
		command = { type = sleepevent which = 3751 } #The Jannisary Coup of 1806
		command = { type = sleepevent which = 3751 } #The Countercoup of 1808
	}
}

#The Jannisary Coup of 1806
event = {
	id = 88712
	random = no
	country = TUR
	name = "The Jannisary Coup of 1806"
	desc = "When Selim III came to the throne in 1789, an ambitious effort of military reform was launched, geared towards securing the Ottoman Empire. The most important change was the creation of an elite new infantry unit; the nizam-i jedid was set up with western uniforms, weapons, and training. This group would offend the Janissaries. Once elite forces, the Janissaries had become a conservative elite using their military power to advance themselves commercially and politically. In 1806 the Janissaries, with support of the ulema and the provincial governors, revolted against the Sultan and his new force and replaced him with Mustafa IV."
	style = 3

	date = { day = 29 month = may year = 1807 }
	offset = 1
	deathdate = { day = 30 month = may year = 1807 }

	action_a = {
		name = "Oh well..."
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 24 value = -3 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = QUALITY value = -1 }
	}
}

#The Countercoup of 1808
event = {
	id = 88712
	random = no
	country = TUR
	name = "The Countercoup of 1808"
	desc = "The deposition of the reformer Sultan Selim III in 1807, and his replacement with the reactionary Mustafa IV by the Janissaries and other opponents of reform, provoked Bayraktar Mustafa Pasha, the ayan (provincial notable) of Rusçuk, and one of the strongest ayans of his time, to lead his army of Albanians and Bosnians to Constantinople in an attempt to reinstate Selim III and restore his reforms. After he arrived, Mustafa IV ordered Selim III killed. Bayraktar Mustafa Pasha, seeing Selim III dead, showed fealty to Mahmud II (Selim's cousin), and he was instated the sultan, with Bayraktar as his Grand Vizier. As vizier, Bayraktar purged the soldiers who had rebelled against Selim, removed conservatives from governmental positions and replaced them with men sympathetic to reform in an attempt to modernize the army and navy and to reform the Janissaries."
	style = 3

	date = { day = 27 month = june year = 1808 }
	offset = 1
	deathdate = { day = 30 month = june year = 1808 }

	action_a = {
		name = "Finally someone to put the Jannisaries in their place!"
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 12 value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
	}
}

##########################################################################################################
#													 #
#					      For Russia                                                 #
#													 #
##########################################################################################################

#The Persian Expedition of 1796#
event = {

	id = 88429
	trigger = {
			event = 3733 #PER: The Caucasus is subdued
	}
	random = no
	country = RUS
	name = "The Persian Expedition of 1796"
	desc = "The last decades of the 18th century were marked by continual strife between rival claimants to the Peacock Throne of Persia. Catherine the Great of Russia took advantage of the disorder to consolidate her control over the weak polities of the Caucasus. The kingdom of Georgia became a Russian protectorate in 1783, when Erekle II signed the Treaty of Georgievsk, whereby the Empress promised to defend him in case of the Iranian attack. The shamkhals of Tarki followed the lead and accepted Russian protection three years later. With the enthronement of Agha Mohammad Khan as Shah of Persia in 1794 the political climate changed. He put an end to the period of dynastic strife and proceeded to strengthen the hold of the Caucasus by ravaging Georgia and reducing its capital Tbilisi to a pile of ashes in 1795. Belatedly, Catherine II determined to mount a punitive expedition against the Shah."
	style = 2

	date = { day = 1 month = april year = 1796 }
	offset = 1
	deathdate = { day = 30 month = may year = 1796 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 1 }
		command = { type = war which = PER }
		command = { type = relation which = PER value = -200 }
	}

	action_b ={
		name = "We have more pressing matters at hand"
		command = { type = relation which = PER value = 50 }
		command = { type = sleepevent which = 3751 } #PER: Russian Annexation of Georgia#
	}
}

#Russian Annexation of Georgia#
event = {

	id = 88429
	trigger = {
		exists = GEO
	}
	random = no
	country = RUS
	name = "Russian Annexation of Georgia"
	desc = "In 1783, Russia and the eastern Georgian Kingdom of Kartli-Kakheti signed the Treaty of Georgievsk, which recognized the bond of Orthodox Christianity between Russian and Georgian people and promised eastern Georgia protection. However, despite this commitment to defend Georgia, Russia rendered no assistance when the Turks and Persians invaded in 1785 and in 1795, completely devastating Tbilisi and massacring its inhabitants. This period culminated in the 1801 Russian violation of the Treaty of Georgievsk and annexation of eastern Georgia, followed by the abolishment of the royal Bagrationi dynasty, as well as the autocephaly of the Georgian Orthodox Church. And after the annexation of eastern Georgia, the western Georgian kingdom of Imereti was also annexed."
	style = 2

	date = { day = 1 month = january year = 1801 }
	offset = 1
	deathdate = { day = 8 month = january year = 1801 }

	action_a ={
		name = "Proceed with the annexation"
		command = { type = stability value = 1 }
		command = { type = addcore which = 470 }
		command = { type = addcore which = 469 }
		command = { type = inherit which = GEO }
		command = { type = relation which = PER value = -200 }
		command = { type = relation which = ARM value = -100 }
		command = { type = relation which = TUR value = -100 }
	}

	action_b ={
		name = "Create a buffer-state instead"
		command = { Type = vassal which = GEO }
		command = { type = relation which = GEO value = 400 }
		command = { type = relation which = PER value = -100 }
		command = { type = relation which = ARM value = -50 }
		command = { type = relation which = TUR value = -50 }
	}
}

#The Targowica Confederation
event = {
	id = 88712
	random = no
	country = RUS
	name = "The Targowica Confederation"
	desc = "The Targowica Confederation was a confederation established by Polish and Lithuanian magnates on 27 April 1792, in Saint Petersburg, with the backing of the Russian Empress Catherine II. With the aim of restoring the magnates' Golden Liberties and the overthrown of the May 3rd Constitution, Russian and confederate armies invaded the Polish-Lithuanian Commonwealth, eventually defeating the Poles and forcing the Second Partition of Poland in the process. Prussia eventually demanded territories as well if they were to continue supporting Russia against revolutionary France."
	style = 3

	action_a = {
		name = "Polish reforms must be stopped!"
		command = { type = stability value = 1 }
		command = { type = war which = POL }
	}
}

#The Second Partition of Poland#
event = {

	id = 3152
	random = no
	country = RUS
	name = "The Second Partition of Poland"
	desc = EVENTHIST3534
	style = 2

	action_a ={
		name = "More land for Mother Russia!"
		command = { type = stability value = 1 }
		command = { type = addcore which = 294 }
		command = { type = addcore which = 297 }
		command = { type = addcore which = 295 }
		command = { type = addcore which = 287 }
		}
}

#Kosciuszko Uprising#
event = {

	id = 3152
	random = no
	country = RUS
	name = "Kosciuszko Uprising"
	desc = "Outraged with the further humiliation of Poland by her neighbors and the betrayal of the Polish nobility and emboldened by the French Revolution unfolding in France, the Polish masses quickly turned against the occupying forces of Prussia and Russia. Following a series of nationwide riots, on March 24, 1794, Polish patriot Tadeusz Kosciuszko took command of the Polish armed forces and declared a nationwide uprising against Poland’s foreign occupiers, marking the beginning of the Kosciuszko Uprising."
	style = 2

	action_a ={
		name = "When will these peasants learn their lesson!"
		command = { type = stability value = -1 }
		command = { type = revolt which = 287 }
		command = { type = revolt which = 287 }
		command = { type = province_revoltrisk which = 294 value = 5 }
		command = { type = province_revoltrisk which = 297 value = 5 }
		command = { type = province_revoltrisk which = 295 value = 5 }
		command = { type = province_revoltrisk which = 287 value = 5 }
		}
}

#The Third Partition of Poland#
event = {

	id = 3152
	random = no
	country = RUS
	name = "The Third Partition of Poland"
	desc = "Following the end of the Kosciuszko rebellion, Austria, Prussia, and Russia decided to put an end to the unrest by wiping Poland off of the map of Europe. On October 24, 1795, the representatives of the Russian Empire, the Austro-Hungarian Empire, and the Kingdom of Prussia assembled to write the treaty formally dissolving the Polish-Lithuanian Commonwealth and all of her institutions."
	style = 2

	action_a ={
		name = "Poland is finally done for!"
		command = { type = stability value = 1 }
		command = { type = addcore which = 284 }
		command = { type = addcore which = 283 }
		command = { type = addcore which = 289 }
		command = { type = addcore which = 288 }
		command = { type = addcore which = 879 }
		command = { type = addcore which = 293 }
		command = { type = province_revoltrisk which = 294 value = -5 }
		command = { type = province_revoltrisk which = 297 value = -5 }
		command = { type = province_revoltrisk which = 295 value = -5 }
		command = { type = province_revoltrisk which = 287 value = -5 }
		}
}


##########################################################################################################
#													 #
#					      For Persia                                                 #
#													 #
##########################################################################################################

#The Persian Invasion of Georgia#
event = {

	id = 88429
	trigger = {
		exists = GEO
	}
	random = no
	country = PER
	name = "The Persian Invasion of Georgia"
	desc = "Eastern Georgia, composed of the kingdoms of Kartli and Kakheti, had been under the Persian suzerainty since 1555. However, with the death of Nader Shah in 1747, both kingdoms broke free of the Persian control and were reunified through a personal union under the energetic king Heraclius II (Erekle) in 1762. The consequence of these events was seen in a few years later, when a new dynasty, that of the Qajars, emerged victorious in a protracted power struggle in Persia. Its head, the eunuch Agha Mohammad Khan, resolved to bring the Caucasus once more into a Persian orbit. Finding an interval of quiet amid their own quarrels, the Persians now demanded from Heraclius of Georgia the recognition of Persian suzerainty over these lost territories. Heraclius rejected the khan’s ultimatum and in August, Agha Mohammad Khan led his army into the Caucasus, forcing the khans of Ganja and Erivan into alliance. Russia eventually intervened in 1796, but was forced out of the conflict because of problems in Europe."
	style = 2

	date = { day = 1 month = august year = 1795 }
	offset = 1
	deathdate = { day = 30 month = august year = 1795 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 1 }
		command = { type = war which = GEO }
		command = { type = war which = ARM }
		command = { type = revolt which = 471 }
		command = { type = revolt which = 471 }
		command = { type = revolt which = 1961 }
		command = { type = revolt which = 1961 }
		command = { type = revolt which = 487 }
		command = { type = relation which = GEO value = -400 }
		command = { type = relation which = ARM value = -400 }
		command = { type = relation which = RUS value = -50 }
	}

	action_b ={
		name = "We have more pressing matters at hand"
		command = { type = relation which = GEO value = 50 }
		command = { type = relation which = ARM value = 50 }
		command = { type = relation which = RUS value = 25 }
		command = { type = revoltrisk which = 48 value = 8 } #lack of action from the part of the shah will show how weak his rule is to his fellow tribesmen
		command = { type = stability value = -3 }
		command = { type = sleepevent which = 3751 } #The Caucasus is subdued
		command = { type = sleepevent which = 3751 } #The Destruction of Tbilisi
	}
}

#The Caucasus is subdued#
event = {

	id = 3152
	trigger = {
		control = { province = 470 data = PER }
		exists = GEO
	}
	random = no
	country = PER
	name = "The Caucasus is subdued"
	desc = "Abandoned by several of his nobles, Heraclius managed to mobilize around 5,000 troops, including some 2,000 auxiliaries from Imereti under the king Solomon II. The Georgians offered a desperate resistance and succeeding in rolling back a series of Persian attacks but eventually the Persians managed to cross the Kura River outflanking and decimating the Georgian army at the Battle of Krtsanisi. Heraclius attempted to mount a counterattack, but he had eventually to retreat to the last available positions at the outskirt of Tbilisi. By the nightfall, the Georgian forces had been exhausted and almost completely destroyed. The fighting continued in the streets of Tbilisi and at the fortress of Narikala. In a few hours, Agha Mohammad Khan was in full control of the Georgian capital which was completely sacked and its population massacred."
	style = 2

	date = { day = 1 month = august year = 1795 }
	offset = 1
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={
		name = "Nice try puppet"
		command = { type = inherit which = GEO }
		command = { type = inherit which = ARM }
                command = { type = stability value = 1 }
		}
}

#The Destruction of Kerman#
event = {

	id = 88429
	trigger = {
		owned = { province = 535 data = PER }
		control = { province = 535 data = PER }
	}
	random = no
	country = PER
	name = "The Destruction of Kerman"
	desc = "After losing control of much of Persia, Loft Ali Khan took refuge in the city of Kerman, the last major city under his control. But soon, he was besieged in Kerman for six months by Agha Mohammad Khan and his massive army. When the city fell, Agha Mohammad Khan, angered by the popular support that Lotf Ali Khan had received, had all the male inhabitants killed or blinded, and a pile made of 20,000 detached eyeballs poured in front of him. The women and children were sold into slavery, and the city was destroyed over ninety days. The city never regained its former glory or its size until the 20th century. My Khan, how should we proceed?"
	style = 2

	date = { day = 1 month = june year = 1794 }
	offset = 1
	deathdate = { day = 30 month = june year = 1794 }

	action_a ={
		name = "Be Vengeful"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 1000 }
		command = { type = provincetax which = 535 value = -4 }
		command = { type = provincemanpower which = 535 value = -2 }
		command = { type = fortress which = 535 value = -1 }
		command = { type = fortress which = 535 value = -1 }
		command = { type = population which = 535 value = -20000 }
		command = { type = revoltrisk which = 48 value = -2 } #no one will dare question the shah's rule after such a barbaric act
		command = { type = infra value = -2500 }
		command = { type = trade value = -2500 }
	}

	action_b ={
		name = "Be Merciful"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revoltrisk which = 48 value = 8 } #lack of action from the part of the shah will show how weak his rule is to his fellow tribesmen
		command = { type = stability value = -1 }
	}
}

#The Destruction of Tbilisi#
event = {

	id = 88429
	trigger = {
		owned = { province = 470 data = PER }
		control = { province = 470 data = PER }
	}
	random = no
	country = PER
	name = "The Destruction of Tblisi"
	desc = "After the invasion of Georgia by the Persians under the command of Agha Mohammad and the consequent Georgian desperate and stubborn resistance, Agha Mohammad Khan had the Georgian capital completely sacked and destroyed and its population massacred to serve as an example to others. The Persian army marched back laden with spoil and carrying off some 15,000 captives to be sold as slaves. Tbilisi itself would require decades to recover from this death blow. My Khan, how should we proceed?"
	style = 2

	date = { day = 8 month = september year = 1795 }
	offset = 1
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={
		name = "Be Vengeful"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 1000 }
		command = { type = provincetax which = 470 value = -4 }
		command = { type = provincemanpower which = 470 value = -2 }
		command = { type = fortress which = 470 value = -1 }
		command = { type = fortress which = 470 value = -1 }
		command = { type = population which = 470 value = -5000 }
		command = { type = revoltrisk which = 48 value = -2 } #no one will dare question the shah's rule after such a barbaric act
	}

	action_b ={
		name = "Be Merciful"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = province_revoltrisk which = 470 value = 8 }
		command = { type = province_revoltrisk which = 469 value = 4 }
		command = { type = province_revoltrisk which = 472 value = 2 }
		command = { type = revoltrisk which = 48 value = 2 } #lack of action from the part of the shah will show how weak his rule is to his fellow tribesmen
		command = { type = stability value = -1 }
	}
}

#Russian Annexation of Georgia#
event = {

	id = 3152
	trigger = {
		owned = { province = 470 data = PER }   #Georgia
		control = { province = 470 data = RUS }
		owned = { province = 469 data = PER }   #Imeretia
		control = { province = 469 data = RUS }
	}
	random = no
	country = PER
	name = "Russian Annexation of Georgia"
	desc = "In 1783, Russia and the eastern Georgian Kingdom of Kartli-Kakheti signed the Treaty of Georgievsk, which recognized the bond of Orthodox Christianity between Russian and Georgian people and promised eastern Georgia protection. However, despite this commitment to defend Georgia, Russia rendered no assistance when the Turks and Persians invaded in 1785 and in 1795, completely devastating Tbilisi and massacring its inhabitants. This period culminated in the 1801 Russian violation of the Treaty of Georgievsk and annexation of eastern Georgia, followed by the abolishment of the royal Bagrationi dynasty, as well as the autocephaly of the Georgian Orthodox Church. And after the annexation of eastern Georgia, the western Georgian kingdom of Imereti was also annexed."
	style = 2

	date = { day = 1 month = august year = 1796 }
	offset = 1
	deathdate = { day = 1 month = january year = 1798 }

	action_a ={
		name = "Nooooooooo!"
		command = { type = secedeprovince which = RUS value = 470 } #Georgia
		command = { type = secedeprovince which = RUS value = 469 } #Imeretia
		command = { type = vp value = -50 }
      		command = { type = trigger which = 88530 } #RUS: Russian Annexation of Georgia
		#THERE SHOULD BE PEACE BETWEEN PER AND RUS#
		}
}

#The 1804–1813 Russo-Persian War#
event = {

	id = 88429
	trigger = {
			event = 3733 #RUS: Russian Annexation of Georgia
	}
	random = no
	country = PER
	name = "The 1804–1813 Russo-Persian War"
	desc = "The origins of the first Russo-Persian War can be traced back to the decision of Tsar Paul to annex Georgia (December 1800) and, after Paul’s assassination (11 March 1801), the activist policy followed by his successor, Alexander I, aimed at establishing Russian control over the khanates of the eastern Caucasus. In 1803, the newly appointed commander of Russian forces in the Caucasus, Paul Tsitsianov, attacked Ganja and captured its citadel on 15 January 1804; the governor, Javad Khan Qajar, was killed, and a large number of the inhabitants slaughtered. The Qajar ruler, Fath Ali Shah, saw the Russian threat to Armenia, Karabagh, and Azerbaijan not only as a source of instability on his northwestern frontier but as a direct challenge to Qajar authority and declared war."
	style = 2

	date = { day = 1 month = april year = 1804 }
	offset = 1
	deathdate = { day = 30 month = may year = 1804 }

	action_a ={
		name = "Declare War!"
		command = { type = stability value = 3 }
		command = { type = war which = RUS }
		command = { type = relation which = RUS value = -200 }
	}

	action_b ={
		name = "We have more pressing matters at hand"
		command = { type = stability value = -1 }
		command = { type = relation which = RUS value = 50 }
		command = { type = revoltrisk which = 48 value = 8 } #lack of action from the part of the shah will show how weak his rule is to his fellow tribesmen
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = sleepevent which = 3751 } #PER: Holy War is Declared!
	}
}

#The Treaty of Finckenstein#
event = {

	id = 3152
	random = no
	country = PER
	name = "The Treaty of Finckenstein"
	desc = "The Treaty of Finckenstein, often spelled Finkenstein, was concluded between France and Persia (modern-day Iran) in Finckenstein Palace (East Prussia) on 4 May 1807 and formulised the Franco-Persian alliance. Napoleon I guaranteed the integrity of Persia, recognized part of Georgia and other eastern Transcaucasia as Fath Ali Shah's possession, and was to make all possible efforts for restoring those territories to him. A military mission was also sent under General Antoine Gardanne in order to help modernize the Persian army. This modernized army successfully defeated a Russian Army attack on the strategic city of Erevan on 29 November 1808, showing the efficiency of French training. The embassy of Gardanne to Persia however soon lost one of the main reasons for its original dispatch after France signed the Treaty of Tilsit and became allied with Russia."
	style = 2


	action_a ={
		name = "Aid against Russia is always welcome!"
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = FRA value = 100 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = revoltrisk which = 36 value = 2 }
		command = { type = technology which = latin }
		command = { type = gainmanufactory which = 528 value = weapons }
		command = { type = MIL which = 2 value = 48 }
		command = { type = land value = 2500 }
		command = { type = infra value = 2500 }
		command = { type = manpower value = 25 }
		}
}

#Holy War is Declared!#
event = {

	id = 3152
	trigger = {
			war = { country = PER country = RUS }
			event = 3733 #PER: The 1804–1813 Russo-Persian War
	}
	random = no
	country = PER
	name = "Holy War is Declared!"
	desc = "During the 1804–1813 Russo-Persian War, the Persians scaled up their efforts late in the war, declaring a holy war on Imperial Russia in 1810 and after receiving significant support from Britain, went on the offensive in 1810, invaded Karabakh, won the Battle of Sultanabad on the Aras and recovered territory in Talesh. However, this was to little avail. Russia's superior technology and tactics ensured a series of strategic victories the Persians were unable to recover from."
	style = 2

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

	action_a ={
		name = "Allah Akbar!"
		command = { type = stability value = 3 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = revoltrisk which = 480 value = -10 }
		command = { type = manpower value = 40 }
		}
}


#The City of Teheran#
event = {

	id = 3424
	trigger = {
			owned = { province = 529 data = -1 }
		}
	random = no
	country = PER
	name = "The City of Teheran"
	desc = "Karim Khan, in his war against Mohammad Hassan Khan Qajar, chose Teheran as his military headquarters and the gathering center of his soldiers. He was the first who thought of making Teheran his capital. The plan reached the stage where in the year 1758 offices and a harem were built within the Arg which was surrounded by ramparts and moats. The plan to make Teheran the capital, first thought of by the Zands, was carried out by Agha Mohammad Khan Qajar, who in the year 1785, proclaimed it his capital and bestowed on it the title of Dar ol Khelafeh (the house of the caliphate). During the reign of Fath Ali Shah Qajar, Teheran developed gradually, new buildings were erected and the population increased. Nonetheless, Teheran was not a city fit to be the capital. Apart from the royal buildings, dwellings were bad and lacking most urban necessities. Alleys were narrow, dusty and dark in the heat of summer, and full of mud-filled potholes in winter. All travelers and political envoys described this and expressed their dissatisfaction."
	style = 4

	date = { day = 1 month = january year = 1794 }
	offset = 1
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={
		name = "Move Capital to Teheran"
		command = { type = capital which = 529 }
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = stability value = -1 }
		command = { type = population which = 529 value = 10000 }
	}

	action_b ={
		name = "Keep the current Capital"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability value = 3 }
	}
}



#The Lost Treasure of Nader Shah#
event = {

	id = 3152
	trigger = {
		control = { province = 1530 data = PER }
	}
	random = no
	country = PER
	name = "The Lost Treasure of Nader Shah"
	desc = "In his invasion of India, Nader Shah managed to plunder an almost infinite amount of precious things. The plunder seized was so rich that Nader even stopped taxation in Iran for 3 years. Among a trove of fabulous jewels, Nader gained acess to the Mughal royal treasury and got himself the Koh-i-Noor and the Darya-ye Noor diamonds. By 1795, Shah Rokh, the last surviving heir of Nader Shah was rumoured to know the location of Nader Shah's treasury and so Agha Mohammad Khan had Shah Rokh tortured to death because he thought he knew something. He was, however, wrong, and the lost location of Nader Shah's treasury is still unknown to this day."
	style = 2

	date = { day = 1 month = january year = 1796 }
	offset = 1
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={
		name = "But I want my money!"
		command = { type = vp value = 25 }
		}
}