#Poland (POL)

#See AGCEEP_Alt_Germany.txt for KoG Alternative events

#-----------------------------------------------------------------------------------------------

#(1419-1569) If Lithuania formed Russia - Poland receives cores
event = {
	id = 258038 #triggered by RUS_271008 A
	random = no
	country = POL
	name = "EVENTNAME258038" #Russian provinces defect to us
	desc = "EVENTHIST258038"
	#-#Once the grand duke of Lithuania became russian tsar, the nobility from Suzdal and Muscovy quickly gained prominence and rose to high governmental ranks. Lithuanian and south russian nobles were very upset as these muscovite nobles were their former sworn enemies. Soon, the eastern provinces were in revolt and asked the King of Poland for protection, who gladly accepted. The tsar, preparing his expansion into tatar lands and not wishing to be distracted by a civil war and a war on Poland, decided to do nothing about their treason.

	action_a = {
		name = "ACTIONNAME258038A" #Welcome our new subjects
		command = { type = stability value = 1 }
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 297 } #Podolia
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = add_countryculture which = baltic }
		command = { type = add_countryculture which = ruthenian }
	}
}
#(1419-1569) If Lithuania formed Russia - Poland receives cores II
event = {
	id = 258039 #triggered by RUS_271008 B
	random = no
	country = POL
	name = "EVENTNAME258039" #Civil war in Russia
	desc = "EVENTHIST258039"
	#-#Once the grand duke of Lithuania became russian tsar, the nobility from Suzdal and Muscovy quickly gained prominence and rose to high governmental ranks. Lithuanian and south russian nobles were very upset as these muscovite nobles were their former sworn enemies. Soon, the eastern provinces were in revolt and asked the King of Poland for protection, who gladly accepted. The tsar understandably didn't like it at all, and prepared to gain back his lost territories. So Poland had the choice to hand over the rebellious provinces to the tsar, or to face a war with the newly founded Russian Empire.

	action_a = {
		name = "ACTIONNAME258039A" #Protect all the rebels in Russia
		command = { type = stability value = 1 }
		command = { type = war which = RUS }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 450 } #Belgorod
		command = { type = addcore which = 461 } #Poltava
		command = { type = INF which = -1 value = 5000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = add_countryculture which = baltic }
		command = { type = add_countryculture which = ruthenian }
	}
	action_b = {
		name = "ACTIONNAME258039B" #Hand over the rebels to the tsar
		command = { type = stability value = -1 }
		command = { type = revolt which = 284 } #Belarus
		command = { type = revolt which = 287 } #Mozyr
		command = { type = revolt which = 288 } #Lithuania
		command = { type = revolt which = 293 } #Volyn
		command = { type = revolt which = 294 } #Chernigov
		command = { type = revolt which = 295 } #Ukraina
		command = { type = revolt which = 297 } #Podolia
		command = { type = cedeprovince which = RUS value = 284 } #Belarus
		command = { type = cedeprovince which = RUS value = 287 } #Mozyr
		command = { type = cedeprovince which = RUS value = 288 } #Lithuania
		command = { type = cedeprovince which = RUS value = 293 } #Volyn
		command = { type = cedeprovince which = RUS value = 294 } #Chernigov
		command = { type = cedeprovince which = RUS value = 295 } #Ukraina
		command = { type = cedeprovince which = RUS value = 297 } #Podolia
	}
}

#-----------------------------------------------------------------------------------------------
#Küstrin, Silesia and Pomerania Sequences

#(1419-1560) Recuperation of Küstrin
#Vilkouak-AGC
event = {
	id = 20131
	trigger = {
		owned = { province = 313 data = -1 } #Küstrin
		control = { province = 313 data = -1 }
	}
	random = no
	country = POL
	name = "EVENTNAME20131" #Recovery of Küstrin
	desc = "EVENTHIST20131"
	#-#Küstrin was lost by Poland during the 13th century and was too small and poor to precipitate serious problems. Piasts were concerned about other losses like Silesia and Danzig. But if it there had been a chance to assert its claim, it is very probably that it would have been used.

	date = { day = 1 month = january year = 1419 }
	offset = 300
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20131A" #It is too late to assert a claim
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = PRU value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20131B" #Reclaim the province
		command = { type = addcore which = 313 } #Küstrin
		command = { type = relation which = BRA value = -50 }
		command = { type = relation which = PRU value = -50 }
	}
}
#(1425-1560) Poles are dominating in Küstrin
#Vilkouak-AGC
event = {
	id = 20128
	trigger = {
		owned = { province = 313 data = -1 } #Küstrin
		control = { province = 313 data = -1 }
		core = { province = 313 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20128" #Polish dominance in Küstrin
	desc = "EVENTHIST20128"
	#-#The area of Küstrin had been settled by western Slavs since the early medieval era. In the 13th century it passed into the political sphere of Holy Roman Empire. The first act of German colonization was issued in 1175 by Boleslaw I the Tall, Polish prince of Silesia (Küstrin was part of Silesia, not Great Poland), but a significant influx of new settlers didn't start until about 50 years later. Due to this colonization and fact that Poland lost interest in its former western parts of the realm while moving towards the east, Küstrin had been Germanized. Had Poland regained that province, it may well have remained Polish.

	date = { day = 1 month = january year = 1425 }
	offset = 5000
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20128A" #Try to maintain a balance
		command = { type = relation which = BRA value = 50 }
		command = { type = treasury value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20128B" #The Polish population is dominant
		command = { type = provinceculture which = 313 value = polish } #Küstrin
	}
}
#(1571-1820) Poles are dominating in Küstrin II
#Vilkouak-AGC
event = {
	id = 20134
	trigger = {
		owned = { province = 313 data = -1 } #Küstrin
		control = { province = 313 data = -1 }
		core = { province = 313 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20128" #Polish dominance in Küstrin
	desc = "EVENTHIST20128"
	#-#The area of Küstrin had been settled by western Slavs since the early medieval era. In the 13th century it passed into the political sphere of Holy Roman Empire. The first act of German colonization was issued in 1175 by Boleslaw I the Tall, Polish prince of Silesia (Küstrin was part of Silesia, not Great Poland), but a significant influx of new settlers didn't start until about 50 years later. Due to this colonization and fact that Poland lost interest in its former western parts of the realm while moving towards the east, Küstrin had been Germanized. Had Poland regained that province, it may well have remained Polish.

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

	action_a = {
		name = "ACTIONNAME20134A" #Let them decide on the local level
		command = { type = relation which = BRA value = 50 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = 100 }
	}
	action_b = {
		name = "ACTIONNAME20134B" #The Polish population is dominant
		command = { type = provinceculture which = 313 value = polish } #Küstrin
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = treasury value = -100 }
	}
}
#(1419-1560) Recuperation of Silesia
#Vilkouak-AGC
event = {
	id = 20130
	trigger = {
		owned = { province = 314 data = -1 } #Silesia
		control = { province = 314 data = -1 }
	}
	random = no
	country = POL
	name = "EVENTNAME20130" #Recovery of Silesia
	desc = "EVENTHIST20130"
	#-#For a long time, Poland could not reconcile itself to the loss of Silesia, parts of which it held as late as the 15th century. Poland did not wholly give up its claims until the middle of the 16th century, when it began to focus on the east.

	date = { day = 1 month = january year = 1419 }
	offset = 300
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20130A" #It is too late to assert a claim
		command = { type = relation which = BOH value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20130B" #Reclaim the province
		command = { type = addcore which = 314 } #Silesia
		command = { type = relation which = BOH value = -50 }
	}
}
#(1425-1560) Poles are dominating in Silesia
#Vilkouak-AGC
event = {
	id = 20127
	trigger = {
		owned = { province = 314 data = -1 } #Silesia
		control = { province = 314 data = -1 }
		core = { province = 314 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20127" #Polish dominance in Silesia
	desc = "EVENTHIST20127"
	#-#Medieval Silesia was composed of many small principalities. Most of them were vassalized by Jan of Luxembourg in 1329, but some parts remained under the control of Poland. The Jagiellonians were not as interested as the Piasts in this province, so Poland slowly gave up its rights. Germans were settling in the west Silesia since the first part of the 13th century and eventually west and central Silesia had been Germanized, including remnants of the Piast dynasty. Upper Silesia remained mostly Polish, providing a good example of what might have happened had the whole province been recovered.

	date = { day = 1 month = january year = 1425 }
	offset = 5000
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20127A" #Try to maintain a balance
		command = { type = relation which = BOH value = 50 }
		command = { type = treasury value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20127B" #The Polish population is dominant
		command = { type = provinceculture which = 314 value = polish } #Silesia
	}
}
#(1571-1820) Poles are dominating in Silesia II
#Vilkouak-AGC
event = {
	id = 20133
	trigger = {
		owned = { province = 314 data = -1 } #Silesia
		control = { province = 314 data = -1 }
		core = { province = 314 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20127" #Polish dominance in Silesia
	desc = "EVENTHIST20127"
	#-#Medieval Silesia was composed of many small principalities. Most of them were vassalized by Jan of Luxembourg in 1329, but some parts remained under the control of Poland. The Jagiellonians were not as interested as the Piasts in this province, so Poland slowly gave up its rights. Germans were settling in the west Silesia since the first part of the 13th century and eventually west and central Silesia had been Germanized, including remnants of the Piast dynasty. Upper Silesia remained mostly Polish, providing a good example of what might have happened had the whole province been recovered.

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

	action_a = {
		name = "ACTIONNAME20133A" #Let them decide on the local level
		command = { type = relation which = BOH value = 50 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = 100 }
	}
	action_b = {
		name = "ACTIONNAME20133B" #The Polish population is dominant
		command = { type = provinceculture which = 314 value = polish } #Silesia
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = treasury value = -100 }
	}
}
#(1419-1560) Recuperation of Pomerania
#Vilkouak-AGC
event = {
	id = 20129
	trigger = {
		owned = { province = 302 data = -1 } #Hinterpommern
		control = { province = 302 data = -1 }
	}
	random = no
	country = POL
	name = "EVENTNAME20129" #Recovery of Pomerania
	desc = "EVENTHIST20129"
	#-#Pomerania was considered a part of Corona Regni Poloniae, but accepting this princedom in the Holy Roman Empire weakened Polands rights. During the 14th and 15th centuries, Pomerania was still contested land, but unlike Silesia, which had to be conquered, Polish Kings wanted to annex Pomerania diplomatically. Poland finally gave up its lost western provinces in the 16th century when expansion to the east seemed more promising.

	date = { day = 1 month = january year = 1419 }
	offset = 300
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20129A" #It is too late to assert a claim
		command = { type = relation which = POM value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20129B" #Reclaim the province
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = relation which = POM value = -50 }
	}
}
#(1425-1560) Poles are dominating in Pomerania
#Vilkouak-AGC
event = {
	id = 20126
	trigger = {
		owned = { province = 302 data = -1 } #Hinterpommern
		control = { province = 302 data = -1 }
		core = { province = 302 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20126" #Polish dominance in Pomerania
	desc = "EVENTHIST20126"
	#-#Medieval Pomerania was almost never under strict Polish control, mainly due to a natural border composed of forests and swamps that divided it from Great Poland. It is thus unsurprising that it was the first Polish province to switch to the Holy Roman Empire. In 1181, Boguslaw I was vassalized by Frederick Barbarossa. It was not only a medieval law - Boguslaw was given a title of Prince of the Holy Roman Empire, and Pomerania became part of the Empire. There was no significant German immigration here for a long time, probably due to rivalry with Silesia, which was more developed and fertile. Overall, there wasn't a significant number of Poles, but the eastern parts (Lembork and Bytow) remained mostly Polish, and are a good example of what might have been had the province been recovered by Poland.

	date = { day = 1 month = january year = 1425 }
	offset = 5000
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME20126A" #Try to maintain a balance
		command = { type = relation which = POM value = 50 }
		command = { type = treasury value = 50 }
	}
	action_b = {
		name = "ACTIONNAME20126B" #The Polish population is dominant
		command = { type = provinceculture which = 302 value = polish } #Hinterpommern
	}
}
#(1571-1820) Poles are dominating in Pomerania II
#Vilkouak-AGC
event = {
	id = 20132
	trigger = {
		owned = { province = 302 data = -1 } #Hinterpommern
		control = { province = 302 data = -1 }
		core = { province = 302 data = -1 }
		atwar = no
	}
	random = no
	country = POL
	name = "EVENTNAME20126" #Polish dominance in Pomerania
	desc = "EVENTHIST20126"
	#-#Medieval Pomerania was almost never under strict Polish control, mainly due to a natural border composed of forests and swamps that divided it from Great Poland. It is thus unsurprising that it was the first Polish province to switch to the Holy Roman Empire. In 1181, Boguslaw I was vassalized by Frederick Barbarossa. It was not only a medieval law - Boguslaw was given a title of Prince of the Holy Roman Empire, and Pomerania became part of the Empire. There was no significant German immigration here for a long time, probably due to rivalry with Silesia, which was more developed and fertile. Overall, there wasn't a significant number of Poles, but the eastern parts (Lembork and Bytow) remained mostly Polish, and are a good example of what might have been had the province been recovered by Poland.

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

	action_a = {
		name = "ACTIONNAME20132A" #Let them decide on the local level
		command = { type = relation which = POM value = 50 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = 100 }
	}
	action_b = {
		name = "ACTIONNAME20132B" #The Polish population is dominant
		command = { type = provinceculture which = 302 value = polish } #Hinterpommern
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = treasury value = -100 }
	}
}
#End of Küstrin, Silesia and Pomerania Sequences
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#Prussia and TO event chain
#by Neuromancer - modified by zdlugasz

#(1419-1540) Lands of Teutonic Order
event = {
	id = 258230
	trigger = {
		owned = { province = 290 data = -1 } #Prussia
		NOT = {
			exists = PRU
			exists = LAT
			AND = {
				flag = [TO_Lands]
				ai = no
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME338108" #The Lands of Teutonic Order
	desc = "EVENTHIST258230"
	#-#The Teutonic Order was always the main enemy of Poland. In 1410 at Tannenberg, Wladyslaw Jagiello won a tremendous victory over the Order but failed to drive them out of Prussia. However, we have now managed to accomplish that and Prussia is in our hands. Unfortunately, the Teutons are a Crusader Order and are closely related to the Holy Roman Empire and the Roman Catholic Church. Because of this, both the Emperor and the Pope are watching us closely. What shall we do?

	date = { day = 1 month = january year = 1419 }
	offset = 60
	deathdate = { day = 1 month = january year = 1540 }

	action_a = {
		name = "ACTIONNAME338108A" #Let's restore them
		command = { type = independence which = LAT }
		command = { type = relation which = LAT value = 300 }
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = stability value = -1 } #unpopular in Poland
		command = { type = treasury value = 200 }
		command = { type = badboy value = -10 } #was -5
		command = { type = setflag which = [TO_Lands] }
	}
	action_b = {
		name = "ACTIONNAME338108B" #We will keep Prussia!
		command = { type = relation which = BRA value = -50 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = PAP value = -100 }
		command = { type = badboy value = 1 }
		command = { type = treasury value = -200 } #diplomatical effort
		command = { type = setflag which = [TO_Lands] }
	}
}
#(1524-1540) Treaty of Cracov
event = {
	id = 258231 #triggered by PRU_263020 A
	random = no
	country = POL
	name = "EVENTNAME258231" #Treaty of Cracov
	desc = "EVENTHIST3474"
	#-#In 1525 during the religious turmoil of the Reformation one of the early converters to the new religion was the Teutonic Orders' Grandmaster from Brandenburg, Albrecht of Hohenzollern. Inspired by Luther he also decides to secularize the land areas under his control, Prussia, into a protestant duchy. However, knowing that this would earn him the eternal enmity of his former Order he had to go for help with its greatest enemy, Poland-Lithuania. Thus he managed to pull through, but at the price of becoming a Polish Vassal.

	action_a = {
		name = "ACTIONNAME3474A" #Accept the New Vassal
		command = { type = dynastic which = PRU }
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = BRA value = 100 }
		command = { type = setflag which = [PrussiaVassalized] }
		command = { type = provincetax which = 301 value = 2 } #Danzig becomes the main port
		command = { type = vassal which = PRU }
		command = { type = alliance which = PRU } #To prevent being DoWed by Lithuania or Masovia
	}
	action_b = {
		name = "ACTIONNAME3474B" #Claim Ownership
		command = { type = casusbelli which = PRU value = 240 }
		command = { type = trigger which = 132080 } #BRA: Poland claims Hohenzollern Prussia
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = PRU value = -200 }
		command = { type = relation which = BRA value = -200 }
		command = { type = treasury value = -250 }
		command = { type = badboy value = 5 }
		command = { type = setflag which = [PrussiaClaimed] }
	}
}
#(1524-1540) Albrecht Hohenzollern defies Poland
event = {
	id = 258034 #triggered by PRU_263020 B
	random = no
	country = POL
	name = "EVENTNAME258034" #Albrecht Hohenzollern defies Poland
	desc = "EVENTHIST258034"
	#-#After Thirteen Years War, Teutonic Order lost Eastern Pomerania with Gdansk (Danzig), so-called Royal Prussia with former capital of Teutonic Order Malbork (Marienburg) and became vassal of Polish crown. However some Grandmasters tried to revise terms of peace treaty, also by military confrontation with Poland. Grandmaster Albrecht Hohenzollern declared war against Poland in 1519. In 1521 four year amistice between Poland and Teutonic Order has been signed. In 1525 during the religious turmoil of the Reformation one of the early converters to the new religion was Albrecht of Hohenzollern. Inspired by Luther he also decides to secularize the Prussia into a protestant duchy. Now Emperor, German princes and Pope are furious with Albrecht Hohenzollern who still defies our rule. In this situation we may safely proceed to reclaim lands of the former Teutonic Order.

	action_a = {
		name = "ACTIONNAME3474B" #Claim Ownership
		command = { type = casusbelli which = PRU value = 240 }
		command = { type = relation which = LIV value = -25 }
		command = { type = relation which = PRU value = -200 }
		command = { type = relation which = BRA value = -25 } #they stay catholic
		command = { type = addcore which = 289 } #Memel
		command = { type = addcore which = 290 } #Prussia
	}
}
#(1525-1660) Lands of Prussia
#Poland went with "Claim Ownership" and controls Prussia
event = {
	id = 258232
	trigger = {
		owned = { province = 290 data = -1 } #Prussia
		owned = { province = 289 data = -1 } #Memel
		NOT = { exists = PRU }
		flag = [PrussiaClaimed]
	}
	random = no
	country = POL
	name = "EVENTNAME258232" #Lands of Prussia
	desc = "EVENTHIST258232"
	#-#Soon after King Zygmunt refused to sign the Treaty of Cracov, claiming ownership over the Duchy of Prussia, a war broke out. After years of heavy fighting, we have finally managed to secure our claim. We can now proclaim ourselves the rightful owners of these lands, but this will greatly upset the Hohenzollerns in Brandenburg, and the Emperor will also be displeased.

	date = { day = 1 month = january year = 1525 }
	offset = 60
	deathdate = { day = 1 month = january year = 1660 }

	action_a = {
		name = "ACTIONNAME258232A" #These are our lands!
		command = { type = relation which = BRA value = -200 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = LIV value = -100 }
		command = { type = relation which = SWE value = -100 }
		command = { type = relation which = DAN value = -100 }
		command = { type = provincetax which = 301 value = -2 } #Danzig less significant
		command = { type = provincetax which = 290 value = 2 } #Konigsberg becomes more important #Prussia
		command = { type = addcore which = 289 } #Memel
		command = { type = addcore which = 290 } #Prussia
		command = { type = treasury value = -50 }
		command = { type = stability value = -2 }
		command = { type = badboy value = 2 } #was 7
	}
}
#(1578-1618) The Fate of Prussia
#Poland at war
event = {
	id = 258234
	trigger = {
		OR = {
			atwar = yes
			year = 1617 #needed later, I guess that it is impossible to stay out of war for 40 years, but who knows
		}
		flag = [PrussiaVassalized]
	}
	random = no
	country = POL
	name = "EVENTNAME258234" #The Fate of Prussia
	desc = "EVENTHIST258234"
	#-#In the Treaty of Cracov it was agreed that only the Prussian branch of the Hohenzollern family could inherit the Duchy. Due to the Polish involvment in the Russian civil war and the war with Sweden, on the 5th of may 1611 the Sejm decided that the Electors of Brandenburg were allowed to rule in Prussia after the Prussian branch expires.

	date = { day = 1 month = january year = 1578 }
	offset = 60
	deathdate = { day = 1 month = december year = 1617 }

	action_a = {
		name = "ACTIONNAME258234A" #Allow them to inherit
		command = { type = stability value = 2 }
		command = { type = treasury value = 200 } #the Brandenburg lobby ;)
		command = { type = relation which = BRA value = 200 }
		command = { type = relation which = SWE value = 100 }
		command = { type = relation which = HAB value = 100 }
	}
	action_b = {
		name = "ACTIONNAME258234B" #Stick with the Treaty of Cracov
		command = { type = stability value = -1 }
		command = { type = setflag which = [PrussiaInherited] }
		command = { type = sleepevent which = 132082 } #BRA: Death of Albrecht Friedrich
	}
}
#(1617) Reversed Fate of Prussia
event = {
	id = 258032
	trigger = {
		flag = [PrussiaInherited]
		event = 263009 #PRU: Fate of Prussia
	}
	random = no
	country = POL
	name = "EVENTNAME258032" #Reversed Fate of Prussia
	desc = "EVENTHIST258032"
	#-#In the Treaty of Cracov it was agreed that only the Prussian branch of the Hohenzollern family could inherit the Duchy. Due to the Polish involvment in the Russian civil war and the war with Sweden, on the 5th of may 1611 the Sejm decided that other dynasties were allowed to inherit Prussia after the Prussian branch expires.

	date = { day = 18 month = december year = 1617 }

	action_a = {
		name = "ACTIONNAME258032A" #Allow them to inherit
		command = { type = treasury value = 300 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = trigger which = 263010 } #PRU: A price to pay
		command = { type = clrflag which = [PrussiaInherited] }
		command = { type = sleepevent which = 258235 } #POL: Death of Albrecht Friedrich
	}
}
#(1618) Death of Albrecht Friedrich
#Poland inherits version
event = {
	id = 258235
	trigger = {
		flag = [PrussiaVassalized]
		OR = {
			NOT = { event = 258234 } #POL: The Fate of Prussia
			flag = [PrussiaInherited] #from choice B in The Fate of Prussia
			NOT = { exists = BRA }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258235" #Death of Albrecht Friedrich
	desc = "EVENTHIST258235"
	#-#After years of illness the last Duke of Prussia from the Hohenzollern-Ansbach, Albrecht Friedrich, died. According to the Treaty of Cracov from 1525, after the Prussian branch of the Hohenzollern family, the lands of the Duchy of Prussia were to be incorporated into Poland.

	date = { day = 1 month = january year = 1618 }

	action_a = {
		name = "ACTIONNAME258235A" #Finally!
		command = { type = relation which = BRA value = -200 }
		command = { type = relation which = HAB value = -25 }
		command = { type = relation which = LIV value = -50 }
		command = { type = relation which = SWE value = -25 }
		command = { type = relation which = DAN value = -25 }
		command = { type = addcore which = 289 } #Memel
		command = { type = addcore which = 290 } #Prussia
		command = { type = add_countryculture which = baltic } #just in case
		command = { type = domestic which = LAND value = -2 } #Baltic-ooriented
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = inherit which = PRU }
		command = { type = treasury value = -50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 263006 } #PRU: The Fate of Prussia (AI)
	}
}
#(1618) Death of Albrecht Friedrich
event = {
	id = 258033 #triggered by PRU_263006 B
	random = no
	country = POL
	name = "EVENTNAME258033" #Death of Albrecht Friedrich
	desc = "EVENTHIST258033"
	#-#After years of illness the last Duke of Prussia from the Hohenzollern-Ansbach line, Albrecht Friedrich, died. According to the Treaty of Cracov from 1525, after the Prussian branch of the Hohenzollern family, the lands of the Duchy of Prussia were to be incorporated into Poland. However this was changed with the decision of the Polish Sejm on the 5th of may 1611. Polish prince Wladyslaw Waza was therefore allowed to inherit the Duchy.

	action_a = {
		name = "GREAT"
		command = { type = relation which = BRA value = -200 }
		command = { type = relation which = HAB value = -25 }
		command = { type = relation which = LIV value = -50 }
		command = { type = relation which = SWE value = -25 }
		command = { type = relation which = DAN value = -25 }
		command = { type = addcore which = 289 } #Memel
		command = { type = addcore which = 290 } #Prussia
		command = { type = domestic which = LAND value = -2 } #Baltic-oriented
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = add_countryculture which = baltic } #just in case
		command = { type = inherit which = PRU }
		command = { type = treasury value = -50 }
		command = { type = stability value = 1 }
	}
}
#(1632) Wladyslaw elected King of Poland - Ahistorical
event = {
	id = 258087
	trigger = {
		flag = [Polish_line]
		event = 263008 #PRU: Prussia forms Poland
	}
	random = no
	country = PRU
	name = "EVENTNAME258087" #Wladyslaw elected King of Poland
	desc = "EVENTHIST263008"
	#-#After years of illness the last Duke of Prussia from the Hohenzollern-Ansbach line, Albrecht Friedrich, died. According to the Treaty of Cracov from 1525, after the Prussian branch of the Hohenzollern family, the lands of the Duchy of Prussia were to be incorporated into Poland. However this was changed with the decision of the Polish Sejm on the 5th of may 1611. Prince Wladyslaw Waza was allowed to inherit Duchy and now.

	date = { day = 8 month = november year = 1632 }
	offset = 1
	deathdate = { day = 29 month = december year = 1632 }

	action_a = {
		name = "GREAT"
		command = { type = add_countryculture which = polish }
		command = { type = remove_countryculture which = baltic }
		command = { type = remove_countryculture which = german }
		command = { type = add_countryculture which = ruthenian }
		command = { type = add_countryculture which = baltic }
		command = { type = technology which = orthodox }
		command = { type = sleepevent which = 258088 } #POL: Wladyslaw elected King of Poland-Lithuania
	}
}
#(1632) Wladyslaw elected King of Poland-Lithuania - Ahistorical
event = {
	id = 258088
	trigger = {
		flag = [Polish_line]
		event = 263015 #PRU: Prussia forms Poland-Lithuania
	}
	random = no
	country = PRU
	name = "EVENTNAME258088" #Wladyslaw elected King of Poland-Lithuania
	desc = "EVENTHIST263008"
	#-#After years of illness the last Duke of Prussia from the Hohenzollern-Ansbach line, Albrecht Friedrich, died. According to the Treaty of Cracov from 1525, after the Prussian branch of the Hohenzollern family, the lands of the Duchy of Prussia were to be incorporated into Poland. However this was changed with the decision of the Polish Sejm on the 5th of may 1611. Prince Wladyslaw Waza was allowed to inherit Duchy and now.

	date = { day = 8 month = november year = 1632 }
	offset = 1
	deathdate = { day = 29 month = december year = 1632 }

	action_a = {
		name = "GREAT"
		command = { type = add_countryculture which = polish }
		command = { type = remove_countryculture which = baltic }
		command = { type = remove_countryculture which = german }
		command = { type = add_countryculture which = ruthenian }
		command = { type = add_countryculture which = baltic }
		command = { type = technology which = orthodox }
		#Poland gains Lithuanian leaders
		command = { type = wakeleader which = 0109810 } #M. Wisniowiecki (POL)
		command = { type = wakeleader which = 0109816 } #J.K. Chodkiewicz (POL)
		command = { type = wakeleader which = 0109824 } #Mikolaj Radziwill (POL)
		command = { type = wakeleader which = 0109828 } #Michal Pac (POL)
		command = { type = wakeleader which = 0109832 } #Lew Sapiecha (POL)
		command = { type = wakeleader which = 0109835 } #Ernest Denhoff (POL)
		command = { type = wakeleader which = 0109844 } #Krzysztof Radziwill (POL)
		command = { type = wakeleader which = 0109846 } #Janusz Radziwill (POL)
		command = { type = wakeleader which = 0109820 } #Michal Massalski (POL)
		command = { type = wakeleader which = 0109843 } #Michal Radziwill (POL)
		command = { type = sleepevent which = 258029 } #POL: Lithuanian leaders pledge allegiance to the Commonwealth
		command = { type = sleepevent which = 258087 } #POL: Wladyslaw elected King of Poland
	}
}
#(1632-1700) New Capital - event for Prussia transformed into Poland
event = {
	id = 258035
	trigger = {
		flag = [Polish_line]
		owned = { province = 291 data = -1 } #Masovia
		control = { province = 291 data = -1 } #Masovia
	}
	random = no
	country = POL
	name = "EVENTNAME258035" #New Capital
	desc = "EVENTHIST258035"
	#-#After won Polish election, Wladyslaw Waza decided to move capital to the Warszawa.

	date = { day = 9 month = november year = 1632 }
	offset = 90
	deathdate = { day = 1 month = june year = 1700 }

	action_a = {
		name = "GREAT"
		command = { type = stability value = 1 }
		command = { type = capital which = 291 } #Masovia
		command = { type = population which = 291 value = 2000 }
	}
}
#End of Prussia and TO event chain
#-----------------------------------------------------------------------------------------------

#(1419-1424) Treaty of Kierzmark
#Vilkouak-AGC
event = {
	id = 258105
	trigger = {
		event = 129001 #death of Vaclav IV
		exists = HUS
		OR = {
			war = { country = HUS country = HUN }
			NOT = { stability = 0 }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258105" #Treaty of Kierzmark
	desc = "EVENTHIST258105"
	#-#In 1423, Jagiello, King of Poland, met Sigismund of Luxemburg, King of Hungary, nominal King of Bohemia, and Emperor, in the city of Kierzmark. Sigismund needed this meeting much more than Jagiello. His position in Bohemia was weak and Polish help for Hussites could only make it weaker. He was afraid that eventually Jagiello would accept the crown of Bohemia for himself or one of his relatives - the Czechs had made several offers. Fortunately, the Teutonic Order lost a war against Poland and Lithuania in 1422. He used it as a pretext for diplomatic bargains. Jagiello, as a neophite, was more concerned about a crusade being declared on Poland if it did nothing about the Hussites than about possible danger from the Order. So Jagiello gave up Hussites and Sigismund gave up Knights. Neither kept their promises - soon Sigismund went back to his anti-Polish politics and Jagiello still did not officially support the Hussites. The only real effect of the meeting was to diminish the chance of war.

	date = { day = 1 month = august year = 1419 }
	offset = 300
	deathdate = { day = 1 month = january year = 1424 }

	action_a = {
		name = "ACTIONNAME258105A" #Sigismund is really a traitor
		command = { type = relation which = HUS value = 25 }
		command = { type = relation which = ROM value = -50 }
		command = { type = relation which = HUN value = -50 }
	}
	action_b = {
		name = "ACTIONNAME258105B" #Accept the treaty
		command = { type = relation which = HUS value = -50 }
		command = { type = relation which = ROM value = 50 }
		command = { type = relation which = HUN value = 50 }
	}
}

#(1419) The Hussite Wars
event = {
	id = 258600 #triggered by HUS_401000 / ROM_398000
	random = no
	country = POL
	name = "EVENTNAME258600" #The Hussite Wars
	desc = "EVENTHIST188600"
	#-#The Czech priest and professor Jan Hus developed radical reformatory demands on the base of the teachings of John Wyclif. Despite a guarantee of safe-conduct by Emperor Sigismund, he was executed at the stake for heresy at the Council of Constance in 1415. This could however not stop the Hussite movement in Bohemia. Hus' followers were rapidly growing, and when King Vaclav IV of Bohemia died and his brother Sigismund, already Emperor and King of Hungary was to succeed him, they, unwilling to forgive him the betrayal of Hus and afraid that he would suppress them, refused to acknowledge him and gained control of most of Bohemia proper - while the lands of the Bohemian crown and the catholic part of Bohemia accepted Sigismund. Due to its radical anti-clerical and anti-feudal tendencies Hussitism posed a big threat to the church and nobility in the countries adjacent to Bohemia. Several German and European princes therefore decided to oppose the Hussites and to support Sigismund in his struggle with them that lasted for almost two decades. Should we decide to fight these heretics, we should be aware that this would be internationally regarded as an intervention in favour of Sigismund as rightful King of Bohemia rather than a war of conquest, and that therefore, if Sigismund prevails and manages to restore royal authority, we would be expected to turn over any conquests in Bohemia to the Kingdom of Bohemia.

	action_a = {
		name = "ACTIONNAME258600A" #Covertly provide aid
		command = { type = treasury value = -25 }
		command = { type = relation which = HUS value = 10 }
	}
	action_b = {
		name = "ACTIONNAME258600B" #Express hostility
		command = { type = relation which = HUS value = -200 }
		command = { type = casusbelli which = HUS value = 120 }
	}
}

#(1420-1430) Privileges of Czerwinsk and Warka
#Vilkouak-AGC-Merged with EEP version
event = {
	id = 258107
	trigger = {
		domestic = { type = ARISTOCRACY value = 5 }
		OR = {
			atwar = yes
			NOT = { stability = 0 }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258107" #Privileges of Czerwinsk and Warka
	desc = "EVENTHIST258107"
	#-#During the war against the Teutonic Order in 1422, nobility gathered in the camp near Czewinsk forced new privileges on Wladyslaw Jagiello. The nobility gained assurance that their estates would not be seized without a legal verdict of the court of justice. Furthermotr, Jagiello promised not to mint money without the consent of the high officers of the Kingdom and to keep the Statutes of Kazimierz the Great in the judiciary. Encouraged by this victory, the nobles pushed for further concessions in 1423 in Warka. This time, a regional judiciary had been well arranged, but the nobility won the right for forced ransom of the lands owned by rich peasants.

	date = { day = 1 month = january year = 1420 }
	offset = 55
	deathdate = { day = 1 month = january year = 1430 }

	action_a = {
		name = "ACTIONNAME258107A" #Nothing can be done, my King
		command = { type = stability value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
	}
	action_b = {
		name = "ACTIONNAME258107B" #Try to limit the demands of the nobility
		command = { type = stability value = -1 }
		command = { type = desertion which = -1 value = 2500 }
		command = { type = revolt which = 300 } #Wielkopolska
		command = { type = revolt which = 303 } #Poznan
	}
	action_c = {
		name = "ACTIONNAME258107C" #They don't get anything from me!
		command = { type = stability value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = revolt which = 300 } #Wielkopolska
		command = { type = revolt which = 303 } #Poznan
		command = { type = revolt which = 291 } #Masovia
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revoltrisk which = 18 value = 5 }
	}
}

#(1423-1437) Edict of Wielun
#Vilkouak-AGC
event = {
	id = 258106
	trigger = {
		exists = HUS
		relation = { country = HUS data = 0 }
	}
	random = no
	country = POL
	name = "EVENTNAME258106" #Edict of Wielun
	desc = "EVENTHIST258106"
	#-#The Hussites were receiving substantial help from Greater Poland. Many of them settled there for a while, using it as a base for further operations against Sigismund. They soon entered cordial connections to the high nobility of that province. That group of people was disappointed with the current political situation in Poland. In fact, they wanted to replace nobles from Lesser Poland, who dominated the country since the renewal of the Kingdom of Poland in the early 14th century. The nobility from Greater Poland had rebelled many times since then, but always unsuccessfully. The Hussites provided another chance for classic feudal rebellion by power-hungry nobles. Zbigniew Olesnicki, bishop of Krakow and devoted Catholic, made the best use of the dangerous situation, getting the support of the nobles of Lesser Poland and forcing Jagiello to issue an edict against heretics.

	date = { day = 1 month = february year = 1423 }
	offset = 300
	deathdate = { day = 1 month = january year = 1437 }

	action_a = {
		name = "ACTIONNAME258106A" #Issue, but reluctantly
		command = { type = stability value = 1 }
		command = { type = relation which = HUS value = -50 }
		command = { type = relation which = ROM value = 50 }
		command = { type = relation which = HUN value = 50 }
		command = { type = relation which = PAP value = 50 }
	}
	action_b = {
		name = "ACTIONNAME258106B" #Don't be ridiculous, they are not so dangerous
		command = { type = stability value = -1 }
		command = { type = relation which = HUS value = 50 }
		command = { type = relation which = ROM value = -50 }
		command = { type = relation which = HUN value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = provincetax which = 300 value = 1 } #Wielkopolska
		command = { type = population which = 300 value = 500 } #Wielkopolska
	}
	action_c = {
		name = "ACTIONNAME258106C" #It is an excellent occasion to remind them who is in charge
		command = { type = stability value = -2 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = relation which = HUS value = -100 }
		command = { type = relation which = ROM value = 50 }
		command = { type = relation which = HUN value = 50 }
		command = { type = relation which = PAP value = 100 }
		command = { type = revolt which = 300 } #Wielkopolska
	}
}

#(1429) Meeting in Lutsk
event = {
	id = 40202
	trigger = {
		event = 40200 #HUN: Meeting in Lutsk
	}
	random = no
	country = POL
	name = "EVENTNAME40200" #Meeting in Lutsk
	desc = "EVENTHIST40200"
	#-#In January of 1429 Assembly of East and Central European leaders was held in Lutsk. Emperor Sigismund, as well as the Polish King Jagiello and Lithuanian Grand Duke Vytautas were the major participants. During the meeting the Emperor offered a crown of independent Kingdom of Lithuania to Vytautas. Jagiello apparently agreed, but after the uproar in the Polish camp, he quickly rescinded his agreement and hastily left the meeting together with Polish nobles. Soon after, Jagiello offered Polish crown to Vytautas citing poor health and inability to rule, which Emperor Sigismund agreed to. However, the Pope, recognizing a danger of recently converted Lithuanian lands being lost to Orthodoxy, forbade the sending of the crown, and Polish nobles led by Zbigniew Olesnicki captured it on its way to Wilno.

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

	action_a = {
		name = "ACTIONNAME40202A" #Say NO to the Kingdom of Lithuania
		command = { type = casusbelli which = LIT value = 15 }
		command = { type = relation which = LIT value = -40 }
		command = { type = sleepevent which = 40203 } #LIT: Jagiello agrees to the Emperor's offer
	}
	action_b = {
		name = "ACTIONNAME40202B" #The Emperor can't be wrong
		command = { type = sleepevent which = 40201 } #PAP: Meeting in Lutsk
		command = { type = sleepevent which = 40204 } #POL: Death of Vytautas
		command = { type = sleepevent which = 40205 } #LIT: Death of Vytautas
		command = { type = sleepevent which = 20113 } #POL: Privileges of Jedlnia and Krakow
		command = { type = relation which = LIT value = 50 }
		command = { type = relation which = HUN value = 30 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = sleepevent which = 20112 } #added to make compatible with AGC events #LIT: The last chance for the Crown of Lithuania
	}
}

#(1430) Death of Vytautas
#by Crook
event = {
	id = 40204
	random = no
	country = POL
	name = "EVENTNAME40204" #Death of Vytautas
	desc = "EVENTHIST40204"
	#-#Vytautas died in October of 1430, and the Lithuanian nobles has elected Jagiello's brother Svitrigaila as the new Grand Duke. However, they failed to get the approval of the Polish Sejm. Svitrigaila was a proponent of independent Lithuanian Kingdom, just like Vytautas was, and enjoyed the support of mainly Ruthenian/Russian nobles. He tried to convince Jagiello again to agree to be crowned as the King of Lithuania, but the Sejm kept an eye on Jagiello, and didn't let him meet with Svitrigaila. On top of that, Poland took over Podolia right after the death of Vytautas, which almost brought 2 countries on the brink of the war.

	date = { day = 27 month = october year = 1430 }
	offset = 30
	deathdate = { day = 1 month = january year = 1431 }

	action_a = {
		name = "ACTIONNAME40204A" #Capture Podolia
		command = { type = relation which = LIT value = -50 }
		command = { type = cav which = -1 value = 5000 }
		command = { type = trigger which = 40205 } #LIT: Death of Vytautas -I-
		command = { type = sleepevent which = 210016 } #LIT: Death of Vytautas -III-
	}
	action_b = {
		name = "ACTIONNAME40204B" #Try to work things out
		command = { type = sleepevent which = 40205 } #LIT: Death of Vytautas
		command = { type = relation which = LIT value = 50 }
		command = { type = trigger which = 210017 } #LIT: Death of Vytautas -II-
		command = { type = sleepevent which = 210016 } #LIT: Death of Vytautas -III-
	}
}

#(1430-1435) Privileges of Jedlnia and Krakow
#Vilkouak-AGC
event = {
	id = 20113
	trigger = {
		domestic = { type = ARISTOCRACY value = 5 }
		NOT = { domestic = { type = CENTRALIZATION value = 7 } }
	}
	random = no
	country = POL
	name = "EVENTNAME20113" #Privileges of Jedlnia and Krakow
	desc = "EVENTHIST20113"
	#-#Jagiello, who was probably born in 1351, was an old man when his first son Wladyslaw was born in 1424. Moreover, Jagiello was elected to the throne of Poland - he was a hereditary ruler only in Lithuania - and his son had no legal right to the crown of the father. In 1425, the nobility and clergy of Poland guaranteed the rights of the child, but complications in Lithuania gave them a chance to strengthen their position. One of the main factors of Jagiello's agreement was that he believed that Lithuania could only be saved if it was in close alliance with Poland. New privileges, granted in 1430 and 1433, lowered land taxes paid by nobility to a token level and gave it them the famous 'neminem captivabimus' law - that no noble could be imprisoned without the verdict of a judiciary court.

	date = { day = 1 month = november year = 1430 }
	offset = 30
	deathdate = { day = 1 month = january year = 1435 }

	action_a = {
		name = "ACTIONNAME20113A" #The future of the Jagiellonian dynasty and Lithuania is most important!
		command = { type = stability value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = provincetax which = 299 value = -1 } #Krakow
		command = { type = provincetax which = 292 value = -1 } #Podlasia
		command = { type = provincetax which = 298 value = -1 } #Galizien
		command = { type = provincetax which = 300 value = -1 } #Wielkopolska
		command = { type = provincetax which = 303 value = -1 } #Poznan
		command = { type = provincetax which = 297 value = -1 } #Podolia
		command = { type = sleepevent which = 210018 } #LIT: Neminem Captivabimus extended to Lithuania -II-
	}
	action_b = {
		name = "ACTIONNAME20113B" #Try to find any possible obstacles but don't risk the future of young heir
		command = { type = stability value = -1 }
		command = { type = provincetax which = 299 value = -1 } #Krakow
		command = { type = provincetax which = 297 value = -1 } #Podolia
		command = { type = provincetax which = 300 value = -1 } #Wielkopolska
		command = { type = revoltrisk which = 48 value = 3 }
		command = { type = sleepevent which = 3446 } #LIT: Neminem Captivabimus extended to Lithuania -I-
	}
	action_c = {
		name = "ACTIONNAME20113C" #Clearly say no!
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = revolt which = 300 } #Wielkopolska
		command = { type = revolt which = 303 } #Poznan
		command = { type = sleepevent which = 3446 } #LIT: Neminem Captivabimus extended to Lithuania -I-
		command = { type = sleepevent which = 210018 } #LIT: Neminem Captivabimus extended to Lithuania -II-
	}
}

#(1431-1433) Pretender
#by Crook
event = {
	id = 40206
	trigger = {
		event = 40205 #LIT: Death of Vytautas -I-
	}
	random = no
	country = POL
	name = "EVENTNAME40206" #Zygmantas
	desc = "EVENTHIST40206"
	#-#After an exchange of harsh words, Polish army marched into Lithuania and besieged Lutsk. The siege ended unsuccessfully, and in the aftermath, Polish Sejm decided to create an alternative Duke in the face of Zygmantas, brother of Vytautas. Supported by Polish troops, he caught Svitrigaila off guard and defeated him in 1432. Zygmantas immediately recognized the Polish King as his suzerain, an act which cost him support of many Lithuanian nobles.

	date = { day = 2 month = january year = 1431 }
	offset = 30
	deathdate = { day = 1 month = january year = 1433 }

	action_a = {
		name = "ACTIONNAME40206A" #Create a new Duke
		command = { type = treasury value = -50 }
		command = { type = sleepevent which = 210013 } #LIT: Svitrigaila remains Grand Duke
	}
	action_b = {
		name = "ACTIONNAME40206B" #Try to deal with Svitrigaila, return Podolia
		command = { type = relation which = LIT value = 70 }
		command = { type = stability value = -4 }
		command = { type = cedeprovince which = LIT value = 297 } #Podolia
		command = { type = revolt which = -1 }
		command = { type = sleepevent which = 40207 } #LIT: Zygmantas or Svitrigaila
	}
}

#(1432-1435) Pretender -I-
#by Crook
event = {
	id = 40208
	trigger = {
		event = 40207
		NOT = { vassal = { country = LIT country = POL } }
	}
	random = no
	country = POL
	name = "EVENTNAME40208" #Submission of Lithuania
	desc = "EVENTHIST40208"
	#-#Zygmantas has defeated his opponent, Svitrigaila, and submitted Lithuania to the Polish crown. Excellent news!

	date = { day = 2 month = january year = 1432 }
	offset = 30
	deathdate = { day = 1 month = january year = 1435 }

	action_a = {
		name = "EXCELLENT"
		command = { type = vassal which = LIT }
		command = { type = treasury value = -50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 258017 } #POL: Pretender
	}
}
#(1432-1435) Pretender -II-
#by YodaMaster
event = {
	id = 258017
	trigger = {
		event = 40207
		vassal = { country = LIT country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME40208" #Submission of Lithuania
	desc = "EVENTHIST40208"
	#-#Zygmantas has defeated his opponent, Svitrigaila, and submitted Lithuania to the Polish crown. Excellent news!

	date = { day = 2 month = january year = 1432 }
	offset = 30
	deathdate = { day = 1 month = january year = 1435 }

	action_a = {
		name = "EXCELLENT"
		command = { type = breakvassal which = LIT }
		command = { type = vassal which = LIT }
		command = { type = treasury value = -50 }
		command = { type = stability value = 4 }
		command = { type = sleepevent which = 40208 } #POL: Pretender
	}
}

#(1433-1435) Polish law introduced in Lvov and Podolia
#Vilkouak-AGC - modified by sabular
event = {
	id = 20114
	trigger = {
		OR = {
			owned = { province = 297 data = -1 }
			owned = { province = 298 data = -1 }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME20114" #Polish law introduced in Galizien and Podolia
	desc = "EVENTHIST20114"
	#-#One of the gains of the nobility in the Jedlnia and Krakow privileges was an agreement of Jagiello to introduce Polish law in Lvov and Podolia. These lands were contested for more than a century between Poland, Lithuania, and Hungary. This act meant that Poland won that rivalry.

	date = { day = 1 month = september year = 1433 }
	offset = 100
	deathdate = { day = 1 month = january year = 1435 }

	action_a = {
		name = "ACTIONNAME20114A" #Introduce it
		command = { type = provincetax which = 297 value = 1 } #Podolia
		command = { type = provincetax which = 298 value = 1 } #Galizien
		command = { type = relation which = HUN value = -25 }
		command = { type = relation which = LIT value = -25 }
	}
	action_b = {
		name = "ACTIONNAME20114B" #Leave it as it is
		command = { type = relation which = HUN value = 25 }
		command = { type = relation which = LIT value = 25 }
	}
}

#(1440-1460) Prince Casimir elected Bohemian King
event = {
	id = 258101
	trigger = {
		OR = {
			event = 129004 #BOH: The Letter of Peace
			event = 129025 #BOH: The Letter of Peace (no BAY)
		}
		NOT = { event = 258057 } #POL: The Bohemian throne (POL vassal of BOH)
		NOT = {
			vassal = { country = BOH country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258101" #The Bohemian throne
	desc = "EVENTHIST258101"
	#-#Prince Casimir of Poland has been offered the Bohemian throne by the estates of Bohemia. This is a great opportunity to expand our influence to the west but, by accepting, we might enfuriate the Habsburgs who regard the still unborn child of the late King Albrecht as rightful successor to the throne.

	date = { day = 1 month = january year = 1440 }
	offset = 60
	deathdate = { day = 29 month = february year = 1460 }

	action_a = {
		name = "ACTIONNAME258101A" #Accept the offer and make Casimir King of Bohemia
		command = { type = relation which = HAB value = -100 }
		command = { type = vp value = 40 }
		command = { type = vassal which = BOH }
		command = { type = sleepevent which = 258057 } #POL: The Bohemian throne (POL vassal of BOH)
		command = { type = trigger which = 129006 } #BOH: Poland accepts
		command = { type = trigger which = 258102 } #POL: The Crown of St. Wenceslas
	}
	action_b = {
		name = "ACTIONNAME258101B" #Reject the offer
		command = { type = relation which = BOH value = -100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 258057 } #POL: The Bohemian throne (POL vassal of BOH)
		command = { type = trigger which = 129008 } #BOH: Poland refuses
	}
}
#(1440-1460) Prince Casimir elected Bohemian King (POL vassal of BOH)
event = {
	id = 258057
	trigger = {
		OR = {
			event = 129004 #BOH: The Letter of Peace
			event = 129025 #BOH: The Letter of Peace (no BAY)
		}
		NOT = { event = 258101 } #BAY: The Bohemian throne
		vassal = { country = BOH country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME258101" #The Bohemian throne
	desc = "EVENTHIST258101"
	#-#Prince Casimir of Poland has been offered the Bohemian throne by the estates of Bohemia. This is a great opportunity to expand our influence to the west but, by accepting, we might enfuriate the Habsburgs who regard the still unborn child of the late King Albrecht as rightful successor to the throne.

	date = { day = 1 month = january year = 1440 }
	offset = 60
	deathdate = { day = 29 month = february year = 1460 }

	action_a = {
		name = "ACTIONNAME258101A" #Accept the offer and make Casimir King of Bohemia
		command = { type = relation which = HAB value = -100 }
		command = { type = vp value = 40 }
		command = { type = breakvassal which = BOH }
		command = { type = stability value = 3 }
		command = { type = dynastic which = BOH }
		command = { type = sleepevent which = 258101 } #POL: The Bohemian throne
		command = { type = trigger which = 129006 } #BOH: Poland accepts
		command = { type = trigger which = 258102 } #POL: The Crown of St. Wenceslas
	}
	action_b = {
		name = "ACTIONNAME258101B" #Reject the offer
		command = { type = relation which = BOH value = -100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = breakvassal which = BOH }
		command = { type = sleepevent which = 258101 } #POL: The Bohemian throne
		command = { type = trigger which = 129008 } #BOH: Poland refuses
	}
}
#(1440-1460) Coronation of Casimir
event = {
	id = 258102 #triggered by POL_258101 A / POL_258057 A
	random = no
	country = POL
	name = "EVENTNAME258102" #The Crown of St. Wenceslas
	desc = "EVENTHIST258102"
	#-#The Polish prince Casimir has received the Crown of St. Wenceslas in Prague and is now King of Bohemia.

	action_a = {
		name = "GREAT"
		command = { type = alliance which = BOH }
		command = { type = relation which = BOH value = 150 }
		command = { type = DIP which = 2 value = 12 }
	}
}

#(1440) Wladyslaw elected King of Hungary
event = {
	id = 258100
	trigger = {
		event = 188090 #HUN: The Vacant Throne (Wladyslaw)
	}
	random = no
	country = POL
	name = "EVENTNAME258100" #The Hungarian throne
	desc = "EVENTHIST188101"
	#-#In 1439 Albrecht of Habsburg, King of Hungary, fell ill, probably of cholera, while campaigning against the Ottomans. Within one month he died, leaving two minor daughters and his pregnant wife Elizabeth. For the case of the unborn child being male, Albrecht declared that his son would be his successor in all his fiefs just before his death. Based on this will, Elizabeth attempted to get the Parliament to appoint her Queen Regent for her unborn baby. Still feeling menaced by the Ottomans, a majority of the Diet consisting mostly of the middle and lower nobility however did not want to trust the country's fortune upon a woman and an unborn child and, led by the Transylvanian noble Janos Hunyadi, desired an adult King with a decent powerbase instead. It was Hunyadi who proposed the most obvious choice, Wladyslaw III, King of the other big Christian Kingdom in East Europe, Poland. Initially with the consent of Elizabeth, deputies of the Diet approached the nineteen-year-old Wladyslaw in Krakow and offered him the Hungarian crown. Meanwhile, Elizabeth gave birth to a son, the male heir Albrecht and she had hoped for, and called him Ladislaus. Since then, she was determined to secure the throne for her child and thus withdrew her approval of the offer to the Polish King. But instructed by Hunyadi and other magnates, negotiations continued. When Wladyslaw eventually accepted the proferred throne on March 8th 1440 and everything seemed ready for his coronation and the union of the two Kingdoms, Elizabeth fled Hungary to Austria with her son and the stolen Holy crown of Hungary. She had Ladislaus crowned King in Székesfehérvár on May 1st, more than two months before Wladyslaw's coronation on July 17th. The scene was set for a civil war between the supporters of Elizabeth and Ladislaus, called 'Loyalists' who were strongest in Western Hungary and Slovakia and championed by Ulrich of Cilli on the one side and the supporters of Wladyslaw, the 'Nationalists', based largely in the East and Transylvania and led by Janos Hunyadi, on the other.

	date = { day = 9 month = march year = 1440 }

	action_a = {
		name = "ACTIONNAME258100A" #Poland and Hungary shall be united under one King
		command = { type = vp value = 100 }
		command = { type = treasury value = -100 }
		command = { type = vassal which = HUN } #as for sure HUN will leave HAB alliance if POL not joining it
		command = { type = alliance which = HUN } #not strictly needed, or?
		command = { type = relation which = HUN value = 200 } #lowered from 300, reflecting the nobility's power.
		command = { type = dynastic which = HUN }
		command = { type = wakemonarch which = 0109523 } #Zbigniew Olesnicki (Regent)
		command = { type = sleepmonarch which = 0109501 } #Wladyslaw III
		command = { type = sleepmonarch which = 0109536 } #Zbigniew Olesnicki (Regent)
	}
}

#(1441-1460) Wladyslaw loses Hungarian throne
event = {
	id = 258108 #triggered by HUN_188092
	random = no
	country = POL
	name = "EVENTNAME258108" #The Hungarian throne
	desc = "EVENTHIST188091"
	#-#Since most of Hungary has been captured by the Habsburgs and their Hungarian supporters, support for King Ulászló and Janos Hunyadi is fading and Ladislaus Postumus is commonly acknowledged as rightful King.

	action_a = {
		name = "ACTIONNAME258108A" #Ladislaus won
		command = { type = vp value = -100 }
		command = { type = relation which = HUN value = -200 }
		command = { type = breakdynastic which = HUN }
	}
}

#(1451) Casimir, King of Lithuania - Ahistorical
#by Crook
event = {
	id = 40214 #triggered by LIT_40213 A
	random = no
	country = POL
	name = "EVENTNAME40212" #Casimir, King of Lithuania
	desc = "EVENTHIST40214"
	#-#Grand Duke Michailis has died. Lithuanian nobles has invited Casimir, our King, to be their ruler.

	action_a = {
		name = "EXCELLENT"
		command = { type = vassal which = LIT }
		command = { type = treasury value = -50 }
		command = { type = stability value = 1 }
	}
}

#(1452-1457) The Nieszawa Privileges-'Conventiones Particulares'
event = {
	id = 3467
	trigger = {
		domestic = { type = ARISTOCRACY value = 5 }
		NOT = { domestic = { type = CENTRALIZATION value = 7 } }
	}
	random = no
	country = POL
	name = "EVENTNAME3467" #The Nieszawa Privileges-'Conventiones Particulares'
	desc = "EVENTHIST3467"
	#-#After the concessions to the Nobility given by Wladyslaw Jagiello in 1425 and during the Thirteen Years War King Kazimierz was forced to new concessions. To be able to raise troops, among them a lot of mercenaries, the King needed money from the Szlachta. In an effort to solve the monarchy's pressing problems he had to accept the Nieszawa Privileges implying that the Nobility had the right to hold local Conventiones Particulares, without which no troops could be raised and no taxes extracted. In this way the Nobility got an efficient and powerful organization with a joint mutual interest, and power of the military and the taxation legislative procedure.

	date = { day = 1 month = january year = 1452 }
	offset = 30
	deathdate = { day = 1 month = january year = 1457 }

	action_a = {
		name = "ACTIONNAME3467A" #Accept the Conventions
		command = { type = manpower value = -10 }
		command = { type = stability value = 2 }
		command = { type = removecot which = 282 } #Livland
		command = { type = cot which = 301 } #Danzig
	}
	action_b = {
		name = "ACTIONNAME3467B" #Weaken the Conventions
		command = { type = revoltrisk which = 12 value = 6 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 258031 } #POL: Consequences of privileges
	}
	action_c = {
		name = "ACTIONNAME3467C" #Refuse to sign it and defy the Magnates
		command = { type = provincetax which = 299 value = 1 } #Krakow
		command = { type = provincetax which = 292 value = 1 } #Podlasia
		command = { type = provincetax which = 298 value = 1 } #Galizien
		command = { type = provincetax which = 300 value = 1 } #Wielkopolska
		command = { type = provincetax which = 303 value = 1 } #Poznan
		command = { type = provincetax which = 297 value = 1 } #Podolia
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revoltrisk which = 12 value = 6 }
		command = { type = stability value = -6 }
		command = { type = sleepevent which = 258030 } #POL: Consequences of privileges
		command = { type = sleepevent which = 258031 } #POL: Consequences of privileges
	}
}

#(1452) Pretender - Ahistorical
#by Crook
event = {
	id = 40212 #triggered by LIT_40211 A
	random = no
	country = POL
	name = "EVENTNAME40212" #Casimir, King of Lithuania
	desc = "EVENTHIST40212"
	#-#Grand Duke Svitrigaila has died. Lithuanian nobles has invited Casimir, our King, to be their ruler.

	action_a = {
		name = "EXCELLENT"
		command = { type = vassal which = LIT }
		command = { type = treasury value = -50 }
		command = { type = stability value = 1 }
	}
}

#-----------------------------------------------------------------------------------------------
#Petition from the Prussian Federation Sequence

#(1454) Petition from the Prussian Federation (large Poland)
event = {
	id = 258012
	trigger = {
		event = 209004 #LAT: The prussian federation revolts
		not = { event = 258013 } #POL: Petition from the Prussian Federation (small Poland)
		countrysize = 5
		not = { vassal = { country = LAT country = POL } }
		owned = { province = 301 data = LAT } #Danzig
	}
	random = no
	country = POL
	name = "EVENTNAME258012" #Petition from the Prussian Federation
	desc = "EVENTHIST258012"
	#-#On the 21st of frebuary 1440 the Prussian Federation was formed by 19 prussian cities, Danzig and Thorn amongst others, and a part of the gentry and clergy of Kulmland. It was a protest against the high taxes levied by the Teutonic Order to pay their reparations to Poland under the peace of Thorn, against the restrictions and taxes on trade, and against a lack of power compared to their wealth. The foundation of the confederation was met with indifference by the grand master. When later mediation was sought with the emperor, he decided to ban the movement. This caused the Federation to go into open revolt. They then petitioned the King of Poland to become part of his realm. The King agreed.

	date = { day = 1 month = march year = 1454 }
	offset = 10
	deathdate = { day = 29 month = march year = 1454 }

	action_a = {
		name = "ACTIONNAME258012A" #Sign the petition
		command = { type = trigger which = 209005 } #LAT: Poland accepts the petition
		command = { type = trigger which = 209006 } #LAT: Poland accepts the petition
		command = { type = relation which = LAT value = -200 }
		command = { type = relation which = -6 value = -50 }
		command = { type = relation which = LIV value = -100 }
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = BOH value = -50 }
		command = { type = relation which = POM value = -50 }
		command = { type = DIP which = -2 value = 12 }
		command = { type = addcore which = 301 } #Danzig, should not be necessary...
	}
	action_b = {
		name = "ACTIONNAME258012B" #We dare not anger the Order
		command = { type = relation which = LAT value = 25 }
		command = { type = trigger which = 209003 } #LAT: End of the prussian federation
	}
}
#(1454) Petition from the Prussian Federation (small Poland)
event = {
	id = 258013
	trigger = {
		event = 209004 #LAT: The prussian federation revolts
		not = { event = 258012 } #POL: Petition from the Prussian Federation (large Poland)
		or = {
			not = { countrysize = 5 }
			vassal = { country = LAT country = POL }
		}
		owned = { province = 301 data = LAT } #Danzig
	}
	random = no
	country = POL
	name = "EVENTNAME258012" #Petition from the Prussian Federation
	desc = "EVENTHIST258012"
	#-#On the 21st of frebuary 1440 the Prussian Federation was formed by 19 prussian cities, Danzig and Thorn amongst others, and a part of the gentry and clergy of Kulmland. It was a protest against the high taxes levied by the Teutonic Order to pay their reparations to Poland under the peace of Thorn, against the restrictions and taxes on trade, and against a lack of power compared to their wealth. The foundation of the confederation was met with indifference by the grand master. When later mediation was sought with the emperor, he decided to ban the movement. This caused the Federation to go into open revolt. They then petitioned the King of Poland to become part of his realm. The King agreed.

	date = { day = 1 month = march year = 1454 }
	offset = 10
	deathdate = { day = 29 month = march year = 1454 }

	action_a = {
		name = "ACTIONNAME258012B" #We dare not anger the Order
		command = { type = relation which = LAT value = 25 }
		command = { type = trigger which = 209003 } #LAT: End of the prussian federation
	}
	action_b = {
		name = "ACTIONNAME258012A" #Sign the petition
		command = { type = trigger which = 209005 } #LAT: Poland accepts the petition
		command = { type = trigger which = 209006 } #LAT: Poland accepts the petition
		command = { type = relation which = LAT value = -200 }
		command = { type = relation which = -6 value = -50 }
		command = { type = relation which = LIV value = -100 }
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = BOH value = -50 }
		command = { type = relation which = POM value = -50 }
		command = { type = DIP which = -2 value = 12 }
		command = { type = addcore which = 301 } #Danzig, should not be necessary...
	}
}
#(1454) Prussian federation attacked prematurely
event = {
	id = 258014 #triggered by LAT_209002 C
	random = no
	country = POL
	name = "EVENTNAME258014" #Prussian Federation Attacked by Teutonic Order
	desc = "EVENTHIST258014"
	#-#On the 21st of frebuary 1440 the Prussian Federation was formed by 19 prussian cities, Danzig and Thorn amongst others, and a part of the gentry and clergy of Kulmland. It was a protest against the high taxes levied by the Teutonic Order to pay their reparations to Poland under the peace of Thorn, against the restrictions and taxes on trade, and against a lack of power compared to their wealth. The foundation of the confederation was met with swift and brutal retaliation by the order, they have petitioned for our help and have offered to join our realms, do we accept?

	date = { day = 1 month = march year = 1454 }
	offset = 10
	deathdate = { day = 29 month = march year = 1454 }

	action_a = {
		name = "ACTIONNAME258014A" #Welcome the Prussians
		command = { type = relation which = LAT value = -200 }
		command = { type = addcore which = 301 } #Danzig, should not be necessary...
	}
	action_b = {
		name = "ACTIONNAME258014B" #The order is right to attack insurgents
		command = { type = relation which = LAT value = 10 }
	}
}
#End of Petition from the Prussian Federation Sequence
#-----------------------------------------------------------------------------------------------

#(1462-1500) Polish crown inherits Masovian duchies
event = {
	id = 258016 #triggered by MAS_225001
	random = no
	country = POL
	name = "EVENTNAME225001" #Polish crown inherits Masovian duchies
	desc = "EVENTHIST225001"
	#-#In late XV century Masovia consisted of many duchies ruled by Masovian Piasts, however with the time some of Masovian Piast were dying without leaving male heritage. Polish crown used these opportunities to inherit such duchies. In 1462 Poland inherited Gostynin, Rawa and Belz and in 1492 entire Plock duchy.

	action_a = {
		name = "ACTIONNAME258016A" #Great to see these lands coming back to Polish crown
		command = { type = relation which = MAS value = -15 }
		command = { type = relation which = LAT value = -25 }
		command = { type = treasury value = 30 }
	}
}

#(1471) Prince Vladislav becomes King of Bohemia
event = {
	id = 258103 #triggered by BOH_129017 A / BOH_129023
	random = no
	country = POL
	name = "EVENTNAME258103" #The Bohemian throne
	desc = "EVENTHIST258103"
	#-#Jiriz Podiebrad died in 1471, in the middle of his struggle with Mathias Corvinus of Hungary who headed a 'crusade' against Bohemia and claimed its throne. Since his supporters were in a precarious military situation, having lost all lands of the Bohemian crown to the King of Hungary, Podiebrad had shortly before his death, despite being father of several adult sons himself, asked prince Vladislav of Poland to succeed him in order to save Hussitism and Bohemian independence. Vladislav indeed succeeded him and initiated a half century of Jagiellon rule in Bohemia.

	action_a = {
		name = "ACTIONNAME258103A" #Accept the offer and make Vladislav King of Bohemia
		command = { type = relation which = BOH value = 300 }
		command = { type = relation which = HUN value = -100 }
		command = { type = vp value = 40 }
		command = { type = alliance which = BOH }
		command = { type = dynastic which = BOH }
		command = { type = trigger which = 129042 } #BOH: Restitution of Polish lands
	}
}

#(1474-1510) First printing press in Kraków - Flavor
event = {
	id = 258036
	trigger = {
		owned = { province = 299 data = -1 } #Krakow
	}
	random = no
	country = POL
	name = "EVENTNAME258036" #First printing press in Kraków
	desc = "EVENTHIST258036"
	#-#The first printing press in Poland has been established in Kraków in 1473 or 1474. In the same time first paper mills came into being. Although first tests in Polish language (short prayers) have been published in Wroclaw (Breslau), first book in Polish language, 'Raj duszy' by Biernat from Lublin, was printed in Kraków in 1513. Also first books in Cyrillic, ordinals in Old Church Slavonic language were printed in Kraków in 1494.

	date = { day = 1 month = january year = 1474 }
	offset = 360
	deathdate = { day = 1 month = january year = 1510 }

	action_a = {
		name = "OK"
		command = { type = infra value = 100 }
	}
}

#(1490-1495) Consequences of privileges
event = {
	id = 258030
	trigger = { event = 3467 }
	random = no
	country = POL
	name = "EVENTNAME210006" #Consequences of privileges
	desc = "EVENTHIST210007"
	#-#Between the 15th and 17th century the nobility of Poland and Lithuania drastically reduced royal power. Among other things, the King could not pass laws and introduce taxes without permission from the nobility. This made the nobility richer but the royal and national treasury was permanently empty. As a result there was no money for investments and very often not enough for upkeep of troops and fortifications.

	date = { day = 1 month = january year = 1490 }
	offset = 300
	deathdate = { day = 1 month = january year = 1495 }

	action_a = {
		name = "DRATS"
		command = { type = provincetax which = 299 value = -1 } #Krakow
		command = { type = provincetax which = 301 value = -1 } #Danzig
		command = { type = provincetax which = 298 value = -1 } #Galizien
		command = { type = provincetax which = 300 value = -1 } #Wielkopolska
		command = { type = provincetax which = 303 value = -1 } #Poznan
		command = { type = provincetax which = 297 value = -1 } #Podolia
	}
}

#(1490 or 1504) Prince Wladyslav becomes King of Hungary
event = {
	id = 258104 #triggered by HUN_188122 A / HUN_188123 A or HUN_188125
	random = no
	country = POL
	name = "EVENTNAME258104" #Wladyslaw Jagiello, King of Hungary
	desc = "EVENTHIST258104"
	#-#Mathias Corvinus of Hungary died in 1490. It had been his explicit wish to let his illegitimate son Janos succeed him, however when Corvinus was dead, the young, inexperienced Janos was soon deprived of his rights and his property by the Hungarian magnates who were fed up with the strong central rule introduced by Mathias and desired a monarch 'whose beard they could hold in their fists'. Such a candidate was found in Vladislav Jagiello, King of Bohemia since 1471. Called 'King All Right' by his Bohemian subjects because of his weakness, irresoluteness and saying yes to everything, obviously completely incompetent for ruling a Kingdom and having already initiated a rapid decline of Bohemia, he was the easily controllable puppet King the magnates were looking for. Vladislav was elected King on July 5th 1490. Like Bohemia, Hungary came thus under Polish domination.

	action_a = {
		name = "GREAT"
		command = { type = relation which = HUN value = 300 }
		command = { type = vp value = 40 }
		command = { type = alliance which = HUN }
		command = { type = dynastic which = HUN }
		command = { type = trigger which = 188014 } #HUN: Restitution of Polish lands
	}
}

#(1495-1498) The Statute of Piotrkow
event = {
	id = 3468
	trigger = {
		domestic = { type = ARISTOCRACY value = 6 }
		NOT = { domestic = { type = CENTRALIZATION value = 6 } }
	}
	random = no
	country = POL
	name = "EVENTNAME3468" #The Statute of Piotrkow
	desc = "EVENTHIST3468"
	#-#Under Jan Olbracht, the son of Kazimierz IV, the policy of giving concessions to the Nobility continued. In 1496 the Statute of Piotrkow was instituted. It implied that serfdom was strengthened and accepted in law. It forbade all workers to move from their villages, except one every year. It later was extended with a work duty of six days a week. At this point the peasants of Poland had lost not only all power, but also their freedom. The power lay in the hands of the Nobility.

	date = { day = 1 month = january year = 1495 }
	offset = 30
	deathdate = { day = 1 month = january year = 1498 }

	action_a = {
		name = "ACTIONNAME3468A" #Enact
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = stability value = 2 }
	}
	action_b = {
		name = "ACTIONNAME3468B" #Enact a mild variant
		command = { type = stability value = 1 }
		command = { }
	}
	action_c = {
		name = "ACTIONNAME3468C" #Refuse to enact
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 24 value = 2 }
	}

}

#(1505) The Constitution of Radom-'Nihil Novi'
event = {
	id = 3469
	trigger = {
		domestic = { type = ARISTOCRACY value = 6 }
		NOT = { domestic = { type = CENTRALIZATION value = 6 } }
	}
	random = no
	country = POL
	name = "EVENTNAME3469" #The Constitution of Radom-'Nihil Novi'
	desc = "EVENTHIST3469"
	#-#In 1505 with the creation of the Constitution of Radom, the power of the Nobility was institutionalized. The Constitution confirmed the political primacy of the Sejm and the law of Nihil Novi deprived the Monarchy the right to pass laws without the compliance of the Sejm. It also restricted the power of the governmental officials. The King still held the power to call the Sejm.

	date = { day = 1 month = january year = 1505 }
	offset = 30
	deathdate = { day = 1 month = january year = 1506 }


	action_a = {
		name = "ACTIONNAME3469A" #Accept the power of the Sejm
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
		command = { type = manpower value = -20 }
		command = { type = stability value = 2 }
	}
	action_b = {
		name = "ACTIONNAME3469B" #Limit the power of the Sejm
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = manpower value = -10 }
		command = { type = stability value = -1 }
	}
}

#(1515-1535) Piotr Tomicki the Royal Chancellor - Flavor
event = {
	id = 258037
	random = no
	country = POL
	name = "EVENTNAME258037" #Piotr Tomicki the Royal Chancellor
	desc = "EVENTHIST258037"
	#-#Piotr Tomicki, educated at Kraków and Bologne universities, lawyer and humanist, succesively bishop of Przemysl, Poznan and Kraków, was Royal Chancellor responsible for foreign affairs in years 1515-1535. Among many successes of Polish diplomacy during that time was vassalization of Prussia in 1526, stabilization of relations with Moldavia and permanent treaty of peace and friendship with Ottoman Empire in 1533. This treaty was signed three years before similar treaty between Ottoman Empire and France, which is usually considered as turn point of European relations with Ottoman Empire.

	date = { day = 1 month = january year = 1515 }
	offset = 360
	deathdate = { day = 1 month = january year = 1535 }

	action_a = {
		name = "GREAT"
		command = { type = infra value = 50 }
		command = { type = DIP which = 2 value = 240 }
		command = { type = stability value = 1 }
		command = { type = relation which = TUR value = 100 }
		command = { type = relation which = HAB value = 25 }
		command = { type = relation which = LAT value = 25 }
		command = { type = relation which = MOL value = 25 }
		command = { type = relation which = HUN value = 25 }
		command = { type = relation which = BOH value = 25 }
		command = { type = relation which = -1 value = 25 }
		command = { type = relation which = -1 value = 25 }
	}
}

#(1525-1596) The Polish Inheritance of Masovia
#Vilkouak
event = {
	id = 20142 #triggered by MAS_20141 A
	trigger = {
		OR = {
			owned = { province = 291 data = -1 } #Masovia
			event = 20141
		}
	}
	random = no
	country = POL
	name = "EVENTNAME20142" #The Polish Inheritance of Masovia
	desc = "EVENTHIST20142"
	#-#The last princes of the Masovian line of the Piast dynasty lived short lives and were more interested in trivial distractions than in governing their state. When Janusz IV died in 1526, few cried, and Poland had no problems with incorporating their once-owned province back into the Crown.

	date = { day = 1 month = january year = 1525 }
	offset = 30
	deathdate = { day = 1 month = january year = 1596 }

	action_a = {
		name = "ACTIONNAME3473A" #Make it a personal royal fiefdom
		command = { type = inherit which = MAS }
		command = { type = treasury value = 200 }
		command = { type = revoltrisk which = 3 value = 3 }
	}
	action_b = {
		name = "ACTIONNAME3473B" #Give it piecemeal to different Magnates
		command = { type = inherit which = MAS }
		command = { type = addcore which = 291 } #Masovia
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability value = 1 }
	}
}
#(1525-1596) The Polish Inheritance of Masovia
#Vilkouak
event = {
	id = 20143 #triggered by MAS_20141 B
	random = no
	country = POL
	name = "EVENTNAME20143" #The Polish Claims on Masovia
	desc = "EVENTHIST20143"
	#-#The last princes of the Masovian line of the Piast dynasty lived short lives and were more interested in trivial distractions than in governing their state. When Janusz IV died in 1526, few cried, and Poland had no problems with incorporating their once-owned province back into the Crown. Unfortunately The rightfull inheritance of Masovia by Greater Poland has been blocked by power hungry nobles, how shall we handle this?

	action_a = {
		name = "ACTIONNAME20143A" #Cursed nobles!
		command = { type = stability value = 1 }
		command = { }
	}
}

#(1525-1548) Queen Bona Sforza
event = {
	id = 258043
	trigger = {
		monarch = 0109505 #Zygmunt I Stary
	}
	random = no
	country = POL
	name = "EVENTNAME258043" #Queen Bona Sforza
	desc = "EVENTHIST258043"
	#-#Bona Sforza married King Zygmunt I and was crowned as Queen of Poland and Grand Duchess of Lithuania on 18 april 1518. Almost from the beginning, using her influence on King and organizing her own political party Bona was expanding her power base. Grown up and educated in Italy, she believed that financial resorces are required to strenghten royal authority and realize political plans and most of her actions led to the increase of the royal income. From Pope Leon X she obtained right to nominate man into a number of lucrative church positions. Was modernizing royal estates, redeeming previously mortgaged estates and in years 1536-1546 took over lucrative custom agencies in Lithuania. At the same time she was fortifying Jagiellon's estates in the south-eastern Poland and supported aggresive policy against Tatars. Very active on the arena of international politics, pursuited decisively anti-Habsburg policy supporting John Zapolya in 1526, acted to decrease influence of Hohenzollerns in Prussia and Silesia. Bona was also corresponding with Roxelana, favorite wife of Ottoman Sultan Suleyman. In later years Bona with her people were actually ruling country. Lithuania won war against Muscovy recovering Homel and Poland defeated Moldavia. Strenghtening of royal power and rule of the elites was obviously not welcomed by nobles.

	date = { day = 1 month = january year = 1525 }
	offset = 1000
	deathdate = { day = 29 month = march year = 1548 }

	action_a = {
		name = "ACTIONNAME258043A" #She knows best
		command = { type = stability value = -1 }
		command = { type = DIP which = 2 value = 280 }
		command = { type = ADM which = 2 value = 280 }
		command = { type = MIL which = 4 value = 280 }
	}
}

#(1525-1528) Economic treatise of the Nicolaus Copernicus - Flavor
event = {
	id = 258040
	random = no
	country = POL
	name = "EVENTNAME258040" #Economic treatise of the Nicolaus Copernicus
	desc = "EVENTHIST258040"
	#-#Mikolaj Kopernik (Nicolaus Copernicus) was not only astronomer but also mathematician, lawyer, economist and clergyman. In years 1519 -1525 Kopernik worked on the treatise on the minting of money (De ratione cudendae monetae) which was published in 1528. One of his thesis is currently known as Gresham's Law (When there is a legal tender currency, bad money drives good money out of circulation). His other thesis were that depreciation of currency leads to the decline of country, mints should not be treated by rulers as source of income and cheap money does not help poor but introduces dearness.

	date = { day = 1 month = january year = 1525 }
	offset = 360
	deathdate = { day = 1 month = january year = 1528 }

	action_a = {
		name = "GREAT"
		command = { type = inflation value = -1 }
	}
}

#(1525-1548) A Jewish knight
#by Yarovit
event = {
	id = 258044
	trigger = { domestic = { type = innovative value = 4 } }
	random = no
	country = POL
	name = "EVENTNAME258044" #A Jewish knight
	desc = "EVENTHIST258044"
	#-#On 19 of April 1525 Prussian duke Albrecht kneeled before King Simgundus I and swore his vassalage to him. However, he was not the only person that bowed before the King on that day. A man named Michel Ezofowicz was promoted into the ranks of knighthood in exchange for his faithful services. The only thing that differed this act from thousands of others is that Ezofowicz was a Jew who even kept with the faith of his fathers. This was most likely the only case in European history when a Jew became a knight.

	date = { day = 19 month = april year = 1525 }
	offset = 90
	deathdate = { day = 1 month = june year = 1548 }

	action_a = {
		name = "ACTIONNAME258044" #Rise, Sir Michel!
		command = { type = vp value = 5 }
		command = { type = revoltrisk which = 12 value = 3 } #Uproar among the clergy
	}
}

#(1526-1530) Bernard Wapowski, royal cartographer - Flavor
event = {
	id = 258041
	random = no
	country = POL
	name = "EVENTNAME258041" #Bernard Wapowski, royal cartographer
	desc = "EVENTHIST258041"
	#-#Bernard Wapowski was historian and outstanding Polish cartographer. At the beginning of XVIth century cooperated with cartographer Marco Beneventano in redaction of the map of Central Europe. In 1515 returned to Poland and became King's secretary. His two first maps picturing Eastern Europe were published in 1526. It were probably the first maps correcting Ptolemy's errorneous location of the Black See. Wapowski created also map of Poland and Lithuania, which was widely used by later cartographers and had considerable military significance, e.g. during Livonian wars in second half of XVIth century.

	date = { day = 1 month = january year = 1526 }
	offset = 360
	deathdate = { day = 1 month = january year = 1530 }

	action_a = {
		name = "GREAT"
		command = { type = land value = 50 }
		command = { type = MIL which = 2 value = 48 }
	}
}

#(1527-1538) Chicken War - Flavor
#by Herryz
event = {
	id = 258047
	trigger = {
		atwar = no
		monarch = 0109505 #Zygmunt I Stary
	}
	random = no
	country = POL
	name = "EVENTNAME258047" #Chicken War
	desc = "EVENTHIST258047"
	#-#Chicken War is the name for a 1537 anti-King rebellion by the Polish nobility. The term was invented by the supporters of the King who claimed that the ''war's'' only effect was the near-extinction of the local chickens by the gathered nobles. The main cause of the rebellion was a set of reforms initiated by King Zygmunt I the Old, in order to strengthen the King's power. Zygmunts's policies ended with a major conflict. The nobility, gathered near Lwów in order to force the King to abandon his reforms. It soon transpired, however, that the leaders of the rebellion were divided and that achieving a compromise was almost impossible. The King rejected most of their demands, only agreeing to some minor ones. Too weak to continue the conflict, the szlachta returned to their homes, having achieved little.

	date = { day = 1 month = june year = 1527 }
	offset = 3300
	deathdate = { day = 1 month = june year = 1538 }

	action_a = {
		name = "ACTIONNAME258047A" #So they ate all the chickens...
		command = { type = DIP which = 1 value = 120 } #The King managed to suppress the rebellion
		command = { type = MIL which = -2 value = 120 } #Nobility = army, so the military abilities of the country fall during the rebellion
		command = { type = ADM which = 1 value = 120 } #The effect of some minor - but positive - reforms
		command = { type = stability value = -1 } #Small stability minus - the nobility rebells
	}
}

#(1528-1532) New currency - Flavor
event = {
	id = 258042
	random = no
	country = POL
	name = "EVENTNAME258042" #New currency
	desc = "EVENTHIST258042"
	#-#Justus Ludwik Decjusz (Ludwig Jodok Dietz) was economist, writer, historian, diplomat and secretary of Polish King. Born in Alsace, came to Poland in 1508. In 1528 reformed Polish monetary system and introduced new currency 'zloty' (zloto in Polish means gold). Established new mints and supervised copper mining. Basing on his project monetary union between Poland and Prussia was signed in 1528. Royal envoy to European countries, personally knew Martin Luter and Desiderius Erasmus of Rotterdam.

	date = { day = 1 month = january year = 1528 }
	offset = 360
	deathdate = { day = 1 month = january year = 1532 }

	action_a = {
		name = "GREAT"
		command = { type = infra value = 25 }
	}
}

#(1543) Nicolaus Copernicus (original by Paradox) - Flavor
#text from Mac Tutor History of Mathematics
#by Marc Figueras
event = {
	id = 5100
	trigger = { domestic = { type = innovative value = 2 } }
	random = no
	country = POL

	name = "EVENTNAME5100" #Nicolaus Copernicus and the heliocentric theory
	desc = "EVENTHIST5100"
	#-#The great astronomer Nicolaus Copernicus studied first at the university of Krakow and then travelling to Italy where he studied at the universities of Bologna and Padua. While he was in Italy, Copernicus visited Rome, and it seems to have been for friends there that in about 1513 he wrote a short account of what has since become known as the Copernican theory, namely that the Sun (not the Earth) is at rest in the centre of the Universe. A full account of the theory was apparently slow to take a satisfactory shape, and was not published until the very end of Copernicus's life, under the title 'On the revolutions of the heavenly spheres' (De revolutionibus orbium coelestium, 1543). Copernicus' cosmology was considered implausible by the vast majority of his contemporaries, and by most astronomers and natural philosophers before the middle of the 17th century.

	date = { day = 10 month = may year = 1543 }
	offset = 5
	deathdate = { day = 29 month = may year = 1543 }

	action_a = {
		name = "ACTIONNAME5100A" #I foresee a tumultuous future for these theories...
		command = { type = revoltrisk value = 3 }
		command = { type = infra value = 25 }
	}
}

#(1550-1555) Consequences of privileges
event = {
	id = 258031
	trigger = { event = 3467 }
	random = no
	country = POL
	name = "EVENTNAME210006" #Consequences of privileges
	desc = "EVENTHIST210007"
	#-#Between the 15th and 17th century the nobility of Poland and Lithuania drastically reduced royal power. Among other things, the King could not pass laws and introduce taxes without permission from the nobility. This made the nobility richer but the royal and national treasury was permanently empty. As a result there was no money for investments and very often not enough for upkeep of troops and fortifications.

	date = { day = 1 month = january year = 1550 }
	offset = 300
	deathdate = { day = 1 month = january year = 1555 }

	action_a = {
		name = "DRATS"
		command = { type = provincetax which = 299 value = -1 } #Krakow
		command = { type = provincetax which = 301 value = -1 } #Danzig
		command = { type = provincetax which = 298 value = -1 } #Galizien
		command = { type = provincetax which = 300 value = -1 } #Wielkopolska
		command = { type = provincetax which = 303 value = -1 } #Poznan
		command = { type = provincetax which = 297 value = -1 } #Masovia
	}
}

#(1553-1572) Frycz - Flavor
event = {
	id = 258009
	random = no
	country = POL
	name = "EVENTNAME258009" #Andrzej Frycz Modrzewski
	desc = "EVENTHIST258009"
	#-#Andrzej Frycz Modrzewski was one of brightest minds of the Renaissance era. This former advisor of the King Zygmunt August and Polish Catholic priest published in 1554 book entitled De Republica emendanta - On the Improvement of the State. This work was a manifesto calling for deep social and political changes in every Kingdom and especially Poland. Frycz called for equity of every citizen regardless of social class, wealth, religion or nationality and a division between the Church and the State. Frycz also proposed reform of penal and civil law, secularization of education and ban of feudal privilages. Frycz's work was soon put by the church on list of prohibited books. However, in his liberal homeland his book 'On the Improvement of the State' was popular and widely discussed. Andrzej Frycz Modrzewski was a man whose mind was far beyond his epoch. Most of his ideas were not realized before the French Revolution.

	date = { day = 1 month = june year = 1553 }
	offset = 600
	deathdate = { day = 1 month = june year = 1572 }

	action_a = {
		name = "OK"
		command = { type = stability value = -1 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = relation which = PAP value = -100 }
	}
}

#(1560-1600) Babin - Flavor
event = {
	id = 258011
	random = no
	country = POL
	name = "EVENTNAME258011" #The Republic of Babin
	desc = "EVENTHIST258011"
	#-#During the liberal reign of Zygmunt August a group of Polish politicians and writers, including Jan Kochanowski and Mikolaj Rej founded a 'Republic' in a village of Babin, near Lublin. Even name of this 'entity' was a sneer since 'Babin' literally means 'Women's'. This 'Republic' was a parody of Poland with its diet (Sejm), offices and institutional church. It's 'citizens' were spending time on mocking parliamentary speeches, political discussions and famous persons. In many times they were simply mocking themselves. 'Republic of Babin' lacked only King. When Zygmunt August pointed out this oversight, Babin's 'government' responded that they do not need any other beyond him. The 'Republic of Babin' survived decades and many generations of politicians took active part of it. Even today it is a beautiful example of freedoms and right of expression which existed in ancient Poland.

	date = { day = 1 month = january year = 1560 }
	offset = 600
	deathdate = { day = 1 month = june year = 1600 }

	action_a = {
		name = "ACTIONNAME258011A" #Ha! Ha!
		command = { type = stability value = 1 }
		command = { type = domestic which = serfdom value = -1 }
	}
	action_b = {
		name = "ACTIONNAME258011B" #No one shall mock me!
		command = { type = stability value = -2 }
		command = { type = domestic which = serfdom value = 2 }
		command = { type = domestic which = centralization value = 1 }
	}
}

#(1560-1590) The Fate of the Livonian Order
event = {
	id = 3470 #triggered by LIV_3620 A
	random = no
	country = POL
	name = "EVENTNAME3470" #The Fate of the Livonian Order
	desc = "EVENTHIST3470"
	#-#Following Russian attacks in the 1550's, and out of collapse of the Livonian Order, Master Gotthard Ketteler salvaged Kurland from the Order's territory as a secular duchy under Polish sovereignty. This vassalage brought Poland into conflict with Russia, allied with Denmark and started the 1563-1570 War of the Three Crowns against Sweden. At the 1582 armistice of Jan Zapolski, Russia was beaten, gave up Livland and Polotsk and Sweden won the Baltic province of Estland while Livland and Kurland remained under Polish control. We have signed an Agreement with the Swedes over the former Livonian Order. Shall we follow it to the letter or not?

	action_a = {
		name = "ACTIONNAME3470A" #Accept Agreement
		command = { type = vassal which = KUR }
		command = { type = addcore which = 282 } #Livland
		command = { type = addcore which = 281 } #Polotsk
		command = { type = relation which = KUR value = 150 }
		command = { type = relation which = SWE value = 100 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3470B" #Only accept our part of the Agreement
		command = { type = vassal which = KUR }
		command = { type = addcore which = 282 } #Livland
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 276 } #Estland
		command = { type = addcore which = 275 } #Ingermanland
		command = { type = relation which = KUR value = -100 }
		command = { type = relation which = SWE value = -100 }
		command = { type = stability value = -2 }
	}
}
#(1560-1590) The Fate of the Livonian Order
event = {
	id = 3471 #triggered by LIV_3620 B
	random = no
	country = POL
	name = "EVENTNAME3471" #The Fate of the Livonian Order
	desc = "EVENTHIST3471"
	#-#Following Russian attacks in the 1550's, and out of collapse of the Livonian Order, Master Gotthard Ketteler salvaged Kurland from the Order's territory as a secular duchy under Polish sovereignty. This vassalage brought Poland into conflict with Russia, allied with Denmark and started the 1563-1570 War of the Three Crowns against Sweden. At the 1582 armistice of Jan Zapolski, Russia was beaten, gave up Livland and Polotsk and Sweden won the Baltic province of Estland while Livland and Kurland remained under Polish control. The Grandmaster has signed an Agreement with Russia and Denmark.

	action_a = {
		name = "ACTIONNAME3471A" #Defy the Agreement
		command = { type = addcore which = 282 } #Livland
		command = { type = addcore which = 281 } #Polotsk
		command = { type = relation which = KUR value = -50 }
		command = { type = relation which = SWE value = 150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = DAN value = -150 }
		command = { type = casusbelli which = DAN value = 60 }
		command = { type = casusbelli which = RUS value = 60 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3471B" #Accept the Agreement
		command = { type = relation which = KUR value = 150 }
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = DAN value = 100 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 200 }
	}
}
#(1560-1590) The Fate of the Livonian Order
event = {
	id = 3472 #triggered by LIV_3620 C
	random = no
	country = POL
	name = "EVENTNAME3472" #The Fate of the Livonian Order
	desc = "EVENTHIST3472"
	#-#Following Russian attacks in the 1550's, and out of collapse of the Livonian Order, Master Gotthard Ketteler salvaged Kurland from the Order's territory as a secular duchy under Polish sovereignty. This vassalage brought Poland into conflict with Russia, allied with Denmark and started the 1563-1570 War of the Three Crowns against Sweden. At the 1582 armistice of Jan Zapolski, Russia was beaten, gave up Livland and Polotsk and Sweden won the Baltic province of Estland while Livland and Kurland remained under Polish control. The Grandmaster has announced that all his Knights have reverted to the true catholic faith and will defend its territory until death comes.

	action_a = {
		name = "ACTIONNAME3472A" #Defy the Knights
		command = { type = addcore which = 282 } #Livland
		command = { type = addcore which = 281 } #Polotsk
		command = { type = casusbelli which = LIV value = 60 }
		command = { type = stability value = -2 }
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = SWE value = 50 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = DAN value = 50 }
	}
	action_b = {
		name = "ACTIONNAME3472B" #Accept this Government
		command = { type = stability value = 1 }
		command = { type = treasury value = 200 }
		command = { type = relation which = LIV value = 150 }
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = DAN value = -50 }
	}
}

#-----------------------------------------------------------------------------------------------
#The Act of Union-'Rzeczpospolita Polska' Sequence
#removed paradox 3475 and replaced with combined Union of Lublin from Villkouak-AGC and Isaac Brock-EEP

#(1570-1574) The Act of Union-'Rzeczpospolita Polska'
#Normal Version/Lithuania at peace
event = {
	id = 20135
	trigger = {
		event = 3447 #LIT: The Act of Union with Poland -I-
		NOT = {
			owned = { province = 302 data = -1 } #Hinterpommern
			owned = { province = 313 data = -1 } #Küstrin
			owned = { province = 314 data = -1 } #Silesia
		}
		NOT = { #Other Act of Union events - Lithuania at peace
			event = 20136
			event = 20137
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = january year = 1570 }
	offset = 100
	deathdate = { day = 1 month = august year = 1574 }

	action_a = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 450 } #Belgorod
		command = { type = removecore which = 302 } #Hinterpommern
		command = { type = removecore which = 313 } #Küstrin
		command = { type = removecore which = 314 } #Silesia
		command = { type = sleepevent which = 20132 } #POL: Polish Dominance in Pomerania
		command = { type = sleepevent which = 20133 } #POL: Polish Dominance in Silesia
		command = { type = sleepevent which = 20134 } #POL: Polish Dominance in Küstrin II
		command = { type = technology which = orthodox }
	}
	action_b = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = technology which = orthodox }
	}
	action_c = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
	}
}
#(1569-1574) The Act of Union-'Rzeczpospolita Polska'
#Western Leaning Poland version/Lithuania at peace
event = {
	id = 20136
	trigger = {
		event = 3447 #LIT: The Act of Union with Poland -I-
		AND = { #At least one of the provinces but not all of them
			OR = {
				owned = { province = 302 data = -1 } #Hinterpommern
				owned = { province = 313 data = -1 } #Küstrin
				owned = { province = 314 data = -1 } #Silesia
			}
			NOT = {
				AND = {
					owned = { province = 302 data = -1 } #Hinterpommern
					owned = { province = 313 data = -1 } #Küstrin
					owned = { province = 314 data = -1 } #Silesia
				}
			}
		}
		NOT = { #Other Act of Union events - Lithuania at peace
			event = 20135
			event = 20137
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = august year = 1569 }
	offset = 100
	deathdate = { day = 1 month = january year = 1574 }

	action_a = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = technology which = orthodox }
	}
	action_b = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 450 } #Belgorod
		command = { type = removecore which = 302 } #Hinterpommern
		command = { type = removecore which = 313 } #Küstrin
		command = { type = removecore which = 314 } #Silesia
		command = { type = sleepevent which = 20132 } #POL: Polish Dominance in Pomerania
		command = { type = sleepevent which = 20133 } #POL: Polish Dominance in Silesia
		command = { type = sleepevent which = 20134 } #POL: Polish Dominance in Küstrin II
		command = { type = technology which = orthodox }
	}
	action_c = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
	}
}
#(1569-1574) The Act of Union-'Rzeczpospolita Polska'
#Western Poland/Lithuania at peace
event = {
	id = 20137
	trigger = {
		event = 3447 #LIT: The Act of Union with Poland -I-
		owned = { province = 302 data = -1 } #Hinterpommern
		owned = { province = 313 data = -1 } #Küstrin
		owned = { province = 314 data = -1 } #Silesia
		NOT = { #Other Act of Union events - Lithuania at peace
			event = 20135
			event = 20136
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = january year = 1569 }
	offset = 100
	deathdate = { day = 1 month = august year = 1574 }

	action_a = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = technology which = orthodox }
	}
	action_b = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
	}
	action_c = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 450 } #Belgorod
		command = { type = removecore which = 302 } #Hinterpommern
		command = { type = removecore which = 313 } #Küstrin
		command = { type = removecore which = 314 } #Silesia
		command = { type = sleepevent which = 20132 } #POL: Polish Dominance in Pomerania
		command = { type = sleepevent which = 20133 } #POL: Polish Dominance in Silesia
		command = { type = sleepevent which = 20134 } #POL: Polish Dominance in Küstrin II
		command = { type = technology which = orthodox }
	}
	action_d = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 296 } #Jedisan
		command = { type = addcore which = 450 } #Belgorod
		command = { type = addcore which = 460 } #Donetsk
		command = { type = addcore which = 461 } #Poltava
		command = { type = addcore which = 462 } #Krementjug
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = BOH value = -100 }
		command = { type = relation which = POM value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = DAN value = -50 }
		command = { type = relation which = KUR value = -50 }
		command = { type = relation which = HUN value = -50 }
		#command = { type = technology which = orthodox }
	}
}
#(1570-1574) The Act of Union-'Rzeczpospolita Polska'
#Normal Version/Lithuania at war
event = {
	id = 258000
	trigger = {
		event = 210000 #LIT: The Act of Union with Poland -II-
		NOT = {
			owned = { province = 302 data = -1 } #Hinterpommern
			owned = { province = 313 data = -1 } #Küstrin
			owned = { province = 314 data = -1 } #Silesia
		}
		NOT = { #Other Act of Union events - Lithuania at war
			event = 258002
			event = 258003
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = january year = 1570 }
	offset = 100
	deathdate = { day = 1 month = august year = 1574 }

	action_a = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = technology which = orthodox }
		command = { type = sleepevent which = 258004 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258005 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 20132 } #POL: Polish Dominance in Pomerania
		command = { type = sleepevent which = 20133 } #POL: Polish Dominance in Silesia
		command = { type = sleepevent which = 20134 } #POL: Polish Dominance in Küstrin II
	}
	action_b = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = technology which = orthodox }
		command = { type = sleepevent which = 258001 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258005 } #POL: The Act of Union-'Rzeczpospolita Polska'
	}
	action_c = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
		command = { type = sleepevent which = 210001 } #LIT: The Act of Union with Poland - normal (final integration)
	}
}
#(1569-1574) The Act of Union-'Rzeczpospolita Polska'
#Western Leaning Poland version/Lithuania at war
event = {
	id = 258002
	trigger = {
		event = 210000 #LIT: The Act of Union with Poland -II-
		AND = { #At least one of the provinces but not all of them
			OR = {
				owned = { province = 302 data = -1 } #Hinterpommern
				owned = { province = 313 data = -1 } #Küstrin
				owned = { province = 314 data = -1 } #Silesia
			}
			NOT = {
				AND = {
					owned = { province = 302 data = -1 } #Hinterpommern
					owned = { province = 313 data = -1 } #Küstrin
					owned = { province = 314 data = -1 } #Silesia
				}
			}
		}
		NOT = { #Other Act of Union events - Lithuania at war
			event = 258000
			event = 258003
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = august year = 1569 }
	offset = 100
	deathdate = { day = 1 month = january year = 1574 }

	action_a = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = sleepevent which = 258001 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258005 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = technology which = orthodox }
	}
	action_b = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = sleepevent which = 258004 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258005 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 20132 } #POL: Polish Dominance in Pomerania
		command = { type = sleepevent which = 20133 } #POL: Polish Dominance in Silesia
		command = { type = sleepevent which = 20134 } #POL: Polish Dominance in Küstrin II
		command = { type = technology which = orthodox }
	}
	action_c = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
		command = { type = sleepevent which = 210001 } #LIT: The Act of Union with Poland - normal (final integration)
	}
}
#(1569-1574) The Act of Union-'Rzeczpospolita Polska'
#Western Poland/Lithuania at war
event = {
	id = 258003
	trigger = {
		event = 210000 #LIT: The Act of Union with Poland -II-
		owned = { province = 302 data = -1 } #Hinterpommern
		owned = { province = 313 data = -1 } #Küstrin
		owned = { province = 314 data = -1 } #Silesia
		NOT = { #Other Act of Union events - Lithuania at war
			event = 258000
			event = 258002
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = january year = 1569 }
	offset = 100
	deathdate = { day = 1 month = august year = 1574 }

	action_a = {
		name = "ACTIONNAME3475B" #Keep it a loose structure
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = 2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = sleepevent which = 258001 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258005 } #POL: The Act of Union-'Rzeczpospolita Polska'
		#command = { type = technology which = orthodox }
	}
	action_b = {
		name = "ACTIONNAME20135C" #Focus on the West
		command = { type = vassal which = LIT }
		command = { type = relation which = LIT value = 100 }
		command = { type = stability value = -1 }
		command = { type = remove_countryculture which = ruthenian }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
		command = { type = sleepevent which = 210001 } #LIT: The Act of Union with Poland - normal (final integration)
	}
	action_c = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = vassal which = LIT }
		command = { type = alliance which = LIT }
		command = { type = stability value = -2 }
		command = { type = add_countryculture which = baltic }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = BOH value = -100 }
		command = { type = relation which = POM value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = DAN value = -50 }
		command = { type = relation which = KUR value = -50 }
		command = { type = relation which = HUN value = -50 }
		command = { type = sleepevent which = 258004 } #POL: The Act of Union-'Rzeczpospolita Polska'
		command = { type = sleepevent which = 258001 } #POL: The Act of Union-'Rzeczpospolita Polska'
	}
}
#(1572-1602) The Act of Union-'Rzeczpospolita Polska'
#(final integration-Enact Union)
event = {
	id = 258001
	trigger = {
		event = 210001 #LIT: The Act of Union with Poland - normal (final integration)
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST258001"
	#-#With the return of peace Lithuania was integrated into Poland and the Polish-Lithuanian Commonwealth was born.

	date = { day = 1 month = january year = 1572 }
	offset = 60
	deathdate = { day = 1 month = january year = 1602 }

	action_a = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 450 } #Belgorod
		command = { type = removecore which = 302 } #Hinterpommern
		command = { type = removecore which = 313 } #Küstrin
		command = { type = removecore which = 314 } #Silesia
	}
}
#(1572-1602) The Act of Union-'Rzeczpospolita Polska'
#(final integration-Remember the West)
event = {
	id = 258004
	trigger = {
		event = 210001 #LIT: The Act of Union with Poland - normal (final integration)
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST258001"
	#-#With the return of peace Lithuania was integrated into Poland and the Polish-Lithuanian Commonwealth was born.

	date = { day = 1 month = january year = 1572 }
	offset = 60
	deathdate = { day = 1 month = january year = 1602 }

	action_a = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
	}
}
#(1572-1602) The Act of Union-'Rzeczpospolita Polska'
#(final integration-Enact Union and Hold the West)
event = {
	id = 258005
	trigger = {
		event = 210001 #LIT: The Act of Union with Poland - normal (final integration)
	}
	random = no
	country = POL
	name = "EVENTNAME3475" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST258001"
	#-#With the return of peace Lithuania was integrated into Poland and the Polish-Lithuanian Commonwealth was born.

	date = { day = 1 month = january year = 1572 }
	offset = 60
	deathdate = { day = 1 month = january year = 1602 }

	action_a = {
		name = "ACTIONNAME3475A" #Enact the Union
		command = { type = inherit which = LIT }
		command = { type = flagname which = "Union" }
		command = { type = countryname value = "PLI" }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = addcore which = 280 } #Welikia
		command = { type = addcore which = 281 } #Polotsk
		command = { type = addcore which = 284 } #Belarus
		command = { type = addcore which = 285 } #Smolensk
		command = { type = addcore which = 286 } #Kursk
		command = { type = addcore which = 287 } #Mozyr
		command = { type = addcore which = 288 } #Lithuania
		command = { type = addcore which = 293 } #Volyn
		command = { type = addcore which = 294 } #Chernigov
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 296 } #Jedisan
		command = { type = addcore which = 450 } #Belgorod
		command = { type = addcore which = 460 } #Donetsk
		command = { type = addcore which = 461 } #Poltava
		command = { type = addcore which = 462 } #Krementjug
		command = { type = addcore which = 302 } #Hinterpommern
		command = { type = addcore which = 313 } #Küstrin
		command = { type = addcore which = 314 } #Silesia
	}
}
#(1567-1572 or 1572) The Act of Union-'Rzeczpospolita Polska'
event = {
	id = 3476 #triggered by LIT_3447 B or LIT_210000 B
	random = no
	country = POL
	name = "EVENTNAME3476" #The Act of Union-'Rzeczpospolita Polska'
	desc = "EVENTHIST3476"
	#-#In 1569 discussions had been held and it was evident that many magnates wanted the joint force of Lithuanian and Polish Magnates as well as the Sejms of these countries to met at Lublin on the border of their realms and unanimously swear a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but de jure. The Grand Duchy was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union would be a marriage of two partners, with only the slightest hint of the dominant position of Poland. However there was some Lithuanian opposition before 1st July...Mikolaj the Black, the head of the mighty Radziwill family had long dreamed to of detaching the Grand Duchy from the domination and recreate a Lithuania with him as King. The first steps were taken in the 1540's when Mikolaj approached the Habsburg Emperor who was very interested in seeing a weakened Poland on her borders. This lead to Mikolaj receiving the title Prince of the Holy Roman Empire in 1547. In April 1569 Mikolaj had bribed and prodded his fellow magnates into following his plan. The lower Lithuanian Szlachta was considered immature and voted as their magnates did. So on 1st July the meeting took place in Lublin, but the Lithuanian Szlachta unanimously detested any attempt to create a Union. At the same time Mikolaj let himself be crowned King of Lithuania in Vilna and announced that if Poland did not accept that Lithuania went her own way then Lithuania would realize a Military Alliance with the Emperor of the Holy Roman Empire.

	action_a = {
		name = "ACTIONNAME3476A" #Recollect the lost sheep
		command = { type = casusbelli which = LIT value = 60 }
		command = { type = relation which = LIT value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3476B" #Let them go in peace
		command = { type = relation which = LIT value = 150 }
		command = { type = relation which = RUS value = 100 }
		command = { type = gainmanufactory which = 299 value = luxury } #Krakow
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 24 value = 6 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
	}
}
#End of The Act of Union-'Rzeczpospolita Polska' Sequence
#-----------------------------------------------------------------------------------------------

#(1569-1820) Poland gains Lithuanian leaders
event = {
	id = 258029
	trigger = {
		NOT = {
			flag = [Polish_line]
		}
		owned = { province = 288 data = -1 } #Lithuania
		OR = {
			event = 20135
			event = 20136
			event = 20137
			event = 258001
			event = 258004
			event = 258005
			event = 210002 #LIT: Lithuania forms Poland
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258029" #Lithuanian leaders pledge allegiance to the Commonwealth
	desc = "EVENTHIST3475"
	#-#On July 1, 1569 the Lithuanian and Polish magnates as well as the Sejms of these countries met at Lublin on the border of their realms and unanimously signed a new Act of Union. There now existed one united Sejm convening in Warszawa and the country would have one King not only de facto but also de jure. The Grand Duchy of Lithuania was to keep its old laws, a separate treasury and its own army under its own Grand Hetman and Field-Hetman. Effectively the Union was a marriage of two partners, with only the slightest hint of the dominant position of Poland. The combined Kingdom now formally became ''Serenissima Respublica Polonie (Polish–Lithuanian Commonwealth)''.

	date = { day = 2 month = august year = 1569 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
		name = "GREAT"
		command = { type = wakeleader which = 0109810 } #M. Wisniowiecki (POL)
		command = { type = wakeleader which = 0109816 } #J.K. Chodkiewicz (POL)
		command = { type = wakeleader which = 0109824 } #Mikolaj Radziwill (POL)
		command = { type = wakeleader which = 0109828 } #Michal Pac (POL)
		command = { type = wakeleader which = 0109832 } #Lew Sapiecha (POL)
		command = { type = wakeleader which = 0109835 } #Ernest Denhoff (POL)
		command = { type = wakeleader which = 0109844 } #Krzysztof Radziwill (POL)
		command = { type = wakeleader which = 0109846 } #Janusz Radziwill (POL)
		command = { type = wakeleader which = 0109820 } #Michal Massalski (POL)
		command = { type = wakeleader which = 0109843 } #Michal Radziwill (POL)
	}
}

#(1570-1670) Warszawa
event = {
	id = 3479
	trigger = {
		NOT = { exists = LIT }
		owned = { province = 291 data = -1 }
		control = { province = 291 data = -1 }
	}
	random = no
	country = POL
	name = "EVENTNAME3479" #Warszawa
	desc = "EVENTHIST3479"
	#-#As the Act of Union-'Rzeczpospolita Polska' was instituted in 1569 and the united Sejm moved to the small town of Warszawa it did not take long until it was also made a Royal capital. With this change the centre point for Polish attention was moved North and East.

	date = { day = 1 month = january year = 1570 }
	offset = 30
	deathdate = { day = 1 month = january year = 1670 }

	action_a = {
		name = "ACTIONNAME3479A" #Let's move the Capital to Warszawa
		command = { type = capital which = 291 } #Masovia
		command = { type = land value = 1000 }
		command = { type = infra value = 1000 }
		command = { type = trade value = 500 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3479B" #Let Kraków stay Capital
		command = { type = land value = 500 }
		command = { type = infra value = 500 }
		command = { type = trade value = 1000 }
		command = { type = relation which = HAB value = 150 }
		command = { type = stability value = 3 }
	}
}

#(1573) The Pacta Conventa and the Henrykian Articles
event = {
	id = 3480
	trigger = {
		NOT = { domestic = { type = CENTRALIZATION value = 7 } }
	}
	random = no
	country = POL
	name = "EVENTNAME3480" #The Pacta Conventa and the Henrykian Articles
	desc = "EVENTHIST3480"
	#-#In 1572 the Jagellon Dynasty was extinct and a new King was to elected. His name was Henri d'Anjou. On his election he was forced to sign what have later been called the Henrykian Articles, which rectified that Poland was an elective monarchy from onwards. He also signed the Pacta Conventa, which was a formal contract between the elected monarch and the Sejm. In practice the monarch lost all power over his country. He had no power over governmental officials and he had a mere 3000 men strong Royal Army. To get anything extra he had to beg the Sejm to authorize. At this moment Poland effectively stopped being a monarchy, as the monarch was a mere figure head, and instead a true Aristocracy.

	date = { day = 1 month = january year = 1573 }
	offset = 30
	deathdate = { day = 1 month = january year = 1574 }

	action_a = {
		name = "ACTIONNAME3480A" #There is nothing we can do my King
		command = { type = manpower value = -20 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = stability value = 2 }
	}
}

#(1573-1599) Warsaw Confederation
event = {
	id = 258570
	random = no
	country = POL
	name = "EVENTNAME258570" #Warsaw Confederation
	desc = "EVENTHIST258570"
	#-#Religious tolerance in Poland had had a long tradition and had been de facto policy in the reign of the recently deceased King Zygmunt II. Following the childless death of the last King of the Jagiellon dynasty, Polish and Lithuanian nobles (szlachta) gathered at Warsaw to prevent any separatists from acting and to maintain the existing legal order. For that it was necessary to make all citizens unconditionally abide by any decision taken by a body, and the confederation was an important proof that two states stand together. On 28th of January 1573 the nobles signed a document in which representatives of all the major religions pledged each other mutual support and tolerance. The confederation created a legal basis for a new political system and at the same time secured the unity of the state which had been inhabited for generations by communities from different ethnic backgrounds (Poles, Lithuanians, Ruthenian, Germans and Jews) and of different denominations (Catholic, Protestant, Orthodox, Jewish and even Muslim). This act is remarkable in that it was not imposed by a government or by consequences of war, but rather resulted from the good will of members of Polish-Lithuanian society. It was also influenced by the 1572 French St. Bartholomew's Day Massacre, which prompted the Polish-Lithuanian nobility to see that no monarch would ever be able to carry out such an act in Poland. The articles of the Warsaw Confederation were later incorporated into the Henrician Articles, and thus became constitutional provisions alongside the Pacta conventa also instituted in 1573.

	date = { day = 28 month = january year = 1573 }
	offset = 360
	deathdate = { day = 29 month = december year = 1599 }

	action_a = {
		name = "ACTIONNAME258570A" #Hail Religious Tolerance!
		command = { type = revoltrisk which = 120 value = -4 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = SERFDOM value = -1 }
	}
}

#(1575-1590) The Sejm refuse to allow the mobilization of more troops
event = {
	id = 3738
	trigger = {
		event = 3480 #POL: The Pacta Conventa and the Henrykian Articles
	}
	random = no
	country = POL
	name = "EVENTNAME3738" #The Sejm refuse to allow the mobilization of more troops
	desc = "EVENTHIST3738"
	#-#Since the issuing of the Henrykian Articles and the Pacta Conventa the King had very little power on his own. If he was to make policies, of war for example, he had to have the consent of the Sejm. Sometimes Kings tried to drag the country into conflict and thus force the Sejm to comply out of necessity or building a domestic political coalition where changing tit for tat. But often the Sejm plainly said no.

	date = { day = 1 month = january year = 1575 }
	offset = 180
	deathdate = { day = 1 month = january year = 1590 }

	action_a = {
		name = "ACTIONNAME3742A" #Accept the veto
		command = { type = manpower value = -10 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3742B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -100 }
		command = { type = stability value = -1 }
	}
}

#(1576-1580) The Jesuit College in Vilnius developed into a university
event = {
	id = 258571
	trigger = {
		owned = { province = 288 data = -1 } #Lithuania
	}
	random = no
	country = POL
	name = "EVENTNAME258571" #The Jesuit College in Vilnius developed into a university
	desc = "EVENTHIST258571"
	#-#In 1579, a charter issued by King Stefan Bathory transformed the Jesuit college in Vilnius, founded in 1570, into an establishment of higher education, Academia et Universitas Vilnensis Societatis Jesu, the transformation being confirmed by Pope Gregory XIII. Although being away from other European cultural centers, the University equaled other famous European universities and had outstanding professors and students, some of whom were : the poet Mathias Casimir Sarbievius, the famous professor of rhetoric and philosophy Zygimantas Liauksminas, the author of the first history of Lithuania Albertas Vijukas-Kojelavicius, professor Martin Smiglecki, whose book 'Logics' was very popular in Britain and France, and many others. The first book in the Lithuanian language on the territory of the Great Duchy of Lithuania was published at the University.

	date = { day = 1 month = january year = 1576 }
	offset = 360
	deathdate = { day = 29 month = december year = 1580 }

	action_a = {
		name = "ACTIONNAME258571A" #Lithuania needs a university
		command = { type = treasury value = -150 }
		command = { type = infra value = 500 }
		command = { type = domestic which = innovative value = 1 }
	}
	action_b = {
		name = "ACTIONNAME258571B" #Keep it as a Jesuit college
		command = { type = missionaries value = 2 }
		command = { type = stability value = 1 }
	}
}

#(1576-1578) Stefan Bathory's administrative reforms
event = {
	id = 258572
	random = no
	country = POL
	name = "EVENTNAME258572" #Stefan Bathory's administrative reforms
	desc = "EVENTHIST258572"
	#-#In order to gain the support of the Szlachta, necessary for his intended army reforms, he ceded most of his judiciary powers to the Royal Tribunal in 1578 and to the Lithuanian Tribunal in 1581. He also tried to lessen the power of the Sejm in favour of the smaller and decentralized Sejmiki

	date = { day = 1 month = january year = 1576 }
	offset = 360
	deathdate = { day = 1 month = january year = 1578 }

	action_a = {
		name = "ACTIONNAME258572A" #We need their support for the reforms
		command = { type = domestic which = centralization value = -2 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
	}
	action_b = {
		name= "ACTIONNAME258572B" #Royal power is more important than the reforms
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 258573 } #POL: Stefan Bathory's Army Reforms
		command = { type = sleepevent which = 258574 } #POL: Samuel Zborowski's Execution
		command = { type = sleepevent which = 258575 } #POL: Sejm opposes Stefan Bathory's Army Reforms
	}
}

#(1576-1580) Stefan Bathory's Army Reforms
#by Ulan
event = {
	id = 258573
	trigger = {
		event = 258572 #POL: Stefan Bathory's administrative reforms
	}
	random = no
	country = POL
	name = "EVENTNAME258573" #Stefan Bathory's Army Reforms
	desc = "EVENTHIST258573"
	#-#In 1576 the new King, Stefan Bathory, began reorganising the army. He ensured the disappearance of the knight and halted the hussars' increasing use of armour, keeping them a fast manoeuvrable heavy cavalry. Batory increased the training of the hussars and so laid down the basis of this superb cavalry. Bathory was determined to improve the Polish infantry, hence his reorganisation efforts focussed on this part of the army. He modelled the new infantry on Hungarian infantry (90 percent arquebusiers, 10 percent spearmen) and also ended the use of armour.

	date = { day = 1 month = january year = 1576 }
	offset = 30
	deathdate = { day = 29 month = december year = 1580 }

	action_a = {
		name = "ACTIONNAME258573A" #Make the reforms
		command = { type = treasury value = -400 }
		command = { type = stability value = -2 }
		command = { type = land value = 3000 }
		command = { type = manpower value = 20 }
		command = { type = provincemanpower which = -2 value = 2 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
	}
	action_b = {
		name = "ACTIONNAME258573B" #Nevermind
		command = { type = stability value = 1 }
		command = { type = treasury value = 100 }
		command = { type = sleepevent which = 258575 } #POL: Sejm opposes Stefan Bathory's Army Reforms
	}
}

#(1580) Zborowski's Execution
event = {
	id = 258574
	trigger = {
		event = 258572 #POL: Stefan Bathory's administrative reforms
	}
	random = no
	country = POL
	name = "EVENTNAME258574" #Samuel Zborowski's Execution
	desc = "EVENTHIST258574"
	#-#Samuel Zborowski, who had been banished from the country by Henri Valois, returned during Bathory's reign, and launched a furious campaign against the King and his able chancellor, John Zamoyski, in the course of which he even went so far as to ask for the aid of foreign monarchs. Bathory however managed to overcome this revolt and promptly had him executed and his brother and co-conspirator exiled from the country.

	date = { day = 1 month = january year = 1580 }
	offset = 360
	deathdate = { day = 29 month = december year = 1580 }

	action_a = {
		name = "ACTIONNAME258574A" #Slay the felon
		command = { type = stability value = -2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = setflag which = [execution] }
	}
	action_b = {
		name = "ACTIONNAME258574B" #Concede mercy
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = domestic which = aristocracy value = 2 }
	}
}

#(1586) Sejm opposes Stefan Bathory's army reforms after his death
event = {
	id = 258575
	trigger = {
		flag = [execution]
	}
	random = no
	country = POL
	name = "EVENTNAME258575" #Sejm opposes Stefan Bathory's Army Reforms
	desc = "EVENTHIST258575"
	#-#After the death of Stefan Bathory the nobles and the Sejm tried in many ways to reverse the reforms made by him.

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

	action_a = {
		name = "ACTIONNAME258575A" #Undo the reforms
		command = { type = stability value = 1 }
		command = { type = manpower value = -10 }
		command = { type = provincemanpower which = -2 value = -1 }
		command = { type = domestic which = offensive value = -2 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = serfdom value = 1 }
	}
	action_b = {
		name = "ACTIONNAME258575B" #Maintain the reforms
		command = { type = stability value = -1 }
		command = { type = treasury value = -100 }
		command = { type = manpower value = -10 }
		command = { type = domestic which = quality value = -1 }
	}
}

#(1590-1605) The Sejm refuse to allow the mobilization of more troops
event = {
	id = 3739
	trigger = {
		event = 3480 #POL: The Pacta Conventa and the Henrykian Articles
	}
	random = no
	country = POL
	name = "EVENTNAME3738" #The Sejm refuse to allow the mobilization of more troops
	desc = "EVENTHIST3738"
	#-#Since the issuing of the Henrykian Articles and the Pacta Conventa the King had very little power on his own. If he was to make policies, of war for example, he had to have the consent of the Sejm. Sometimes Kings tried to drag the country into conflict and thus force the Sejm to comply out of necessity or building a domestic political coalition where changing tit for tat. But often the Sejm plainly said no.

	date = { day = 1 month = january year = 1590 }
	offset = 180
	deathdate = { day = 1 month = january year = 1605 }

	action_a = {
		name = "ACTIONNAME3738A" #Accept the decision
		command = { type = manpower value = -10 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3738B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -100 }
		command = { type = stability value = -1 }
	}
}

#(1590-1636) Sedziwoj - Flavor
event = {
	id = 258008
	random = no
	country = POL
	name = "EVENTNAME258008" #Michael Sendivogius
	desc = "EVENTHIST258008"
	#-#Michal Sedziwoj, or Michael Sendivogius, was a Polish alchemist, philosopher, and medic and a pioneer of modern chemistry. Sendivogius was different from most of his colleagues since he never claimed that he possessed philosopher's stone or any other kind of supernatural power. He preferred empirical studies which led him to many discoveries. For example, Sendivogius assumed that air is not a single substance, and by heating saltpeter he isolated oxygen, which he called the Elixir of Life. Sendivogius's fame reached Emperor Rudolf II, who invited him to Prague and imprisoned him, believing that Sendivogius actually possessed the legendary philosopher's stone. This led to a major diplomatic crisis between Poland and Austria. The alchemist was eventually released on demand of the Polish King Zygmunt III.

	date = { day = 1 month = june year = 1590 }
	offset = 4600
	deathdate = { day = 1 month = june year = 1636 }

	action_a = {
		name = "OK"
		command = { type = relation which = HAB value = -50 }
		command = { type = infra value = 400 }
	}
}

#(1595-1620) The Union of Brest
event = {
	id = 25000
	trigger = {
		religion = catholic
	}
	random = no
	country = POL
	name = "EVENTNAME25000" #The Union of Brest
	desc = "EVENTHIST25000"
	#-#Since the Great Schism of 1054 between the Catholic and Orthodox faiths, Christians had looked for a way to bring the two religions together. In 1596 several Orthodox and Catholic Bishops met in a church council in Brest to propose a limited union. The Orthodox Bishops offer to recognize the authority of the Pope as long as their traditional liturgy and rights were allowed to continue, including the rights of priests to marry.

	date = { day = 1 month = january year = 1595 }
	offset = 600
	deathdate = { day = 1 month = january year = 1620 }

	action_a = {
		name = "ACTIONNAME25000A" #Accept the Union
		command = { type = stability value = 2 }
		command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
		command = { type = revoltrisk which = 24 value = 2 }
	}
	action_b = {
		name = "ACTIONNAME25000B" #Reject the Union
		command = { type = stability value = -1 }
	}
}

#(1595) Meddling in Moldavia
#By Khephren
event = {
	id = 258045
	trigger = {
		exists = HAB
		exists = TUR
		neighbour = MOL
		NOT = { vassal = { country = MOL country = POL } }
		NOT = { vassal = { country = POL country = MOL } }
	}
	random = no
	country = POL
	name = "EVENTNAME258045" #Meddling in Moldavia
	desc = "EVENTHIST258045"
	#-#In 1593, war between the Ottoman Empire and the Habsburgs started. In 1594 a very strong Tatar raid, carried by about 20,000-30,000 men led by the Khan of Crimea, Gazi II Giray plundered Pokucie and moved to Hungary through mountain passes, in order to plunder Habsburg lands. Commonwealth troops gathered too late to intercept it. The Prince of Transylvania, Sigismund Báthory, nephew of former Polish King Stefan Batory, had strengthened Habsburg influence in Moldavia after setting Stefan Razvan on the Moldavian throne. In 1595 Zamoyski, persuaded by Moldavian refugees, decided to intervene. The Commonwealth forces under hetman Jan Zamoyski crossed the Dniestr, defeated local opposition and Ottoman reinforcements, and set Ieremia Movila on the Moldavian throne as a Commonwealth vassal. This was seen by many as very dangerous step because Ottomans were preparing to place their own candidate on Moldavian throne.

	date = { day = 20 month = july year = 1595 }
	offset = 10
	deathdate = { day = 21 month = august year = 1595 }

	action_a = {
		name = "ACTIONNAME258045A" #Sweep into Moldavia
		command = { type = stability value = 1 }
		command = { type = relation which = TUR value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = trigger which = 231003 } #MOL: Polish Invasion
	}
	action_b = {
		name = "ACTIONNAME258045B" #Leave it alone
		command = { type = stability value = -1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = relation which = MOL value = 50 }
		command = { type = relation which = HAB value = 50 }
	}
}
#(1595) Submission of Moldavia
#By Khephren
event = {
	id = 258046
	trigger = {
		event = 231003 #MOL: Polish Invasion
	}
	random = no
	country = POL
	name = "EVENTNAME258046" #Moldavian Puppet
	desc = "EVENTHIST258046"
	#-#Moldavia submitted to Poland and Ieremia Movila will sit on the Moldavian throne as a Commonwealth vassal.

	date = { day = 22 month = august year = 1595 }
	offset = 2
	deathdate = { day = 2 month = september year = 1595 }

	action_a = {
		name = "GREAT"
		command = { type = vassal which = MOL }
	}
}

#(1600-1700) Sarmatism - Flavor
event = {
	id = 258010
	random = no
	country = POL
	name = "EVENTNAME258010" #Sarmatism
	desc = "EVENTHIST258010"
	#At the beginning of the 17th century Poland saw a drastic turnover in its cultural life. Up to this date Poland's material culture was just like that on the West. But it changed. Polish nobiles started to believe in myth that they are descendants of an ancient nomadic people named Sarmatians. That gave name to this cultural movement - Sarmatism. Sarmatism was famous for its unique 'Polish' costumes (in fact it was a mixture of Hungarian and Turkish costumes), art, way of life and even way of speaking in intentionally incorrect Polish. Unfortunately, soon the main virtues of Sarmatism degenerated. Patriotism turned into xenophobia, hospitality into massive drunkenness, love of tradition into social and political conservatism, pride into ferocity. Sarmatism did not affect only the westernmost parts of the country. Elsewhere it went out of fashion in the second half of 18th century when Poland returned to the Western ways.

	date = { day = 1 month = january year = 1600 }
	offset = 5600
	deathdate = { day = 1 month = june year = 1700 }

	action_a = {
		name = "ACTIONNAME258010A" #We are proud descentants of the Sarmatians!
		command = { type = stability value = 2 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = quality value = -2 }
		command = { type = domestic which = innovative value = -2 }
	}
	action_b = {
		name = "ACTIONNAME258010B" #No, we are part of the West
		command = { type = stability value = -2 }
		command = { type = treasury value = -200 }
	}
}

#(1604) Russian pretender
event = {
	id = 40104
	trigger = {
		exists = RUS
		NOT = { exists = LIT }
		NOT = {
			vassal = { country = RUS country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME40104" #Russian pretender
	desc = "EVENTHIST40104"
	#-#Early in 1604, Grigory Otrepiev, who claimed to be Dmitry, the miraclously survived son of Ivan IV, appeared in Poland asking for help from King Sigismund to remove Godunov, and place himself on the Russian throne. While Sigismund was intrigued with the idea of releasing the pretender, he was well aware of nobility's concern with sponsoring such an enterprise directly, as they were scared of possible alliance between Sweden and Russia which would've likely materialized had Poland openly supported the cause of the pretender. King Sigismund chose to let the nobles act, and gave Otrepiev 40,000 zloty of yearly income instead.

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

	action_a = {
		name = "ACTIONNAME40104A" #Give him money, but let the nobles do the work
		command = { type = treasury value = -100 }
		command = { type = relation which = RUS value = -200 }
		command = { type = relation which = SWE value = -70 }
		command = { type = sleepevent which = 40105 } #SWE: Russian pretender finds support at Polish Court
		command = { type = sleepevent which = 40108 } #RUS: Poland returns the pretender
	}
	action_b = {
		name = "ACTIONNAME40104B" #Support him openly
		command = { type = treasury value = -200 }
		command = { type = relation which = RUS value = -400 }
		command = { type = relation which = SWE value = -300 }
		command = { type = casusbelli which = RUS value = 72 }
		command = { type = CAV which = -1 VALUE = 8000 }
		command = { type = stability value = -4 }
		command = { type = sleepevent which = 40108 } #RUS: Poland returns the pretender
	}
	action_c = {
		name = "ACTIONNAME40104C" #Send him back to Boris
		command = { type = stability value = 1 }
		command = { type = relation which = RUS value = 100 }
		command = { type = relation which = SWE value = 50 }
		command = { type = sleepevent which = 3414 } #RUS: Pretender!!!
		command = { type = sleepevent which = 40105 } #SWE: Russian pretender finds support at Polish Court
		command = { type = sleepevent which = 40107 } #SWE: Russian pretender receives cautious support
	}
}

#(1607) The Jesuit King
event = {
	id = 3477
	random = no
	country = POL
	name = "EVENTNAME3477" #The Jesuit King
	desc = "EVENTHIST3477"
	#-#Zygmunt III was the son of the King Johan III of Sweden. His father was a man that ruled a staunch protestant country, but with a personal leaning toward Catholicism. Zygmunt was brought up by Jesuits and preferred their company. Religion was as important to him as politics and one of his great obsessions was to make Catholicism the State-religion of Poland. This was perhaps the most impossible task a man, even if King, to accomplish in Poland. The Freedom of religion and the ideological principle of religious tolerance was the fundament of Polish society. Zygmunt though strong willed and stubborn tried. He of course had the whole country against him and failed. These acts also made him many enemies, which would stop him from reforming the government and strengthen Royal power in the first decade of the 17th century.

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

	action_a = {
		name = "ACTIONNAME3477A" #Religious Freedom won the day
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3477B" #The Catholic Faith is the First among Equals
		command = { type = religion which = catholic }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = HAB value = 70 }
		command = { type = relation which = SPA value = 70 }
		command = { type = relation which = PAP value = 70 }
		command = { type = stability value = -1 }
	}
	action_c = {
		name = "ACTIONNAME3477C" #Hail the Jesuit King!
		command = { type = religion which = counterreform }
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = dynastic which = HAB }
		command = { type = dynastic which = SPA }
		command = { type = dynastic which = PAP }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 12 }
	}
}

#(1607-1611) The Struggle for Royal Power
event = {
	id = 3481
	random = no
	country = POL
	name = "EVENTNAME3481" #The Struggle for Royal Power
	desc = "EVENTHIST3481"
	#-#In the early 17th century Poland was one of the mightiest countries in the world, yet she had great problems. The trade and technical production of Eastern Europe was based along the Baltic Coast. There lay the future of the next major power in the area. The King saw this and tried to improve Polish position in these areas, but the Szlachta was not remotely interested. Her interests lay in the Ukraine and the Wild lands where the Magnates could rule armies of serfs on the vast agricultural production plants. This was the first disagreement between King Zygmunt III and the Nobility. Another one was the matter of the religious freedom. The King never stopped working for making the Catholic Faith the foremost religion in the country. However he was quite unsuccessful. The last disagreement was the about Royal power. Zygmunt was the grandson of the strong Swedish King Gustavus Wasa and he worked for absolutism. Zygmunt fought an uneven fight, but his struggle irritated the Poles so much that his reputation is tarnished to this very day. He also managed to upset people with his undiplomatic efforts to increase his power and because of that the Zebrzydowski rebellion stopped his effort for good.

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

	action_a = {
		name = "ACTIONNAME3481A" #Fight a bitter but peaceful conflict
		command = { type = sleepevent which = 3740 } #POL: The Sejm refuse to allow the mobilization of more troops
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = revoltrisk which = 120 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3481B" #Resign completely and read theological books instead
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = revoltrisk which = 120 value = -2 }
		command = { type = stability value = 3 }
	}
	action_c = {
		name = "ACTIONNAME3481C" #Wage a war of extermination on the Nobility
		command = { type = sleepevent which = 3740 } #POL: The Sejm refuse to allow the mobilization of more troops
		command = { type = sleepevent which = 3741 } #POL: The Sejm refuse to allow the mobilization of more troops
		command = { type = domestic which = ARISTOCRACY value = -6 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = revoltrisk which = 240 value = 5 }
		command = { type = stability value = -1 }
	}
}

#(1608) Russo-Polish truce
event = {
	id = 40115
	trigger = {
		exists = RUS
		NOT = { exists = LIT }
		event = 3414 #RUS: Pretender
		NOT = {
			event = 40114 #RUS: Dmitry retakes the throne
		}
	}
	random = no
	country = POL
	name = "EVENTNAME40115" #Russo-Polish truce
	desc = "EVENTHIST40115"
	#-#On July 25, 1608 Poland and Russia signed a truce for 3 years and 11 months, which set the issue of the first False Dmitry. According to the treaty, both countries agreed to leave the border intact, support each other against common enemies and exchange the prisoners. Poland also agreed not to support any more pretenders seeking Russian throne, and was obliged to order her citizens in pretender's camp in Tushino to immediately leave the territory of Russia. Polish government made a lukewarm attempt to implement the treaty, but the nobles camping with the new pretender refused to leave.

	date = { day = 24 month = july year = 1608 }

	action_a = {
		name = "ACTIONNAME40115A" #Sign the treaty, but do not enforce
		command = { type = relation which = RUS value = 25 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = trigger which = 40116 } #RUS: Poland signs the treaty
	}
	action_b = {
		name = "ACTIONNAME40115B" #Sign it and enforce
		command = { type = relation which = RUS value = 90 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = stability value = -2 }
		command = { type = trigger which = 40116 } #RUS: Poland signs the treaty
	}
	action_c = {
		name = "ACTIONNAME40115C" #Demand concessions
		command = { type = relation which = RUS value = -100 }
		command = { type = trigger which = 40117 } #RUS: Poland refuses to sign the treaty
	}
}

#(1609) Emperor Wladislav of Russia
event = {
	id = 3478
	trigger = {
		exists = RUS
		NOT = { exists = LIT }
	}
	random = no
	country = POL
	name = "EVENTNAME3478" #Emperor Wladislav of Russia
	desc = "EVENTHIST3478"
	#-#The Time of Troubles in Russia was a great triangular drama, between Poles and Swedes and of course, Russians in the Middle. Poland had since the outbreak supported the different False Dimitrijs, but in 1609 a Russian Boyar embassy arrived in Warszawa and proposed to make Zygmunt III's eldest son, Wladyslav, the new Tsar of Russia. This was a great and interesting opportunity and with a completely different father, Wladyslaw might have brought the Wasa Dynasty on the Russian throne. However, one of the prerequisites was that Wladyslaw converted to the Orthodox Faith something that was completely unthinkable for his father, the Jesuit-King. Instead the refusal made that faction of Boyars rally around a new candidate and Zygmunt had to declare war on Russia to be able to meddle in that muddy pound.

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


	action_a = {
		name = "ACTIONNAME3478A" #Vladimir Wasa, Tsar of all Russians
		command = { type = casusbelli which = RUS value = 6 }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = SWE value = -100 }
	}
	action_b = {
		name = "ACTIONNAME3478B" #No we will not meddle in their Civil War
		command = { type = relation which = RUS value = -100 }
		command = { type = stability value = 1 }
		command = { type = relation which = SWE value = 50 }
	}
}

#(1609-1610) Treaty of Vyborg
event = {
	id = 40121
	trigger = {
		exists = RUS
		NOT = { exists = LIT }
		NOT = { war = { country = POL country = RUS } }
		event = 40119 #RUS: Treaty of Vyborg
	}
	random = no
	country = POL
	name = "EVENTNAME40121" #Polish reaction to the treaty of Vyborg
	desc = "EVENTHIST40121"
	#-#After the signing of the treaty of Vyborg between Russia and Sweden, Polish King Sigismund decided to act. While he was looking to unite the Kingdoms of Poland and Russia, he offered his son Vladislav as a future tsar of Russia. In september of 1609, Polish troops under Zólkiewski crossed the border into Russia.

	date = { day = 2 month = june year = 1609 }
	offset = 120
	deathdate = { day = 1 month = november year = 1610 }

	action_a = {
		name = "ACTIONNAME40121A" #Teach them a lesson
		command = { type = war which = RUS }
		command = { type = casusbelli which = RUS value = 60 } #in case of no automatic DOW on RUS
		command = { type = trigger which = 40122 } #SWE: War or peace
	}
	action_b = {
		name = "ACTIONNAME40121B" #Leave them alone
		command = { type = relation which = RUS value = 50 }
		command = { type = sleepevent which = 40122 } #SWE: War or peace
	}
}

#(1609-1613) Tsar Vladislav
event = {
	id = 40125 #triggered by RUS_40124 A
	random = no
	country = POL
	name = "EVENTNAME40125" #Russia agrees to crown Vladislav
	desc = "EVENTHIST40125"
	#-#The boyars decided to take the least of two evils and agreed to crown son of Sigismund, Vladislav as their tsar. Russia is now our vassal.

	action_a = {
		name = "EXCELLENT"
		command = { type = vassal which = RUS }
		command = { type = relation which = SWE value = -100 }
		command = { type = stability value = -1 }
		command = { type = trigger which = 40127 } #SWE: Russo-Polish alliance
	}
}

#(1610-1615) Duke Wilhelm of Courland purchases Piltyn district
event = {
	id = 258015 #triggered by KUR_206006 A
	random = no
	country = POL
	name = "EVENTNAME258015" #Duke Wilhelm of Courland purchases Piltyn district
	desc = "EVENTHIST258015"
	#-#Wilhelm, Duke of Courland, wishes to buy Piltyn district, a region under our direct rule in Courland. What will be our response?

	action_a = {
		name = "ACTIONNAME258015A" #Sell it to our loyal vassal
		command = { type = relation which = KUR value = 50 }
		command = { type = treasury value = 100 }
		command = { type = trigger which = 206008 } #KUR: Duke Wilhelm of Courland purchases Piltyn district
	}
	action_b = {
		name = "ACTIONNAME258015B" #Refuse
		command = { type = relation which = KUR value = -50 }
	}
}

#(1611-1630) The Sejm refuse to allow the mobilization of more troops
event = {
	id = 3740
	trigger = {
		event = 3480 #POL: The Pacta Conventa and the Henrykian Articles
	}
	random = no
	country = POL
	name = "EVENTNAME3738" #The Sejm refuse to allow the mobilization of more troops
	desc = "EVENTHIST3738"
	#-#Since the issuing of the Henrykian Articles and the Pacta Conventa the King had very little power on his own. If he was to make policies, of war for example, he had to have the consent of the Sejm. Sometimes Kings tried to drag the country into conflict and thus force the Sejm to comply out of necessity or building a domestic political coalition where changing tit for tat. But often the Sejm plainly said no.

	date = { day = 1 month = january year = 1611 }
	offset = 180
	deathdate = { day = 1 month = january year = 1630 }

	action_a = {
		name = "ACTIONNAME3738A" #Accept the decision
		command = { type = manpower value = -10 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3738B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -100 }
		command = { type = stability value = -1 }
	}
}

#(1631-1651) The Sejm refuse to allow the mobilization of more troops
event = {
	id = 3741
	trigger = {
		event = 3480 #POL: The Pacta Conventa and the Henrykian Articles
	}
	random = no
	country = POL
	name = "EVENTNAME3738" #The Sejm refuse to allow the mobilization of more troops
	desc = "EVENTHIST3738"
	#-#Since the issuing of the Henrykian Articles and the Pacta Conventa the King had very little power on his own. If he was to make policies, of war for example, he had to have the consent of the Sejm. Sometimes Kings tried to drag the country into conflict and thus force the Sejm to comply out of necessity or building a domestic political coalition where changing tit for tat. But often the Sejm plainly said no.

	date = { day = 1 month = january year = 1631 }
	offset = 180
	deathdate = { day = 1 month = january year = 1651 }

	action_a = {
		name = "ACTIONNAME3738A" #Accept the decision
		command = { type = manpower value = -10 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3738B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -100 }
		command = { type = stability value = -1 }
	}
}

#(1632-1648) Vladislavian army reforms
#by Yarovit
event = {
	id = 258028
	random = no
	country = POL
	name = "EVENTNAME258028" #Vladislavian army reforms
	desc = "EVENTHIST258028"
	#-#While Sigmundus III Vasa was a complete dilettante in matters of warfare, his eldest son Vladislav IV Vasa proved to be a man of great military skills. Carefully educated, he distinguished himself during the war with the Ottoman Empire in 1620-21. Then he traveled to the Western Europe where he met some of Europe's famous commanders, including Spinola. After ascending onto Polish throne, Vladislav conducted many far-reaching military reforms. He reequipped artillery and infantry, increasing their firepower and Westernizing their drill and logistics. His new Polish army soon proved it effectiveness. It completely defeated the Russians in an excellent campaign during the Smolensk War (1633-4), made the Turks abandon their invasion plans (1634) and forced the Swedes to sign new, favorable truce (1635). Vladislavian army reforms prolonged Polish military supremacy in Central and Eastern Europe for 20 additional years.

	date = { day = 1 month = january year = 1632 }
	offset = 400
	deathdate = { day = 1 month = june year = 1648 }

	action_a = {
		name = "EXCELLENT"
		command = { type = land value = 2000 }
		command = { type = MIL which = 1 value = 48 }
	}
}

#(1634-1687) Jan Heweliusz - Flavor
event = {
	id = 258007
	random = no
	country = POL
	name = "EVENTNAME258007" #Johannes Hevelius
	desc = "EVENTHIST258007"
	#-#Johannes Hevelius (Polish: Jan Heweliusz) was born in 1611 to a Gdansk family of prominent brewing merchants of Czech origin. During his youth he studied abroad in Germany, England and France. After returning to his home city in 1634, he became a prominent figure in Gdansk as a magistrate and a successful businessman. However, his main interest was astronomy. Hevelius spent four years observing the Moon and created detailed maps of the lunar surface. He also discovered the Moon's libration in magnitude. Careful observations allowed Hevelius to discover many stars and seven new constellations. Among the latter is the Shield of Sobieski - Scutum Sobiescanum, known as Scutum, the only constellation named after a historical figure. Hevelius was also interested in comets and discovered four new comets in the years 1652, 1661, 1672 and 1677. His discoveries led him to assume that these objects circulate the Sun in parabolic tracks. Johannes Hevelius died in 1687. Among his students was a young Englishman named Edmund Halley.

	date = { day = 1 month = june year = 1634 }
	offset = 4600
	deathdate = { day = 1 month = june year = 1687 }

	action_a = {
		name = "EXCELLENT"
		command = { type = vp value = 50 }
		command = { type = infra value = 250 }
		command = { type = trade value = 250 }
	}
}

#(1641) Baroque helicopter
event = {
	id = 258020
	random = no
	country = POL
	name = "EVENTNAME258020" #Baroque helicopter
	desc = "EVENTHIST258020"
	#-#In 1641 the Polish Royal court was visited by the famous Italian scientist Tito Livio Burattini, who specialized in architecture, mining, physics, mechanics, hydraulics, metrology and engravings among other things. The Italian was warmly welcomed by the King and settled in Poland. It was his initiatives to build one of contemporary Europe's biggest observatories in Ujazdow castle (near Warsaw) and to construct an extremely complex hydraulic scale. He also proposed to replace all the countless European systems of length measures by one integral metric system. In February 1648 De Nuaire, secretary of Queen Ludwika Maria of Poland, wrote to the famous Parisian astronomer Marino Marsene that in Warsaw Burattini demonstrated 'a model of 4 or 5 foots in length, which with the help of flex placed under the tail, could rise to the air: the flex was moving a spring and a wheel placed inside. This model could rise a cat sitting in it.' Later De Nuaire wrote that the Italian constructed 'a flying ship', which could transport a man. Soon Europe was full of rumours that at the Polish court a 'flying dragoon' was invented, which could transport three men from Warsaw to Constantinople within 12 hours!

	date = { day = 1 month = january year = 1641 }
	offset = 5
	deathdate = { day = 1 month = january year = 1642 }

	action_a = {
		name = "ACTIONNAME258020A" #Let's fly
		command = {type = infra value = 25}
	}
}

#(1645-1646) Ludwika-Maria (1611-67)
#by Aylo1
event = {
	id = 258056
	trigger = {
		event = 220032 #MAN: Treaty of Cherasco
	}
	random = no
	country = POL
	name = "EVENTNAME258056" #Ludwika-Maria (1611-67)
	desc = "EVENTHIST258056"
	#-#Daughter of Charles Gonzaga de Nevers and Catherine de Guise, Maria-Louisa was renamed Ludwika-Maria upon her marriage to Wladyslaw IV Vasa (1646) then her brother-in-law Jan II Kazimierz (1649). The Polish nobility were scandalized by their Queen-Consort's active role in Polish affairs. Regardless she proved instrumental in governing the Polish-Lithuanian Commonwealth during the Deluge (1647-60). Ludwika-Maria also founded the first Polish newspaper 'Merkuriusz Polski' (1652) and a convent for the 'Order of the Visitation of Holy Mary' (1654).

	date = { day = 5 month = november year = 1645 }
	offset = 120
	deathdate = { day = 10 month = march year = 1646 }

	action_a = {
		name = "OK"
		command = { type = relation which = MAN value = 30 }
		command = { type = dynastic which = MAN }
		command = { type = treasury value = -25 }
	}
}

#(1646-1651) Siemienowicz - Flavor
event = {
	id = 258006
	random = no
	country = POL
	name = "EVENTNAME258006" #Kazimierz Siemienowicz
	desc = "EVENTHIST258006"
	#-#Kazimierz Siemienowicz (1600-1651) was born in a poor noble family with military service traditions. After education he joined Polish army as a professional soldier and earned fame of an excellent engineer. In 1644 he moved to Netherlands to continue his studies and served in the army of duke of Orange. In 1646 King Wladyslaw recalled him to Poland and appointed as a high-rank officer in Royal Artillery Corps where he spent three years reforming Polish artillery and fortifications. Siemienowicz's main work was Artis Magnae Artilleriae, (The Complete Art of Artillery), which became main artillery manual throughout Europe for two centuries. In his book Siemienowicz revealed his revolutionary ideas on metallurgy, ballistics, gunpowder, fireballs and various pyrotechnic devices. Book contains also a chapter on rockets designed for both civil and military purposes including multistage rockets, rocket batteries and rockets with delta wing stabilizers. This makes Siemienowicz one of European pioneers of rocketry.

	date = { day = 1 month = january year = 1646 }
	offset = 400
	deathdate = { day = 1 month = june year = 1651 }

	action_a = {
		name = "EXCELLENT"
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = offensive value = -1 }
		command = { type = vp value = 10 }
		command = { type = ART which = -1 value = 10 }
		command = { type = relation which = HOL value = 50 }
	}
}

#(1648-1665) The Deluge
#by Herr Doktor with modifications by Duc de Guise and rybka
event = {
	id = 258058
	trigger = {
		countrysize = 12
		atwar = yes
		NOT = { stability = 0 }
		OR = {
			#POL owns and NOT controls 2 key provinces
			OR = {
				AND = {
					owned = { province = 291 data = -1 } #Masovia
					NOT = { control = { province = 291 data = -1 } } #Masovia
				}
				AND = {
					owned = { province = 301 data = -1 } #Danzig
					NOT = { control = { province = 301 data = -1 } } #Danzig
				}
			}
			OR = {
				AND = {
					owned = { province = 291 data = -1 } #Masovia
					NOT = { control = { province = 291 data = -1 } } #Masovia
				}
				AND = {
					owned = { province = 288 data = -1 } #Lithuania
					NOT = { control = { province = 288 data = -1 } } #Lithuania
				}
			}
			OR = {
				AND = {
					owned = { province = 291 data = -1 } #Masovia
					NOT = { control = { province = 291 data = -1 } } #Masovia
				}
				AND = {
					owned = { province = 299 data = -1 } #Krakow
					NOT = { control = { province = 299 data = -1 } } #Krakow
				}
			}
			OR = {
				AND = {
					owned = { province = 299 data = -1 } #Krakow
					NOT = { control = { province = 299 data = -1 } } #Krakow
				}
				AND = {
					owned = { province = 301 data = -1 } #Danzig
					NOT = { control = { province = 301 data = -1 } } #Danzig
				}
			}
			OR = {
				AND = {
					owned = { province = 291 data = -1 } #Masovia
					NOT = { control = { province = 291 data = -1 } } #Masovia
				}
				AND = {
					owned = { province = 295 data = -1 } #Ukraina
					NOT = { control = { province = 295 data = -1 } } #Ukraina
				}
			}
			OR = {
				AND = {
					owned = { province = 299 data = -1 } #Krakow
					NOT = { control = { province = 299 data = -1 } } #Krakow
				}
				AND = {
					owned = { province = 295 data = -1 } #Ukraina
					NOT = { control = { province = 295 data = -1 } } #Ukraina
				}
			}
			OR = {
				AND = {
					owned = { province = 291 data = -1 } #Masovia
					NOT = { control = { province = 291 data = -1 } } #Masovia
				}
				AND = {
					owned = { province = 293 data = -1 } #Volyn
					NOT = { control = { province = 293 data = -1 } } #Volyn
				}
			}
			OR = {
				AND = {
					owned = { province = 300 data = -1 } #Wielkopolska
					NOT = { control = { province = 300 data = -1 } } #Wielkopolska
				}
				AND = {
					owned = { province = 297 data = -1 } #Podolia
					NOT = { control = { province = 297 data = -1 } } #Podolia
				}
				AND = {
					owned = { province = 281 data = -1 } #Polotsk
					NOT = { control = { province = 281 data = -1 } } #Polotsk
				}
			}
			OR = {
				AND = {
					owned = { province = 293 data = -1 } #Volyn
					NOT = { control = { province = 293 data = -1 } } #Volyn
				}
				AND = {
					owned = { province = 284 data = -1 } #Belarus
					NOT = { control = { province = 284 data = -1 } } #Belarus
				}
				AND = {
					owned = { province = 303 data = -1 } #Poznan
					NOT = { control = { province = 303 data = -1 } } #Poznan
				}
			}
			OR = {
				AND = {
					owned = { province = 295 data = -1 } #Ukraina
					NOT = { control = { province = 295 data = -1 } } #Ukraina
				}
				AND = {
					owned = { province = 288 data = -1 } #Lithuania
					NOT = { control = { province = 288 data = -1 } } #Lithuania
				}
				AND = {
					owned = { province = 300 data = -1 } #Wielko
					NOT = { control = { province = 300 data = -1 } } #Wielko
				}
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258058" #The Deluge
	desc = "EVENTHIST258058"
	#-#The period 1648-1660 is colloquially called 'The Deluge' in historiography of the Polish-Lithuanian Commonwealth. Bet by the devastating Khmelnitsky's uprising, invaded by simultaneously by the Crimean Tatars, Russians, Swedes, Brandenburgians and Siebenburgians, the country literally collapsed in 1655 and King Jan Kazimierz was forced to flee from his realm. However, in a surprising twist of fortune, the Commonwealth rose again like phoenix from ashes and managed to repel the invaders away from its borders. Yet, it never truly recovered. The demographic and economic results of 'The Deluge' were devastating. The country had lost one third of its population. What's more, the decade of wars completely ruined the Commonwealth and turned much of its population into poverty. The times of prosperity were finally gone. The stage for the magnate oligarchy was prepared.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "ACTIONNAME258058A" #Lord! Why have you forsaken us?
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 24 value = 10 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincemanpower which = -1 value = -1 }
		command = { type = provincemanpower which = -1 value = -1 }
		command = { type = provincemanpower which = -1 value = -1 }
		command = { type = provincemanpower which = -1 value = -1 }
		command = { type = provincemanpower which = -1 value = -1 }
		command = { type = MIL which = 2 value = 60 } #This is to emulate the struggle for independence, surge of nationalism, etc. After all, the Commonwealth repelled the invasions.
	}
}
#-----------------------------------------------------------------------------------------------
#(1648-1665) Raids in Polish lands
#Danzig
event = {
	id = 258060
	trigger = {
		atwar = yes
		owned = { province = 301 data = -1 }
		NOT = { control = { province = 301 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 301 value = -2 }
		command = { type = provincetax which = 301 value = -2 }
	}
}
#Poznan
event = {
	id = 258061
	trigger = {
		atwar = yes
		owned = { province = 303 data = -1 }
		NOT = { control = { province = 303 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 303 value = -1 }
		command = { type = provincetax which = 303 value = -2 }
	}
}
#Wielkopolska
event = {
	id = 258062
	trigger = {
		atwar = yes
		owned = { province = 300 data = -1 }
		NOT = { control = { province = 300 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 300 value = -2 }
		command = { type = provincetax which = 300 value = -2 }
	}
}
#Masovia
event = {
	id = 258063
	trigger = {
		atwar = yes
		owned = { province = 291 data = -1 }
		NOT = { control = { province = 291 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 291 value = -2 }
		command = { type = provincetax which = 291 value = -2 }
	}
}
#Krakow
event = {
	id = 258064
	trigger = {
		atwar = yes
		owned = { province = 299 data = -1 }
		NOT = { control = { province = 299 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 299 value = -2 }
		command = { type = provincetax which = 299 value = -2 }
	}
}
#Podlasia
event = {
	id = 258065
	trigger = {
		atwar = yes
		owned = { province = 292 data = -1 }
		NOT = { control = { province = 292 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 292 value = -1 }
		command = { type = provincetax which = 292 value = -1 }
	}
}
#Galizien
event = {
	id = 258066
	trigger = {
		atwar = yes
		owned = { province = 298 data = -1 }
		NOT = { control = { province = 298 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 298 value = -2 }
		command = { type = provincetax which = 298 value = -2 }
	}
}
#Podolia
event = {
	id = 258067
	trigger = {
		atwar = yes
		owned = { province = 297 data = -1 }
		NOT = { control = { province = 297 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 297 value = -2 }
		command = { type = provincetax which = 297 value = -2 }
	}
}
#Lithuania
event = {
	id = 258068
	trigger = {
		atwar = yes
		owned = { province = 288 data = -1 }
		NOT = { control = { province = 288 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 288 value = -2 }
		command = { type = provincetax which = 288 value = -2 }
	}
}
#Belarus
event = {
	id = 258069
	trigger = {
		atwar = yes
		owned = { province = 284 data = -1 }
		NOT = { control = { province = 284 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 284 value = -2 }
		command = { type = provincetax which = 284 value = -2 }
	}
}
#Polotsk
event = {
	id = 258070
	trigger = {
		atwar = yes
		owned = { province = 281 data = -1 }
		NOT = { control = { province = 281 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 281 value = -3 }
		command = { type = provincetax which = 281 value = -3 }
	}
}
#Welikia
event = {
	id = 258071
	trigger = {
		atwar = yes
		owned = { province = 280 data = -1 }
		NOT = { control = { province = 280 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 280 value = -1 }
		command = { type = provincetax which = 280 value = -1 }
	}
}
#Volyn
event = {
	id = 258072
	trigger = {
		atwar = yes
		owned = { province = 293 data = -1 }
		NOT = { control = { province = 293 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 293 value = -2 }
		command = { type = provincetax which = 293 value = -2 }
	}
}
#Mozyr
event = {
	id = 258073
	trigger = {
		atwar = yes
		owned = { province = 287 data = -1 }
		NOT = { control = { province = 287 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 287 value = -3 }
		command = { type = provincetax which = 287 value = -3 }
	}
}
#Chernigov
event = {
	id = 258074
	trigger = {
		atwar = yes
		owned = { province = 294 data = -1 }
		NOT = { control = { province = 294 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 294 value = -3 }
		command = { type = provincetax which = 294 value = -3 }
	}
}
#Smolensk
event = {
	id = 258075
	trigger = {
		atwar = yes
		owned = { province = 285 data = -1 }
		NOT = { control = { province = 285 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 285 value = -1 }
		command = { type = provincetax which = 285 value = -1 }
	}
}
#Kursk
event = {
	id = 258076
	trigger = {
		atwar = yes
		owned = { province = 286 data = -1 }
		NOT = { control = { province = 286 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 286 value = -1 }
		command = { type = provincetax which = 286 value = -1 }
	}
}
#Belgorod
event = {
	id = 258077
	trigger = {
		atwar = yes
		owned = { province = 450 data = -1 }
		NOT = { control = { province = 450 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 450 value = -1 }
		command = { type = provincetax which = 450 value = -1 }
	}
}
#Ukraina
event = {
	id = 258078
	trigger = {
		atwar = yes
		owned = { province = 295 data = -1 }
		NOT = { control = { province = 295 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 295 value = -3 }
		command = { type = provincetax which = 295 value = -3 }
	}
}
#Krementjug
event = {
	id = 258079
	trigger = {
		atwar = yes
		owned = { province = 462 data = -1 }
		NOT = { control = { province = 462 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 462 value = -1 }
		command = { type = provincetax which = 462 value = -1 }
	}
}
#Poltava
event = {
	id = 258080
	trigger = {
		atwar = yes
		owned = { province = 461 data = -1 }
		NOT = { control = { province = 461 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 461 value = -2 }
		command = { type = provincetax which = 461 value = -2 }
	}
}
#Donetsk
event = {
	id = 258081
	trigger = {
		atwar = yes
		owned = { province = 460 data = -1 }
		NOT = { control = { province = 460 data = -1 } }
	}
	random = no
	country = POL
	name = "EVENTNAME258060" #Raids in Polish lands
	desc = "EVENTHIST258060"
	#-#Demographic and economic results of war and raids during the 'Deluge' period are devastating.

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "DAMN"
		command = { type = provincemanpower which = 460 value = -1 }
		command = { type = provincetax which = 460 value = -1 }
	}
}
#-----------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------------------
#Khmelnytsky's Revolt Sequence

#(1648-1650) Khmelnytsky's Revolt
event = {
	id = 25001
	trigger = {
		domestic = { type = aristocracy value = 6 }
		OR = {
			owned = { province = 295 data = -1 } #Ukraina
			owned = { province = 460 data = -1 } #Donetsk
			owned = { province = 461 data = -1 } #Poltava
			owned = { province = 462 data = -1 } #Krementjug
		}
	}
	random = no
	country = POL
	name = "EVENTNAME25001" #Khmelnytsky's Revolt
	desc = "EVENTHIST25001"
	#-#In 1647 a Polish nobleman, Daniel Czaplinski, laid claim to the estate of Bohdan Khmelnytsky, a hundredth in a Cossack regiment. Czaplinski took over Khmelnytsky's estate, killed his son, and married the woman that the widowed Cossack intended to marry. Later Czaplinski accused Khmelnytsky of treason. Unable to prevail in court Khmelnytsky resolved to lead the Cossacks in revolt against the Poles.

	date = { day = 1 month = january year = 1648 }
	offset = 100
	deathdate = { day = 1 month = january year = 1650 }

	action_a = {
		name = "ACTIONNAME25001A" #Fight the traitorous Cossacks!
		command = { type = revolt which = 460 } #Donetsk
		command = { type = revolt which = 460 } #Donetsk
		command = { type = revolt which = 460 } #Donetsk
		command = { type = revolt which = 461 } #Poltava
		command = { type = revolt which = 461 } #Poltava
		command = { type = revolt which = 461 } #Poltava
		command = { type = revolt which = 462 } #Krementjug
		command = { type = revolt which = 462 } #Krementjug
		command = { type = revolt which = 462 } #Krementjug
		command = { type = revolt which = 295 } #Ukraina
		command = { type = revolt which = 295 } #Ukraina
		command = { type = revolt which = 295 } #Ukraina
		command = { type = revolt which = 294 } #Chernigov
		command = { type = revolt which = 294 } #Chernigov
		command = { type = revolt which = 294 } #Chernigov
		command = { type = revolt which = 297 } #Podolia
		command = { type = revolt which = 298 } #Galizien
		command = { type = province_revoltrisk which = 460 value = 8 } #Donetsk
		command = { type = province_revoltrisk which = 461 value = 8 } #Poltava
		command = { type = province_revoltrisk which = 462 value = 8 } #Krementjug
		command = { type = province_revoltrisk which = 295 value = 8 } #Ukraina
		command = { type = province_revoltrisk which = 294 value = 8 } #Chernigov
		command = { type = province_revoltrisk which = 297 value = 4 } #Podolia
		command = { type = province_revoltrisk which = 298 value = 4 } #Galizien
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 60 value = 2 }
	}
	action_b = {
		name = "ACTIONNAME25001B" #Let the cossacks live in freedom
		command = { type = independence which = UKR }
		command = { type = removecore which = 295 } #Ukraina
		command = { type = removecore which = 460 } #Donetsk
		command = { type = removecore which = 461 } #Poltava
		command = { type = removecore which = 462 } #Krementjug
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = sleepevent which = 25002 } #POL: The End of the Revolts
		command = { type = stability value = 1 }
		command = { type = trigger which = 258019 } #POL: A land for the Cossacks
	}
}
#(1648-1650) A land for the Cossacks
event = {
	id = 258019 #triggered by POL_25001 B
	trigger = {
		OR = {
			owned = { province = 461 data = -1 }
			owned = { province = 295 data = -1 }
			owned = { province = 460 data = -1 }
			owned = { province = 462 data = -1 }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258019" #A land for the Cossacks
	desc = "EVENTHIST258019"
	#-#The situation in southern Poland became normal again when the Cossacks were granted large parts of the Ukraine and independence from Polish rule.

	action_a = {
		name = "ACTIONNAME258019A" #Let's concede them more lands
		command = { type = cedeprovince which = UKR value = 460 } #Donetsk
		command = { type = cedeprovince which = UKR value = 461 } #Poltava
		command = { type = cedeprovince which = UKR value = 462 } #Krementjug
		command = { type = cedeprovince which = UKR value = 295 } #Ukraine
	}
}
#(1654-1820) End of the revolts
event = {
	id = 25002
	trigger = {
		event = 25001 #POL: Khmelnytsky's revolt
		OR = {
			owned = { province = 294 data = -1 } #Chernigov
			owned = { province = 295 data = -1 } #Ukraina
			owned = { province = 297 data = -1 } #Podolia
			owned = { province = 298 data = -1 } #Galizien
			owned = { province = 460 data = -1 } #Donetsk
			owned = { province = 461 data = -1 } #Poltava
			owned = { province = 462 data = -1 } #Krementjug
		}
	}
	random = no
	country = POL
	name = "EVENTNAME25002" #The End of the Revolts
	desc = "EVENTHIST25002"
	#-#After much bloodshed, the Cossack revolts have been stamped out.

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

	action_a = {
		name = "ACTIONNAME25002A" #The revolt is over
		command = { type = province_revoltrisk which = 460 value = -8 } #Donetsk
		command = { type = province_revoltrisk which = 461 value = -8 } #Poltava
		command = { type = province_revoltrisk which = 462 value = -8 } #Krementjug
		command = { type = province_revoltrisk which = 295 value = -8 } #Ukraina
		command = { type = province_revoltrisk which = 294 value = -8 } #Chernigov
		command = { type = province_revoltrisk which = 297 value = -4 } #Podolia
		command = { type = province_revoltrisk which = 298 value = -4 } #Galizien
	}
}
#(1654-1820) The Periaslav Agreement - Ahistorical
event = {
	id = 25006 #triggered by UKR_25004 B
	random = no
	country = POL
	name = "EVENTNAME25006" #The Ukrainians seek to return to the fold
	desc = "EVENTHIST25006"
	#-#Ukrainian Cossacks have sought to return to the control of Poland, but on their terms. In order for the Cossacks to return the power of the nobility would have to be reduced.

	action_a = {
		name = "ACTIONNAME25006A" #Accept the demands of the Cossacks
		command = { type = inherit which = UKR }
		command = { type = addcore which = 295 } #Ukraina
		command = { type = addcore which = 460 } #Donetsk
		command = { type = addcore which = 461 } #Poltava
		command = { type = addcore which = 462 } #Krementjug
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = stability value = -3 }
	}
	action_b = {
		name = "ACTIONNAME25006B" #We will not bow to the demands of these rebels
		command = { type = relation which = UKR value = -100 }
	}
}
#End of Khmelnytsky's Revolt Sequence
#-----------------------------------------------------------------------------------------------

#(1648-1676) Cheap Money
event = {
	id = 258021
	trigger = {
		atwar = yes
	}
	random = no
	country = POL
	name = "EVENTNAME258021" #Cheap Money
	desc = "EVENTHIST258021"
	#-#Because of endless wars and economic decline the Polish treasury was often empty. In March 1659 the Sejm decided to support the King's initiative to mint two million zlotys in cheap copper solids worth only a third of their original value. New mints were opened in Brest, Kounia (Kaunas), Vilna, Malbork and Ujazdow to provide the state with this inflated money, the mints in Krakow, Oliwa and Bydgoszcz were also used for these purposes. The Italian scientist Tito Livio Burattini was soon appointed to execute this decision of the Sejm.

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

	action_a = {
		name = "ACTIONNAME258021A" #We need money
		command = { type = treasury value = 250 }
		command = { type = inflation value = 3 }
	}
	action_b = {
		name = "ACTIONNAME258021B" #We do not want to destroy our economy
		command = { type = vp value = 10 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
	}
}

#(1648-1676) 30 Polish groszes
event = {
	id = 258022
	trigger = { atwar = yes }
	random = no
	country = POL
	name = "EVENTNAME258022" #30 Polish groszes
	desc = "EVENTHIST258022"
	#-#Because of financial problems Poland was forced to find new sources of money to finance the army that was fighting its many foes Andrew Tynf, main commissary of the Polish mintssuggested a solution, namely minting the 'zloty' – a coin worth 30 groszes - with 60 percent less silver in it than in ordinary coins. The only compensation was the phrase engraved on the coins: Dat Pretium Servata Salus Potior Q3 Metallo Est ('The desire to save the Fatherland is larger than the price of metal'). The Sejm accepted this proposal.

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

	action_a = {
		name = "ACTIONNAME258022A" #More money for the army
		command = { type = treasury value = 800 }
		command = { type = inflation value = 5 }
	}
}

#(1652) Liberum Veto in Poland
event = {
	id = 3482
	trigger = {
		domestic = { type = ARISTOCRACY value = 7 }
	}
	random = no
	country = POL
	name = "EVENTNAME3482" #Liberum Veto in Poland
	desc = "EVENTHIST3482"
	#-#The political and economic disunity of the Szlachta and the deluge was the most important social factors behind the creation and implementation of the Liberum Veto in 1652. It was on one hand a guarantee that decisions where decided unanimously and on the other hand a safeguard for the personal freedom of the individual nobleman. However for Poland as a country it was disastrous and one among a half dozen reason for the demise of the country in 1795. One single NO vote in the Sejm could dissolve the Sejm and paralyze decision-making in the country. It was also used frequently in the lesser Sejms, the sejmiki, of which there were over 70 in Poland. The Magnates that had detronized the Executive Power had now also detronized the Legislative Power.

	date = { day = 1 month = january year = 1652 }
	offset = 10
	deathdate = { day = 29 month = december year = 1652 }

	action_a = {
		name = "ACTIONNAME3482A" #This country is now a true Aristocracy
		command = { type = stability value = 1 }
		command = { type = DIP which = -5 value = 600 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = SERFDOM value = 2 }
	}
}

#(1653-1680) The Sejm veto all our policies
event = {
	id = 3742
	trigger = {
		event = 3482 #POL: Liberum Veto in Poland
		atwar = yes
	}
	random = no
	country = POL
	name = "EVENTNAME3742" #The Sejm veto all our policies
	desc = "EVENTHIST3742"
	#-#The Veto itself was merely the most obvious symptom of a political disease that went far deeper. The first veto was not repeated for seventeen years, the second not for another ten. Then it became endemic in parliamentary life. The right to cast a veto grew into fetish, particularly among the minor Szlachta who saw it as a symbol of their personal involvement in the Commonwealth, as well as the ultimate guarantee of their freedoms. That the King viewed it differently is obvious. One should know that policy-making in Poland was not frozen because of the power of the veto. The King had to create Grand Compromises to ensure an at least acceptable outcome. However, as the Polish society slowly lost its consensus it was harder and harder go reach a compromise. It was especially cumbersome when planning and scheming had been going on for many months and suddenly in the last minute of passing the proposal in the Sejm. Someone rose and threw a Veto...

	date = { day = 1 month = january year = 1653 }
	offset = 180
	deathdate = { day = 1 month = january year = 1680 }

	action_a = {
		name = "ACTIONNAME3742A" #Accept the veto
		command = { type = manpower value = -30 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3742B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -2 }
	}
}

#-----------------------------------------------------------------------------------------------
#Lubomirski's rebellion Sequence
#by rybka

#(1655-1662) Try to centralise Poland
event = {
	id = 258048
	trigger = {
		atwar = no
		NOT = {	domestic = { type = centralization value = 5 } }
		domestic = { type = aristocracy value = 6 }
	}
	random = no
	country = POL
	name = "EVENTNAME258048" #Try to centralise Poland
	desc = "EVENTHIST258048"
	#-#It seems that we gathered around the court enough powerful people from aristocracy and Szlachta to try to introduce long postponed reforms which will centralize our country. Centralisation reforms such as Vivente Rege election of the new King are highly needed in order to make it easier to rule Poland. Should we try to present necessary laws on next gatherings of the Sejm?

	date = { day = 1 month = january year = 1655 }
	offset = 100
	deathdate = { day = 29 month = december year = 1662 }

	action_a = {
		name = "ACTIONNAME258048A" #Try to make reforms
		command = { }
	}
	action_b = {
		name = "ACTIONNAME258048B" #No reforms are needed
		command = { }
		command = { type = sleepevent which = 258049 } #POL: Szlachta opposes centralisation plans
	}
}
#(1661-1664) Szlachta opposes centralisation plans
event = {
	id = 258049
	trigger = {
		event = 258048 #POL: Try to centralise Poland
	}
	random = no
	country = POL
	name = "EVENTNAME258049" #Szlachta opposes centralisation plans
	desc = "EVENTHIST258049"
	#-#Our plans to centralize government of Poland failed. Jerzy Sebastian Lubomirski the Field Crown Hetman and Great Crown Marshall who first fully supported our centralization plans and who was very close to the King and his beloved wife Ludwika Maria had changed his mind. He started to openly criticize centralization plans and it was mainly his responsibility that they were rejected during two Sejm gatherings which were broken by Lubomirski's supporters. He also started talks with our domestic enemies and with rulers of neighbouring countries. What should we do with him and with our reform plans?

	date = { day = 1 month = january year = 1661 }
	offset = 100
	deathdate = { day = 29 month = december year = 1664 }

	action_a = {
		name = "ACTIONNAME258049A" #Put infamy and exile Lubomirski
		command = { type = revoltrisk which = 72 value = 2 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME258049B" #Abandon reform plans
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = sleepevent which = 258050 } #POL: Lubomirski comes back
		command = { type = wakeleader which = 0109834 } #Lubomirski (POL)
	}
}
#(1665) Lubomirski comes back
event = {
	id = 258050
	trigger = {
		event = 258049 #POL: Szlachta opposes centralisation plans
	}
	random = no
	country = POL
	name = "EVENTNAME258050" #Lubomirski comes back
	desc = "EVENTHIST258050"
	#-#After spending some time abroad Lubomirski came back to Poland from his refuge. He immediately started to gather around him other members of aristocracy and Szlachta who also were against our centralization reforms. Lubomirski's military forces started to fight our troops and the domestic war started. Even some of people who remained on our side quietly agree with or even support Lubomirski and they don't really want to fight against him. It is of the highest importance that we defeat Lubomirski very fast so other rebels will not have enough time to join him and Lubomirski will not have enough time to promote his ideas.

	date = { day = 1 month = april year = 1665 }
	offset = 100
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "ACTIONNAME258050A" #Domestic war breakes
		command = { type = desertion which = -1 value = 5000 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = stability value = -3 }
		command = { type = revolt which = 299 } #Krakow
		command = { type = revolt which = 299 } #Krakow
		command = { type = revolt which = 298 } #Galizien
		command = { type = revolt which = 298 } #Galizien
		command = { type = revolt which = 300 } #Wielkopolska
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
	}
}
#(1666-1667) Lubomirski wins
event = {
	id = 258051
	trigger = {
		event = 258050 #POL: Lubomirski comes back
		OR = { #Any province in Poland (Polish Crown lands, owned by Poland) or Lithuania/Ukraine (important provinces), is controlled by rebels
			AND = {
				control = { province = 298 data = REB } #Galizien
				owned = { province = 298 data = -1 }
			}
			AND = {
				control = { province = 299 data = REB } #Krakow
				owned = { province = 299 data = -1 }
			}
			AND = {
				control = { province = 300 data = REB } #Wielkopolska
				owned = { province = 300 data = -1 }
			}
			AND = {
				control = { province = 301 data = REB } #Danzig
				owned = { province = 301 data = -1 }
			}
			AND = {
				control = { province = 303 data = REB } #Poznan
				owned = { province = 303 data = -1 }
			}
			AND = {
				control = { province = 291 data = REB } #Masovia
				owned = { province = 291 data = -1 }
			}
			AND = {
				control = { province = 297 data = REB } #Podolia
				owned = { province = 297 data = -1 }
			}
			AND = {
				control = { province = 288 data = REB } #Lithuania
				owned = { province = 288 data = -1 }
			}
			AND = {
				control = { province = 295 data = REB } #Ukraine
				owned = { province = 295 data = -1 }
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258051" #Lubomirski wins
	desc = "EVENTHIST258051"
	#-#Despite our efforts our forces are still unable to defeat all the rebels. Since the whole country may arise against our rule the best solution is to withdraw our centralization plans and make peace and give all positions back to Lubomirski and other rebels. What should we do?

	date = { day = 1 month = april year = 1666 }
	offset = 100
	deathdate = { day = 29 month = december year = 1667 }

	action_a = {
		name = "ACTIONNAME258051A" #We have to quit the reforms
		command = { type = revoltrisk value = -5 }
		command = { type = stability value = 2 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = sleepevent which = 258052 } #POL: Lubomirski defeated
	}
	action_b = {
		name = "ACTIONNAME258051B" #Continue fighting
		command = { type = revoltrisk which = 120 value = 5 }
		command = { type = stability value = -3 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = sleepevent which = 258052 } #POL: Lubomirski defeated
	}
}
#(1666-1667) Lubomirski defeated - Ahistorical
event = {
	id = 258052
	trigger = {
		event = 258050 #POL: Lubomirski comes back
		NOT = { #No province in Poland (Polish Crown lands) is controlled by rebels
			AND = {
				control = { province = 298 data = REB } #Galizien
				owned = { province = 298 data = -1 }
			}
			AND = {
				control = { province = 299 data = REB } #Krakow
				owned = { province = 299 data = -1 }
			}
			AND = {
				control = { province = 300 data = REB } #Wielkopolska
				owned = { province = 300 data = -1 }
			}
			AND = {
				control = { province = 301 data = REB } #Danzig
				owned = { province = 301 data = -1 }
			}
			AND = {
				control = { province = 303 data = REB } #Poznan
				owned = { province = 303 data = -1 }
			}
			AND = {
				control = { province = 291 data = REB } #Masovia
				owned = { province = 291 data = -1 }
			}
			AND = {
				control = { province = 297 data = REB } #Podolia
				owned = { province = 297 data = -1 }
			}
			AND = {
				control = { province = 288 data = REB } #Lithuania
				owned = { province = 288 data = -1 }
			}
			AND = {
				control = { province = 295 data = REB } #Ukraine
				owned = { province = 295 data = -1 }
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258052" #Lubomirski defeated
	desc = "EVENTHIST258052"
	#-#All the rebels and Lubomirski were defeated! However, most of aristocracy which stood on our side against Lubomirski is now against our centralization plans and forces us to forgive Lubomirski his crimes. Should we make a deal with rebels or continue our reforms despite all opposition?

	date = { day = 1 month = april year = 1666 }
	offset = 100
	deathdate = { day = 29 month = december year = 1667 }

	action_a = {
		name = "ACTIONNAME258052A" #Bitter victory
		command = { type = revoltrisk value = -5 }
		command = { type = stability value = 1 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = sleepevent which = 258051 } #POL: Lubomirski wins
	}
	action_b = {
		name = "ACTIONNAME258052B" #Crush all opponents and establish reforms
		command = { type = revoltrisk which = 120 value = 5 }
		command = { type = stability value = -2 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = sleepevent which = 258051 } #POL: Lubomirski wins
	}
}
#End of "Lubomirski's rebellion" Sequence
#-----------------------------------------------------------------------------------------------

#(1656) Poland strikes back
#by Duc de Guise
event = {
	id = 258059
	trigger = {
		monarch = 0109511 #Jan II Kazimierz
		atwar = yes
		OR = {
			NOT = { control = { province = 291 data = -1 } } #Masovia
			NOT = { control = { province = 299 data = -1 } } #Krakow
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258059" #Poland strikes back
	desc = "EVENTHIST258059"
	#-#Our King Jan Kazimierz just came back from Silesia to help us pushing back the invaders.

	date = { day = 1 month = january year = 1656 }
	offset = 10
	deathdate = { day = 29 month = june year = 1656 }

	action_a = {
		name = "ACTIONNAME258059A" #Our King is back! Get rid of the invaders!
		command = { type = INF which = -1 value = 10000 }
		command = { type = CAV which = -1 value = 5000 }
	}
}

#(1662-1676) More Cheap Money
event = {
	id = 258023
	trigger = {
		event = 258021 #POL: Cheap Money
	}
	random = no
	country = POL
	name = "EVENTNAME258023" #More Cheap Money
	desc = "EVENTHIST258023"
	#-#Burattini executed his task soon, but the 'cheap money' gave quite unexpected result: almost all valuable silver coins in the country's economy were replaced with cheap solids and the treasury was soon empty again. On 23 February 1663 the Senatorial General commission decided to mint more cheap solids (on the sum of 5.250.000 zlotys) to cover the budget deficit. Soon more solids on the sum of 5.818.774 zlotys were ordered for minting in Oliwa and Danzig. The last task was executing by Andrew Georg Horn. It seemed no one thought about the consequences of such monetary policy.

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

	action_a = {
		name = "ACTIONNAME258023A" #We have no choice
		command = { type = treasury value = 1000 }
		command = { type = inflation value = 5 }
	}
}

#(1666-1676) Corruption?
event = {
	id = 258024
	trigger = {
		event = 258022 #30 Polish groszes
	}
	random = no
	country = POL
	name = "EVENTNAME258024" #Corrupted mints
	desc = "EVENTHIST258024"
	#-#The minting of the cheap coins provoked a real paralysis of the Polish economy. The country was full of cheap inflatory cupper coins and almost no normal silver money. Trade and industry were destroyed. In this situation the creator of cheap '30 groszes' (which became known now after his name – tynf) understood that he could become responsible for his invention and fled to Germany, taking with him four million zlotys, which he underpaid to the state.

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

	action_a = {
		name = "ACTIONNAME258024A" #Bastard
		command = { type = stability value = -1 }
		command = { type = treasury value = -500 }
		command = { type = inflation value = 2 }
	}
}

#(1666-1680) Economical crisis
event = {
	id = 258025
	trigger = {
		OR = {
			event = 258023 #POL: More Cheap Money
			event = 258024 #POL: Corrupted mints
		}
	}
	random = no
	country = POL
	name = "EVENTNAME258025" #Economical crisis
	desc = "EVENTHIST258025"
	#-#The cheap coins provoked a galloping inflation and destroyed the Polish economy. The Sejm was placed now before a dilemma: to close the corrupted mints that were destroying the economy with cheap coins, or to continue minting to fill the always empty treasury. The first option at last offered the possibility to start stabilize the economy, then to reopen them in time, minting normal money.

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

	action_a = {
		name = "ACTIONNAME258025A" #Close the mints
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 60 value = 1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = inflation value = 5 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = treasury value = -300 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
	}
	action_b = {
		name = "ACTIONNAME258025B" #We need more money
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 60 value = 2 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = inflation value = 10 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = treasury value = 800 }
	}
}

#(1666-1680) Burattini's affair
event = {
	id = 258026
	trigger = {
		event = 258025 #POL: Economical crisis
	}
	random = no
	country = POL
	name = "EVENTNAME258026" #Burattini's affair
	desc = "EVENTHIST258026"
	#-#Instead of revising its economical policy the Sejm accused Burattini of corruption, stating that he had minted solids not on the sum of two millions zlotys but twice that, and taken this money for himself, making him responsible for the economical crisis. In response Burattini answered with the counter-claim that he and his creditors received less than the one and a half million zlotys which had been promised. The lawsuit promised to be a long one.

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

	action_a = {
		name = "ACTIONNAME258026A" #Take him to the court
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME258026B" #He is not guilty in our faults
		command = { type = sleepevent which = 258027 } #POL: The court's verdict on Burattini
		command = { type = treasury value = -200 }
	}
}

#(1670) Turko-Polish Tensions
event = {
	id = 3488
	trigger = {
		neighbour = TUR
	}
	random = no
	country = POL
	name = "EVENTNAME3488" #Turko-Polish Tensions
	desc = "EVENTHIST3488"
	#-#Poland and the Ottoman Empire came into conflict in the 1670's and 80's when the Cossacks in the Polish part of the divided Ukraine submitted to the Ottoman Empire and called for Tatar aid against Poland. Victories won by hetman Jan Sobieski only temporarily forestalled the threat, and in 1672 the Commonwealth faced a major invasion by the Ottoman Empire. The fall of the key border fortress Kamieniec Podolski was followed by the humiliating Peace of Buczacz. In 1683 Sobieski led a relief army to a Vienna besieged by the Ottomans and as supreme commander of the allied forces won a resounding victory that marked the beginning of Ottoman withdrawal from Europe.

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

	action_a = {
		name = "ACTIONNAME3488A" #We will defend Christendom
		command = { type = casusbelli which = TUR value = 36 }
		command = { type = casusbelli which = CRI value = 36 }
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = HAB value = 50 }
		command = { type = treasury value = 100 }
		command = { type = manpower value = 5 }
		command = { type = stability value = 1 }
		command = { type = trigger which = 3388 } #TUR: Turko-Polish Tensions
	}
}

#(1672-1681) The Sobieskian Army Reforms
event = {
	id = 3485
	random = no
	country = POL
	name = "EVENTNAME3485" #The Sobieskian Army Reforms
	desc = "EVENTHIST3485"
	#-#When Jan Sobieski became King in 1672 he was already a renowned and glorified military leader. In fact he started out as a general an ended up as a King. His reform of the Polish army thus started long before he became King, but it was under his Royal leadership that the strong effects of the reforms made lasting impressions upon the map of history. The New Polish Army saved Vienna from the onslaught of the Ottomans and forever stopped their advance. Unfortunately in the long run it helped Austria more than it helped Poland.

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

	action_a = {
		name = "ACTIONNAME3485A" #Make a strict Army Reform only
		command = { type = land value = 1200 }
		command = { type = MIL which = 3 value = 80 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = manpower value = 30 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = stability value = 3 }
	}
	action_b = {
		name = "ACTIONNAME3485B" #Reform Army and undermine the power of the Sejm
		command = { type = land value = 1200 }
		command = { type = MIL which = 3 value = 80 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = manpower value = 30 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = sleepevent which = 3742 } #POL: The Sejm veto all our policies
		command = { type = sleepevent which = 3744 } #POL: The Sejm veto all our policies
	}
}

#(1672-1707) The Sejm comply to our policies
event = {
	id = 3743
	trigger = {
		event = 3482 #POL: Liberum Veto in Poland
		event = 3485
	}
	random = no
	country = POL
	name = "EVENTNAME3743" #The Sejm comply to our policies
	desc = "EVENTHIST3743"
	#-#The Veto itself was merely the most obvious symptom of a political disease that went far deeper. The first veto was not repeated for seventeen years, the second not for another ten. Then it became endemic in parliamentary life. The right to cast a veto grew into fetish, particularly among the minor Szlachta who saw it as a symbol of their personal involvement in the Commonwealth, as well as the ultimate guarantee of their freedoms. That the King viewed it differently is obvious. One should know that policy-making in Poland was not frozen because of the power of the veto. The King had to create Grand Compromises to ensure an at least acceptable outcome. However, as the Polish society slowly lost its consensus it was harder and harder go reach a compromise. It was especially cumbersome when planning and scheming had been going on for many months and suddenly in the last minute of passing the proposal in the Sejm. Someone rose and threw a Veto... Then again, sometimes the proposal actually passed.

	date = { day = 1 month = january year = 1672 }
	offset = 180
	deathdate = { day = 1 month = january year = 1707 }

	action_a = {
		name = "GREAT"
		command = { type = manpower value = 10 }
		command = { type = treasury value = 100 }
		command = { type = stability value = 2 }
	}
}

#(1672-1697) Ending the Stagnation
event = {
	id = 3497
	random = no
	country = POL
	name = "EVENTNAME3497" #Ending the Stagnation
	desc = "EVENTHIST3497"
	#-#On 12 September 1683 an allied army under the leadership of King Jan Sobieski relieved Vienna from the besieging Ottomans. At that moment the King's name flew over Europe. In that very moment Jan Sobieski had such status and personal power coming from his very person that he could had ended the stagnation of Poland or at least he could have tried. Merely the different political climate during the earlier days of his reign is a proof of him being a very special monarch. He was never that limited by vetoes or articles as earlier monarchs, but in the end he chose a different path. He chose to continue the campaign against the Ottoman, a campaign he could not win decisively, while at the same time having to cope with growing dissent from magnates disliking this policy. When he stopped campaigning he suffered heavily from gallstones and he never managed to make the magnates forget that he was just one of them. He never managed to translate his popularity in the Szlachta, as whole, into concerted political action. If he instead had gone home after relieving Vienna and picked a fight with the magnates something completely different might have happened. Well who knows...?

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

	action_a = {
		name = "ACTIONNAME3497A" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3497B" #Let us change this depressive situation
		command = { type = trigger which = 3443 } #RUS: The Contest with Poland
		command = { type = stability value = -4 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
	}
}

#(1675) Turko-Polish Tensions
event = {
	id = 3489
	trigger = {
		neighbour = TUR
	}
	random = no
	country = POL
	name = "EVENTNAME3488" #Turko-Polish Tensions
	desc = "EVENTHIST3488"
	#-#Poland and the Ottoman Empire came into conflict in the 1670's and 80's when the Cossacks in the Polish part of the divided Ukraine submitted to the Ottoman Empire and called for Tatar aid against Poland. Victories won by hetman Jan Sobieski only temporarily forestalled the threat, and in 1672 the Commonwealth faced a major invasion by the Ottoman Empire. The fall of the key border fortress Kamieniec Podolski was followed by the humiliating Peace of Buczacz. In 1683 Sobieski led a relief army to a Vienna besieged by the Ottomans and as supreme commander of the allied forces won a resounding victory that marked the beginning of Ottoman withdrawal from Europe.

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

	action_a = {
		name = "ACTIONNAME3488A" #We will defend Christendom
		command = { type = casusbelli which = TUR value = 36 }
		command = { type = casusbelli which = CRI value = 36 }
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = HAB value = 50 }
		command = { type = treasury value = 100 }
		command = { type = manpower value = 5 }
		command = { type = stability value = 1 }
		command = { type = trigger which = 3389 } #TUR: Turko-Polish Tensions
	}
}

#(1680) Turko-Polish Tensions
event = {
	id = 3490
	trigger = {
		neighbour = TUR
	}
	random = no
	country = POL
	name = "EVENTNAME3488" #Turko-Polish Tensions
	desc = "EVENTHIST3488"
	#-#Poland and the Ottoman Empire came into conflict in the 1670's and 80's when the Cossacks in the Polish part of the divided Ukraine submitted to the Ottoman Empire and called for Tatar aid against Poland. Victories won by hetman Jan Sobieski only temporarily forestalled the threat, and in 1672 the Commonwealth faced a major invasion by the Ottoman Empire. The fall of the key border fortress Kamieniec Podolski was followed by the humiliating Peace of Buczacz. In 1683 Sobieski led a relief army to a Vienna besieged by the Ottomans and as supreme commander of the allied forces won a resounding victory that marked the beginning of Ottoman withdrawal from Europe.

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

	action_a = {
		name = "ACTIONNAME3488A" #We will defend Christendom
		command = { type = casusbelli which = TUR value = 36 }
		command = { type = casusbelli which = CRI value = 36 }
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = CRI value = -100 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = treasury value = 200 }
		command = { type = manpower value = 10 }
		command = { type = stability value = 2 }
		command = { type = trigger which = 3390 } #TUR: Turko-Polish Tensions
	}
}

#(1682-1690) The Ottoman war
event = {
	id = 258018
	trigger = {
		neighbour = TUR
		atwar = no
		countrysize = 6
		NOT = { exists = HUN }
	}
	random = no
	country = POL
	name = "EVENTNAME179076" #The Ottoman war
	desc = "EVENTHIST179076"
	#-#In the winter of 1682-83 a defensive-offensive coalition of powers formed against the Turks. The Pope organized another Holy League comprising of Austria, Poland, Saxony and Bavaria. The Venetians determined to join the struggle, signed in March 1684. Russia was eventually to join this League in 1686.

	date = { day = 0 month = january year = 1682 }
	offset = 90
	deathdate = { day = 0 month = june year = 1690 }

	action_a = {
		name = "ACTIONNAME179076A" #War then
		command = { type = casusbelli which = TUR value = 100 }
		command = { type = relation which = TUR value = -200 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = alliance which = HAB }
		command = { type = alliance which = VEN }
		command = { type = alliance which = RUS }
	}
	action_b = {
		name = "ACTIONNAME179076B" #Ignore the Pope
		command = { type = relation which = PAP value = -200 }
		command = { type = relation which = TUR value = 100 }
		command = { type = ADM which = -2 value = 48 }
	}
}

#(1685-1715) The court's verdict on Burattini
event = {
	id = 258027
	trigger = {
		event = 258026 #POL: Burattini's affair
	}
	random = no
	country = POL
	name = "EVENTNAME258027" #The court's verdict on Burattini
	desc = "EVENTHIST258027"
	#-#The process against Burattini continued for half a century, and was not even finished when he died in 1682. In 1711 his son applied to the court with a request to pay him as successor the entire sum the state had promised his father. In result Burattini was paid a part of the state's debt and the court's verdict was 'Not guilty'.

	date = { day = 1 month = january year = 1685 }
	offset = 30
	deathdate = { day = 1 month = january year = 1715 }

	action_a = {
		name = "ACTIONNAME258027A" #So, who is responsible then?
		command = { type = treasury value = -100 }
	}
}

#(1697) The Polish Succession of 1697 -I-
event = {
	id = 3486
	trigger = {
		NOT = {
			war = { country = SAC country = POL }
			war = { country = FRA country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3486" #The Polish Succession of 1697
	desc = "EVENTHIST3486"
	#-#The political sickness of the Polish body manifested itself fully after the death of Jan III Sobieski in 1696. The election that followed was one of the most dismal episodes in Polish parliamentary history. The primary candidates were the King's son Jakub Sobieski, François Louis de Bourbon, Prince de Conti, and Friedrich Augustus Wettin, Elector of Saxony. Jakub Sobieski was in Silesia at the time and was unlucky enough to be arrested by Saxon troops. On 27th June 1697 the Szlachta assembled on the election field voted overwhelmingly for the Prince de Conti and the Primate proclaimed him King. On the same evening a small group of malcontents 'elected' Friedrich Augustus, who marched into Poland at the head of a Saxon army. On September 15th, as the Prince de Conti, escorted by a French squadron under Jean Bart, was sailing through the Sound, Friedrich Augustus was crowned in Kraków by the Bishop of Kujavia as Augustus II of Poland. At the end of the month the Prince of Conti came ashore only to discover that he had been pipped at the post. His supporters were not keen to start a civil war, so he re-embarked and sailed back to France.

	date = { day = 26 month = june year = 1697 }

	action_a = {
		name = "ACTIONNAME3486A" #Friedrich Augustus Wettin
		command = { type = trigger which = 3627 } #SAC: The Polish Succession of 1697
		command = { type = trigger which = 273018 } #SAC: The Polish Succession of 1697 (POL liege of SAC)
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 12 value = 2 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = dynastic which = SAC }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
	action_b = {
		name = "ACTIONNAME3486B" #Francois Louis de Bourbon
		command = { type = trigger which = 3734 } #FRA: The Polish Succession of 1697
		command = { type = trigger which = 170234 } #FRA: The Polish Succession of 1697 (POL liege of FRA)
		command = { type = wakemonarch which = 0109521 } #Franciszek I Ludwik °
		command = { type = wakemonarch which = 0109522 } #Ludwik I Armand °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 12 value = 6 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = dynastic which = FRA }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
	action_c = {
		name = "ACTIONNAME3486C" #Jakub Sobieski
		command = { type = wakemonarch which = 0109519 } #Jakub I Sobieski °
		command = { type = wakemonarch which = 0109520 } #Jan IV Sobieski °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = sleepmonarch which = 0109533 } #Teodor Potocki (Interrex)
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = sleepmonarch which = 0109534 } #Wladyslaw Aleksander Lubienski (Interrex)
		command = { type = sleepevent which = 3495 } #POL: The Polish Succession of 1733 -I-
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = stability value = 2 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
}
#(1697) The Polish Succession of 1697 -II-
event = {
	id = 258083
	trigger = {
		war = { country = SAC country = POL }
		NOT = {
			war = { country = FRA country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3486" #The Polish Succession of 1697
	desc = "EVENTHIST258003"
	#-#The political sickness of the Polish body manifested itself fully after the death of Jan III Sobieski in 1696. The election that followed was one of the most dismal episodes in Polish parliamentary history. The primary candidates were the King's son Jakub Sobieski, François Louis de Bourbon, Prince de Conti, and Friedrich Augustus Wettin, Elector of Saxony. Poland being at war against Saxony, choice is reduced to François Louis de Bourbon and Jakub Sobieski.

	date = { day = 26 month = june year = 1697 }

	action_a = {
		name = "ACTIONNAME3486B" #Francois Louis de Bourbon
		command = { type = trigger which = 3734 } #FRA: The Polish Succession of 1697
		command = { type = trigger which = 170234 } #FRA: The Polish Succession of 1697 (POL liege of FRA)
		command = { type = wakemonarch which = 0109521 } #Franciszek I Ludwik °
		command = { type = wakemonarch which = 0109522 } #Ludwik I Armand °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 12 value = 6 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = dynastic which = FRA }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 3486 } #POL: The Polish Succession of 1697 -I-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
	action_b = {
		name = "ACTIONNAME3486C" #Jakub Sobieski
		command = { type = wakemonarch which = 0109519 } #Jakub I Sobieski °
		command = { type = wakemonarch which = 0109520 } #Jan IV Sobieski °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = sleepmonarch which = 0109533 } #Teodor Potocki (Interrex)
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = sleepmonarch which = 0109534 } #Wladyslaw Aleksander Lubienski (Interrex)
		command = { type = sleepevent which = 3495 } #POL: The Polish Succession of 1733 -I-
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = stability value = 2 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 3486 } #POL: The Polish Succession of 1697 -I-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
}
#(1697) The Polish Succession of 1697 -III-
event = {
	id = 258084
	trigger = {
		war = { country = FRA country = POL }
		NOT = {
			war = { country = SAC country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3486" #The Polish Succession of 1697
	desc = "EVENTHIST258084"
	#-#The political sickness of the Polish body manifested itself fully after the death of Jan III Sobieski in 1696. The election that followed was one of the most dismal episodes in Polish parliamentary history. The primary candidates were the King's son Jakub Sobieski, François Louis de Bourbon, Prince de Conti, and Friedrich Augustus Wettin, Elector of Saxony. Poland being at war against France, choice is reduced to François Louis de Bourbon and Jakub Sobieski.

	date = { day = 26 month = june year = 1697 }

	action_a = {
		name = "ACTIONNAME3486A" #Friedrich Augustus Wettin
		command = { type = trigger which = 3627 } #SAC: The Polish Succession of 1697
		command = { type = trigger which = 273018 } #SAC: The Polish Succession of 1697 (POL liege of SAC)
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 12 value = 2 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = dynastic which = SAC }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = sleepevent which = 3486 } #POL: The Polish Succession of 1697 -I-
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
	action_b = {
		name = "ACTIONNAME3486C" #Jakub Sobieski
		command = { type = wakemonarch which = 0109519 } #Jakub I Sobieski °
		command = { type = wakemonarch which = 0109520 } #Jan IV Sobieski °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = sleepmonarch which = 0109533 } #Teodor Potocki (Interrex)
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = sleepmonarch which = 0109534 } #Wladyslaw Aleksander Lubienski (Interrex)
		command = { type = sleepevent which = 3495 } #POL: The Polish Succession of 1733 -I-
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = stability value = 2 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 3486 } #POL: The Polish Succession of 1697 -I-
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258085 } #POL: The Polish Succession of 1697 -IV-
	}
}
#(1697) The Polish Succession of 1697 -IV-
event = {
	id = 258085
	trigger = {
		war = { country = SAC country = POL }
		war = { country = FRA country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME3486" #The Polish Succession of 1697
	desc = "EVENTHIST258085"
	#-#The political sickness of the Polish body manifested itself fully after the death of Jan III Sobieski in 1696. The election that followed was one of the most dismal episodes in Polish parliamentary history. The primary candidates were the King's son Jakub Sobieski, François Louis de Bourbon, Prince de Conti, and Friedrich Augustus Wettin, Elector of Saxony. Poland being at war against France and Saxony, only remaining choice is Jakub Sobieski.

	date = { day = 26 month = june year = 1697 }

	action_a = {
		name = "ACTIONNAME3486C" #Jakub Sobieski
		command = { type = wakemonarch which = 0109519 } #Jakub I Sobieski °
		command = { type = wakemonarch which = 0109520 } #Jan IV Sobieski °
		command = { type = sleepmonarch which = 0109513 } #Jan III Sobieski
		command = { type = sleepmonarch which = 0109532 } #Michal Stefan Radziejowski (Interrex)
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = sleepmonarch which = 0109533 } #Teodor Potocki (Interrex)
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = sleepmonarch which = 0109534 } #Wladyslaw Aleksander Lubienski (Interrex)
		command = { type = sleepevent which = 3495 } #POL: The Polish Succession of 1733 -I-
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = stability value = 2 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent which = 3242 } #SWE: The Dethronement of August the Strong
		command = { type = sleepevent which = 3486 } #POL: The Polish Succession of 1697 -I-
		command = { type = sleepevent which = 258083 } #POL: The Polish Succession of 1697 -II-
		command = { type = sleepevent which = 258084 } #POL: The Polish Succession of 1697 -III-
	}
}

#(1697-1717) Ending the Stagnation
event = {
	id = 3498
	trigger = {
		monarch = 0109514 #August II Mocny
	}
	random = no
	country = POL
	name = "EVENTNAME3498" #Ending the Stagnation
	desc = "EVENTHIST3498"
	#-#In 1697 Friedrich Augustus II became King of Poland. His reputation was never good. He was a German and because of his inabilities to win a war he himself had started he is considered a rather bad Polish King. However, when Friedrich Augustus became King he had a plan. He was not a stupid man, and he intended to turn the Commonwealth into a centralized monarchical state. He was a child of the same ideas as his contemporaries in Berlin, Hannover and München, and he needed a war to accomplish it. Like Sobieski, he saw war as the surest way to gain prestige and a free hand to carry out his plan. Now Friedrich Augustus made certain mistakes. He and his allies underestimated the ease with which they would smash the eighteen year old monarch of Sweden and secondly Friedrich August was no Sobieskian General. The failure of the war and his lost prestige from being a lousy soldier and having been forced to a humiliating abdication omitted every chance to reform anything. Instead he ruined any chance for monarchism in Poland and his return was with the arrivals of Russian bayonets. However... had he won the war and Poland had been a winner while Russia had become rather mauled then his position would have been different. Instead of buying art for his castles in Dresden he might very well have used that prestige and military power with boldness and brute force to accomplish the impossible...

	date = { day = 27 month = june year = 1697 }
	offset = 10
	deathdate = { day = 1 month = january year = 1717 }

	action_a = {
		name = "ACTIONNAME3498A" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3498B" #Let us change this depressive situation
		command = { type = trigger which = 3442 } #RUS: The Silent Sejm of Poland
		command = { type = stability value = -4 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
	}
}

#(1697-1700) The Great Northern Conflict
event = {
	id = 3491
	trigger = {
		monarch = 0109514 #August II Mocny
		OR = {
			owned = { province = 282 data = SWE }
			owned = { province = 283 data = SWE }
			owned = { province = 289 data = SWE }
			owned = { province = 290 data = SWE }
			owned = { province = 301 data = SWE }
			owned = { province = 303 data = SWE }
			owned = { province = 300 data = SWE }
			owned = { province = 331 data = SWE }
			owned = { province = 332 data = SWE }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3491" #The Great Northern Conflict
	desc = "EVENTHIST3491"
	#-#In 1697, the 15 years old Charles XII ascended the Swedish throne. Seeing the opportunity, the Russian Tsar Peter I allied with Denmark and Poland-Saxony in 1699. However, with British and Dutch naval assistance, Charles XII landed on Zealand and promptly defeated the Danes, then moved to Estland where his badly outnumbered Swedes (1 to 5) won a crushing victory over the Russians. Instead of finishing the Russians, Charles moved against August II of Poland-Saxony and drove him out of Poland in 1704 (having the pro-Swedish Stanislas Leszinski elected King), then subjugating Saxony in 1706. While the Russians started the construction of St-Petersburg (1703) and rebuilt their armies, they also took parts of Estland (1704-1706). Charles then decided to march to Moscow via the Ukraine where the Cossacks under Mazeppa had again risen in revolt (1708). The harsh winter and Russian raids decimated his army and he was finally beaten at the battle of Poltava in 1709. The wounded King escaped to the Ottomans. The Russians were encircled by the Ottomans on the Prut River, but Peter succeeded through bribery to obtain a safe conduct in exchange for Azov. While Charles was still exiled in Turkey, Russian, Danish, Hanoverian and even Prussian troops captured most of the Swedish territory around the Baltic. Having emerged from Turkish internment, Charles got killed in 1718 in front of the Norwegian fortress of Frederickshald. The peace treaties that followed Sweden lost most of her Baltic empire.

	date = { day = 27 month = june year = 1697 }
	offset = 10
	deathdate = { day = 1 month = april year = 1700 }

	action_a = {
		name = "ACTIONNAME3491A" #Advance!
		command = { type = casusbelli which = SWE value = 36 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = DAN value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = SAC value = 200 }
		command = { type = INF which = -1 value = 20000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = ART which = -3 value = 10 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3491B" #Stay calm for a while
		command = { type = casusbelli which = SWE value = 36 }
		command = { type = relation which = SWE value = -100 }
		command = { type = relation which = DAN value = 50 }
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = SAC value = 200 }
		command = { type = stability value = 1 }
	}
}

#(1700-1720) The Dethronement of August the Strong
event = {
	id = 3492 #triggered by SWE_3242 A
	random = no
	country = POL
	name = "EVENTNAME3492" #The Dethronement of August the Strong
	desc = "EVENTHIST3492"
	#-#For the Second War of the North, in 1700, Poland sided with Russia against Sweden. King August II (the Strong) was pitted against King Charles XII of Sweden for control of Poland. After a series of crushing defeats, including losing to the army of Charles XII at Narva when he outnumbered them 5 to 1, August was dethroned and Stanislaw Leszczynski was crowned King of Poland in his place.

	action_a = {
		name = "ACTIONNAME3492A" #Dethrone August and install Stanislaw
		command = { type = sleepmonarch which = 0109514 } #August II Sas
		command = { type = sleepmonarch which = 0109533 } #Teodor Potocki (Interrex)
		command = { type = wakemonarch which = 0109515 } #Stanislaw I Leszczynski
		command = { type = relation which = SWE value = 150 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 12 value = 3 }
	}
}

#(1700-1720) The Return of August the Strong
event = {
	id = 3501
	trigger = {
		event = 3492 #POL: The Dethronement of August the Strong
		NOT = {
			vassal = { country = SWE country = POL }
			war = { country = SAC country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3501" #The Return of August the Strong
	desc = "EVENTHIST3501"
	#-#Stanislaw Leszczynski had been elected Polish King in the light of the supreme power of Sweden in Eastern Europe. When that supremacy was lost on the Steppes of Russia in 1709, Russia picked up the mantle of supremacy. In the light of these new circumstances the Polish Szlachta easily found consensus for returning Friedrich Augustus II to the throne.

	date = { day = 1 month = january year = 1700 }
	offset = 30
	deathdate = { day = 29 month = december year = 1720 }

	action_a = {
		name = "ACTIONNAME3501A" #August is reinstalled
		command = { type = wakemonarch which = 0109540 } #August II Sas
		command = { type = wakemonarch which = 0109541 } #Teodor Potocki (Interrex)
		command = { type = stability value = 1 }
		command = { type = relation which = SAC value = 150 }
		command = { type = dynastic which = SAC }
		command = { type = alliance which = SAC }
		command = { type = trigger which = 3737 } #SAC: August the Strong returns to the Throne of Poland
		command = { type = trigger which = 273019 } #SAC: August the Strong returns to the Throne of Poland (POL liege of SAC)
	}
}

#(1708-1730) The Sejm veto all our policies
event = {
	id = 3744
	trigger = {
		event = 3482 #POL: Liberum Veto in Poland
		atwar = yes
	}
	random = no
	country = POL
	name = "EVENTNAME3742" #The Sejm veto all our policies
	desc = "EVENTHIST3742"
	#-#The Veto itself was merely the most obvious symptom of a political disease that went far deeper. The first veto was not repeated for seventeen years, the second not for another ten. Then it became endemic in parliamentary life. The right to cast a veto grew into fetish, particularly among the minor Szlachta who saw it as a symbol of their personal involvement in the Commonwealth, as well as the ultimate guarantee of their freedoms. That the King viewed it differently is obvious. One should know that policy-making in Poland was not frozen because of the power of the veto. The King had to create Grand Compromises to ensure an at least acceptable outcome. However, as the Polish society slowly lost its consensus it was harder and harder go reach a compromise. It was especially cumbersome when planning and scheming had been going on for many months and suddenly in the last minute of passing the proposal in the Sejm. Someone rose and threw a Veto...

	date = { day = 1 month = january year = 1708 }
	offset = 180
	deathdate = { day = 1 month = january year = 1730 }

	action_a = {
		name = "ACTIONNAME3742A" #Accept the veto
		command = { type = manpower value = -30 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3742B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -2 }
	}
}

#(1709-1711) The Horrible Plague in Lithuania
event = {
	id = 3493 #also triggered by LIT_3462
	trigger = {
		OR = {
			owned = { province = 284 data = -1 } #Belarus
			owned = { province = 287 data = -1 } #Mozyr
			owned = { province = 288 data = -1 } #Lithuania
			owned = { province = 293 data = -1 } #Volyn
			owned = { province = 294 data = -1 } #Chernigov
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3493" #The Horrible Plague in Lithuania
	desc = "EVENTHIST3493"
	#-#During 1709-10 Lithuania endure the harshest winter of a century. But as that was not enough an epidemic plague spread through the lands killing many thousands. There is talking of the Scourge of God and people prey…prey…prey...

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

	action_a = {
		name = "ACTIONNAME3493A" #Arrgh!
		command = { type = population which = 287 value = -3487 } #Mozyr
		command = { type = population which = 288 value = -3722 } #Lithuania
		command = { type = population which = 294 value = -3201 } #Chernigov
		command = { type = population which = 293 value = -3153 } #Volyn
		command = { type = population which = 284 value = -3636 } #Belarus
		command = { type = desertion which = -1 value = 7321 }
		command = { type = desertion which = -1 value = 5478 }
		command = { type = desertion which = -1 value = 3934 }
		command = { type = trigger which = 3462 } #LIT: The Horrible Plague in Lithuania
	}
}

#(1726) The Courland Succession of 1726
event = {
	id = 3496
	trigger = { exists = KUR }
	random = no
	country = POL
	name = "EVENTNAME3496" #The Kurland Succession of 1726
	desc = "EVENTHIST3496"
	#-#The death of the last Duke of Kurland, Frederick William, in 1711, left no heirs to the Duchy except the weak and ill Ferdinand, and a lot of contenders in Russia and Poland. In 1726, the Polish Sejm managed to impose Maurice of Saxony, the bastard son of the current Polish King, as Duke, but only to change her mind and ask his withdrawal. At the same time, Russia was pushing for her own candidate, the Duke of Holstein-Gottorp, son-in-law of the Tsarina Catherine I. After much bribing, negotiation and behind the scene diplomacy, Maurice was summoned to either leave or suffer war. It started in 1727, with Russia firmly committed and sending 8,000 troops to conquer the Duchy within 8 days. The war did not last long enough to embrace all of Europe and Maurice fled to France where he then had a brilliant military career.

	date = { day = 13 month = january year = 1726 }

	action_a = {
		name = "ACTIONNAME3496A" #Back down
		command = { type = stability value = 1 }
		command = { type = relation which = RUS value = 150 }
	}
	action_b = {
		name = "ACTIONNAME3496B" #Fight for Maurice
		command = { type = addcore which = 283 } #Kurland
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = KUR value = 150 }
		command = { type = casusbelli which = RUS value = 3 }
		command = { type = casusbelli which = SWE value = 3 }
		command = { type = casusbelli which = PRU value = 3 }
		command = { type = stability value = -2 }
	}
}

#(1731-1751) The Sejm veto all our policies
event = {
	id = 3745
	trigger = {
		event = 3482 #POL: Liberum Veto in Poland
		atwar = yes
	}
	random = no
	country = POL
	name = "EVENTNAME3742" #The Sejm veto all our policies
	desc = "EVENTHIST3742"
	#-#The Veto itself was merely the most obvious symptom of a political disease that went far deeper. The first veto was not repeated for seventeen years, the second not for another ten. Then it became endemic in parliamentary life. The right to cast a veto grew into fetish, particularly among the minor Szlachta who saw it as a symbol of their personal involvement in the Commonwealth, as well as the ultimate guarantee of their freedoms. That the King viewed it differently is obvious. One should know that policy-making in Poland was not frozen because of the power of the veto. The King had to create Grand Compromises to ensure an at least acceptable outcome. However, as the Polish society slowly lost its consensus it was harder and harder go reach a compromise. It was especially cumbersome when planning and scheming had been going on for many months and suddenly in the last minute of passing the proposal in the Sejm. Someone rose and threw a Veto...

	date = { day = 1 month = january year = 1731 }
	offset = 180
	deathdate = { day = 1 month = january year = 1751 }

	action_a = {
		name = "ACTIONNAME3742A" #Accept the veto
		command = { type = manpower value = -30 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3742B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -2 }
	}
}

#(1733) The Polish Succession of 1733 -I-
event = {
	id = 3495
	trigger = {
		NOT = { monarch = 0109515 } #Stanislaw I Leszczynski
		exists = FRA
		exists = RUS
		exists = HAB
		NOT = {
			AND = {
				vassal = { country = POL country = RUS }
				vassal = { country = POL country = HAB }
				vassal = { country = POL country = FRA }
			}
		}
		NOT = {
			war = { country = SAC country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3495" #The Polish Succession of 1733
	desc = "EVENTHIST3495"
	#-#In 1733, the death of August II prompted a new election for the Polish monarch. Due to the permanent practice of Liberum Veto and the ensuing constant bribery, the Polish Sejm was unable to agree between the French Candidate, Stanislaw Leszczynski and his opponent, August III of Saxony, supported by Austria and Russia. The Sejm finally agreed on Stanislas, but this was rejected by Austria and Russia starting the war of Polish Succession. The war ended with August III on the Polish throne.

	date = { day = 11 month = september year = 1733 }

	action_a = {
		name = "ACTIONNAME3495A" #Friedrich Augustus Wettin
		command = { type = trigger which = 3628 } #SAC: The Polish Succession of 1733
		command = { type = trigger which = 273017 } #SAC: The Polish Succession of 1733 (SAC vassal of POL)
		command = { type = stability value = -3 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
	}
	action_b = {
		name = "ACTIONNAME3495B" #Stanislaw Leszczynski
		command = { type = trigger which = 3626 } #SAC: The Polish Succession of 1733
		command = { type = trigger which = 3632 } #LOR: Habsburg Inheritance of Lothringen
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = wakemonarch which = 0109516 } #Stanislaw I Leszczynski
		command = { type = stability value = -4 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = sleepevent which = 170202 } #FRA: The claim to Lorraine
		command = { type = sleepevent which = 258086 } #POL: The Polish Succession of 1733 -II-
	}
}
#(1733) Friedrich Augustus Wettin backs down
event = {
	id = 3487 #triggered by SAC_3628 B / SAC_273017 B
	random = no
	country = POL
	name = "EVENTNAME3487" #Friedrich Augustus Wettin backs down
	desc = "EVENTHIST3487"
	#-#The political sickness of the Polish body manifested itself fully after the death of Jan III Sobieski in 1696. The election that followed was one of the most dismal episodes in Polish parliamentary history. The primary candidates were the King's son Jakub Sobieski, and Stanislas Leczinski, the heir to the Palatinate of Poznan.

	action_a = {
		name = "ACTIONNAME3487A" #Elect Stanislaw Leszczynski
		command = { type = trigger which = 3632 } #LOR: Habsburg Inheritance of Lothringen
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = wakemonarch which = 0109516 } #Stanislaw I Leszczynski
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = sleepevent which = 170202 } #FRA: The claim to Lorraine
	}
}
#(1733) The Polish Succession of 1733 -II-
event = {
	id = 258086
	trigger = {
		NOT = { monarch = 0109515 } #Stanislaw I Leszczynski
		exists = FRA
		exists = RUS
		exists = HAB
		NOT = {
			AND = {
				vassal = { country = POL country = RUS }
				vassal = { country = POL country = HAB }
				vassal = { country = POL country = FRA }
			}
		}
		war = { country = SAC country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME3495" #The Polish Succession of 1733
	desc = "EVENTHIST3495"
	#-#In 1733, the death of August II prompted a new election for the Polish monarch. Due to the permanent practice of Liberum Veto and the ensuing constant bribery, the Polish Sejm was unable to agree between the French Candidate, Stanislaw Leszczynski and his opponent, August III of Saxony, supported by Austria and Russia. The Sejm finally agreed on Stanislas, but this was rejected by Austria and Russia starting the war of Polish Succession. The war ended with August III on the Polish throne.

	date = { day = 11 month = september year = 1733 }

	action_a = {
		name = "ACTIONNAME3495B" #Stanislaw Leszczynski
		command = { type = trigger which = 3626 } #SAC: The Polish Succession of 1733
		command = { type = trigger which = 3632 } #LOR: Habsburg Inheritance of Lothringen
		command = { type = sleepmonarch which = 0109517 } #August III Sas
		command = { type = wakemonarch which = 0109516 } #Stanislaw I Leszczynski
		command = { type = stability value = -4 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = sleepevent which = 170202 } #FRA: The claim to Lorraine
		command = { type = sleepevent which = 3495 } #POL: The Polish Succession of 1733 -I-
	}
}

#(1753-1784) The Sejm veto all our policies
event = {
	id = 3746
	trigger = {
		event = 3482 #POL: Liberum Veto in Poland
		atwar = yes
	}
	random = no
	country = POL
	name = "EVENTNAME3742" #The Sejm veto all our policies
	desc = "EVENTHIST3742"
	#-#The Veto itself was merely the most obvious symptom of a political disease that went far deeper. The first veto was not repeated for seventeen years, the second not for another ten. Then it became endemic in parliamentary life. The right to cast a veto grew into fetish, particularly among the minor Szlachta who saw it as a symbol of their personal involvement in the Commonwealth, as well as the ultimate guarantee of their freedoms. That the King viewed it differently is obvious. One should know that policy-making in Poland was not frozen because of the power of the veto. The King had to create Grand Compromises to ensure an at least acceptable outcome. However, as the Polish society slowly lost its consensus it was harder and harder go reach a compromise. It was especially cumbersome when planning and scheming had been going on for many months and suddenly in the last minute of passing the proposal in the Sejm. Someone rose and threw a Veto...

	date = { day = 1 month = january year = 1753 }
	offset = 180
	deathdate = { day = 1 month = january year = 1784 }

	action_a = {
		name = "ACTIONNAME3742A" #Accept the veto
		command = { type = manpower value = -30 }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME3742B" #Go behind their backs
		command = { type = manpower value = -5 }
		command = { type = treasury value = -200 }
		command = { type = stability value = -2 }
	}
}

#(1764) Stanislaw Poniatowski-'The Last King' -I-
event = {
	id = 3494
	trigger = {
		vassal = { country = RUS country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME3494" #Stanislaw Poniatowski-'The Last King'
	desc = "EVENTHIST3494"
	#-#Stanislaw Poniatowski was a refined man and second son to the great General Poniatowski of the early 18th century. Stanislaw was a man of the enlightenment and early became interested in politics and diplomacy touring London, Amsterdam, Vienna, Paris and last St: Petersburg. There he was readily introduced to Tsaritsa Catherine the Great and became her lover. In 1764 when Poland needed a King, Catherine suggested her now ex-lover Stanislaw Poniatowski. That was a bad choice for Russia and a rather good one for Poland. Stanislaw knew the ways of Russian political mind and he was not subservient to the wishes of Moscow. However, the degeneration of Poland had gone so far that immediate reforms where necessary to stay independent, but on the other hand such reform most likely would draw attention in Moscow, Vienna and Berlin and it did. That reforms had just left the Sejm when the enemy armies started to march. The Fear of a Resurrected Poland had brought her neighbors to action.

	date = { day = 7 month = september year = 1764 }

	action_a = {
		name = "ACTIONNAME3494A" #Reform as much as possible before Russia intervenes
		command = { type = breakvassal which = RUS }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = inflation value = -5 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 258055 } #POL: Stanislaw Poniatowski-'The Last King' -II-
		command = { type = sleepevent which = 258082 } #POL: Stanislaw Poniatowski-'The Last King' -III-
	}
	action_b = {
		name = "ACTIONNAME3494B" #Appease Russia and their Magnate faction
		command = { type = relation which = RUS value = 200 }
		command = { type = inflation value = 5 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 258055 } #POL: Stanislaw Poniatowski-'The Last King' -II-
		command = { type = sleepevent which = 258082 } #POL: Stanislaw Poniatowski-'The Last King' -III-
	}
}
#(1764) Stanislaw Poniatowski-'The Last King' -II-
event = {
	id = 258055
	trigger = {
		NOT = {
			vassal = { country = RUS country = POL }
			vassal = { country = SAC country = POL }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3494" #Stanislaw Poniatowski-'The Last King'
	desc = "EVENTHIST3494"
	#-#Stanislaw Poniatowski was a refined man and second son to the great General Poniatowski of the early 18th century. Stanislaw was a man of the enlightenment and early became interested in politics and diplomacy touring London, Amsterdam, Vienna, Paris and last St: Petersburg. There he was readily introduced to Tsaritsa Catherine the Great and became her lover. In 1764 when Poland needed a King, Catherine suggested her now ex-lover Stanislaw Poniatowski. That was a bad choice for Russia and a rather good one for Poland. Stanislaw knew the ways of Russian political mind and he was not subservient to the wishes of Moscow. However, the degeneration of Poland had gone so far that immediate reforms where necessary to stay independent, but on the other hand such reform most likely would draw attention in Moscow, Vienna and Berlin and it did. That reforms had just left the Sejm when the enemy armies started to march. The Fear of a Resurrected Poland had brought her neighbors to action.

	date = { day = 7 month = september year = 1764 }

	action_a = {
		name = "ACTIONNAME3494A" #Reform as much as possible before Russia intervenes
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = inflation value = -5 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 3494 } #POL: Stanislaw Poniatowski-'The Last King' -I-
		command = { type = sleepevent which = 258082 } #POL: Stanislaw Poniatowski-'The Last King' -III-
	}
	action_b = {
		name = "ACTIONNAME3494B" #Appease Russia and their Magnate faction
		command = { type = relation which = RUS value = 200 }
		command = { type = inflation value = 5 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 3494 } #POL: Stanislaw Poniatowski-'The Last King' -I-
		command = { type = sleepevent which = 258082 } #POL: Stanislaw Poniatowski-'The Last King' -III-
	}
}
#(1764) Stanislaw Poniatowski-'The Last King' -III-
event = {
	id = 258082
	trigger = {
		vassal = { country = SAC country = POL }
	}
	random = no
	country = POL
	name = "EVENTNAME3494" #Stanislaw Poniatowski-'The Last King'
	desc = "EVENTHIST3494"
	#-#Stanislaw Poniatowski was a refined man and second son to the great General Poniatowski of the early 18th century. Stanislaw was a man of the enlightenment and early became interested in politics and diplomacy touring London, Amsterdam, Vienna, Paris and last St: Petersburg. There he was readily introduced to Tsaritsa Catherine the Great and became her lover. In 1764 when Poland needed a King, Catherine suggested her now ex-lover Stanislaw Poniatowski. That was a bad choice for Russia and a rather good one for Poland. Stanislaw knew the ways of Russian political mind and he was not subservient to the wishes of Moscow. However, the degeneration of Poland had gone so far that immediate reforms where necessary to stay independent, but on the other hand such reform most likely would draw attention in Moscow, Vienna and Berlin and it did. That reforms had just left the Sejm when the enemy armies started to march. The Fear of a Resurrected Poland had brought her neighbors to action.

	date = { day = 7 month = september year = 1764 }

	action_a = {
		name = "ACTIONNAME3494A" #Reform as much as possible before Russia intervenes
		command = { type = breakvassal which = SAC }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SAC value = -75 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = inflation value = -5 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 3494 } #POL: Stanislaw Poniatowski-'The Last King' -I-
		command = { type = sleepevent which = 258055 } #POL: Stanislaw Poniatowski-'The Last King' -II-
	}
	action_b = {
		name = "ACTIONNAME3494B" #Appease Russia and their Magnate faction
		command = { type = breakvassal which = SAC }
		command = { type = relation which = SAC value = -75 }
		command = { type = relation which = RUS value = 200 }
		command = { type = inflation value = 5 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = domestic which = SERFDOM value = 2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 3494 } #POL: Stanislaw Poniatowski-'The Last King' -I-
		command = { type = sleepevent which = 258055 } #POL: Stanislaw Poniatowski-'The Last King' -II-
	}
}

#(1764-1772) Ending the Stagnation
event = {
	id = 3499
	trigger = {
		NOT = {
			event = 258053 #POL: Ending the Stagnation
		}
		AND = {
			exists = PRU
			event = 263014 #PRU: The Kingdom of Prussia
		}
		exists = HAB
		exists = RUS
		OR = {
			neighbour = HAB
			neighbour = PRU
			neighbour = RUS
		}
		NOT = {
			AND = {
				vassal = { country = POL country = RUS }
				vassal = { country = POL country = HAB }
				vassal = { country = POL country = PRU }
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3499" #Ending the Stagnation
	desc = "EVENTHIST3499"
	#-#After the ascending of Stanislaw Poniatowski on the Polish throne a feverish wave of reforms took place. In 1766 Chancellor Zamoyski laid before the Sejm his project for constitutional reform which included the abolition of the Liberum Veto. This elicited an immediate response from St Petersburg and Berlin, both of which threatened with war if it were not withdrawn and if the Confederated Sejm was not immediately dissolved. The King and his supporters had little to do but comply trapped in Warszawa as they were. But people started to wake up from their 'Saxon slumber' and the Confederates refused to comply. At the same time some magnates wanted to get rid of the upstart Stanislaw and united with Russian forces under the young general Suvorov they fought and destroyed the Confederated troops.

	date = { day = 10 month = september year = 1764 }
	offset = 10
	deathdate = { day = 1 month = january year = 1772 }

	action_a = {
		name = "ACTIONNAME3499A" #Let us change this depressive situation
		command = { type = trigger which = 3440 } #RUS: The Partition of Poland
		command = { type = trigger which = 3337 } #HAB: The Partition of Poland
		command = { type = trigger which = 3533 } #PRU: The Partition of Poland
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = sleepevent which = 258053 } #POL: Ending the Stagnation
	}
	action_b = {
		name = "ACTIONNAME3499B" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { }
		command = { type = sleepevent which = 258053 } #POL: Ending the Stagnation
	}
}
#(1764-1772) Ending the Stagnation
event = {
	id = 258053
	trigger = {
		neighbour = RUS
		NOT = {
			exists = PRU
			exists = HAB
			event = 3499 #POL: Ending the Stagnation
			vassal = { country = POL country = RUS }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3499" #Ending the Stagnation
	desc = "EVENTHIST258053"
	#-#After the ascending of Stanislaw Poniatowski on the Polish throne a feverish wave of reforms took place. In 1766 Chancellor Zamoyski laid before the Sejm his project for constitutional reform which included the abolition of the Liberum Veto. This elicited an immediate response from St Petersburg, which threatened with war if it were not withdrawn and if the Confederated Sejm was not immediately dissolved. The King and his supporters had little to do but comply trapped in Warszawa as they were. But people started to wake up from their 'Saxon slumber' and the Confederates refused to comply. At the same time some magnates wanted to get rid of the upstart Stanislaw and united with Russian forces under the young general Suvorov they fought and destroyed the Confederated troops.

	date = { day = 10 month = september year = 1764 }
	offset = 10
	deathdate = { day = 1 month = january year = 1772 }

	action_a = {
		name = "ACTIONNAME3499A" #Let us change this depressive situation
		command = { type = trigger which = 271012 } #RUS: The Partition of Poland
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = sleepevent which = 3499 } #POL: Ending the Stagnation
	}
	action_b = {
		name = "ACTIONNAME3499B" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { }
		command = { type = sleepevent which = 3499 } #POL: Ending the Stagnation
	}
}

#(1788-1792) Ending the Stagnation
event = {
	id = 3500
	trigger = {
		NOT = {
			event = 258054 #POL: Ending the Stagnation
		}
		exists = RUS
		OR = {
			exists = HAB
			AND = {
				exists = PRU
				event = 263014 #PRU: The Kingdom of Prussia
			}
		}
		OR = {
			neighbour = HAB
			neighbour = PRU
			neighbour = RUS
		}
		NOT = {
			AND = {
				vassal = { country = POL country = RUS }
				AND = {
					vassal = { country = POL country = HAB }
					exists = HAB
				}
				AND = {
					vassal = { country = POL country = PRU }
					exists = PRU
				}
			}
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3499" #Ending the Stagnation
	desc = "EVENTHIST3500"
	#-#In 1787 King Stanislaw approached Catherine of Russia with a bargain. Poland will raise a substantial army and support Russia in her war with the Ottomans, and make flanking maneuvers against potential attacks from Prussia or Sweden. The move was smart as it would mean that the King would have an army that could defend the country from enemies abroad and within, but Catherine did not buy it. She preferred having Poland as a piece of no-mans-land in between her and the Holy Roman Empire. As this failed the King stood without a plan and a decent foreign policy. The next year members of the so-called 'Patriotic Party' took matters in their own hands in the Great Sejm. It voted an increase of the army and vested control over it in a Sejm Commission. It placed the conduct of foreign policy in the hands of another Sejm Commission. It also abolished the Permanent Council that had governed the country since 1772 and imposed tax on incomes from lands, 10 percent for the Szlachta and 20 percent for the Church. In 1791 the King arrived from his isolation since the failure with Catherine and together with Ignacy Potocki and Hugo Kollataj he drafted the New Constitution. This became the first written Constitution in Europe and a satisfactory compromise between the republicanism of Potocki, the radicalism of Kollataj and the monarchism of the King. Again Catherine the Great reacted and as circumstances went against Poland peace was signed between the Ottomans and Russia and 89000 seasoned veterans now stood against the 37000 staunchly heroic, but no less, newly recruited Poles. No one helped Poland and the outcome was devastating.

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

	action_a = {
		name = "ACTIONNAME3499A" #Let us change this depressive situation
		command = { type = trigger which = 3441 } #RUS: The Partition of Poland
		command = { type = trigger which = 3338 } #HAB: The Partition of Poland
		command = { type = trigger which = 3534 } #PRU: The Partition of Poland
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 4 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -3 }
		command = { type = sleepevent which = 258054 } #POL: Ending the Stagnation
	}
	action_b = {
		name = "ACTIONNAME3499B" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = sleepevent which = 258054 } #POL: Ending the Stagnation
	}
}
#(1788-1792) Ending the Stagnation
event = {
	id = 258054
	trigger = {
		neighbour = RUS
		NOT = {
			exists = PRU
			exists = HAB
			event = 3500 #POL: Ending the Stagnation
			vassal = { country = POL country = RUS }
		}
	}
	random = no
	country = POL
	name = "EVENTNAME3499" #Ending the Stagnation
	desc = "EVENTHIST3500"
	#-#In 1787 King Stanislaw approached Catherine of Russia with a bargain. Poland will raise a substantial army and support Russia in her war with the Ottomans, and make flanking maneuvers against potential attacks from Prussia or Sweden. The move was smart as it would mean that the King would have an army that could defend the country from enemies abroad and within, but Catherine did not buy it. She preferred having Poland as a piece of no-mans-land in between her and the Holy Roman Empire. As this failed the King stood without a plan and a decent foreign policy. The next year members of the so-called 'Patriotic Party' took matters in their own hands in the Great Sejm. It voted an increase of the army and vested control over it in a Sejm Commission. It placed the conduct of foreign policy in the hands of another Sejm Commission. It also abolished the Permanent Council that had governed the country since 1772 and imposed tax on incomes from lands, 10 percent for the Szlachta and 20 percent for the Church. In 1791 the King arrived from his isolation since the failure with Catherine and together with Ignacy Potocki and Hugo Kollataj he drafted the New Constitution. This became the first written Constitution in Europe and a satisfactory compromise between the republicanism of Potocki, the radicalism of Kollataj and the monarchism of the King. Again Catherine the Great reacted and as circumstances went against Poland peace was signed between the Ottomans and Russia and 89000 seasoned veterans now stood against the 37000 staunchly heroic, but no less, newly recruited Poles. No one helped Poland and the outcome was devastating.

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

	action_a = {
		name = "ACTIONNAME3499A" #Let us change this depressive situation
		command = { type = trigger which = 271013 } #RUS: The Partition of Poland
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 4 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = SERFDOM value = -3 }
		command = { type = sleepevent which = 3500 } #POL: Ending the Stagnation
	}
	action_b = {
		name = "ACTIONNAME3499B" #No it's too problematic to change the situation
		command = { type = stability value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = sleepevent which = 3500 } #POL: Ending the Stagnation
	}
}

#(1807-1820) The creation of the Duchy of Warsaw
event = {
	id = 258089 #triggered by FRA_170283 A
	random = no
	country = POL
	name = "EVENTNAME170283" #The creation of the Duchy of Warsaw
	desc = "EVENTHIST170283"
	#-#The Duchy of Warsaw was a Polish state established by Napoléon in 1807 from the Polish lands ceded by the Kingdom of Prussia under the terms of the Treaties of Tilsit. The duchy was held in personal union by one of Napoléon's allies, King Friedrich August III of Saxony.\n Following Napoléon's failed invasion of Russia, the duchy was occupied by Prussian and Russian troops until 1815, when it was formally partitioned between the two countries at the Congress of Vienna.

	action_a = {
		name = "VIVAT"
		command = { type = flagname which = "Duchy" }
		command = { type = countryname value = "POL" }
		command = { type = sleepmonarch which = 0109538 } #Tadeusz Kosciuszko
		command = { type = wakemonarch which = 0109535 } #Fryderyk August I
		command = { type = relation which = FRA value = 300 }
		command = { type = relation which = SAC value = 300 }
		command = { type = dynastic which = SAC }
	}
}

#(1807-1820) Constitution of the Duchy of Warsaw
event = {
	id = 258090
	trigger = {
		monarch = 0109535 #Fryderyk August I
	}
	random = no
	country = POL
	name = "EVENTNAME258090" #Constitution of the Duchy of Warsaw
	desc = "EVENTHIST258090"
	#-#The Constitution of the Duchy of Warsaw was passed by Napoléon on 22 July 1807 in Dresden. Together with the Napoleonic code it was a significant reform of the Polish law and government in the new Duchy of Warsaw. The new laws abolished legal distinction by social classes (nobility, peasantry, townsfolk) by introducing a principle that all people are equal before the law. Serfdom was abolished, and personal liberty guaranteed.

	date = { day = 21 month = july year = 1807 }
	offset = 1
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME258090A" #Issue it
		command = { type = domestic which = serfdom value = -3 }
		command = { type = domestic which = aristocracy value = -4 }
		command = { type = domestic which = innovative value = 3 }
	}
}

#(1810-1820) Alexander becomes King of Poland
event = {
	id = 258094 #triggered by RUS_271020
	random = no
	country = POL
	name = "EVENTNAME271020" #Alexander becomes King of Poland
	desc = "EVENTHIST170284"
	#-#In the Congress of Vienna, Poland again was the victim of the victorious powers appetite. As most Poles had been staunch supporters of the French to the very end - only a group of Polish nobles around Prince Adam Czartoryski had accepted the Tsar as Poland's lord - they were not represented on the Congress. Russian Tsar Alexander planned the reestablihment of a Polish Kingdom in dynastic union with Russia. This kingdom would comprise of the Duchy of Warsaw an possibly include territories further east, acquired by Russia in the Polish Partitions 1772-1795.\n However, the British side had objections, and a compromise was found according to which the province of Posen became Prussian, and the rest of the Duchy of Poland (Congress Poland) was reestablished as a Kingdom, in dynastic union with Russia. Cracow was declared a free city under the joint protection of its three neighbours, Austria, Prussia and Russia.

	action_a = {
		name = "OK"
		command = { type = flagname which = "Congress" }
		command = { type = countryname value = "POL" }
		command = { type = wakemonarch which = 0109539 } #Aleksander Romanow
	}
}
#(1810-1820) The restoration of the Kingdom of Poland
event = {
	id = 258091 #triggered by FRA_170284
	trigger = {
		OR = {
			monarch = 0109535 #Fryderyk August I
			monarch = 0109539 #Aleksander Romanow
		}
	}
	random = no
	country = POL
	name = "EVENTNAME170284" #The restoration of the Kingdom of Poland
	desc = "EVENTHIST170284"
	#-#In the Congress of Vienna, Poland again was the victim of the victorious powers appetite. As most Poles had been staunch supporters of the French to the very end - only a group of Polish nobles around Prince Adam Czartoryski had accepted the Tsar as Poland's lord - they were not represented on the Congress. Russian Tsar Alexander planned the reestablihment of a Polish Kingdom in dynastic union with Russia. This kingdom would comprise of the Duchy of Warsaw an possibly include territories further east, acquired by Russia in the Polish Partitions 1772-1795.\n However, the British side had objections, and a compromise was found according to which the province of Posen became Prussian, and the rest of the Duchy of Poland (Congress Poland) was reestablished as a Kingdom, in dynastic union with Russia. Cracow was declared a free city under the joint protection of its three neighbours, Austria, Prussia and Russia.

	action_a = {
		name = "OK"
		command = { type = flagname which = "Congress" }
		command = { type = countryname value = "POL" }
		command = { type = sleepmonarch which = 0109535 } #Fryderyk August I
		command = { type = wakemonarch which = 0109539 } #Aleksander Romanow
		command = { type = breakvassal which = FRA }
		command = { type = domestic which = serfdom value = 3 }
		command = { type = domestic which = aristocracy value = 4 }
		command = { type = domestic which = innovative value = -3 }
		#Polish cores under Russian influence
		command = { type = cedeprovince which = RUS value = 297 } #Podolia
		command = { type = removecore which = 297 } #Podolia
		#Other possible Polish cores under Russian influence
		command = { type = cedeprovince which = RUS value = 280 } #Welikia
		command = { type = cedeprovince which = RUS value = 281 } #Polotsk
		command = { type = cedeprovince which = RUS value = 284 } #Belarus
		command = { type = cedeprovince which = RUS value = 285 } #Smolensk
		command = { type = cedeprovince which = RUS value = 286 } #Kursk
		command = { type = cedeprovince which = RUS value = 287 } #Mozyr
		command = { type = cedeprovince which = RUS value = 288 } #Lithuania
		command = { type = cedeprovince which = RUS value = 293 } #Volyn
		command = { type = cedeprovince which = RUS value = 294 } #Chernigov
		command = { type = cedeprovince which = RUS value = 295 } #Ukraina
		command = { type = cedeprovince which = RUS value = 296 } #Jedisan
		command = { type = cedeprovince which = RUS value = 450 } #Belgorod
		command = { type = cedeprovince which = RUS value = 460 } #Donetsk
		command = { type = cedeprovince which = RUS value = 461 } #Poltava
		command = { type = cedeprovince which = RUS value = 462 } #Krementjug
		command = { type = cedeprovince which = RUS value = 282 } #Livland
		command = { type = cedeprovince which = RUS value = 281 } #Polotsk
		command = { type = cedeprovince which = RUS value = 276 } #Estland
		command = { type = cedeprovince which = RUS value = 275 } #Ingermanland
		command = { type = removecore which = 280 } #Welikia
		command = { type = removecore which = 281 } #Polotsk
		command = { type = removecore which = 284 } #Belarus
		command = { type = removecore which = 285 } #Smolensk
		command = { type = removecore which = 286 } #Kursk
		command = { type = removecore which = 287 } #Mozyr
		command = { type = removecore which = 288 } #Lithuania
		command = { type = removecore which = 293 } #Volyn
		command = { type = removecore which = 294 } #Chernigov
		command = { type = removecore which = 295 } #Ukraina
		command = { type = removecore which = 296 } #Jedisan
		command = { type = removecore which = 450 } #Belgorod
		command = { type = removecore which = 460 } #Donetsk
		command = { type = removecore which = 461 } #Poltava
		command = { type = removecore which = 462 } #Krementjug
		command = { type = removecore which = 302 } #Hinterpommern
		command = { type = removecore which = 282 } #Livland
		command = { type = removecore which = 281 } #Polotsk
		command = { type = removecore which = 276 } #Estland
		command = { type = removecore which = 275 } #Ingermanland
		command = { type = trigger which = 258092 } #POL: The Kingdom of Poland and Prussia
		command = { type = trigger which = 258093 } #POL: The Kingdom of Poland and Austria
		command = { type = trigger which = 271019 } #RUS: The restoration of the Kingdom of Poland
	}
}
#(1810-1820) The Kingdom of Poland and Prussia
event = {
	id = 258092 #triggered by POL_258091
	trigger = {
		neighbour = PRU
	}
	random = no
	country = POL
	name = "EVENTNAME258092" #The Kingdom of Poland and Prussia
	desc = "EVENTHIST170284"
	#-#In the Congress of Vienna, Poland again was the victim of the victorious powers appetite. As most Poles had been staunch supporters of the French to the very end - only a group of Polish nobles around Prince Adam Czartoryski had accepted the Tsar as Poland's lord - they were not represented on the Congress. Russian Tsar Alexander planned the reestablihment of a Polish Kingdom in dynastic union with Russia. This kingdom would comprise of the Duchy of Warsaw an possibly include territories further east, acquired by Russia in the Polish Partitions 1772-1795.\n However, the British side had objections, and a compromise was found according to which the province of Posen became Prussian, and the rest of the Duchy of Poland (Congress Poland) was reestablished as a Kingdom, in dynastic union with Russia. Cracow was declared a free city under the joint protection of its three neighbours, Austria, Prussia and Russia.

	action_a = {
		name = "OK"
		command = { type = cedeprovince which = PRU value = 290 } #Prussia
		command = { type = cedeprovince which = PRU value = 313 } #Küstrin
		command = { type = cedeprovince which = PRU value = 314 } #Silesia
		command = { type = cedeprovince which = PRU value = 289 } #Memel
		command = { type = cedeprovince which = PRU value = 303 } #Poznan
		command = { type = removecore which = 290 } #Prussia
		command = { type = removecore which = 313 } #Küstrin
		command = { type = removecore which = 314 } #Silesia
		command = { type = removecore which = 289 } #Memel
		command = { type = removecore which = 303 } #Poznan
	}
}
#(1810-1820) The Kingdom of Poland and Austria
event = {
	id = 258093 #triggered by POL_258091
	trigger = {
		neighbour = HAB
	}
	random = no
	country = POL
	name = "EVENTNAME258093" #The Kingdom of Poland and Austria
	desc = "EVENTHIST170284"
	#-#In the Congress of Vienna, Poland again was the victim of the victorious powers appetite. As most Poles had been staunch supporters of the French to the very end - only a group of Polish nobles around Prince Adam Czartoryski had accepted the Tsar as Poland's lord - they were not represented on the Congress. Russian Tsar Alexander planned the reestablihment of a Polish Kingdom in dynastic union with Russia. This kingdom would comprise of the Duchy of Warsaw an possibly include territories further east, acquired by Russia in the Polish Partitions 1772-1795.\n However, the British side had objections, and a compromise was found according to which the province of Posen became Prussian, and the rest of the Duchy of Poland (Congress Poland) was reestablished as a Kingdom, in dynastic union with Russia. Cracow was declared a free city under the joint protection of its three neighbours, Austria, Prussia and Russia.

	action_a = {
		name = "OK"
		command = { type = cedeprovince which = HAB value = 298 } #Galizien
		command = { type = cedeprovince which = HAB value = 299 } #Krakow
		command = { type = removecore which = 298 } #Galizien
		command = { type = removecore which = 299 } #Krakow
	}
}

#-----------------------------------------------------------------------------------------------

#First free id: 258095
