###################################
####   Ducal Prussia Events    ####
#### by Crook, Chimera, St Leo ####
###################################

#Prussian incorporation into Brandenburg#

event = {

	id = 3517			#Triggers brandenburg event 3636#
	trigger = {
		 exists = BRA
	}
	
	
	date = { day = 1 month = january year = 1615 }
	offset = 300
	deathdate = { day = 1 month = june year = 1700 }
	
	random = no
	country = U15
	name = "EVENTNAME3517"
	desc = "EVENTHIST3517"
	style = 3

	action_a ={				#Unite with Brandenburg#
		name = "ACTIONNAME3517A"
		command = { type = trigger which = 3636 }
	}
	action_b ={				#Keep separate#
		name = "ACTIONNAME3517B"
		command = { type = relation which = BRA value = -100 }
		command = { type = casusbelli which = BRA value = 12 }
	}
	
}



################################
## Prussia and TO event chain
## by Neuromancer
################################
# Ids used: 263020-263021

#Hohenzollern Prussia become Polish Duchy#
event = {

	id = 263020
	trigger = {
		exists = POL  
	}
	random = no
	country = PRU
	name = "EVENTNAME3516"
	desc = "EVENTHIST3516"
	style = 2

	date = { day = 1 month = january year = 1524 }
	offset = 30
	deathdate = { day = 1 month = january year = 1540 }

	action_a ={				#Secularize as Polish vassal#
		name = "ACTIONNAME3516A"
		command = { type = religion which = protestant }	# 1.08 no longer breaks vassalages after conversion
		command = { type = breakvassal  which = DAN }
		command = { type = breakvassal  which = SWE }
		command = { type = breakvassal  which = LIT }
		command = { type = breakvassal  which = MIN }
		command = { type = breakvassal  which = LIV }
		command = { type = breakvassal  which = BRA }
		command = { type = provincereligion which = 290 value = protestant } # Prussia
		command = { type = provincereligion which = 1978 value = protestant } # Memel		
		command = { type = stability value = 6 }
		command = { type = removecore which = 301 } # Danzig - historical justification
		command = { type = removecore which = 312 } # Kustrin - revolter core
		command = { type = removecore which = 313 } # Brandenburg - revolter core
		command = { type = relation which = LIV value = -50 }
		command = { type = relation which = POL value = 350 }
		command = { type = relation which = LIT value = 350 }	# So they won't DoW instantly
		command = { type = relation which = MIN value = 350 }	# So they won't DoW instantly
		command = { type = relation which = BRA value = 400 }
		command = { type = dynastic which = BRA }
		command = { type = trigger which = 258231 } # POL258231: Hohenzollern Prussia becomes Polish Duchy
	}
	action_b ={				#Secularize as independent country#
		name = "ACTIONNAME3516B"
		command = { type = breakvassal  which = DAN }
		command = { type = breakvassal  which = SWE }
		command = { type = breakvassal  which = LIT }
		command = { type = breakvassal  which = MIN }
		command = { type = breakvassal  which = LIV }
		command = { type = breakvassal  which = BRA }
		command = { type = breakvassal  which = POL }
		command = { type = religion which = protestant }
		command = { type = provincereligion which = 290 value = protestant } # Prussia
		command = { type = provincereligion which = 1978 value = protestant } # Memel
		command = { type = addcore which = 301 } # Danzig 
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = POL value = -150 }
		command = { type = relation which = BRA value = 250 }
		command = { type = dynastic which = BRA }
	}
}

#Germans are migrating to Danzig#
#Vilkouak-AGC

event = {
	id = 20125
	trigger = { 
		owned = { province = 301 data = -1 }
		atwar = no
		OR = { 
			religion = protestant
			religion = reformed 
		}
	}
	random = no
	country = U15
	name = "Germans are migrating to Danzig"
	desc = "The city of Danzig was always crucial to the whole province. Its importance in the territorially small country which was Prussia in seventeenth century was even stronger than earlier in Poland. Moreover, Prussia was a German state that could play a decisive role in German outlook of the province."
	style = 3
	date = { day = 1 month = january year = 1600 }
	offset = 5000
	deathdate = { day = 1 month = january year = 1819 }

	action_a = {  
		name = "The German population is dominant"
		command = { type = provinceculture which = 301 value = swiss } # Middle German
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = treasury value = -50 } 
	
	}

	action_b = {
		name = "Let them decide on the local level"
		command = { type = relation which = POL value = 50 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = 50 } 
	}
}