#####Norway Major Events#####
#	By		    #
#			    #
# Henrik 'Doomdark' Fhraeus#
##############################


# End of the Kalmar Union #
event = {
	id = 3846
	
	# Triggered by SWE 3219 or 3234
	
	random = no
	country = NOR
	name = "EVENTNAME3846"
	desc = "EVENTHIST3846"
	style = 2

	action_a = { # Autonomy is unnecessary
		name = "ACTIONNAME3846A"
		command = { type = trigger which = 5848 } # Inherited by Denmark
	}
	action_b = { # Limited autonomy is best
		name = "ACTIONNAME3846B"
		command = { type = relation which = DAN value = 100 }
		command = { type = relation which = SWE value = -50 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = stability value = 2 }
	}
	action_c = { # Walk our own path
		name = "ACTIONNAME3846C"
		command = { type = breakvassal which = DAN }
		command = { type = relation which = DAN value = -150 }
		command = { type = relation which = SWE value = 80 }
		command = { type = stability value = -7 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
	}
}

# Events by Hive

#The Union of Kalmar#
event = {

	id = 15479
	random = no
	country = NOR
	name = "The Union of Kalmar"
	desc = "The Union of Kalmar united the three kingdoms of Denmark, Norway and Sweden under one monarch in 1397.The union was formed by Queen Margaret I (13531413) in the Swedish town of Kalmar, close to the Danish border, after Danish and Swedish troops in 1389 had 		defeated the Swedish king, Albert of Mecklenburg. King Albert, born in Germany, was ill-liked by the Swedish nobility and theirrebellion had received help from the Danes, who intended the union to serve as a check on the growing power of the German Hanseatic League. Margaret I was the daughter of Valdemar Atterdag. She was married to Hkon VI of Norway, who was related to the Swedish Royal family. Originally, her son, Olaf III was intended to rule the three kingdoms. But due to his early death, she took on the role untill she maneuvered to have her grand-nephew, Eric of Pomerania recognized as heir to the Norwegian throne and then elected king over the two other countries."
	style = 0

	action_a ={
		name = "Accept the offer"
		command = { type = stability value = 2 }
		command = { type = treasury value = 200 }
		command = { type = relation which = DAN value = 100 }
		command = { type = trigger which = 15476 }
	}

	action_b ={
		name = "Accept the offer, but without becoming a vassal"
		command = { type = relation which = DAN value = -100 }
		command = { type = vp value = -75 }
		command = { type = trigger which = 15477 }
	}
}

event = {
	id = 54678201
	trigger = {
        event = 54678200
	}
	random = no
	country = NOR
	name = "Stortinget"
	desc = "Stortinget in its turn adopted the constitutional amendments necessary to allow for a personal union with Sweden, and on November 4 elected Charles XIII of Sweden as the new king of Norway."
	style = 2
 	date = { day = 4 month = november year = 1814 }
	offset = 7
	deathdate = { day = 4 month = december year = 1814 }

	action_a = {
		name = "Charles XIII of Sweden"
		command = { type = breakvassal which = DAN }
		command = { type = trigger which = 54678202 } # Inherited by Sweden
	}
	action_b = {
		name = "Stay independent"
		command = { type = flagname which = "1814" }
		command = { type = breakvassal which = DAN }
		command = { type = relation which = DAN value = -50 }
		command = { type = relation which = SWE value = -50 }
		command = { type = domestic which = ARISTOCRACY value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = stability value = 2 }
	}
	action_c = {
		name = "Frederik VI of Denmark"
		command = { type = trigger which = 54678203 } # Inherited by Denmark
	}
}
event = {
	id = 54678205
	random = no
	country = NOR
	name = "Dissolution of the union between Norway and Sweden"
	desc = "Norwegian parliament refused to support any government the king proposed, a constitutional crisis broke out on June 7, 1905. The Norwegian position was that the impasse had resulted in a de facto dissolution of the union. Norway considers June 7 to be the date of Norwegian independence."
	style = 2

	action_a = {
		name = "Great"
		command = { type = flagname which = "1821" }
		command = { type = breakvassal which = SWE }
		command = { type = stability value = 1 }
	}
}

event = {
	id = 54678206
	trigger = {
        event = 54678205
	}
	random = no
	country = NOR
	name = "Choosing a Norwegian king"
	desc = "On November 12 and November 13, in the second constitutional plebiscite in three months, Norwegian voters decided by a nearly 79 percent majority (259,563 to 69,264) to establish a monarchy instead of a republic. Many who favored a republic in principle voted for a monarchy because they felt it would help the newly-independent Norwegian nation gain legitimacy among the European monarchies."
	style = 2
	
	date = { day = 12 month = november year = 1905 }
	offset = 1
	deathdate = { day = 13 month = november year = 1905 }

	action_a = {
		name = "Prince Carl of Denmark"
 		command = { type = dynastic which = DAN }
		command = { type = relation which = SWE value = -100 }
		command = { type = relation which = DAN value = 200 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "Become a republic"
		command = { type = relation which = DAN value = -50 }
		command = { type = relation which = SWE value = -50 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = stability value = 2 }
	}
}

event = {
	id = 54678208
	random = no
	country = NOR
	name = "Valdemar Atterdag's rebellion"
	desc = "In 1363 a rebellion against Magnus broke out. It was supported by Valdemar and resulted a few months later (February 1364) in that Magnus was deposed from the Swedish throne being replaced by the Duke of Mecklenburg's son Albert of Sweden."
	style = 0


	action_a = {
		name = "Leave Sweden"
		command = { type = independence which = SWE }
		command = { type = removecore which = 252 }
		command = { type = removecore which = 253 }
		command = { type = removecore which = 254 }
		command = { type = removecore which = 257 }
		command = { type = removecore which = 263 }
		command = { type = removecore which = 264 }
		command = { type = removecore which = 265 }
		command = { type = removecore which = 273 }
		command = { type = removecore which = 341 }
		command = { type = removecore which = 342 }
		command = { type = removecore which = 1469 }
		command = { type = removecore which = 923 }
		command = { type = removecore which = 266 }
		command = { type = removecore which = 1387 }
		command = { type = removecore which = 308 }
		command = { type = trigger which = 54678210 }
	}
	action_b = {
		name = "Stay and fight"
		command = { type = stability value = -2 }
		command = { type = trigger which = 54678205 }
		command = { type = population   which = 252 value = -2500 } 
		command = { type = population   which = 253 value = -2500 }
		command = { type = population   which = 254 value = -2500 }
		command = { type = population   which = 257 value = -2500 }
		command = { type = population   which = 263 value = -2500 }
		command = { type = population   which = 264 value = -2500 }
		command = { type = population   which = 265 value = -2500 }
		command = { type = population   which = 273 value = -2500 }
		command = { type = population   which = 341 value = -2500 }
		command = { type = population   which = 342 value = -2500 }
		command = { type = population   which = 1469 value = -2500 }
		command = { type = population   which = 923 value = -2500 }
		command = { type = population   which = 308 value = -2500 }
		command = { type = revolt   which = 254 }
                command = { type = revolt   which = 254 }
                command = { type = revolt   which = 254 }
                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 = 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 = 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 = revolt   which = -1 }
                command = { type = revolt   which = -1 }
	}
}

event = {
	id = 54678209
	random = no
	country = NOR
	name = "Valdemar Atterdag's rebellion"
	desc = "The king of Denmark tells us, that some swedes are planning a rebellion against our king."
	style = 0


	action_a = {
		name = "Kill the traitors"
		command = { type = stability value = -3 }
		command = { type = population   which = 252 value = -2500 }
		command = { type = population   which = 253 value = -2500 }
		command = { type = population   which = 254 value = -2500 }
		command = { type = population   which = 257 value = -2500 }
		command = { type = population   which = 263 value = -2500 }
		command = { type = population   which = 264 value = -2500 }
		command = { type = population   which = 265 value = -2500 }
		command = { type = population   which = 273 value = -2500 }
		command = { type = population   which = 341 value = -2500 }
		command = { type = population   which = 342 value = -2500 }
		command = { type = population   which = 1469 value = -2500 }
		command = { type = population   which = 923 value = -2500 }
		command = { type = population   which = 308 value = -2500 }
		command = { type = revolt   which = 254 }
                command = { type = revolt   which = 254 }
                command = { type = revolt   which = 254 }
                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 = 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 = 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 = 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 = revolt   which = -1 }
                command = { type = revolt   which = -1 }
	}
	action_b = {
		name = "Leave Sweden"
 		command = { type = independence which = SWE }
		command = { type = removecore which = 252 }
		command = { type = removecore which = 253 }
		command = { type = removecore which = 254 }
		command = { type = removecore which = 257 }
		command = { type = removecore which = 263 }
		command = { type = removecore which = 264 }
		command = { type = removecore which = 265 }
		command = { type = removecore which = 273 }
		command = { type = removecore which = 341 }
		command = { type = removecore which = 342 }
		command = { type = removecore which = 1469 }
		command = { type = removecore which = 923 }
		command = { type = removecore which = 266 }
		command = { type = removecore which = 1387 }
		command = { type = removecore which = 308 }
		command = { type = trigger which = 54678210 }
	}
}

event = {
	id = 54678210
	random = no
	country = NOR
	name = "Valdemar Atterdag's rebellion"
	desc = "Sweden wants more..."
	style = 0


	action_a = {
		name = "Give the Swedes all back"
                command = { type = secedeprovince which = SWE value = 263 }
                command = { type = secedeprovince which = SWE value = 264 }
                command = { type = secedeprovince which = SWE value = 265 }
                command = { type = secedeprovince which = SWE value = 266 }
                command = { type = secedeprovince which = SWE value = 273 }
                command = { type = secedeprovince which = SWE value = 1390 }
                command = { type = secedeprovince which = SWE value = 342 }
                command = { type = secedeprovince which = SWE value = 1387 }
                command = { type = secedeprovince which = DAN value = 308 }
                command = { type = trigger which = 54678211 }
	}
}