#####Teutonic Order Major Events#####
####By Joakim 'Greven' Bergqwist#####
#####################################

#Vanilla events modified by Hive

#Hohenzollern Prussia become Polish Duchy#
event = {

	id = 3619				#Triggered by PRU3516#
	random = no
	country = LAT
	name = "EVENTNAME3619"
	desc = "EVENTHIST3619"
	style = 2

	action_a ={				#Defy this act of treason#
		name = "ACTIONNAME3619B"
		command = { type = casusbelli which = PRU value = 240 }
		command = { type = casusbelli which = POL value = 60 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = POL value = -150 }
	}
	action_b ={				#Accept the act#
		name = "ACTIONNAME3619A"
		command = { type = relation which = POL value = 150 }
		command = { type = relation which = PRU value = 150 }
		command = { type = treasury value = 250 }
	}


}
event = {

	id = 8645410
	trigger = {
		 	 exists = POL
                         owned = { province = 301 data = -1 }
			 owned = { province = 1944 data = -1 }
			 OR = {
                                   control = { province = 301 data = REB }
				   control = { province = 1944 data = REB }
				   control = { province = 301 data = POL }
				   control = { province = 1944 data = POL }
                         }
                         NOT = {
				exists = FAT
				stability = 2
		}
	}
	random = no
	country = LAT
	name = "The War of the Cities"
	desc = "The Teutonic Order had been a model state in efficiency. However, it's administration also was costly. High taxation in 1440 resulted in the Prussian cities, foremost Danzig, Elbing and Thorn, to found the Prussian Federation. The Grand Master, residing in the Marienburg, a huge, yet unconquered fortress, attempted to force the cities to pay high taxation, and this led to the secession of the Prussian federation in the Prussian War (Thirteen Years' War) 1454-1466."
	style = 2

	date = { day = 21 month = february year = 1440 }
	offset = 30
	deathdate = { day = 19 month = october year = 1466 }

	action_a ={
		name = "Fight them"
		command = { type = independence which = FAT }
		command = { type = relation which = FAT value = -150 }
		command = { type = stability value = -1 }
		command = { type = trigger which = 8645411 }
		}


	action_b ={
		name = "Make them pay!"
                command = { type = provincetax   which = 301 value = 1 }
                command = { type = provincetax   which = 1944 value = 1 }
		command = { type = stability value = -2 }
		command = { type = population   which = 301 value = -5000 }
		command = { type = population   which = 1944 value = -3000 }
		command = { type = revolt   which = 301 }
		command = { type = revolt   which = 301 }
		command = { type = revolt   which = 1944 }
	}
}


#Hohenzollern Prussia become Polish Duchy#
event = {

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

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

	action_a ={				#Secularize as Polish vassal#
		name = "ACTIONNAME3516A"
		command = { type = independence which = LIV }
		command = { type = religion which = protestant }
		command = { type = country which = PRU }
		command = { type = remove_countryculture which = ugric }
		command = { type = remove_countryculture which = baltic }
		command = { type = trigger which = 3474 }
		command = { type = trigger which = 15463 }
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = BRA value = 150 }
		command = { type = dynastic which = BRA }
		command = { type = provinceculture which = 289 value = german }
		command = { type = provinceculture which = 290 value = german }
		command = { type = stability value = 1 }
		command = { type = removecore which = 276 }
		command = { type = removecore which = 282 }
		command = { type = removecore which = 275 }
		command = { type = removecore which = 1009 }
		command = { type = removecore which = 1963 }
		}


	action_b ={				#Secularize as independent country#
		name = "ACTIONNAME3516B"
		command = { type = independence which = LIV }
		command = { type = religion which = protestant }
		command = { type = country which = PRU }
		command = { type = remove_countryculture which = ugric }
		command = { type = remove_countryculture which = baltic }
		command = { type = trigger which = 15463 }
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = POL value = -150 }
		command = { type = relation which = BRA value = 150 }
		command = { type = dynastic which = BRA }
		command = { type = provinceculture which = 289 value = german }
		command = { type = provinceculture which = 290 value = german }
		command = { type = stability value = -2 }
		command = { type = removecore which = 276 }
		command = { type = removecore which = 282 }
		command = { type = removecore which = 275 }
		command = { type = removecore which = 1009 }
		command = { type = removecore which = 1963 }
	}
	
	action_c ={				#Elect a new Grand Master#
		name = "Elect a new Grand Master"
		command = { type = independence which = PRU }
		command = { type = country which = LIV }
		command = { type = remove_countryculture which = german }
		command = { type = trigger which = 3516 }
		command = { type = stability value = 1 }
		command = { type = removecore which = 290 }
		command = { type = removecore which = 289 }
		}
}

# Events by Hive

#Denmark offers to sell Estonia#
event = {

	id = 15470
	random = no
	country = LAT
	name = "Denmark offers to sell Estonia"
	desc = "In 1193, Pope Celestine III called for crusade against pagans in Northern Europe. Denmark and the Livonian Order invaded Estland, and split it between them. Denmark got the Northern part, and established the capital of Reval (now Tallinn) in 1219. 		Denmark introduced Western culture and Christianity to the Pagan Ests before selling their part of Estonia to the Teutonic Order in 1346. My lord, we will get Estland for a lump sum of 250 ducats. Should we heed the offer?"
	style = 0

	action_a ={
		name = "Accept the offer"
		command = { type = treasury value = -250 }
		command = { type = relation which = DAN value = 100 }
		command = { type = trigger which = 15471 }
	}

	action_b ={
		name = "Reject the offer"
		command = { type = relation which = DAN value = -100 }
		command = { type = vp value = -75 }
		command = { type = trigger which = 15472 }
	}
}