# Events by Cool-Toxic

#The Assasination of Count Gerhard#
event = {

	id = 78793708
	random = no
	country = SHL
	name = "The Assasination of Count Gerhard"
	desc = "GERTDESC"
	date = { day = 1 month = april year = 1340 }
	style = 0

	action_a ={
		name = "Ohh no!"
		command = { type = desertion   which = -1 value = 7000 }
                command = { type = desertion   which = -1 value = 7000 }
		command = { type = stability value = -1 }
		command = { type = relation which = DAN value = -50 }
		command = { type = revoltrisk   which = 60 value = 2 }
	}
}

#The Crowning of Valdemar IV Atterdag#
event = {

	id = 78793709
	random = no
	country = DAN
	name = "The Crowning of Valdemar IV Atterdag"
	desc = "Following the assassination of Count Gerhard III by Niels Ebbesen and his brothers, Valdemar was proclaimed King of Denmark at the Viborg Assembly on St Hans Day, 21, June 1340 led by Niels Ebbesen. By his marriage with Helvig, the daughter of Duke Erik II of Schleswig and what was left to him by his father, about 1/4 of the territory of Jutland north of the Konge river. He was not compelled to sign a charter as his father had done, probably because Denmark had been without a king for years, and no one expected the twenty year old king to be any more trouble to the great nobles than his father had been. Valdemar was a clever and determined man and realized that the only way to rule Denmark was to get control of its territory. The first opportunity came with the money Helvig brought with her into the marriage. The mortgage on the rest of northern Jutland was paid off by taxes collected from Valdemar's peasants above the Kongen."
	style = 0

	action_a ={
		name = "Long Live the King!"
		command = { type = capital   which = 309 }
		command = { type = ADM   which = 1 value = 414 }
		command = { type = stability value = 1 }
		command = { type = relation which = SHL value = -50 }
		command = { type = treasury   value = -300 }
	}
}

#The Crowning of Valdemar IV Atterdag#
event = {

	id = 78793710
	random = no
	country = SHL
	name = "The Crowning of Valdemar IV Atterdag"
	desc = "Following the assassination of Count Gerhard III by Niels Ebbesen and his brothers, Valdemar was proclaimed King of Denmark at the Viborg Assembly on St Hans Day, 21, June 1340 led by Niels Ebbesen. By his marriage with Helvig, the daughter of Duke Erik II of Schleswig and what was left to him by his father, about 1/4 of the territory of Jutland north of the Konge river. He was not compelled to sign a charter as his father had done, probably because Denmark had been without a king for years, and no one expected the twenty year old king to be any more trouble to the great nobles than his father had been. Valdemar was a clever and determined man and realized that the only way to rule Denmark was to get control of its territory. The first opportunity came with the money Helvig brought with her into the marriage. The mortgage on the rest of northern Jutland was paid off by taxes collected from Valdemar's peasants above the Kongen."
	date = { day = 21 month = june year = 1340 }
        style = 0

	action_a ={
		name = "This is not good.."
		command = { type = secedeprovince which = DAN value = 309 }
		command = { type = treasury   value = 450 }
		command = { type = trigger which = 78793709 }
	}
}

#Purchasing Slesvig back#
event = {

	id = 78793711
	trigger = { owned = { province = 1938 data = SHL } }
	random = no
	country = DAN
	name = "Purchasing Slesvig back"
	desc = "Valdemar IV Atterdag was able to get North Friesland back in 1344 which he immediately taxed to pay off the debt on southern Jutland, 7000 silver marks. The over-taxed peasants grew restive under the constant demands for money."
	date = { day = 1 month = january year = 1344 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "Purchase now"
		command = { type = stability value = -1 }
		command = { type = relation which = SHL value = -25 }
		command = { type = treasury   value = -100 }
		command = { type = trigger which = 78793712 }
	}
	action_b ={
		name = "Let us grow stronger"
		command = { type = stability value = 1 }
		command = { type = relation which = SHL value = 25 }
	}
}

#Valdemar Purchases Slesvig back#
event = {

	id = 78793712
	random = no
	country = SHL
	name = "Valdemar Purchases Slesvig back"
	desc = "Valdemar IV Atterdag was able to get North Friesland back in 1344 which he immediately taxed to pay off the debt on southern Jutland, 7000 silver marks. The over-taxed peasants grew restive under the constant demands for money."
	style = 0

	action_a ={
		name = "This is not good.."
		command = { type = secedeprovince which = DAN value = 1938 }
		command = { type = treasury value = 100 }
	}
}

#Purchasing Sjlland back#
event = {

	id = 78793713
	trigger = { owned = { province = 307 data = SHL } }
	random = no
	country = DAN
	name = "Purchasing Sjlland back"
	desc = "Valdemar IV Atterdag was able to pay off the debt on Sjlland, 7000 silver marks."
	date = { day = 1 month = january year = 1347 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "Purchase now"
		command = { type = stability value = -1 }
		command = { type = relation which = SHL value = -25 }
		command = { type = treasury   value = -100 }
		command = { type = trigger which = 78793714 }
		command = { type = sleepevent   which = 78793717 }
	}
	action_b ={
		name = "Let us grow stronger"
		command = { type = ADM   which = 1 value = 24 }
		command = { type = relation which = SHL value = 25 }
	}
}

#Valdemar Purchases Sjlland back#
event = {

	id = 78793714
	random = no
	country = SHL
	name = "Valdemar Purchases Sjlland back"
	desc = "Valdemar IV Atterdag was able to pay off the debt on Sjlland, 7000 silver marks."
        style = 0

	action_a ={
		name = "This is not good.."
		command = { type = secedeprovince which = DAN value = 307 }
		command = { type = treasury value = 100 }
	}
}

#Purchasing Fyn back#
event = {

	id = 78793715
	trigger = { owned = { province = 930 data = SHL } }
	random = no
	country = DAN
	name = "Purchasing Fyn back"
	desc = "Valdemar IV Atterdag was able to pay off the debt on Fyn, 7000 silver marks."
	date = { day = 1 month = january year = 1350 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "Purchase now"
		command = { type = stability value = -1 }
		command = { type = relation which = SHL value = -25 }
		command = { type = treasury   value = -100 }
		command = { type = trigger which = 78793716 }
		command = { type = sleepevent   which = 78793718 }
	}
	action_b ={
		name = "Let us grow stronger"
		command = { type = ADM   which = 1 value = 24 }
		command = { type = relation which = SHL value = 25 }
	}
}

#Valdemar Purchases Fyn back#
event = {

	id = 78793716
	random = no
	country = SHL
	name = "Valdemar Purchases Fyn back"
	desc = "Valdemar IV Atterdag was able to pay off the debt on Fyn, 7000 silver marks."
        style = 0

	action_a ={
		name = "This is not good.."
		command = { type = secedeprovince which = DAN value = 930 }
		command = { type = treasury value = 100 }
	}
}

#Valdemar takes back Sjlland#
event = {

	id = 78793717
	trigger = { 
        owned = { province = 307 data = SHL } 
        OR = {
           control = { province = 307 data = REB }
           AND = {
                   control = { province = 307 data = DAN }
                   war = { country = DAN country = SHL }
           }
        }
        }
	random = no
	country = SHL
	name = "Valdemar takes back Sjlland"
	desc = "Valdemar IV Atterdag, King of Denmark, has captured our last stronghold on Sjlland! We must flee!"
	date = { day = 1 month = january year = 1340 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "May the Lord be with us.."
		command = { type = desertion   which = -1 value = 5000 }
		command = { type = stability value = -1 }
		command = { type = relation which = DAN value = -25 }
		command = { type = secedeprovince which = DAN value = 307 }
		command = { type = sleepevent   which = 78793713 }
		command = { type = trigger which = 78793720 }
	}
}

#Valdemar takes back Fyn#
event = {

	id = 78793718
	trigger = { 
        owned = { province = 930 data = SHL } 
        OR = {
           control = { province = 930 data = REB }
           AND = {
                   control = { province = 930 data = DAN }
                   war = { country = DAN country = SHL }
           }
        }
        }
	random = no
	country = SHL
	name = "Valdemar takes back Fyn"
	desc = "Valdemar IV Atterdag, King of Denmark, has captured our last stronghold on Fyn! We must flee!"
	date = { day = 1 month = january year = 1340 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "May the Lord be with us.."
		command = { type = desertion   which = -1 value = 5000 }
		command = { type = stability value = -1 }
		command = { type = relation which = DAN value = -25 }
		command = { type = secedeprovince which = DAN value = 930 }
		command = { type = sleepevent   which = 78793715 }
	}
}

#Valdemar takes back Skneland#
event = {

	id = 78793719
	trigger = { 
	        OR = {
                   owned = { province = 251 data = SWE }
                   owned = { province = 1401 data = SWE }
                   owned = { province = 1422 data = SWE }
                   owned = { province = 251 data = NOR }
                   owned = { province = 1401 data = NOR }
                   owned = { province = 1422 data = NOR }
                }
        OR = {
           control = { province = 251 data = REB }
           control = { province = 1401 data = REB }
           control = { province = 1422 data = REB }
           AND = {
                   OR = {
                   control = { province = 251 data = DAN }
                   control = { province = 1401 data = DAN }
                   control = { province = 1422 data = DAN }
                   }
                           OR = {
                              war = { country = DAN country = SWE }
                              war = { country = DAN country = NOR }
                           }
           }
        }
        }
	random = no
	country = SWE
	name = "Valdemar takes back Skneland"
	desc = "Valdemar IV Atterdag, King of Denmark, has captured our last stronghold in Skneland! We must flee!"
	date = { day = 1 month = january year = 1340 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "May the Lord be with us.."
		command = { type = stability value = -1 }
		command = { type = relation which = DAN value = -50 }
		command = { type = secedeprovince which = DAN value = 251 }
		command = { type = secedeprovince which = DAN value = 1401 }
		command = { type = secedeprovince which = DAN value = 1422 }
		command = { type = sleepevent   which = 78793720 }
	}
}

#Valdemar takes back Skneland#
event = {

	id = 78793720
	trigger = { 
	        OR = {
                   owned = { province = 251 data = SWE }
                   owned = { province = 1401 data = SWE }
                   owned = { province = 1422 data = SWE }
                   owned = { province = 251 data = NOR }
                   owned = { province = 1401 data = NOR }
                   owned = { province = 1422 data = NOR }
                }
        OR = {
           control = { province = 251 data = REB }
           control = { province = 1401 data = REB }
           control = { province = 1422 data = REB }
           AND = {
                   OR = {
                   control = { province = 251 data = DAN }
                   control = { province = 1401 data = DAN }
                   control = { province = 1422 data = DAN }
                   }
                           OR = {
                              war = { country = DAN country = SWE }
                              war = { country = DAN country = NOR }
                           }
           }
        }
        }
	random = no
	country = NOR
	name = "Valdemar takes back Skneland"
	desc = "Valdemar IV Atterdag, King of Denmark, has captured our last stronghold in Skneland! We must flee!"
	date = { day = 1 month = january year = 1340 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }
	style = 0

	action_a ={
		name = "May the Lord be with us.."
		command = { type = stability value = -1 }
		command = { type = relation which = DAN value = -50 }
		command = { type = secedeprovince which = DAN value = 251 }
		command = { type = secedeprovince which = DAN value = 1401 }
		command = { type = secedeprovince which = DAN value = 1422 }
		command = { type = sleepevent   which = 78793719 }
	}
}

#Sjlland is under the danish flag once again#
event = {

	id = 78793721
	trigger = { owned = { province = 307 data = -1 }  }
	random = no
	country = DAN
	name = "Sjlland is under the danish flag once again"
	desc = "With Copenhagen under the Danes once again we can now change the capital back to Copenhagen."
	style = 0
	
	date = { day = 1 month = january year = 1340 }
	offset = 50
	deathdate = { day = 1 month = december year = 1375 }

	action_a ={
		name = "Long Live the Kingdom!"
		command = { type = capital   which = 307 }
		command = { type = stability value = 1 }
	}
}