#####Bohemia Major Events#######
#By Joakim 'Greven' Bergqwist  #
#   Henrik 'Doomdark' Fhraeus #
#   Hvard Moe                 #
#   Tom 'Demetrios' Rinschler  #
################################

# The Death of King Vaclav IV
event = {
	id = 3801
	random = no
	country = BOH
	name = "EVENTNAME3801"
	desc = "EVENTHIST3801"
	style = 1

	date = { day = 16 month = august year = 1419 }
	offset = 0

	action_a ={ # The traitor will not rule Bohemia!
		name = "ACTIONNAME3801A"
		command = { type = stability value = 2 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = relation which = HUN value = -200 }
		command = { type = relation which = BRA value = -200 }
		command = { type = relation which = POL value = 50 }
		command = { type = relation which = LIT value = 50 }
		command = { type = relation which = HAB value = 50 }
		command = { type = breakdynastic which = HUN }
		command = { type = breakvassal which = LUX }
		command = { type = religion which = protestant }
		command = { type = trigger which = 3851 }
	}
	action_b ={ # Zigmunt is the legal heir
		name = "ACTIONNAME3801B"
		command = { type = sleepleader which = 09680 } # Jan Ziska
		command = { type = sleepleader which = 09681 } # Prokop Holy
		command = { type = sleepmonarch which = 06231 }
		command = { type = wakemonarch which = 06259 }
		command = { type = stability value = -6 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = relation which = HUN value = 200 }
	}
}

# Zigmunt makes concessions
event = {
	trigger = {
		monarch = 06231 # The Hussite Regency
	}
	id = 3802
	random = no
	country = BOH
	name = "EVENTNAME3802"
	desc = "EVENTHIST3802"
	style = 1
	
	date = { day = 23 month = august year = 1437 }
	offset = 0
	deathdate = { day = 24 month = august year = 1437 }

	action_a = { # Yes, his concessions are acceptable
		name = "ACTIONNAME3802A"
		command = { type = sleepmonarch which = 06231 }
		command = { type = wakemonarch which = 06259 }
		command = { type = stability value = 1 }
		command = { type = relation which = HUN value = 50 }
		command = { type = relation which = POL value = -50 }
		command = { type = relation which = LIT value = -50 }
		command = { type = religion which = catholic }
	}
	action_b ={ # No compromise with the betrayer of Jan Hus!
		name = "ACTIONNAME3802B"
		command = { type = stability value = -2 }
		command = { type = relation which = HUN value = -50 }
		command = { type = relation which = POL value = 50 }
		command = { type = relation which = LIT value = 50 }
	}
}
# Jiriz the Heretic King
event = {
	id = 3803
	random = no
	country = BOH
	name = "EVENTNAME3803"
	desc = "EVENTHIST3803"
	style = 1
	
	date = { day = 2 month = march year = 1458 }
	offset = 0

	action_a = { # Acknowledge but downplay their help
		name = "ACTIONNAME3803A"
		command = { type = stability value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = HUN value = -25 }
		command = { type = relation which = POL value = -25 }
		command = { type = relation which = LIT value = -25 }
		command = { type = relation which = HAB value = -25 }
	}
	action_b = { # Embrace the Hussites
		name = "ACTIONNAME3803B"
		command = { type = stability value = 3 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = relation which = HUN value = -150 }
		command = { type = relation which = POL value = -150 }
		command = { type = relation which = LIT value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = CAS value = -100 }
		command = { type = relation which = ARG value = -100 }
		command = { type = relation which = POR value = -100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = SAC value = -100 }
	}
	action_c = { # Supress the Hussites to play on European opinion
		name = "ACTIONNAME3803C"
		command = { type = stability value = -5 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = LIT value = 100 }
		command = { type = relation which = BRA value = 100 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = ENG value = 100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = CAS value = 100 }
		command = { type = relation which = ARG value = 100 }
	}
}

#The Death of King Lajos of Bohemia#
event = {

	id = 3642
	random = no
	country = BOH
	name = "EVENTNAME3642"
	desc = "EVENTHIST3642"
	style = 3

	date = { day = 28 month = august year = 1526 }
	offset = 0
	deathdate = { day = 29 month = august year = 1526 }

	action_a ={				#Accept the Habsburgs as Hereditary Kings#
		name = "ACTIONNAME3642B"
		command = { type = trigger which = 3733 }
	}

	action_b ={				#Accept the Habsburgs as Elected Kings#
		name = "ACTIONNAME3642A"
		command = { type = trigger which = 3187 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 200 }
		command = { type = dynastic which = HAB }
#		command = { type = alliance which = HAB }
		command = { type = relation which = HAB value = 100 }
	}
}

#The Winterking in Prague#
event = {

	id = 3643
	trigger = {
			exists = HAB
			exists = PFA
			event = 3194
		}
	random = no
	country = BOH
	name = "EVENTNAME3643"
	desc = "EVENTHIST3643"
	style = 3

	date = { day = 20 month = march year = 1619 }
	offset = 0
	deathdate = { day = 21 month = march year = 1619 }

	action_a ={				#Elect Friedrich V of Pfalz#
		name = "ACTIONNAME3643A"
		command = { type = trigger which = 3097 }
		command = { type = trigger which = 3665 }
		command = { type = breakvassal which = HAB }
		command = { type = dynastic which = PFA }
#		command = { type = alliance which = PFA }
		command = { type = religion which = protestant }
		command = { type = stability value = 2 }
		command = { type = relation which = PFA value = 150 }
		command = { type = relation which = HAB value = -200 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -3 }
		command = { type = sleepmonarch which = 06241 }
		command = { type = sleepmonarch which = 06242 }
		command = { type = sleepmonarch which = 06243 }
		command = { type = sleepmonarch which = 06244 }
		command = { type = sleepmonarch which = 06245 }
		command = { type = sleepmonarch which = 06246 }
		command = { type = sleepmonarch which = 06247 }
		command = { type = sleepmonarch which = 06248 }
		command = { type = sleepmonarch which = 06249 }
		command = { type = wakemonarch which = 06250 }
		command = { type = wakemonarch which = 06251 }
		command = { type = wakemonarch which = 06252 }
		command = { type = wakemonarch which = 06253 }
		command = { type = wakemonarch which = 06254 }
		command = { type = wakemonarch which = 06255 }
		command = { type = wakemonarch which = 06256 }
		command = { type = wakemonarch which = 06257 }
		command = { type = wakemonarch which = 06258 }
	                  
                                    }

	action_b ={				#Stay Loyal to the Habsburgs#
		name = "ACTIONNAME3643B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 60 value = 12 }
		command = { type = relation which = HAB value = 150 }
	}
}
event = {

	id = 9756400
	trigger = {
	monarch = 17662
	NOT = {	exists = LUX }
	}
	random = no
	country = BOH
	name = "Wenceslaus I of Luxemburg"
	desc = "In 1353 Karel IV King of Bohemia, Count of Luxemburg and elected Holy Roman King, entrusted the county, their father's inheritance, to his step-brother Wenceslaus."
	style = 3

	date = { day = 0 month = january year = 1353 }
	offset = 7
	deathdate = { day = 29 month = december year = 1378 }

	action_a ={
		name = "Give Luxemburg to Wenceslaus"
 		command = { type = independence which = LUX }
		command = { type = removecore which = 377 }
	}

	action_b ={
		name = "Luxemburg is a part of the empire!"
		command = { type = stability value = -2 }
	}
}

event = {

	id = 9756402
	random = no
	country = BOH
	name = "The Personal Union with Luxemburg"
	desc = "Wenceslaus I was captured and suffered 11 months of captivity. He died in Luxemburg and was succeeded by Wenceslaus II as duke of Luxemburg. There are speculations that he might have died of leprosy (Joanna stayed in Brussels). His last wish was his heart to be displaced from his dead body and sent to his wife."
	style = 3

	action_a ={
		name = "Great"
		command = { type = inherit which = LUX }
		command = { type = addcore which = 377 }
	}
}

event = {

	id = 9756404
	trigger = {
	exists = BRA
	}
	random = no
	country = BOH
	name = "The last Wittelsbach Elector"
	desc = "Charles invaded Brandenburg in 1371 since Otto neglected his government. Two years later Otto officially resigned against a huge financial compensation and retired in Bavaria. This was the end of the Wittelsbach rule in Brandenburg."
	style = 3

	date = { day = 0 month = january year = 1371 }
	offset = 30
	deathdate = { day = 0 month = january year = 1373 }

	action_a ={
		name = "Invade Brandenburg"
		command = { type = trigger which = 9756410 } # BOH: The invasion has begun
	}

	action_b ={
		name = "Let him govern like a wench"
		command = { type = stability value = -2 }
		command = { type = relation which = BRA value = 200 }
	}
}

event = {

	id = 9756406
	random = no
	country = BOH
	name = "Otto V offers Brandenburg"
	desc = "Sire, our armies in Brandenburg is in this minute holding Otto V of Brandenburg as prisoner in his own castle. The scum offers his demense for a great lump of money."
	style = 3

	action_a ={
		name = "Good buy it"
		command = { type = cash value = -400 }
		command = { type = inherit which = BRA }
		command = { type = addcore which = 311 }
		command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = addcore which = 1941 }
	}

	action_b ={
		name = "Don't buy it"
		command = { type = stability value = -2 }
	}
}

event = {

	id = 9756407
	random = no
	country = BOH
	name = "Otto V flees"
	desc = "Sire, the local leader of the resistance group in Brandenburg tells us that Otto V has fled to Bavaria."
	style = 3

	action_a ={
		name = "Good"
		command = { type = inherit which = BRA }
		command = { type = addcore which = 311 }
		command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = addcore which = 1941 }
	}

	action_b ={
		name = "Don't take it"
		command = { type = stability value = -2 }
	}
}

event = {

	id = 9756408
	random = no
	country = BOH
	name = "Otto V fights"
	desc = "Sire, Otto V has statuated an example by making his army go door to door asking if they like Otto V. All whom replied 'No', got their house burned down."
	style = 3

	action_a ={
		name = "Let us liberate them!"
		command = { type = war which = BRA }
	}

	action_b ={
		name = "Don't do anything"
		command = { type = stability value = -2 }
	}

}

event = {

	id = 9756409
	trigger = { OR = { event = 9756407 event = 9756406 } }
	random = no
	country = BOH
	name = "Wenceslaus - Son of Karel IV Part 1"
	desc = "Emperor Karel IV forced the last Wittelsbach Elector to abdicate, and then installed his own son, Wenceslaus."
	style = 3
	
	date = { day = 0 month = january year = 1371 }
	offset = 30
	deathdate = { day = 0 month = january year = 1380 }

	action_a ={
		name = "Give Brandenburg to Wenceslaus"
		command = { type = independence which = BRA }
		command = { type = removecore which = 311 }
		command = { type = removecore which = 312 }
		command = { type = removecore which = 313 }
		command = { type = removecore which = 1941 }
                command = { type = trigger which = 9756800 }
	}

	action_b ={
		name = "Keep it with the crown"
		command = { type = stability value = -3 }
	}
}

event = {

	id = 9756800
	random = no
	country = BOH
	name = "Wenceslaus - Son of Karel IV Part 2"
	desc = "This is just due to EU2 scripting rules. Sorry. ;)"
        style = 3

	action_a ={
		name = "Give Brandenburg to Wenceslaus"
		command = { type = secedeprovince which = BRA value = 311 }
		command = { type = secedeprovince which = BRA value = 313 }
	}
}

event = {

	id = 9756410
	random = no
	country = BOH
	name = "The invasion has begun"
	desc = "The invasion has begun."
	style = 3

	action_a ={
		name = "Good now go find Otto V"
		command = { type = relation which = BRA value = -200 }
	}
}
event = {

	id = 9756412
	random = no
	country = BOH
	name = "The Personal Union with Luxemburg"
	desc = "Wenceslaus I was captured and suffered 11 months of captivity. He died in Luxemburg and was succeeded by Wenceslaus II as duke of Luxemburg. There are speculations that he might have died of leprosy (Joanna stayed in Brussels). His last wish was his heart to be displaced from his dead body and sent to his wife."
	style = 3

	action_a ={
		name = "Great"
		command = { type = vassal which = LUX }
	}
}

event = {

	id = 9756414
	trigger = {
	monarch = 06230
	exists = TAN
	}
	random = no
	country = BOH
	name = "Jobst of Morava"
	desc = "Jobst of Morava took over the family estates in Luxemburg in 1388"
	style = 3

	date = { day = 0 month = january year = 1388 }
	offset = 0
	deathdate = { day = 7 month = december year = 1411 }

	action_a ={
		name = "Okay now we can focus on Bohemia"
		command = { type = inherit which = LUX }
		command = { type = secedeprovince which = TAN value = 377 }
		command = { type = removecore which = 377 }
		command = { type = relation which = TAN value = 100 }
	}

	action_b ={
		name = "Never!"
		command = { type = stability value = -2 }
		command = { type = relation which = TAN value = -200 }
	}
}

event = {

	id = 45862105
	random = no
	country = BOH
	name = "The Death of Jobst"
	desc = "After the death of German king Rupert in 1410, Jobst was elected successor by four of the electors on 1 October, opposing his cousin Sigismund who had already been elected by three electors on 10 September. Though Jobst had the greater support among the electors, he died on January 18, 1411, leaving Sigismund as the undisputed King and later Holy Roman Emperor. Luxemburg went to Elisabeth von Grlitz. All his possesions in Bohemia went back to his brother Vclav IV of Bohemia."
	style = 3

	action_a ={
		name = "Great"
		command = { type = addcore which = 315 }
	}
}