#####Danish Major Events######
#			By   #
# Joakim 'Greven' Bergqwist  #
#			     #
# 			and  #
#			     #
# Henrik 'Doomdark' Fеhraeus #
##############################
######Livonian Corrections####
#	  By Raudex  	     #
##############################

#The Engelbrekt Rebellion#
event = {
	id = 3283
	trigger = 
	{
		vassal = {
			country = DAN
			country = SWE
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME3283"
	desc = "EVENTHIST3283"
	style = 1
	
	date = { day = 1 month = january year = 1434 }
	offset = 720
	deathdate = { day = 1 month = january year = 1437 }
	
	action_a ={ # Replace Jцsse Eriksson with Hans von Eberstein
		name = "ACTIONNAME3283A"
		command = { type = trigger which = 3217 } # Engelbrekt's rebellion in Sweden.
		command = { type = relation which = SWE value = -100 }
		command = { type = domestic which = CENTRALIZATION  value = 1 }
	}
	action_b ={ # Replace Jцsse with a lenient sheriff
		name = "ACTIONNAME3283B"
		command = { type = treasury value = -100 } # Lost taxes
		command = { type = domestic which = CENTRALIZATION  value = -1 }
		command = { type = stability value = -2 } # Angry noblemen
	}
}

#The Rebellion spreads#
event = {
	id = 3756
	random = no
	country = DAN
	name = "EVENTNAME3756"
	desc = "EVENTHIST3756"
	style = 1
	
	# Triggered by the Swedish Engelbrekt event.
	
	action_a ={ # Ok
		name = "ACTIONNAME3756"
		command = { type = revolt which = 251 } # Skеne
		command = { type = revolt which = 251 }
command = { type = revolt which = 261 }
command = { type = revolt which = 261 }
command = { type = revolt which = 920 }
command = { type = revolt which = 920 }
		command = { type = revolt which = 308 } # Gotland
	}
}

#The Sound Due#
event = {
	id = 3284
	random = no
	country = DAN
	name = "EVENTNAME3284"
	desc = "EVENTHIST3284"
	style = 1
	
	date = { day = 1 month = january year = 1429 }
	offset = 364

	action_a = { # Impose the Sound Dues
		name = "ACTIONNAME3284A"
		command = { type = domestic which = MERCANTILISM  value = 2 }
		command = { type = provincetax which = -2 value = 10 } 
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = HSA value = -100 }
		command = { type = relation which = POM value = -50 }
		command = { type = relation which = LAT value = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = FRA value = -50 }
                
	}
	action_b = { # Let trade flow freely
		name = "ACTIONNAME3284B"
		command = { type = domestic which = MERCANTILISM  value = -2 }
		command = { type = relation which = SWE value = 50 }
		command = { type = relation which = HSA value = 100 }
		command = { type = relation which = POM value = 50 }
		command = { type = relation which = LAT value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = FRA value = 50 }
	}
}

#The Pluralistic Reforms of Christian II#
event = {
	id = 3285
	random = no
	country = DAN 
	name = "EVENTNAME3285"
	desc = "EVENTHIST3285"
	style = 2
	
	date = { day = 1 month = january year = 1517 }
	offset = 720

	action_a ={ # Reform the Government
		name = "ACTIONNAME3285A"
		command = { type = domestic which = MERCANTILISM  value = -2 }
		command = { type = domestic which = ARISTOCRACY  value = -2 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 72 value = 3 }
		  command = { type = provincetax which = 251 value = 1 }
		command = { type = provincetax which = 307 value = 1 }
		command = { type = provincetax which = 309 value = 1 }
		command = { type = provincetax which = 261 value = 1 }
                command = { type = provincetax which = 930 value = 1 }
		command = { type = provincetax which = 1938 value = 1 }
command = { type = provincetax which = 920 value = 1 }
	}
	action_b ={ # Maintain Status Quo
		name = "ACTIONNAME3285B"
		command = { type = stability value = 2 }
	}
}

#Vornedskab#
event = {
	id = 3286
	random = no
	country = DAN
	name = "EVENTNAME3286"
	desc = "EVENTHIST3286"
	style = 1
	
	date = { day = 1 month = february year = 1493 }
	offset = 720

	action_a = { # Adopt Vornedskab
		name = "ACTIONNAME3286A"
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = revoltrisk which = 120 value = 3 }
	}
	action_b ={ # Leave the peasants their freedom
		name = "ACTIONNAME3286B"
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = stability value = -4 }
	}
}

#The Scandinavian Constitution#
event = {
	id = 3287
	trigger = {
		exists = SWE
		vassal = {
			country = DAN
			country = SWE
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME3287"
	desc = "EVENTHIST3287"
	style = 1
	
	date = { day = 1 month = february year = 1483 }
	offset = 364
	deathdate = { day = 1 month = february year = 1485 }

	action_a ={ # Draft the Scandinavian Constitution
		name = "ACTIONNAME3287A"
		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_b ={ # Drop the whole idea.
		name = "ACTIONNAME3287B"
		command = { type = stability value = -1 }
	}
}

#The Great Naval Reform#
event = {
	id = 3288
	random = no
	country = DAN
	name = "EVENTNAME3288"
	desc = "EVENTHIST3288"
	style = 2
	
	date = { day = 1 month = february year = 1509 }
	offset = 364

	action_a ={ # Reform the Navy
		name = "ACTIONNAME3288A"
		command = { type = domestic which = LAND value = -1 }
		command = { type = naval value = 2000 }
	}
	action_b ={ # Reform the Army
		name = "ACTIONNAME3288B"
		command = { type = domestic which = LAND value = 1 }
		command = { type = land value = 1500 }
	}
	action_c ={ # Build fortifications
		name = "ACTIONNAME3288C"
		command = { type = fortress which = 307 value = 1 } # Capital
		command = { type = fortress which = 309 value = 1 } # Random province
		command = { type = fortress which = 930 value = 1 } # Random province
		command = { type = fortress which = 251 value = 1 } # Random province
command = { type = fortress which = 920 value = 1 }
	}
}

#The End of the Kalmar Union#
event = {
	id = 3289
	random = no
	country = DAN
	name = "EVENTNAME3289"
	desc = "EVENTHIST3289"
	style = 2
	
	# Triggered by Swedish events 3219 or 3234
	
	action_a ={ # Ok
		name = "ACTIONNAME3289A"
		command = { type = relation which = SWE value = -50 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}
}

## Norway declares independence!
event = {
	id = 3847
	trigger = {
		exists = NOR
		NOT = {
			vassal = {
				country = DAN
				country = NOR
			}
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME3847"
	desc = "EVENTHIST3847"
	style = 2

	action_a = { # Curses!
		name = "ACTIONNAME3847A"
		command = { type = relation which = NOR value = -150 }
		command = { type = addcore which = 255 }
		command = { type = addcore which = 256 }
		command = { type = addcore which = 258 }
		command = { type = addcore which = 259 }
		command = { type = addcore which = 381 }
		command = { type = addcore which = 1466 }
                command = { type = addcore which = 1537 }
                command = { type = addcore which = 1538 }
		command = { type = sleepevent which = 03846 } # Norwegian End of Kalmar Union.
	}
}

# Norway requests annexation.
event = {
	id = 5848
	
	# Triggered by NOR 3846
	
	random = no
	country = DAN
	name = "EVENTNAME5848"
	desc = "EVENTHIST5848"
	style = 1

	action_a = { # Excellent!
		name = "ACTIONNAME5848A"
		command = { type = inherit which = NOR }
                command = { type = addcore which = 255 }
		command = { type = addcore which = 256 }
		command = { type = addcore which = 258 }
		command = { type = addcore which = 259 }
		command = { type = addcore which = 381 }
		command = { type = addcore which = 1466 }
                command = { type = addcore which = 1537 }
                command = { type = addcore which = 1538 }
	}
}

#The Fate of the Livonian Order#
event = {

	id = 3290					
	trigger = { event = 3620 }
	random = no
	country = DAN
	name = "EVENTNAME3290"
	desc = "EVENTHIST3290"
	style = 2

	action_a ={ #Accept the Agreement#	
		name = "ACTIONNAME3290A"
		command = { type = relation which = KUR value = 150 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = SWE value = 100 }
		command = { type = relation which = POL value = 100 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 200 }
command = { type = INF which = -1 value = 4000 }
command = { type = cavalry which = -1 value = 2000 }
command = { type = addcore which = 1963 }
command = { type = galleys which = -1 value = 10 }
	}

	action_b ={ #Defy the Agreement#
		name = "ACTIONNAME3290B"
                command = { type = addcore which = 1429 }
                command = { type = addcore which = 1963 }
		command = { type = relation which = KUR value = -50 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = POL value = -150 }
		command = { type = casusbelli which = SWE value = 60 } 
		command = { type = casusbelli which = POL value = 60 } 
		command = { type = stability value = -2 }
	}
}

#The Fate of the Livonian Order#
event = {

	id = 3291					
	trigger = { event = 3620 }
	random = no
	country = DAN
	name = "EVENTNAME3291"
	desc = "EVENTHIST3291"
	style = 2

	action_a ={ #Accept Agreement#
		name = "ACTIONNAME3291A"
		command = { type = vassal which = KUR }
		command = { type = addcore which = 1429 }
                command = { type = addcore which = 282 }
                command = { type = addcore which = 1963 }
		command = { type = relation which = KUR value = 150 }
		command = { type = relation which = RUS value = 100 }
		command = { type = stability value = 1 }
	}

	action_b ={ #Only Accept your part of the Agreement#
		name = "ACTIONNAME3291B"
		command = { type = vassal which = KUR }
		command = { type = addcore which = 282 }
		command = { type = addcore which = 276 }
		command = { type = addcore which = 1326 }
                command = { type = addcore which = 1429 }
                command = { type = addcore which = 1963 }
		command = { type = relation which = KUR value = -100 }
		command = { type = relation which = RUS value = -100 }
		command = { type = stability value = -2 }
	}
}

#The Fate of the Livonian Order#
event = {

	id = 3292					
	trigger = { event = 3620 }
	random = no
	country = DAN
	name = "EVENTNAME3292"
	desc = "EVENTHIST3292"
	style = 2

	action_a ={ #Defy the Knights#
		name = "ACTIONNAME3292A"
		command = { type = addcore which = 1429 }
                command = { type = addcore which = 1963 }
		command = { type = casusbelli which = LIV value = 60 }
		command = { type = stability value = -2 }
		command = { type = relation which = LIV value = -150 }
		command = { type = relation which = SWE value = 50 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = POL value = 50 }
command = { type = galleys which = -1 value = 10 }
	}

	action_b ={ #Accept this Government#
		name = "ACTIONNAME3292B"
		command = { type = stability value = 1 }
		command = { type = treasury value = 200 }
                command = { type = addcore which = 1963 }
		command = { type = relation which = LIV value = 150 }
		command = { type = relation which = SWE value = -50 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = POL value = -50 }
	}
}

#Count's Feud#
event = {
	id = 3293
	random = no
	country = DAN
	name = "EVENTNAME3293"
	desc = "EVENTHIST3293"
	style = 2
 	
 	date = { day = 11 month = april year = 1533 }
	offset = 364

	action_a ={ # Support Christian of Holstein
		name = "ACTIONNAME3293A"
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = relation which = SWE value = 100 }
		command = { type = relation which = SHL value = 100 }
		command = { type = revoltrisk which = 48 value = 8 }
		command = { type = stability value = -3 }
	}
	action_b ={ # Support Christian II
		name = "ACTIONNAME3293B"
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = sleepmonarch which = 06346 }
		command = { type = wakemonarch which = 06356 } # His line ends with him anyway.
		command = { type = relation which = MEC value = 100 }
		command = { type = relation which = POM value = 100 }
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -6 }
	}
}

#Peder Oxe#
event = {
	id = 3294
	random = no
	country = DAN
	name = "EVENTNAME3294"
	desc = "EVENTHIST3294"
	style = 2
	
	date = { day = 1 month = january year = 1566 }
	offset = 364

	action_a ={			#An Excellent Minister!#
		name = "ACTIONNAME3294A"
		command = { type = DIP which = 2 value = 120 }
		command = { type = ADM which = 4 value = 120 }
		command = { type = MIL which = 2 value = 120 }
		command = { type = infra value = 500 }
		command = { type = stability value = 2 }
	}
}

#Danish East Indian Company#
event = {
	id = 3295
	random = no
	country = DAN
	name = "EVENTNAME3295"
	desc = "EVENTHIST3295"
	style = 3
	
	date = { day = 1 month = january year = 1616 }
	offset = 364

	action_a ={ # Found an East Indian Company
		name = "ACTIONNAME3295A"
		command = { type = treasury value = -600 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = colonists value = 6 }
		command = { type = merchants value = 6 }
		command = { type = trade value = 1000 }
		command = { type = naval value = 1000 }
                command = { type = warships which = -1 value = 2 }
                command = { type = transports which = -1 value = 4 }
	}
	action_b ={ # It is a useless venture
		name = "ACTIONNAME3295B"
		command = {  } # Nothing happens
	}
}

#The Mercantile Reforms of Christian IV#
event = {
	id = 3296
	random = no
	country = DAN
	name = "EVENTNAME3296"
	desc = "EVENTHIST3296"
	style = 3
	
	date = { day = 1 month = january year = 1625 }
	offset = 3649

	action_a = { # Mercantilist Reforms
		name = "ACTIONNAME3296A"
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = trade value = 1000 }
		command = { type = naval value = 500 }
	}
	action_b ={ # Free Trade Reforms
		name = "ACTIONNAME3296B"
		command = { type = stability value = -3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = trade value = 1000 }
		command = { type = naval value = 500 }
	}
}

#The Absolutism#
event = {
	id = 3297
	random = no
	country = DAN
	name = "EVENTNAME3297"
	desc = "EVENTHIST3297"
	style = 3
	
	date = { day = 1 month = january year = 1660 }
	offset = 720

	action_a ={ # Establish Absolutism
		name = "ACTIONNAME3297A"
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
	}
	action_b ={ # Maintain the present system
		name = "ACTIONNAME3297B"
		command = { type = stability value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
	}
}

#The Modernisation of the Navy#
event = {
	id = 3298
	random = no
	country = DAN
	name = "EVENTNAME3298"
	desc = "EVENTHIST3298"
	style = 3

	date = { day = 1 month = february year = 1610 }
	offset = 364

	action_a ={ # Reform the Navy
		name = "ACTIONNAME3298A"
                command = { type = treasury value = -800 }
		command = { type = domestic which = LAND value = -2 }
		command = { type = naval value = 2000 }
                command = { type = warships which = -1 value = 17 }
                command = { type = galleys which = -1 value = 20 }
                command = { type = transports which = -1 value = 10 }
                command = { type = gainbuilding which = 307 value = shipyard }
	}
	action_b ={ # Reform the Army
		name = "ACTIONNAME3298B"
		command = { type = domestic which = LAND value = 1 }
		command = { type = land value = 2500 }
	}
	action_c ={ # Build fortifications
		name = "ACTIONNAME3298C"
		command = { type = fortress which = 307 value = 1 } # Random province
		command = { type = fortress which = 309 value = 1 } # Random province
		command = { type = fortress which = 251 value = 1 } # Random province
		command = { type = fortress which = 930 value = 1 } # Random province
command = { type = fortress which = 261 value = 1 }
command = { type = fortress which = 920 value = 1 }
	}
}

#Peder Griffenfeld#
event = {
	id = 3299
	random = no
	country = DAN
	name = "EVENTNAME3299"
	desc = "EVENTHIST3299"
	style = 3
	
	date = { day = 1 month = february year = 1673 }
	offset = 364

	action_a ={	# Ok
		name = "ACTIONNAME3299A"
		command = { type = DIP which = 3 value = 120 }
		command = { type = ADM which = 2 value = 120 }
		command = { type = MIL which = 2 value = 120 }
		command = { type = stability value = 2 }
	}
}

#The Great Northern Conflict#
event = {
	id = 3300
	trigger = {
		OR = {
			exists = SHL
			owned = { province = 309 data =SWE }
			owned = { province = 251 data =SWE }
                        owned = { province = 930 data = SWE }
			owned = { province = 1938 data = SWE }
			owned = { province = 255 data =SWE }
			owned = { province = 256 data =SWE }
			owned = { province = 258 data =SWE }
			owned = { province = 259 data =SWE }
			owned = { province = 261 data =SWE }
			owned = { province = 381 data =SWE }
			owned = { province = 308 data = SWE }
owned = { province = 920 data = SWE }
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME3300"
	desc = "EVENTHIST3300"
	style = 4

	date = { day = 15 month = june year = 1697 }
	offset = 0
	deathdate = { day = 1 month = april year = 1700 }

	action_a ={				#Try to balance things#
		name = "ACTIONNAME3300A"
                 
		command = { type = casusbelli which = SWE value = 36 }
		command = { type = casusbelli which = SHL value = 36 }
		command = { type = stability value = -2 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = warships which = -2 value = 6 }
                command = { type = transports which = -1 value = 4 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = SAC value = 100 }               
                command = { type = treasury value = -100 }
                command = { type = transports which = -1 value = 10 }
	}
	action_b ={				#The naval adequate founds#
		name = "ACTIONNAME3300B"
                 
		command = { type = casusbelli which = SWE value = 36 }
		command = { type = casusbelli which = SHL value = 36 }
		command = { type = stability value = -1 }
		command = { type = warships which = -2 value = 12 }
                command = { type = transports which = -1 value = 6 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = SAC value = 100 }
                command = { type = treasury value = -200 }
	}
	action_c ={				#The Army adequate founds#
		name = "ACTIONNAME3300C"
		command = { type = casusbelli which = SWE value = 36 }
		command = { type = casusbelli which = SHL value = 36 }
		command = { type = stability value = -1 }
		command = { type = INF which = -1 value = 24000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = ART which = -3 value = 10 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = POL value = 100 }
		command = { type = relation which = SAC value = 100 }
                command = { type = treasury value = -100 }
	}
}
#Den Danske Lov#
event = {
	id = 3301
	random = no
	country = DAN
	name = "EVENTNAME3301"
	desc = "EVENTHIST3301"
	style = 3
	
	date = { day = 1 month = february year = 1683 }
	offset = 364

	action_a ={ # Sign the Law
		name = "ACTIONNAME3301A"
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = stability value = -2 }
	}
	action_b ={ # Maintain the present system
		name = "ACTIONNAME3301B"
		command = { type = stability value = 2 }
	}
}

#The Effects of the Pragmatic Sanction#
event = {
	id = 3302
	random = no
	country = DAN
	name = "EVENTNAME3302"
	desc = "EVENTHIST3302"
	style = 4

	date = { day = 1 month = july year = 1740 }
	offset = 10
	deathdate = { day = 1 month = january year = 1741 }

	action_a ={				#Neutral#
		name = "ACTIONNAME3302A"
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = SWE value = 50 }
		command = { type = stability value = 2 }
	}
	action_b ={				#Pro-Habsburg#
		name = "ACTIONNAME3302B"
		command = { type = relation which = BAY value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = RUS value = 150 }
		command = { type = relation which = HES value = 150 }
		command = { type = relation which = HAN value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = SWE value = -150 }
		command = { type = stability value = -1 }
		command = { type = casusbelli which = SWE value = 12 }
	}
	action_c ={				#Anti-Habsburg#
		name = "ACTIONNAME3302C"
		command = { type = relation which = BAY value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = RUS value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = stability value = -3 }
		command = { type = casusbelli which = HAB value = 12 }
	}
}

#The Election of a Swedish Crownprince#		#Russian Candidate#
event = {
	id = 3303				#Triggered by SWE3252#
	random = no
	country = DAN
	name = "EVENTNAME3303"
	desc = "EVENTHIST3303"
	style = 4

	action_a ={				#We have been insulted#
		name = "ACTIONNAME3303A"
		command = { type = casusbelli which = SWE value = 12 }
		command = { type = relation which = SWE value = -200 }
		command = { type = relation which = RUS value = -100 }
		command = { type = stability value = 1 }
	}
	action_b ={				#They are not worth the trouble#
		name = "ACTIONNAME3303B"
		command = { type = relation which = SWE value = 100 }
		command = { type = relation which = RUS value = 100 }
		command = { type = stability value = 1 }
	}
}

#The Election of a Swedish Crownprince#		#Danish Candidate#
event = {
	id = 3304				#Triggered by SWE3252#
	random = no
	country = DAN
	name = "EVENTNAME3304"
	desc = "EVENTHIST3304"
	style = 4

	action_a ={				#The Union of Kalmar Reinstituted#
		name = "ACTIONNAME3304A"
		command = { type = relation which = SWE value = 200 }
		command = { type = dynastic which = SWE }
		command = { type = alliance which = SWE }
		command = { type = vassal which = SWE }
		command = { type = stability value = 3 }
	}
}

#The Mercantile Reforms of Christian VI#
event = {
	id = 3305
	random = no
	country = DAN
	name = "EVENTNAME3305"
	desc = "EVENTHIST3305"
	style = 4
	
	date = { day = 1 month = january year = 1730 }
	offset = 3649

	action_a ={ # Mercantilist reforms
		name = "ACTIONNAME3305A"
		command = { type = treasury value = -600 }
		command = { type = gainmanufactory which = -1 value = navalequipment }
		command = { type = gainmanufactory which = -1 value = goods }
		command = { type = domestic which = MERCANTILISM value = 4 }
command = { type = warships which = -2 value = 10 }
		command = { type = provincetax which = 307 value = 2 }
                command = { type = provincetax which = 930 value = 2 }
		command = { type = provincetax which = 251 value = 2 } # Skеne
		command = { type = provincetax which = 309 value = 2 } # Jylland
command = { type = provincetax which = 920 value = 1 } 
	}
	action_b ={ # No reforms
		name = "ACTIONNAME3305B"
		command = {  }
	}
	action_c ={ # Free trade reforms
		name = "ACTIONNAME3305C"
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = trade value = 2000 }
		command = { type = merchants value = 6 }
		command = { type = stability value = -2 }
	}
}

#The 'Stavnsbеndet' Law#
event = {
	id = 3306
	random = no
	country = DAN
	name = "EVENTNAME3306"
	desc = "EVENTHIST3306"
	style = 4
	
	date = { day = 1 month = january year = 1733 }
	offset = 364

	action_a ={ # Pass the Law
		name = "ACTIONNAME3306A"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = revoltrisk which = 120 value = 4 }
 command = { type = provincetax which = 251 value = 1 }
		command = { type = provincetax which = 307 value = 1 }
		command = { type = provincetax which = 309 value = 1 }
		command = { type = provincetax which = 261 value = 1 }
                command = { type = provincetax which = 930 value = 1 }
		command = { type = provincetax which = 1938 value = 1 }
command = { type = provincetax which = 920 value = 1 } 
command = { type = provincemanpower which = 920 value = 1 }
		command = { type = provincemanpower which = 251 value = 1 }
		command = { type = provincemanpower which = 307 value = 1 }
		command = { type = provincemanpower which = 309 value = 1 }
                command = { type = provincemanpower which = 261 value = 1 }
                command = { type = provincemanpower which = 930 value = 1 }
		command = { type = provincemanpower which = 1938 value = 1 }
                command = { type = provincemanpower which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
                command = { type = stability value = -1 }
                command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
	}
	action_b ={ # Drop the Law
		name = "ACTIONNAME3306B"
		command = { type = stability value = -4 }
	}
}

#Pietism#
event = {
	id = 3307
	random = no
	country = DAN
	name = "EVENTNAME3307"
	desc = "EVENTHIST3307"
	style = 4
	
	date = { day = 1 month = january year = 1735 }
	offset = 720

	action_a ={ # Endorse Pietism
		name = "ACTIONNAME3307A"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = stability value = 1 }
	}
	action_b ={ # Outlaw Pietism
		name = "ACTIONNAME3307B"
		command = { type = revoltrisk which = 120 value = 1 }
		command = { type = revoltrisk which = 24 value = 2 }
	}
}

#The Regency of J.H.E. Bernstorff#
event = {
	id = 3308
	random = no
	country = DAN
	name = "EVENTNAME3308"
	desc = "EVENTHIST3308"
	style = 4
	
	date = { day = 1 month = january year = 1766 }
	offset = 30

	action_a = { # Ok
		name = "ACTIONNAME3308A"
		command = { type = DIP which = 4 value = 50 }
		command = { type = ADM which = 3 value = 50 }
		command = { type = MIL which = 3 value = 50 }
		command = { type = relation which = RUS value = 100 }
	}
}

#The Regency of Struensee#
event = {
	id = 3309
	random = no
	country = DAN
	name = "EVENTNAME3309"
	desc = "EVENTHIST3309"
	style = 4
	
	date = { day = 1 month = may year = 1770 }
	offset = 30

	action_a ={
		name = "ACTIONNAME3309A"
		command = { type = DIP which = 1 value = 24 }
		command = { type = ADM which = 4 value = 24 }
		command = { type = MIL which = 1 value = 24 }
		command = { type = infra value = 500 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
	}
}

#The Landbo Commission#
event = {
	id = 3310
	random = no
	country = DAN
	name = "EVENTNAME3310"
	desc = "EVENTHIST3310"
	style = 4
	
	date = { day = 1 month = may year = 1784 }
	offset = 364

	action_a ={ # Assign the commission
		name = "ACTIONNAME3310A"
		command = { type = stability value = -3 } # Upset nobles
		command = { type = domestic which = SERFDOM value = -3 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
	}
	action_b ={ # Stavnsbеndet works well
		name = "ACTIONNAME3310B"
		command = { type = revoltrisk which = 120 value = 4 } # Upset serfs
	}
}
#The Great Agricultural Reform#
event = {
	id = 3311
	random = no
	country = DAN
	name = "EVENTNAME3311"
	desc = "EVENTHIST3311"
	style = 4
	
	date = { day = 1 month = january year = 1781 }
	offset = 364

	action_a ={ # Reform the agriculture
		name = "ACTIONNAME3311A"
		command = { type = infra value = 250 }
		 command = { type = provincetax which = 251 value = 1 }
		command = { type = provincetax which = 307 value = 1 }
		command = { type = provincetax which = 309 value = 1 }
		command = { type = provincetax which = 261 value = 1 }
                command = { type = provincetax which = 930 value = 1 }
		command = { type = provincetax which = 1938 value = 1 }
command = { type = provincetax which = 920 value = 1 } 
command = { type = provincemanpower which = 920 value = 1 }
		command = { type = provincemanpower which = 251 value = 1 }
		command = { type = provincemanpower which = 307 value = 1 }
		command = { type = provincemanpower which = 309 value = 1 }
                command = { type = provincemanpower which = 261 value = 1 }
                command = { type = provincemanpower which = 930 value = 1 }
		command = { type = provincemanpower which = 1938 value = 1 }

		command = { type = revoltrisk which = 48 value = 3 } # Upset peasants
	}
	action_b ={ # Do not upset the people
		name = "ACTIONNAME3311B"
		command = {  } # Nothing happens
	}
}

#The Regency of Ove Hoeg-Guldberg#
event = {
	id = 3312
	random = no
	country = DAN
	name = "EVENTNAME3312"
	desc = "EVENTHIST3312"
	style = 4
	
	date = { day = 1 month = january year = 1773 }
	offset = 30

	action_a ={ # Ok
		name = "ACTIONNAME3312A"
		command = { type = DIP which = 3 value = 120 }
		command = { type = ADM which = 2 value = 120 }
		command = { type = MIL which = 2 value = 120 }
	}
}

#The Regency of A.P.Bernstorff#
event = {
	id = 3313
	random = no
	country = DAN
	name = "EVENTNAME3313"
	desc = "EVENTHIST3313"
	style = 4
	
	date = { day = 1 month = january year = 1784 }
	offset = 80

	action_a ={
		name = "ACTIONNAME3313A"
		command = { type = DIP which = 5 value = 156 }
		command = { type = ADM which = 3 value = 156 }
		command = { type = MIL which = 3 value = 156 }
		command = { type = stability value = 2 }
		command = { type = domestic which = SERFDOM value = -1 }
	}
}
### Tycho Brahe in Hven (original by Paradox)
### Modified by mfigueras



############################
#### Greenland Sequence ####
####    by Sute]{h      ####
############################

#Greenland is reclaimed#
event = {
	id = 25100
	trigger = {
		OR = {
			owned = { province = 1537 data = -1 }
			owned = { province = 1538 data = -1 }
		}
		NOT = {
			existS = NOR
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME25100"
	desc = "EVENTHIST25100"
	style = 2
	date = { day = 1 month = january year = 1585 }
	offset = 360
	deathdate = { day = 1 month = october year = 1820 }

	action_a ={
		name = "ACTIONNAME25100A"
		command = { type = relation which = HOL value = -25 }
		command = { type = addcore which = 1537 } 
		command = { type = addcore which = 1538 }
		command = { type = trade value = 50 }
		command = { type = domestic which = mercantilism value = 1 } 
	}
	action_b ={
		name = "ACTIONNAME25100B"
		command = { type = stability value = -1 } 
		command = { type = relation which = HOL value = 25 }
		command = { type = domestic which = mercantilism value = -1 }
	}
}

#Greenland is reclaimed#
event = {
	id = 25101
	trigger = {
		OR = {
			owned = { province = 1537 data = -1 }
			owned = { province = 1538 data = -1 }
		}
		NOT = {
			event = 25100 # Danish Greenland is reclaimed event
		}
	}
	random = no
	country = NOR
	name = "EVENTNAME25100"
	desc = "EVENTHIST25101"
	style = 2
	date = { day = 1 month = january year = 1585 }
	offset = 360
	deathdate = { day = 1 month = october year = 1820 }

	action_a ={
		name = "ACTIONNAME25100A"
		command = { type = relation which = HOL value = -25 }
		command = { type = addcore which = 1537 } 
		command = { type = addcore which = 1538 }
		command = { type = trade value = 50 }
		command = { type = domestic which = mercantilism value = 1 } 
	}
	action_b ={
		name = "ACTIONNAME25100B"
		command = { type = stability value = -1 } 
		command = { type = relation which = HOL value = 25 }
		command = { type = domestic which = mercantilism value = -1 }
	}
}

#Colonization of Greenland begins#
event = {
	id = 25102
	trigger = {
		owned = { province = 1537 data = -1 } 
		owned = { province = 1538 data = -1 }
		NOT = {
			event = 25103 # Norwegian Colonization of Greenland begins event
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME25102"
	desc = "EVENTHIST25102"
	style = 4
	date = { day = 1 month = january year = 1721 }
	offset = 360
	deathdate = { day = 30 month = december year = 1773 }

	action_a ={
		name = "ACTIONNAME25102A"
		command = { type = population which = 1537 value = 500 }
		command = { type = population which = 1538 value = 500 }
		command = { type = population which = -2 value = -1000 }
		command = { type = conversion which = 1537 }
		command = { type = colonists value = -1 }
		command = { type = missionaries value = -1 } 
                command = { type = treasury value = -100 }
	}
	action_b ={
		name = "ACTIONNAME25102B"
		command = { type = population which = 1537 value = 1000 }
		command = { type = population which = 1538 value = 1000 }
		command = { type = population which = -2 value = -3000 }
		command = { type = conversion which = 1537 } 
		command = { type = conversion which = 1538 }
		command = { type = colonists value = -3 }
		command = { type = missionaries value = -2 } 
                command = { type = treasury value = -200 }
	}
	action_c ={
		name = "ACTIONNAME25102C"
		command = { type = stability value = -1 }
		command = { type = domestic which = serfdom value = 1 }
	}
}

#Colonization of Greenland begins#
event = {
	id = 25103
	trigger = {
		owned = { province = 1537 data = -1 } 
		owned = { province = 1538 data = -1 }
		NOT = {
			event = 25102 # Danish Colonization of Greenland begins event
		} 
	}
	random = no
	country = NOR
	name = "EVENTNAME25102"
	desc = "EVENTHIST25102"
	style = 4
	date = { day = 1 month = january year = 1721 }
	offset = 360
	deathdate = { day = 30 month = december year = 1773 }

	action_a ={
		name = "ACTIONNAME25102A"
		command = { type = population which = 1537 value = 500 }
		command = { type = population which = 1538 value = 500 }
		command = { type = population which = -2 value = -1000 }
		command = { type = conversion which = 1537 }
		command = { type = colonists value = -1 }
		command = { type = missionaries value = -1 } 
	}
	action_b ={
		name = "ACTIONNAME25102B"
		command = { type = treasury value = -200 }
		command = { type = population which = 1537 value = 1000 }
		command = { type = population which = 1538 value = 1000 }
		command = { type = population which = -2 value = -2500 }
		command = { type = conversion which = 1537 } 
		command = { type = conversion which = 1538 }
		command = { type = colonists value = -3 }
		command = { type = missionaries value = -2 } 
	}
	action_c ={
		name = "ACTIONNAME25102C"
		command = { type = stability value = -1 }
		command = { type = domestic which = serfdom value = 1 }
	}
}

#Colonization of Greenland continues#
event = {
	id = 25104
	trigger = {
		owned = { province = 1537 data = -1 } 
		owned = { province = 1538 data = -1 }
		OR = {
			event = 25102 #Danish Colonization of Greenland begins event
			event = 25103 #Norwegian Colonization of Greenland begins event
	}
}
	random = no
	country = DAN
	name = "EVENTNAME25104"
	desc = "EVENTHIST25104"
	style = 4
	date = { day = 1 month = january year = 1774 }
	offset = 360
	deathdate = { day = 30 month = december year = 1781 }

	action_a ={
		name = "ACTIONNAME25104A"
		command = { type = stability value = -1 }
		command = { type = colonists value = 6 }
		command = { type = domestic which = centraliZation value = 1 }
	}
	action_b ={
		name = "ACTIONNAME25104B"
		command = { type = population which = 1537 value = 300 }
		command = { type = population which = 1538 value = 300 }
		command = { type = colonists value = -1 }
		command = { type = sleepevent which = 25105 } #Danish Greenland colonized by royal decree event
	}
}

#Greenland colonized by royal decree#
event = {
	id = 25105
	trigger = {
		owned = { province = 1537 data = -1 } 
		owned = { province = 1538 data = -1 }
		event = 25104 #Danish Colonization of Greenland continues event	
	}
	random = no
	country = DAN
	name = "EVENTNAME25105"
	desc = "EVENTHIST25105"
	style = 4
	date = { day = 1 month = january year = 1782 }
	offset = 360
	deathdate = { day = 30 month = december year = 1799 }

	action_a ={
		name = "ACTIONNAME25105A"
		command = { type = cash value = -100 }
		command = { type = population which = 1537 value = 1000 }
		command = { type = population which = 1538 value = 1000 }
		command = { type = colonists value = -2 }
		command = { type = population which = -2 value = -2000 }
		command = { type = vp value = 10 }
	}
	action_b ={
		name = "ACTIONNAME25105B"
		command = { type = cash value = -100 }
		command = { type = explorer which = -2 }
	}
} 




##########################
##EEP RUS Danish events ##
##	  by Devol	##
##########################

#Rejection of Island colonies#
event = {
	id = 5017
	random = no
	country = DAN
	name = "EVENTNAME5017"
	desc = "EVENTHIST5017"
	style = 1

	date = { day = 1 month = june year = 1455 }
	offset = 90
	deathdate = { day = 30 month = august year = 1455 }

	action_a = {
		name = "ACTIONNAME5017A"
		command = { type = stability value = -2 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = provincetax which = 1466 value = 1 }
		command = { type = treasury value = -100 }
		command = { type = domestic which = mercantilism value = 1 }
	}
	action_b = {
		name = "ACTIONNAME5017B"
		command = { type = stability value = 1 }
		command = { type = colonists value = 4 }
		command = { type = merchants value = 4 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = treasury value = 100 }
		command = { type = relation which = ENG value = -25 }
		command = { type = provincetax which = 307 value = -1 }
                command = { type = provincetax which = 1466 value = -1 }
	}
}

#Cod War#
event = {
	id = 5018
	random = no
	country = DAN
	name = "EVENTNAME5018"
	desc = "EVENTHIST5018"
	style = 1

	date = { day = 1 month = march year = 1468 }
	offset = 90
	deathdate = { day = 30 month = may year = 1468 }

	action_a = {
		name = "ACTIONNAME5018A"
		command = { type = provincetax which = 309 value = 1 }
		command = { type = provincetax which = 307 value = 1 }
		command = { type = population which = 1466 value = 400 }
		command = { type = provincetax which = 1466 value = 1 }
		command = { type = stability value = -2 }
		command = { type = relation which = ENG value = -50 }
		command = { type = galleys which = -1 value = 10 }
		command = { type = treasury value = -250 }
		command = { type = casusbelli which = ENG value = 60 }
	}
	action_b = {
		name = "ACTIONNAME5018B"
		command = { type = provincetax which = 309 value = -1 }
		command = { type = provincetax which = 307 value = -1 }
		command = { type = population which = 1466 value = -200 }
		command = { type = provincetax which = 1466 value = -1 }
		command = { type = stability value = 1 }
		command = { type = relation which = ENG value = 75 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = treasury value = 100 }
	}
	action_c = {
		name = "ACTIONNAME5018C"
		command = { type = provincetax which = 309 value = 1 }
		command = { type = provincetax which = 307 value = 1 }
		command = { type = population which = 1466 value = 100 }
		command = { type = provincetax which = 1466 value = 1 }
		command = { type = stability value = -3 }
		command = { type = relation which = ENG value = -100 }
		command = { type = galleys which = -1 value = 10 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = treasury value = -250 }
		command = { type = casusbelli which = ENG value = 60 }
	}
}

#Amund Bolte's Uprise#
event = {
	id = 5019
	trigger = {
		OR = {
			owned = { province = 255 data = -1 }
			owned = { province = 256 data = -1 }
			owned = { province = 258 data = -1 }
			owned = { province = 381 data = -1 }
                        owned = { province = 259 data = -1 }
		}
		AND = { 
			NOT = {
				exists = NOR
			}
		}
	}
	random = no
	country = DAN
	name = "EVENTNAME5019"
	desc = "EVENTHIST5019"
	style = 1

	date = { day = 1 month = september year = 1436 }
	offset = 90
	deathdate = { day = 30 month = november year = 1436 }

	action_a = {
		name = "ACTIONNAME5019A"
		command = { type = revolt which = 255 }
		command = { type = revolt which = 256 }
		command = { type = revolt which = 258 }
                command = { type = revolt which = 259 }
		command = { type = province_revoltrisk which = 255 value = 6 }
		command = { type = province_revoltrisk which = 256 value = 6 }
		command = { type = province_revoltrisk which = 258 value = 6 }
		command = { type = province_revoltrisk which = 259 value = 6 }
		command = { type = province_revoltrisk which = 381 value = 6 }
		command = { type = stability value = -2 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = INF which = -2 value = 7000 }
		command = { type = INF which = -1 value = 3000 }
	}
	action_b = {
		name = "ACTIONNAME5019B"
		command = { type = revolt which = 255 }
		command = { type = revolt which = 256 }
		command = { type = treasury value = -250 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = revoltrisk which = 12 value = 3 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 5020 }
	}
}

#Defeat of Rebellion#
event = {
	id = 5020
	trigger = {
		event = 5019
	}
	random = no
	country = DAN
	name = "EVENTNAME5020"
	desc = "EVENTHIST5020"
	style = 1

	date = { day = 15 month = april year = 1437 }
	offset = 120
	deathdate = { day = 15 month = august year = 1437 }

	action_a = {
		name = "ACTIONNAME5020A "
		command = { type = province_revoltrisk which = 255 value = -6 }
		command = { type = province_revoltrisk which = 256 value = -6 }
		command = { type = province_revoltrisk which = 258 value = -6 }
		command = { type = province_revoltrisk which = 259 value = -6 }
		command = { type = province_revoltrisk which = 381 value = -6 }
		command = { type = stability value = 1 }
	}
}




##########################
# Erik VII sequence	 #
##########################
#Erik issues war taxes in Sweden#
event = {
        id = 159043
        trigger = {
                   atwar = yes
                   monarch = 1220 #Erik VII
                   vassal = { country = DAN country = SWE }
        }
        random = no
        country = DAN
        name = "Эрик вводит военные налоги в Швеции"
        desc = "В течении своего царствования, король Эрик постоянно нуждался в деньгах, поэтому ему пришлось выпустить ряд военных налогов в Швеции."
        style = 1
        date = { day = 1 month = january year = 1419 }
        offset = 1
        deathdate = { day = 1 month = january year = 1459 }

        action_a ={
                name = "Ввести военные налоги"
                command = { type = treasury value = 150 } 
                command = { type = ADM which = 1 value = 360 }
                command = { type = relation which = SWE value = -25 } 
                command = { type = trigger which = 291018 } #Swedish event: Erik issues war taxes
        }
        action_b ={
                name = "Мы сможем справится и без дополнительных налогов"
                command = { type = relation which = SWE value = 25 } 
                command = { type = sleepevent which = 159045 } #Danish event: Rebellion in Sweden
        }
}

#Erik issues war taxes in Norway#
event = {
        id = 159044
        trigger = {
                   atwar = yes
                   monarch = 1220 #Erik VII
                   vassal = { country = DAN country = NOR }
        }
        random = no
        country = DAN
        name = "Эрик вводит военные налоги в Норвегии"
        desc = "В течении своего царствования, король Эрик постоянно нуждался в деньгах, поэтому ему пришлось выпустить ряд военных налогов в Норвегии."
        style = 1
        date = { day = 1 month = january year = 1419 }
        offset = 1
        deathdate = { day = 1 month = january year = 1459 }

        action_a ={
                name = "Ввести военные налоги"
                command = { type = treasury value = 75 } 
                command = { type = ADM which = 1 value = 360 }
                command = { type = relation which = NOR value = -25 }
                command = { type = trigger which = 244003 } #Norwegian event: Erik issues war taxes
        }
        action_b ={
                name = "Мы сможем справится и без дополнительных налогов"
                command = { type = relation which = NOR value = 25 }
        }
}

#Rebellion in Sweden#
event = {
        id = 159045
        trigger = {
                   event = 159043 #Erik issues war taxes in Sweden
                   monarch = 1220 #Erik VII
                   vassal = { country = DAN country = SWE }
                   OR = {
                        control = { province = 254 data = REB } #Svealand
                        event = 3217 #Swedish event: The Engelbrekt Rebellion
                   }
        }
        random = no
        country = DAN
        name = "Восстания в Швеции"
        desc = "После ряда войн с графством Гольштейн, народные волнения в Швеции приняли масштабный характер из-за военных налогов, наложенных Эриком. Это закончилось тем, что в 1434 году в северных и центральных районах Швеции начались восстания. Эрику ни чего не оставалось, как подписать соглашение, по которому его власть в Швеции была сильно урезана. Теперь он был обязан учитывать голоса шведского Государственного совета и позволил шведской знати управлять шведскими областями. После подписания, Эрик был очень разъярён и уехал в свой замок в Готланде, оставив администрацию Дании в руках датского Государственного совета."
        style = 1
        date = { day = 1 month = january year = 1419 }
        offset = 1
        deathdate = { day = 1 month = january year = 1459 }

        action_a ={
                name = "Подписать соглашение"
                command = { type = independence which = GOT } #Gotland - Erik leaves Denmark
                command = { type = relation which = SWE value = 100 }
                command = { type = trigger which = 291019 } #Swedish event: Unrest in Sweden
command = { type = galleys which = -1 value = 10 }
command = { type = transports which = -1 value = 2 }
command = { type = INF which = -1 value = 3000 }
command = { type = cavalry which = -1 value = 3000 }
        }
        action_b ={
                name = "Это недопустимое соглашение!"
                command = { type = relation which = SWE value = -100 }
                command = { type = trigger which = 291020 } #Swedish event: Rebellion in Sweden
                command = { type = sleepevent which = 1007 } #Danish event: The future heir
                command = { type = sleepevent which = 367000 } #Gotland event: Erik resides in Gotland
        }
}

#The future heir#
event = {
        id = 159046
        trigger = {
                   event = 367000 #Gotland event: Erik resides in Gotland
                   exists = GOT
                   OR = {
                        NOT = { stability = -2 }
                        year = 1437
                   }
        }
        random = no
        country = DAN
        name = "Будущий наследник"
        desc = "В 1437 году датский Государственный совет вынужден был вызвать Эрика из Готланда, так как волнения среди крестьянства возросли ещё больше и приняли угрожающий характер. Прибыв в Данию, Эрик провозгласил Богислава IX Померанского своим наследником. Датский Государственный совет отклонил эту кандидатуру и отправил Эрика обратно, в Готланд, где тот занимался выгодным бизнесом-грабежами."
        style = 1
        date = { day = 1 month = january year = 1419 }
        offset = 90
        deathdate = { day = 1 month = january year = 1459 }

        action_a ={
                name = "Отклонить кандидатуру Богислава IX"
                command = { type = stability value = 1 }
                command = { type = treasury value = -100 } #Erik leaves with his treasures.
                command = { type = domestic which = centralization value = -1 }
                command = { type = relation which = SWE value = 50 }
                command = { type = relation which = NOR value = 50 }
                command = { type = relation which = GOT value = -100 }
                command = { type = relation which = POM value = -100 }
                command = { type = revolt which = -1 } #Peasant revolt
                command = { type = sleepevent which = 259007 } #Pomerania event: Bogislaw dies before Erik
        }
        action_b ={
                name = "Согласится с кандидатурой Богислава IX"
                command = { type = stability value = -3 }
                command = { type = domestic which = centralization value = 1 }
                command = { type = relation which = SWE value = -100 }
                command = { type = relation which = NOR value = -100 }
                command = { type = relation which = POM value = 50 }
                command = { type = revolt which = -1 } #Peasant revolt
                command = { type = inherit which = GOT } #Gotland - Erik returns from Gotland
                command = { type = trigger which = 259003 } #Pomerania event: Bogislaw IX is the heir to the Danish throne
                command = { type = sleepevent which = 259004 } #Pomeranian event: Erik inherits Pomerania
		command = { type = sleepevent which = 367001 } #Gotland event: Let the pirating begin!
        }
}

#Erik inherits Pomerania #1#
event = {
        id = 159047
        random = no
        country = DAN
        name = "Эрик унаследовал Померанию"
        desc = "Даже при том, что Эрик провозгласил Богислава своим законным наследником, тот умер раньше Эрика. Согласно законам престолонаследования, Эрик должен был стать следующим герцогом Померании."
        style = 1

        #Triggered by the Pomeranian event: Bogislaw dies before Erik

        action_a ={
                name = "Померания-часть Дании"
                command = { type = inherit which = POM }
                command = { type = badboy value = 2 }
                command = { type = addcore which = 302 } #Hinterpommern
                command = { type = relation which = LAT value = -25 }
                command = { type = relation which = HAB value = -50 }
                command = { type = relation which = BRA value = -75 }
                command = { type = relation which = SLZ value = -75 }
                command = { type = galleys which = -1 value = 6 }
        }
}

#Erik inherits Pomerania #2#
event = {
        id = 159048
        random = no
        country = DAN
        name = "Эрик унаследовал Померанию"
        desc = "Даже при том, что Эрик провозгласил Богислава своим законным наследником, тот умер раньше Эрика. Согласно законам престолонаследования, Эрик должен был стать следующим герцогом Померании."
        style = 1

        #Triggered by the Pomeranian event: Bogislaw dies before Erik

        action_a ={
                name = "Померания-часть Дании"
                command = { type = vassal which = POM } #Pomerania
        }
}

#The invasion of Gotland# 
event = {
        id = 159049
        random = no
        country = DAN
        name = "Вторжение в Готланд"
        desc = "В 1449 году шведские войска пытались захватить Готланд. Эрик был озабочен защитой острова, не видя никаких способов которые могли бы помочь ему выиграть войну, на зло Швеции, он сдал Готланд Дании и разъярённый уехал в Померанию."
        style = 1

        #Triggered by the Gotland event: The invasion of Gotland

        action_a ={
                name = "Готланд опять принадлежит Дании!"
                command = { type = stability value = 1 }
                command = { type = inherit which = GOT } #Gotland
                command = { type = sleepevent which = 338011 } #Random event: Merchants are being plundered
        }
}


#Fredrik of Denmark, Archbishop of Bremen
event = {
          id = 159100
          random = no
          country = DAN
          name = "Фредерик Датский избран архиепископом Бремена"
          desc = "В 1634 году был выбран  будущий король Дании Фредерик III  архиепископом Бремена. Однако, он не имел особого контроля над его новым владением, которое было опустошено 30 летней войной и наемными разбойничьими отрядами."
          style = 2

          action_a ={
                      name = "OK"
		      command = { type = relation which = BRE value = 50 }
		      command = { type = vassal which = BRE }
		      command = { type = alliance which = BRE }
                      }
}

#Inheritance of Oldenburg
event = {
       id = 159050
       random = no
       country = DAN 
       name = "Дания унаследовала Ольденбург"
       desc = "В 1667 году умер канцлер Антон Гюнтер Ольденбургский, не оставив  прямого преемника. Самые близкие родственники канцлера и потенциальные наследники, Фредерик III., король Дании, и Кристиан Альберт в Гольштейне (Готорп), достигли взаимопонимания в 1649 году, предоставив самую большую часть Ольденбурга Дании. Ольденбург был датским на протяжении ста с лишним лет."
       style = 3
 
       action_a = {
                 name = "Присоединить Ольденбург, но при этом позволить ему оставаться частью Священной Римской Империей"
                  command = { type = vassal which = OLD } 
                 command = { type = domestic which = centralization value = -1 }
                  }
       action_b = {
                 name = "Присоединить Ольденбург к Дании"
                 
                  command = { type = vassal which = OLD }  
                 command = { type = domestic which = centralization value = 1 }
                 command = { type = relation which = HAB value = -100 }
                  }
}

#Danish claim ignored
event = {
       id = 159051
       random = no
       country = DAN
       name = "Ольденбург игнорирует требования Дании"
       desc = "В 1667 году умер канцлер Антон Гюнтер Олденбургский, не оставив  прямого преемника. Самые близкие родственники канцлера и потенциальные наследники, Фредерик III, король Дании, и Кристиан Альберт в Гольштейн (Готорп), достигли взаимопонимания в 1649 году, предоставив самую большую часть Олденбурга Дании. Осмелились проигнорировать наше законное право  и создать местное дворянское графство в Ольденберге."
       style = 3
       
       action_a = {
                 name = "Это возмутительно!"
                 command = { type = casusbelli which = OLD value = 120 }
                  }
}

###########################
#Early Scandinavian Events#
#       By Sute]{h        #
###########################


#Rise of Sten Sture D.Д.#
event = {
    id = 159000
    trigger = {
        vassal = {
            country = DAN
            country = SWE
        }
    }
    random = no
    country = DAN
    name = "Стен Штюр"
    desc = "Cтен Штюр, новый назначенный регент Швеции, агитировал Кальмарскую унию в поддержку независимости Швеции. Как нам поступить мой лорд?"
    style = 1
    date = { day = 1 month = january year = 1470 }
    offset = 360
    deathdate = { day = 1 month = january year = 1497 }

    action_a ={
        name = "Позволить нашей армии встретить мятежников"
        command = { type = relation which = SWE value = -100 }
        command = { type = desertion which = -1 value = 3000 }
        command = { type = desertion which = -1 value = 3000 }
        command = { type = desertion which = -1 value = 2000 }
    }
    action_b ={
        name = "Принять требования Стена Штюра"
        command = { type = stability value = -2 }
        command = { type = relation which = SWE value = 200 }
        command = { type = vp value = -50 }
        command = { type = trigger which = 291001 } #Swedish event: Sten Stures demands accepted.
        command = { type = sleepevent which = 291000 } #Swedish event: The Battle at Brunkeberg.
    }
}

#The Battle at Brunkeberg.#
event = {
    id = 159001
    random = no
    country = DAN
    name = "Сражение под Брункебергом"
    desc = "В 1471 году датский монарх Кристиан I решил доказать своё право на шведский трон и его флот отправился в Стокгольм. Там он встретился с мобилизованными силами союзников из числа шведского дворянства. Однако шведский регент Штен Штюр собрал армию из шведской знати людей из Даларны и горожан Стокгольма и встретил его у стен Брункеберга здесь король Кристиан потерпел поражение и вынужден был покинуть шведские земли. Стен Штюр оставался правителем Швеции в течении нескольких лет."
    style = 1

    #Triggered by the Swedish event: The Battle at Brunkeberg.

    action_a ={
        name = "Позволить Шведции оставатся пока свободной"
        command = { type = INF which = -2 value = 2000 }
        command = { type = INF which = -2 value = 2000 }
        command = { type = CAV which = -2 value = 1500 }
command = { type = galleys which = -1 value = 8 }
    }
    action_b ={
        name = "Это оскобление может означать только войну!"
        command = { type = stability value = -1 }
        command = { type = revolt which = 251 }
         command = { type = revolt which = 261 }
        command = { type = revolt which = 308 }
        command = { type = revolt which = 1461 }
           command = { type = revolt which = 251 }
         command = { type = revolt which = 261 }
        command = { type = revolt which = 308 }
        command = { type = revolt which = 1461 }
        command = { type = INF which = -2 value = 4000 }
        command = { type = INF which = -2 value = 4000 }
        command = { type = CAV which = -2 value = 2500 }
command = { type = galleys which = -1 value = 10 }
        command = { type = war which = SWE }
    }
}

#The coronation of King Hans.#
event = {
    id = 159002
    trigger = {
        OR = {
            AND = {
                exists = NOR
                NOT = {
                    event = 159002 #Danish event: Hans claims Norway.
                }
            }
            AND = {
                exists = SWE
                NOT = {
                    event = 159003 #Danish event: Hans claims Sweden.
                }
            }
        }
    }
    random = no
    country = DAN
    name = "Коронация короля Ганса"
    desc = "В мае 1482 года Ганс сын  Кристиана I и Доротеи Брaнденбургской был провозглашен королем Дании. Согласно старому соглашению он должен был править как Данией так и Норвегией и Швецией."
    style = 1
    date = { day = 1 month = may year = 1482 }
    offset = 30
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Мы их заставим соблюдать соглашение!"
        command = { type = stability value = 1 }
        command = { type = domestic which = innovative value = -1 }
    }
}

#Hans claims Norway.#
event = {
    id = 159039
    trigger = {
        NOT = {
            event = 244000 #Norwegian event: The coronation of King Hans.
        }
        NOT = {
            exists = NOR
        }
    }
    random = no
    country = DAN
    name = "Ганс требует Норвегию"
    desc = "После коронации, король Ганс потребовал Норвежские территории. Так как Норвегия не имела собственный правящий орган. Требование было принято совместно европейскими правителями и норвежской знатью."
    style = 1
    date = { day = 1 month = june year = 1482 }
    offset = 30
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Требовать Норвегию"
        command = { type = stability value = 1 }
        command = { type = relation which = SWE value = -50 }
        	command = { type = addcore which = 255 }
		command = { type = addcore which = 256 }
		command = { type = addcore which = 258 }
		command = { type = addcore which = 259 }
		command = { type = addcore which = 381 }
		command = { type = addcore which = 1466 }
 command = { type = addcore which = 1537 }
                command = { type = addcore which = 1538 }
        command = { type = sleepevent which = 244000 } #Norwegian event: The coronation of King Hans.
    }
}

#Hans claims Sweden.#
event = {
    id = 159003
    trigger = {
        NOT = {
            event = 291002 #Swedish event: The coronation of King Hans.
#1
        }
        NOT = {
            event = 291003 #Swedish event: The coronation of King Hans.
#2
        }
        NOT = {
            exists = SWE
        }
    }
    random = no
    country = DAN
    name = "Ганс требует Швецию"
    desc = "После своей коронации Ганс потребовал шведские территории. Так как Швеция не имела собственного органа управления, это требование было принято как европейскими правителями, так и швецкой знатью."
    style = 1
    date = { day = 1 month = june year = 1482 }
    offset = 30
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Требовать Швецию"
        command = { type = stability value = 1 }
        command = { type = relation which = NVG value = -50 }
        command = { type = relation which = MOS value = -50 } #If they havn't become Russia.
        command = { type = relation which = RUS value = -50 }
        command = { type = addcore which = 252 }
        command = { type = addcore which = 253 }
        command = { type = addcore which = 254 }
        command = { type = addcore which = 257 }
        command = { type = addcore which = 923 }
        command = { type = addcore which = 260 }
        command = { type = addcore which = 341 }
        command = { type = addcore which = 263 }
        command = { type = addcore which = 342 }
        command = { type = addcore which = 273 }
        command = { type = addcore which = 264 }
        command = { type = addcore which = 265 }
command = { type = addcore which = 837 }
        command = { type = sleepevent which = 291002 } #Swedish event: The coronation of King Hans. #1
        command = { type = sleepevent which = 291003 } #Swedish event: The coronation of King Hans. #2
    }
}

#Swedish nobles demand greater independence.#
event = {
    id = 159004
    trigger = {
        event = 159003 #Danish event: Hans claims Sweden.
        owned = {
            province = 254
            data = -1
        }
        NOT = {
            exists = SWE
        }
    }
    random = no
    country = DAN
    name = "Шведская знать требует больше свободы"
    desc = "Сразу после того, как король Ганс приобрёл власть в Свиланде, шведская знать стала требовать чтобы Швеция стала более независимой. Сначала король Ганс противился этим требованиям, но в скоре ему пришлось выбирать между полномасштабной гражданской войной и дарованием Швеции независимости на правах подчиненного государства."
    style = 1
    date = { day = 1 month = june year = 1485 }
    offset = 360
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Позволить Швеции самоуправление"
        command = { type = independence which = SWE }
        command = { type = alliance which = SWE }
        command = { type = stability value = 3 }
        command = { type = badboy value = -3 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = removecore which = 252 }
        command = { type = removecore which = 253 }
        command = { type = removecore which = 254 }
        command = { type = removecore which = 257 }
        command = { type = removecore which = 923 }
        command = { type = removecore which = 260 }
        command = { type = removecore which = 341 }
        command = { type = removecore which = 263 }
        command = { type = removecore which = 342 }
        command = { type = removecore which = 273 }
        command = { type = removecore which = 264 }
        command = { type = removecore which = 265 }
command = { type = removecore which = 837 }
        command = { type = sleepevent which = 291008 }         
    }
    action_b ={
        name = "Нет, и ни когда не бывать этому!"
        command = { type = stability value = -6 }
        command = { type = revoltrisk which = 120 value = 3 }
        command = { type = revolt which = 252 }
        command = { type = revolt which = 253 }
        command = { type = revolt which = 254 }
        command = { type = revolt which = 257 }
        command = { type = revolt which = 923 }
        command = { type = revolt which = 260 }
        command = { type = revolt which = 341 }
        command = { type = revolt which = 263 }
        command = { type = revolt which = 342 }
        command = { type = revolt which = 273 }
        command = { type = revolt which = 264 }
        command = { type = revolt which = 265 }
command = { type = revolt which = 252 }
        command = { type = revolt which = 253 }
        command = { type = revolt which = 254 }
        command = { type = revolt which = 257 }
        command = { type = revolt which = 923 }
        command = { type = revolt which = 260 }
        command = { type = revolt which = 341 }
        command = { type = revolt which = 263 }
        command = { type = revolt which = 342 }
        command = { type = revolt which = 273 }
        command = { type = revolt which = 264 }
        command = { type = revolt which = 265 }
    command = { type = revolt which = 837 }
command = { type = revolt which = 837 }
command = { type = revolt which = 837 }
    }
}

#King Hans dies without having captured Sweden.#
event = {
    id = 159005
    trigger = {
        event = 159003 #Danish event: Hans claims Sweden.
        NOT = {
            owned = {
            province = 254
            data = -1
            }
        }
        NOT = {
            event = 159004 #Danish event: Swedish nobles demand greater independence.
        }
      }
    random = no
    country = DAN
    name = "Корль Ганс умирает, так и не захватив полностью Швецию"
    desc = "Когда Ганс умер так и не завоевав Швецию, Дания превратилась в посмешище. Ганс заявил что Швеция была по праву его, но ему не удалось отстоять ее. Это привело к тому, что датская королевская семья выглядела слабой и их требование Швеции казалось в лучшем случае неуверенным. Позднее они потеряли свою силу в Дании и дворянство обратило ситуацию в свою пользу."
    style = 1
    date = { day = 2 month = january year = 1513 }

    action_a = {
        name = "Принять оскобление"
        command = { type = vp value = -50 }
        command = { type = DIP which = -1 value = 36 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = domestic which = centralization value = -1 }
          command = { type = removecore which = 252 }
        command = { type = removecore which = 253 }
        command = { type = removecore which = 254 }
        command = { type = removecore which = 257 }
        command = { type = removecore which = 923 }
        command = { type = removecore which = 260 }
        command = { type = removecore which = 341 }
        command = { type = removecore which = 263 }
        command = { type = removecore which = 342 }
        command = { type = removecore which = 273 }
        command = { type = removecore which = 264 }
        command = { type = removecore which = 265 }
command = { type = removecore which = 837 }
    }
}

#Swedish nobles pledge alligiance to Sweden.#
event = {
    id = 159006
    trigger = {
        exists = SWE
        event = 159003 #Danish event: Hans claims Sweden.
    }
    random = no
    country = DAN
    name = "Шведская знать клянётся в верности новому королю Швеции"
    desc = "Когда Швеция пришла в себя, дворяне требовавшие власти над старыми шведскими провинциями собрались в Стокгольме, где они обещали дать клятву новому королю Швеции."
    style = 1

    action_a ={
        name = "Паршивые ублюдки!"
        command = { type = casusbelli which = SWE value = 36 }
     command = { type = removecore which = 252 }
        command = { type = removecore which = 253 }
        command = { type = removecore which = 254 }
        command = { type = removecore which = 257 }
        command = { type = removecore which = 923 }
        command = { type = removecore which = 260 }
        command = { type = removecore which = 341 }
        command = { type = removecore which = 263 }
        command = { type = removecore which = 342 }
        command = { type = removecore which = 273 }
        command = { type = removecore which = 264 }
        command = { type = removecore which = 265 }
command = { type = removecore which = 937 }
       
    }
}

#Norway crowns Hans as their king.#
event = {
    id = 159007
    random = no
    country = DAN
    name = "Коронация Ганса на норвежском троне"
    desc = "Через год после коронации Ганса в Дании его признали законным норвежским королем."
    style = 1

    #Triggered by the Norwegian event: The coronation of King Hans.

    action_a ={
        name = "Отлично"
        command = { type = stability value = 1 }
        command = { type = vassal which = NOR }
        command = { type = alliance which = NOR }
    }
}

#Norway refuses to acknowledge Hans.#
event = {
    id = 159008
    random = no
    country = DAN
    name = "Норвегия отказывается признавать Ганса"
    desc = "Норвегия разорвала соглашение о царствовании Ганса!"
    style = 1

    # Triggered by the Norwegian event: The coronation of King Hans.

    action_a ={
        name = "Норвегия принадлежит нам по справедливости"
        command = { type = war which = NOR }
        command = { type = MIL which = 3 value = 36 }
        command = { type = ADM which = -1 value = 36 }
        command = { type = DIP which = -1 value = 36 }
    }
    action_b ={
        name = "Со временем она станет нашей"
        command = { type = stability value = -1 }
        command = { type = relation which = NOR value = 50 }
        command = { type = casusbelli which = NOR value = 36 }
        command = { type = vp value = -15 }
    }
    action_c ={
        name = "Позволить Норвегии самой выбрать себе короля."
        command = { type = stability value = -2 }
        command = { type = relation which = NOR value = 100 }
        command = { type = vp value = -30 }
    }
}
#Sweden crowns Hans as their king.#
event = {
    id = 159009
    random = no
    country = DAN
    name = "Коронация Ганса шведском троне"
    desc = "Bскоре после провозглашения Ганса королем Дании и Hорвегии, шведский регент Стен Штюр признал, что у него нет иного выбора, кроме как чтить соглашение."
    style = 1

    #Triggered by either of the Swedish events: The coronation of King Hans.

    action_a ={
        name = "Отлично"
        command = { type = stability value = 1 }
        command = { type = vassal which = SWE }
        command = { type = alliance which = SWE }
    }
}

#Sten Sture D.Д. refuses to crown Hans.#
event = {
    id = 159010
    random = no
    country = DAN
    name = "Стен Штюр отказывается короновать Ганса"
    desc = "Несмотря на справедливое требование Ганса Шведского, его регент Стен Штюр решил, что Ганс не должен быть королем Швеции."
    style = 1

    #Triggered by either of the Swedish event: The coronation of King Hans.
    #Or by the Swedish event: The arrival of King Hans.

    action_a ={
        name = "Швеция наша по справедливости"
        command = { type = war which = SWE }
        command = { type = MIL which = 3 value = 36 }
        command = { type = ADM which = -1 value = 36 }
        command = { type = DIP which = -1 value = 36 }
        command = { type = sleepevent which = 159016 } #Danish event: Sweden defies Hans's claim to their throne.
    }
    action_b ={
        name = "Со временем она станет нашей"
        command = { type = stability value = -1 }
        command = { type = relation which = SWE value = 50 }
        command = { type = casusbelli which = SWE value = 36 }
        command = { type = vp value = -15 }
    }
    action_c ={
        name = "Принять возражения Стена Штюра"
        command = { type = stability value = -2 }
        command = { type = relation which = SWE value = 100 }
        command = { type = vp value = -30 }
        command = { type = sleepevent which = 291004 } #Swedish event: Swedish nobles support Sten Sture D.Д.
    }
}

#The fate of Holstein.#
event = {
    id = 159011
    trigger = {
        owned = {
            province = 306
            data = DAN
        }
    }
    random = no
    country = DAN
    name = "Судьба Гольштейна"
    desc = "В 1490 году король Ганс отдал Гольштейн своему младшему брату Фридриху. Это случилось после долгих споров, когда мать Ганса Доротея захотела чтобы Фридрих владел не только Гольштейном но и Шлезвигом, Ганс не захотели расставаться одновременно с Гольштейном и позволил Фридриху выбрать одну из провинций. Фридрих выбрал Гольштейн. Так как Шлезвигу и Гольштейну было обещано, что они останутся неделимыми, то братья решили править обеими провинциями вместе. Хотя на самом деле Фридрих правил Гольштейном единовластно как герцог, а Ганс управлял Шлезвигом."
    style = 1
    date = { day = 1 month = may year = 1490 }
    offset = 360
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Позволить Фредерику управлять Гольштейном"
        command = { type = stability value = 1}
        command = { type = independence which = SHL }
        command = { type = alliance which = SHL }
    }
    action_b ={
        name = "Гольштейн останется частью Дании"
        command = { type = stability value = -3 }
        command = { type = revolt which = 306 }
        command = { type = revolt which = 1938 }
command = { type = revolt which = 306 }
        command = { type = revolt which = 1938 }
command = { type = revolt which = 306 }
        command = { type = revolt which = 1938 }
        command = { type = revoltrisk which = 240 value = 1 }
    }
}

#The fate of Norway.# #1
event = {
    id = 159012
    trigger = {
        vassal = {
            country = DAN
            country = NOR
        }
        exists = SHL
        NOT = {
            event = 159013 #Danish event: The fate of Norway. #2
        }
    }
    random = no
    country = DAN
    name = "Судьба Норвегии"
    desc = "В то время как Ганс правил в Дании и Норвегии, его мать Доротея пыталась убедить его в том, что необходимо делиться королевством с младшим братом Фредериком. Она предлагала, чтобы Ганс передал правление Норвегией своему брату. Однако у Ганса не было желания делиться Норвегией и так, в 1494 году его вызывают на собрание имений Калундборгского графства. Там было заявлено, что королевства Дании и Норвегии должны быть одним целым."
    style = 1
    date = { day = 1 month = january year = 1494 }
    offset = 360
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Объявить Норвегию и Данию неделимыми королевствами"
        command = { type = stability value = -1 }
        command = { type = relation which = SHL value = -50 }
        command = { type = domestic which = centralization value = 2 }
    }
    action_b ={
        name = "Отдать Норвегию Фредерику"
        command = { type = relation which = SHL value = 200 }
        command = { type = trigger which = 279000 } #Holstein event: The fate of Norway.
        command = { type = sleepevent which = 244001 } #Norwegian event: The meeting in Kalundborg.
        command = { type = sleepevent which = 3847 } #Danish event: Norway declares independence!
    }
}

#The fate of Norway.# #2
event = {
    id = 159013
    trigger = {
        vassal = {
            country = DAN
            country = NOR
        }
        NOT = {
            exists = SHL
        }
        NOT = {
            event = 159012 #Danish event: The fate of Norway. #1
        }
    }
    random = no
    country = DAN
    name = "Судьба Норвегии"
    desc = "В то время как Ганс правил в Дании и Норвегии, его мать Доротея пыталась убедить его в том, что необходимо делиться королевством с младшим братом Фредериком. Она предлагала, чтобы Ганс передал правление Норвегией своему брату. Однако у Ганса не было желания делиться Норвегией и так, в 1494 году его вызывают на собрание имений Калундборгского графства. Там было заявлено, что королевства Дании и Норвегии должны быть одним целым."
    style = 1
    date = { day = 1 month = january year = 1494 }
    offset = 360
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Объявить Норвегию и Данию неделимыми королевствами"
        command = { type = stability value = -1 }
        command = { type = domestic which = centralization value = 2 }
    }
    action_b ={
        name = "Отдать Норвегию Фредерику"
        command = { type = relation which = NOR value = 200 }
        command = { type = sleepevent which = 244001 } #Norwegian event: The meeting in Kalundborg.
        command = { type = sleepevent which = 3847 } #Danish event: Norway declares independence!
            }
}

#Norway accepts the declaration at Kalundborg.#
event = {
    id = 159014
    random = no
    country = DAN
    name = "Норвегия принимает декларацию"
    desc = "В 1494 году на собрании имений Калундборгского графства было решено, что королевства Дании и Норвегии должны быть единым целым."
    style = 1

    #Triggered by the Norwegian event: The meeting at Kalundborg.

    action_a ={
        name = "Отлично!"
        command = { type = inherit which = NOR }
    command = { type = addcore which = 255 }
		command = { type = addcore which = 256 }
		command = { type = addcore which = 258 }
		command = { type = addcore which = 259 }
		command = { type = addcore which = 381 }
		command = { type = addcore which = 1466 }
                command = { type = addcore which = 259 }      
 command = { type = addcore which = 1537 }
                command = { type = addcore which = 1538 }
    }
}

#Norway rejects the declaration at Kalundborg.#
event = {
    id = 159015
    random = no
    country = DAN
    name = "Норвегия принимает декларацию"
    desc = " В 1494 году норвежская знать заставила Ганса на собрании имений Калундборгского графства согласиться с тем, что королевство в Норвегии будет управляться как  отдельное государство."
    style = 1

    #Triggered by the Norwegian event: The meeting at Kalundborg.

    action_a ={
        name = "Оно было неизбежным"
        command = { type = domestic which = aristocracy value = 2 }
        command = { type = domestic which = centralization value = -2 }
    }
}

#Sweden defies Hans's claim to their throne.#
event = {
    id = 159016
    trigger = {
        exists = SWE
        event = 291004 #Swedish event: Swedish nobles support Sten Sture D.Д.
    }
    random = no
    country = DAN
    name = "Швеция бросает вызов Гансу"
    desc = "Когда Ганс попытался заявить о своих правах на шведский престол, Стен Штюр заручился поддержкой знати. Так как Кристиан I признал независимость Швеции, Стен Штюр отклонил требования Ганса."
    style = 1
    date = { day = 1 month = may year = 1482 }
    offset = 0
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Швеция наша по справедливости"
        command = { type = war which = SWE }
        command = { type = MIL which = 3 value = 36 }
        command = { type = ADM which = -1 value = 36 }
        command = { type = DIP which = -1 value = 36 }
    }
    action_b ={
        name = "Всему своё время"
        command = { type = stability value = -1 }
        command = { type = relation which = SWE value = 50 }
        command = { type = casusbelli which = SWE value = 36 }
        command = { type = vp value = -15 }
    }
    action_c ={
        name = "Принять требования Стена Штюра"
        command = { type = stability value = -2 }
        command = { type = relation which = SWE value = 100 }
        command = { type = vp value = -30 }
          }
}

#Sweden is stalling.#
event = {
    id = 159017
    trigger = {
        exists = SWE
        event = 291002 #Swedish event: The coronation of King Hans. #1
        NOT = {
            vassal = {
                country = DAN
                country = SWE
            }
        }
        NOT = {
            vassal = {
                country = SWE
                country = DAN
                    } 
             }
         }
    random = no
    country = DAN
    name = "Ситуация в Швеции"
    desc = " В 1497 году, всем было ясно, что Стен Штюр сорвал коронацию Ганса. Ганс мобилизовал датскую армию, которая через некоторое время достигла Стакена, небольшого крепости, находившегося к северу от Стокгольма. Узнав о приближении датских войск,  Стен Штюр отступил к Стокгольму."
    style = 1
    date = { day = 1 month = january year = 1497 }
    offset = 180
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Атаковать Стена Штюра"
        command = { type = desertion which = -1 value = 4000 }
        command = { type = desertion which = -1 value = 4000 }
        command = { type = desertion which = -1 value = 4000 }
        command = { type = trigger which = 291005 } #Swedish event: The arrival of King Hans.
    }
    action_b ={
        name = "Атаковать Стена Штюра и королевство Швецию"
        command = { type = stability value = -2 }
        command = { type = relation which = SWE value = 100 }
             }
}

#Sten Sture D.Д. submits to Hans.#
event = {
    id = 159018
    trigger = {
        exists = SWE
        event = 291005 #Swedish event: The arrival of King Hans.#
        NOT = {
            vassal = {
                country = DAN
                country = SWE
            }
        }
        NOT = {
            vassal = {
                country = SWE
                country = DAN
                     }
              }
        }
    random = no
    country = DAN
    name = "Стен Штюр подчиняется Гансу"
    desc = "В 1497 году Ганса короновали на трон Швеции и он вернулся в Данию со своей армией. Крестьянская армия Стен Штюра была разбита в двух сражениях и им ничего не оставалась, кроме как капитулировать. Несмотря на то, что у Стен Штюра была значительная поддержка среди простого населения, Ганс оставил его в живых."
    style = 1
    date = { day = 1 month = november year = 1497 }
    offset = 30
    deathdate = { day = 8 month = august year = 1501 }

    action_a ={
        name = "Оставить в живых Стена Штюра"
        command = { type = stability value = 1 }
        command = { type = vassal which = SWE }
        command = { type = alliance which = SWE }
        command = { type = relation which = SWE value = 100 }
        command = { type = domestic which = centralization value = -1 }
        command = { type = INF which = -2 value = 2500 }
        command = { type = INF which = -2 value = 2500 }
        command = { type = CAV which = -2 value = 2500 }
        command = { type = trigger which = 291006 } #Swedish event: Sten Sture D.Д. submits to Hans.
    }
    action_b ={
        name = "Стен Штюр должен умереть"
        command = { type = stability value = -2 }
        command = { type = vassal which = SWE }
        command = { type = alliance which = SWE }
        command = { type = relation which = SWE value = -100 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = INF which = -2 value = 2500 }
        command = { type = INF which = -2 value = 2500 }
        command = { type = CAV which = -2 value = 2500 }
        command = { type = trigger which = 291007 } #Swedish event: Sten Sture D.Д. executed.
        command = { type = sleepevent which = 291008 } #Swedish event: Hans defeated in Ditmarsken.
    }
}

#The defeat at Ditmarsken.# #1
event = {
    id = 159019
    trigger = {
        vassal = {
            country = DAN
            country = SHL
        }
	NOT = {
	    event = 159020 #Danish event: The defeat at Ditmarsken. #2
	}
	NOT = {
	    event = 159021 #Danish event: The gift to Frederik.
	}
    }
    random = no
    country = DAN
    name = "Поражение в Дитмарскене"
    desc = "После победы под Стокгольмом, Ганс в союзе с братом Фредериком нападает на  небольшую крестьянскую республику Дитмарскен. В результате позорного поражения обоим братьям удается избежать плена, потеряв почти целиком свои войска.  Это произошло из-за того, что в сырую погоду дороги превратились в грязь, к тому же их тяжелая конница не была предназначена для борьбы на узких дорогах."
    style = 2
    date = { day = 1 month = january year = 1501 }
    offset = 90
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Проклятье!"
        command = { type = stability value = -1 }
        command = { type = desertion which = -1 value = 2500 }
        command = { type = desertion which = -1 value = 2500 }
        command = { type = desertion which = -1 value = 2500 }
        command = { type = MIL which = -1 value = 36 }
        command = { type = trigger which = 279001 } #Holstein event: The defeat at Ditmarsken.
    }
}

#The defeat at Ditmarsken.# #2
event = {
    id = 159020
    trigger = {
        owned = {
            province = 306
            data = DAN
        }
	NOT = {
	    event = 159019 #Danish event: The defeat at Ditmarsken. #1
	}
	NOT = {
	    event = 159021 #Danish event: The gift to Frederik.
	}
    }
    random = no
    country = DAN
    name = "Поражение в Дитмарскене"
    desc = "После победы под Стокгольмом, Ганс в союзе с братом Фредериком нападает на  небольшую крестьянскую республику Дитмарскен. В результате позорного поражения обоим братьям удается избежать плена, потеряв почти целиком свои войска.  Это произошло из-за того, что в сырую погоду дороги превратились в грязь, к тому же их тяжелая конница не была предназначена для борьбы на узких дорогах."
    style = 2
    date = { day = 1 month = january year = 1501 }
    offset = 90
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Проклятье!"
        command = { type = stability value = -2 }
        command = { type = revolt which = 306 }
        command = { type = revolt which = 1938 }
        command = { type = domestic which = serfdom value = -1 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = MIL which = -1 value = 36 }
    }
}

#The gift to Frederik.#
event = {
    id = 159021
    trigger = {
        exists = SHL
        NOT = {
            vassal = {
                country = DAN
                country = SHL
            }
        }
	NOT = {
	    event = 159019 #Danish event: The defeat at Ditmarsken. #1
	}
	NOT = {
	    event = 159020 #Danish event: The defeat at Ditmarsken. #2
	}
    }
    random = no
    country = DAN
    name = "Подарок Фредерику"
    desc = "После своей победы в Стокгольме, король Ганс датский отдал часть армии своему брату Фредерику. Фредерик всегда хотел управлять частью королевства Ганса, которое, конечно, не было рассчитано на него. Поэтому чтобы успокоить своего брата короля Ганса, решил помочь ему завоевать Гольштейн.  Это завоевание должно было пройти успешно, но в сражении против крестьян республики Дитмарскен, армия Ганса потерпела поражение."
    style = 2
    date = { day = 1 month = january year = 1501 }
    offset = 90
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Фредерик лучший из лучших"
        command = { type = stability value = -1 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = MIL which = -1 value = 36 }
        command = { type = vassal which = SHL }
        command = { type = alliance which = SHL }
        command = { type = relation which = SHL value = 200 }
        command = { type = trigger which = 279002 } #Holstein event: The subjugation of Holstein.
    }
}
#Sweden declares itself independent.#
event = {
    id = 159022
    random = no
    country = DAN
    name = "Швеция объявляет себя независимой"
    desc = "9 августа 1501 король Ганс получил письмо, гласившее о независимости шведской знати. Он мобилизует флот и направляется в Стокгольм. Но ко времени его прибытия крепость Стокгольма уже взята под натиском мятежников и шведы захватили королеву Кристину в плен. На протяжении 7  месяцев, она с 1000-ым войском сдерживала врагов в заливе, но шведы прорвали оборону 3-мя днями раньше прибытия Ганса. Чтобы не рисковать жизнью Кристины, Ганс потребовал от шведов запрета пыток, поэтому он отвел войска в Данию. Кристина не была освобождена до 1503 года."
    style = 2

    #Triggered by the Swedish event: Hans defeated in Ditmarsken.

    action_a ={
        name = "Вести переговоры о выкупе Кристины"
        command = { type = stability value = 1 }
        command = { type = DIP which = 1 value = 36 }
        command = { type = relation which = SWE value = 25 }
        command = { type = trigger which = 291009 } #Swedish event: Denmark withdraws.
    }
    action_b ={
        name = "Использовать захват Кристины, как повод для начала войны"
        command = { type = stability value = -1 }
        command = { type = MIL which = 1 value = 36 }
        command = { type = DIP which = -1 value = 120 }
        command = { type = casusbelli which = SWE value = 36 }
    }
}

#Christine is released.#
event = {
    id = 159023
    trigger = {
        event = 291009 #Swedish event: Denmark withdraws.
    }
    random = no
    country = DAN
    name = "Освобождение Кристины."
    desc = "После долгих переговоров Кристину наконец освободили."
    style = 2

    #Can also by triggered by the Swedish event: Denmark withdraws.

    date = { day = 1 month = january year = 1503 }
    offset = 30
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Отлично"
        command = { type = stability value = 1 }
        command = { type = relation which = SWE value = 25 }
    }
}

#Christine is not going to be released.#
event = {
    id = 159024
    trigger = {
        event = 291009 #Swedish event: Denmark withdraws.
    }
    random = no
    country = DAN
    name = "Кристину не собираются освобождать"
    desc = "После долгих переговоров стало очевидно, что Кристину не кто не хочет освобождать."
    style = 2
    date = { day = 1 month = january year = 1503 }
    offset = 30
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Подумать о военых действиях"
        command = { type = casusbelli which = SWE value = 36 }
        command = { type = MIL which = 1 value = 36 }
        command = { type = relation which = SWE value = -25 }
    }
}

#Christine is executed!#
event = {
    id = 159025
    random = no
    country = DAN
    name = "Кристину не освобождают"
    desc = "Захват Кристины шведами, Стен Штюр использовал как давление на короля Ганса."
    style = 2

    #Triggered by the Swedish event: Denmark withdraws.

    action_a ={
        name = "Если она умрёт, мы отомстим за неё!"
        command = { type = stability value = -1 }
        command = { type = casusbelli which = SWE value = 60 }
        command = { type = MIL which = 2 value = 36 }
        command = { type = relation which = SWE value = -75 }
command = { type = galleys which = -1 value = 6 }
    }
}

#War has come.#
event = {
    id = 159026
    random = no
    country = DAN
    name = "Начало войны"
    desc = "Несмотря на тот факт, что Стен Штюр держал королеву Дании Кристину  в плену, датский король решил вести войну против Швеции."
    style = 2

    #Triggered by the Swedish event: War has come.

    action_a ={
        name = "Стен Штюр дорого за это заплатит!"
        command = { type = stability value = -3 }
        command = { type = revoltrisk which = 120 value = 1 }
        command = { type = casusbelli which = SWE value = 60 }
    }
}

#Christine is rescued.#
event = {
    id = 159027
    trigger = {
        event = 291009 #Swedish event: Denmark withdraws.
        control = {
            province = 254
            data = -1
        }
    }
    random = no
    country = DAN
    name = "Кристина спасена"
    desc = "Когда торжествующие датские войска вошли в Стокгольм, король Ганс имел  удовольствие вызволить свою жену Кристину из рук Швеции. Теперь Швеция не имела  больше над ним власть, и он дал чёткий сигнал остальной Европе, что этого короля в последующем ни кто не посмеет шантажировать."
    style = 2
    date = { day = 9 month = august year = 1501 }
    offset = 0
    deathdate = { day = 1 month = january year = 1513 }

    action_a ={
        name = "Наконец то Кристина снова с нами!"
        command = { type = stability value = 3 }
        command = { type = DIP which = 1 value = 60 }
        command = { type = MIL which = 1 value = 60 }
        command = { type = vp value = 25 }
    }
}

#Trial of Trolle.#
event = {
    id = 159028
    random = no
    country = DAN
    name = "Суд над Троллом"
    desc = "Густав Тролл, архиепископ Швеции, был сторонником союза. Он был один из более богатых людей в Швеции, и его замок имел стратегическое расположение между Стокгольмом и Бергслагеном, и мог таким образом в случае войны использоваться, для преграждения пути возможному вражескому подкреплению. В дополнение к этому, причиной борьбы между Стеном Штюром и Tроллом был вопрос земли и богатства, но несмотря на этого Стен Штюр не мог заручиться необходимой ему поддержкой для смещения Tролал. Так, когда Датская армия вошла в замок Tролла, он снабдил, их продовольствием, оружием и людскими ресурсами. В 1517 году шведский Рихсдаг решил сместить епископа с должности, снести его замок, даже, учитывая то, что это было в силах только Папы Римского. Кристиан II использовал это, как предлог для начала войны со Швецией и 1520 году отправил армию, под командованием Отто Крумпена, для завоевания Швеции."

    #Triggered by the Swedish event: Trial of Trolle.

    action_a ={
        name = "Швеция наша по справедливости!"
        command = { type = wakeleader which = 40000 } #Otto Krumpen
        command = { type = relation which = PAP value = 50 }
        command = { type = addcore which = 252 }
    }
}

#Trolle supports the Danish army.#
event = {
    id = 159029
    trigger = {
        event = 291011 #Swedish event: Trial of Trolle
        control = {
            province = 254
            data = -1
        }
        war = {
            country = SWE
            country = DAN
        }
    }
    random = no
    country = DAN
    name = "Тролл поддерживает датскую армию"
    desc = "Густав Тролл, архиепископ Швеции, был сторонником союза. Он был один из более богатых людей в Швеции, и его замок имел стратегическое расположение между Стокгольмом и Бергслагеном, и в случае войны, мог, таким образом, использоваться для преграждения пути возможному вражескому подкреплению. В дополнение к этому, причиной борьбы между Стеном Штюром и Tроллом был вопрос земли и богатства, но несмотря на это Стен Штюр не мог заручиться необходимой ему поддержкой для смещения Tролла. Так, когда Датская армия вошла в замок Tролла, он снабдил, их продовольствием, оружием и людскими ресурсами."
    style = 2
    date = { day = 1 month = january year = 1517 }
    offset = 0
    deathdate = { day = 1 month = january year = 1535 }

    action_a ={
        name = "Да здравствует архиеписком Тролл!"
        command = { type = cash value = 50 }
        command = { type = INF which = 254 value = 2000 }
        command = { type = CAv which = 254 value = 1000 }
        command = { type = manpower value = 5 }
    }
}

#Battle of Еsunden.#
event = {
    id = 159030
    trigger = {
        atwar = no
        exists = SWE
        event = 159028 #Danish event: Trial of Trolle.
	OR = {
		monarch = 1224   ###Danish Monarch
		monarch = 06356
	}
        owned = {
            province = 252
            data = -1
        }
        NOT = {
            vassal = {
                country = DAN
                country = SWE
            }
        }
    }
    random = no
    country = DAN
    name = "Битва под Эсунденом"
    desc = " При зимнем сражение у Эсундена, Кристиан II нанёс поражение шведской армии, под командованием Стена Штюра, в котором Штюр был смертельно ранен в битве и вскоре умер. В течении нескольких следующих месяцев большая часть Швеции оказалась в руках короля Кристиана II. Он добился своей коронации на шведский трон в обмен на возвращение знати из завоеванных земель."
    style = 2

    date = { day = 20 month = january year = 1520 }
    offset = 0
    deathdate = { day = 31 month = december year = 1530 }

    action_a = {
        name = "Я буду править Швецией!"
        command = { type = vassal which = SWE }
        command = { type = alliance which = SWE }
        command = { type = relation which = SWE value = 400 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = domestic which = centralization value = 1 }
     command = { type = secedeprovince which = SWE value = 252 }
        command = { type = secedeprovince which = SWE value = 253 }
        command = { type = secedeprovince which = SWE value = 254 }
        command = { type = secedeprovince which = SWE value = 257 }
        command = { type = secedeprovince which = SWE value = 923 }
        command = { type = secedeprovince which = SWE value = 341 }
        command = { type = secedeprovince which = SWE value = 260 }
        command = { type = secedeprovince which = SWE value = 263 }
        command = { type = secedeprovince which = SWE value = 342 }
        command = { type = secedeprovince which = SWE value = 273 }
        command = { type = secedeprovince which = SWE value = 264 }
        command = { type = secedeprovince which = SWE value = 265 }
 command = { type = secedeprovince which = SWE value = 837 }
        command = { type = trigger which = 291012 } #Swedish event: Battle of Еsunden.
    }
    action_b = { #New option to provide the player a way out
	name = "Корона должна удержать Швецию"
        command = { type = stability value = -3 }
        command = { type = vassal which = SWE }
        command = { type = domestic which = aristocracy value = -1 }
        command = { type = domestic which = centralization value = -1 }
            command = { type = revolt which = 252 }
        command = { type = revolt which = 253 }
        command = { type = revolt which = 254 }
        command = { type = revolt which = 257 }
        command = { type = revolt which = 923 }
        command = { type = revolt which = 260 }
        command = { type = revolt which = 341 }
        command = { type = revolt which = 263 }
        command = { type = revolt which = 342 }
        command = { type = revolt which = 273 }
        command = { type = revolt which = 264 }
        command = { type = revolt which = 265 }
command = { type = revolt which = 252 }
        command = { type = revolt which = 253 }
        command = { type = revolt which = 254 }
        command = { type = revolt which = 257 }
        command = { type = revolt which = 923 }
        command = { type = revolt which = 260 }
        command = { type = revolt which = 341 }
        command = { type = revolt which = 263 }
        command = { type = revolt which = 342 }
        command = { type = revolt which = 273 }
        command = { type = revolt which = 264 }
        command = { type = revolt which = 265 }
command = { type = revolt which = 837 }
command = { type = revolt which = 837 }
    }
}

#The Stockholmian Massacre.#
event = {
    id = 159031
    trigger = {
        atwar = no
        event = 159028 #Danish event: Trial of Trolle.
        vassal = {
            country = DAN
            country = SWE
        }
    }
    random = no
    country = DAN
    name = "Стокгольмская резня"
    desc = "4 ноября 1520 года Кристиан II был коронован как король Швеции, он пообещал амнистию всем своим недругам и противникам, пригласив их на праздник по случаю своей коронации. внезапно, 7 ноября, король вызвал знать в большой зал дворца и обвинил их в ереси и заговоре против Истинной Церкви. Причиной этого обвинения послужила отставка Тролла. Тролл сам потребовал выплаты за разрушение замка и свою отставку. Вдова Стена Штюра, Кристиана Гиленстиерна, однако совершила большую ошибку, показав королю Кристиану список имен, тех людей, которые подписались за отставку Тролла. Кристиан воспользовался этой возможностью и объявил всех еретиками и врагами церкви, за исключением Ганса Браска и епископа Скара. Несколько дней спустя, начались казни, было установлено, что в Стокгольме казнили 60-90 представителей знати и большую часть бюргеров (сеньоров) и священников."
    style = 2
    
    date = { day = 4 month = november year = 1520 }
    offset = 0
    deathdate = { day = 31 month = december year = 1530 }

    action_a ={
        name = "Казнить этих придателей-еретиков!"
        command = { type = stability value = -2 }
        command = { type = domestic which = aristocracy value = -1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = domestic which = innovative value = -1 }
        command = { type = relation which = PAP value = 100 }
        command = { type = relation which = SWE value = -200 }
        command = { type = removecore which = 252 }
        command = { type = trigger which = 291013 } #Swedish event: The Stockholmian Massacre.
    }
    action_b ={
        name = "Позвольте нам потребовать только придателей сместивших Тролла"
        command = { type = stability value = -1 }
        command = { type = relation which = PAP value = 75 }
        command = { type = relation which = SWE value = -100 }
        command = { type = removecore which = 252 }
    }
    action_c ={
        name = "Заплатить Троллу из государственного фонда"
        command = { type = treasury value = -200 }
        command = { type = relation which = PAP value = 50 }
        command = { type = removecore which = 252 }
        command = { type = sleepevent which = 3219 } #Swedish event: End of the Kalmar Union
    }
}

#Christian of Oldenburg is elected King of Denmark.#
event = {
    id = 159032
    trigger = {
        exists = OLD
    }
    random = no
    country = DAN
    name = "Кристиан Ольденбургский избран королём Дании "
    desc = " Когда Кристофер III умер без наследников в 1448, Ригсрад - датский совет знати, сначала выбрал Адольфа VIII канцлера Гольштейна. Но так как он был стар и бездетен, он предложил корону своему племяннику, Кристиану Оденбургскому, и Рисград- согласился. Кристиан принял предложение и занял датский и норвежский трон. Он оставил графство Ольденбург своему младшему брату Герхарду. Олденбургскому. Династия Ольдебургов осталась на датском троне до 1863 года."
    style = 1
    date = { day = 6 month = january year = 1448 }
    offset = 0
    deathdate = { day = 1 month = january year = 1481 }

    action_a = {
        name = "Управляйте Ольденбургом как частью Священной Римской Империи через Герхарда"
	command = { type = vassal which = OLD }
        command = { type = alliance which = OLD }
        command = { type = relation which = OLD value = 200 }
        command = { type = relation which = SHL value = 50 }
        ###command = { type = add_countryculture which = german } #edited by mnor, after Committee decision
        command = { type = trigger which = 247000 } #Oldenburg event: Christian of Oldenburg is elected King of Denmark. #1
    }
    action_b = {
        name = "Присоединить Ольденбург к Дании"
        ###command = { type = add_countryculture which = german } #edited by mnor, after Committee decision
        command = { type = relation which = HAB value = -100 }
        command = { type = relation which = BRE value = -50 }
        command = { type = relation which = MEC value = -25 }
        command = { type = relation which = POM value = -25 }
command = { type = relation which = HSA value = -25 }
        command = { type = trigger which = 247001 } #Oldenburg event: Christian of Oldenburg is elected King of Denmark. #2
             }
}

#Oldenburg is incorporated into Denmark.#
event = {
    id = 159033
    random = no
    country = DAN
    name = "Ольденбург вошёл в состав Дании "
    desc = "Знать в Ольденбурге приняла предложение Кристиана о передаче герцогства Ольденбург Дании."
    style = 1

    #Triggered by the Oldenburg event: Christian of Oldenburg is elected King of Denmark. #2

    action_a = {
        name = "Отлично!"
        command = { type = inherit which = OLD }
        command = { type = domestic which = centralization value = -1 }
        
    }
}
#Denmark inherits Holstein.#
event = {
    id = 159034
    random = no
    country = DAN
    name = "Дания унаследовала Гольштейн"
    desc = "Как и ожидалось Адольф VIII , герцог в Шлезвиге и в Гольштейне, умер бездетным в 1459 году. Самый близкий его родственник был племянник Кристиан Ольденбург. Он стал королём Дании в 1448. Кристиан был объявлен герцогом Шлезвигским и Гольштейнским. Он дал клятву, что его земли навсегда останутся неделимыми и, предоставил привилегии имениям в уставе, который был подписан 5 марта 1460 года в Рибене."
    style = 1

    #Triggered by the Holstein event: Death of the last Schauenburg.

    action_a = {
        name = "Унаследовать Шлезвиг и Гольштейн"
        command = { type = inherit which = SHL }
        command = { type = addcore which = 1938 }
        command = { type = domestic which = centralization value = -1 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = stability value = 1 }
    }
}

#Christian of Oldenburg is elected Duke of Schleswig and Count of Holstein.#
event = {
       id = 159035
       random = no
       country = DAN
       name = "Кристиан избран герцогом Шлезвига и Гольштейна"
       desc = "Как и ожидалось Адольф VIII ,герцог  Шлезвигский умер бездетным в 1459 году. Самый близкий его родственник был племянник Кристиан Ольденбургский. Он стал королем Дании в 1448. Кристиан был объявлен Герцогом Шлезвигским и владыкой Гольштейна. Он дал клятву, что его земли навсегда останутся неделимыми и, предоставил привилегии имениям в уставе, который был подписан 5 марта 1460 года в Рибене. Он также гарантировал, что обе территории будут управляться независимо от Дании."
       style = 1

       action_a = {
        name = "Принять соглашение"
        command = { type = vassal which = SHL }
        command = { type = alliance which = SHL }
        command = { type = relation which = SHL value = 200 }
    }
}

event = {
    id = 159036
    random = no
    country = DAN
    name = "Швеция останется в Кальмарской унии"
    desc = "Когда Густав Ваза попытался занять трон Швеции и вывести страну из Кальмарской унии, он встретил сопротивление шведской знати. В результате Швеция полностью поддержала Кальмарскую унию. Это дало возможность королю Кристиану  объявить союз единым и вовлечь Швецию в другие соглашения. Однако этот шаг повлек за собой беспокойство, как остальных стран союза, так и саму Швецию. Знать не хотела делить власть с новым королем, что означало бы потерю независимости Швеции как страны."
    style = 2

    #Triggered by the Swedish event: End of the Kalmar Union.

    action_a = {
        name = "Швеция должна стать нашей"
        command = { type = trigger which = 291014 } #Swedish event: Centralization of the Kalmar Union.
    }
    action_b = {
        name = "Позволить Швеции остаться"
        command = { type = stability value = 2 }
        command = { type = relation which = SWE value = 200 }
    }
}

event = {
    id = 159037
    random = no
    country = DAN
    name = "Централизация Кальмарско унии"
    desc = "Централизация Кальмарской унии под управлением Кристиана II породила внутренние конфликты. Но, в конце концов, союз был снова прочно объединен. Экспансия на датской территории также привела к необходимому сокращению правящей знати, и ослаблению ее мощи, поскольку знать в ее большом количестве испытывала недостаток в единстве."
    style = 2

    #Triggered by the Swedish event: End of the Kalmar Union.

    action_a = {
        name = "Отлично!"
        command = { type = inherit which = SWE }
        command = { type = stability value = -2 }
        command = { type = revoltrisk which = 120 value = 3 }
        command = { type = domestic which = centralization value = -2 }
        command = { type = domestic which = aristocracy value = -1 }
        command = { type = relation which = SHL value = -100}
        command = { type = relation which = NVG value = -100}
        command = { type = relation which = ENG value = -50}
        command = { type = relation which = OLD value = -50}
        command = { type = relation which = HSA value = -50}
        command = { type = relation which = POM value = -50}
        command = { type = relation which = BRE value = -50}
        command = { type = relation which = PSK value = -50}
        command = { type = relation which = LAT value = -50}
        command = { type = relation which = LIV value = -50}
        command = { type = relation which = KUR value = -50}
        command = { type = relation which = KOL value = -25}
    }
}

event = {
    id = 159038
    trigger = {
        owned = {
            province = 254
            data = DAN
        }
        owned = {
            province = 255
            data = DAN
        }
        NOT = {
            exists = SWE
        }
        NOT = {
            exists = NOR
        }
        NOT = {
		core = { province = 254 data = -1 }
	  }
        core = {
            province = 255
            data = DAN
        }
    }
    random = no
    country = DAN
    name = "Судьба Кальмарской унии"
    desc = "Наконец вся Кальмарская уния был под прямым управлением датской короны. И пришло время для решения судьбы старого союза."   
    
    date = { day = 1 month = january year = 1419 }
    offset = 0
    deathdate = { day = 31 month = december year = 1600 }

    action_a = {
        name = "Поддержать старый союз"
        command = { type = stability value = 2 }
        command = { type = domestic which = innovative value = -1 }
    }
    action_b = {
        name = "Расторгнуть союз"
        command = { type = stability value = -6 }
        command = { type = revoltrisk which = 120 value = 3 }
        command = { type = badboy value = 5 }
        command = { type = domestic which = aristocracy value = -2 }
        command = { type = domestic which = centralization value = 2 }
        command = { type = domestic which = innovative value = 1 }
      command = { type = addcore which = 252 }
        command = { type = addcore which = 253 }
        command = { type = addcore which = 254 }
        command = { type = addcore which = 257 }
        command = { type = addcore which = 923 }
        command = { type = addcore which = 260 }
        command = { type = addcore which = 341 }
        command = { type = addcore which = 263 }
        command = { type = addcore which = 342 }
        command = { type = addcore which = 273 }
        command = { type = addcore which = 264 }
        command = { type = addcore which = 265 }
command = { type = addcore which = 837 }
    }
}
#Danish events
#Ideas by Ryan, scripted by Twoflower

#University of Copenhagen
event = {
        id = 159115
        random = no
        country = DAN
        name = "Строительство Датского университета"
        desc = "B 1475 году римский папа Сикст IV одобрил просьбу Кристиана на строительство Датского университета и 4 года спустя (в 1479 году) копенгагенский университет был открыт. Как большинство университетов конца средневековья, он содержал 4 классические науки: теологию, философию, медицину и право."
         style = 1
         
         date = { day = 1 month = january year = 1479 }
         offset = 300
         
         action_a = {
                       name = "Основать университет"  
                       command = { type = domestic which = innovative value = 1 }
                       command = { type = infra value = 100 }
                       command = { type = treasury value = -50 }
                       command = { type = relation which = PAP value = 20 }
                          }
         action_b = {
                      name = "Не делать этого"
                      command = { type = vp value = -5 }
                          }
}
#Grain monopoly
event = {
         id = 159117
         trigger = { OR = { owned = { province = 255 data = -1 } #Шstlandet
                            owned = { province = 256 data = -1 } #Bergenshus
                            owned = { province = 258 data = -1 } #Trшndelag
                              } #Denmark owns one of the three most important Norvegian provinces
                      NOT = { exists = NOR }
                      }
         random = no
         country = DAN
         name = "Монополия на зерно"
         desc = "6 сентября в 1735 году король КристианVI запретил ввоз заграничного зерна в Данию и южную Норвегию. Этот запрет гарантировал датским фермерам постоянный доступ на рынок, где они могли распродать свою продукцию по разумным ценам, перевели Норвегию в состоянии зависимости от Датского зерна."
           style = 4
           
           date = { day = 16 month = september year = 1735 }
           offset = 0
           
           action_a = {
                        name = "Создать монополию на зерно"
                        command = { type = domestic which = mercantilism value = 2 } 
                        command = { type = domestic which = centralization value = 1 }
                        command = { type = provincetax which = -2 value = 3 }
                        command = { type = trade value = -500 }
                           }
           action_b = {
                         name = "Она нам не нужна"
                         command = { type = domestic which = mercantilism value = -1 }
                            }
}

#More Danish events
#by Ryan
#Ludvig Holberg (Denmark)
event = {
        id = 159118
       trigger = {
                  owned = { province = 256 data = -1 }
                  NOT = { exists = NOR }
                     }
       random = no
       country = DAN
       name = " Людвирг Хольберг"
       desc = "В начале XVIII века французское посвещение и английский рационализм стали влиять на скандинавские литературные круги, и сатира стала модной. Первым приверженцем этой новой школы мысли в Скандинавии был уроженец Норвегии, драматург, поэт, историк, философ и ученый Людвирг Хольберг, чьи радостные и остроумные работы оказали огромное влияние на большинство скандинавских писателей следующих поколений. Хольберг можно назвать отцом современной Норвежской и Датской литературы." 
       style = 4
       date = { day = 1 month = january year = 1722 }
       offset = 900
       deathdate = { day = 28 month = january year = 1754 }
       
        action_a = {
                      name = "Превосходно!"

                      command = { type = infra value = 600 }

                         }
}
#The Great Fire in Copenhagen
event = {
        id = 159119
       trigger = {
                  owned = { province = 307 data = -1 }
                     }
       random = no
       country = DAN
       name = "Страшный пожар в Копенгагене"
       desc = "21 октября 1728 года в силу форс-мажорных обстоятельств возник сильный пожар в Коппенгагине. Пожар начался в маленькой мансарде и его легко можно было остановить, если бы пожарная бригада не напивалась бы в то время, как боролись с пожаром. То, что было небольшим пламенем, превратилось в пылающий ад, неистовствующий более 60 часов.  После того как пламя погасло и дым рассеялся, оказалось, что гуманитарный ущерб был сравнительно невелик, в то время как административный был ужасающим: весь городской архив (включая университетские работы) пропал в огне, наряду с административной картотекой из старой столицы Роскилд, которой Копенгаген позаимствовал в тот день!" 
       style = 4
       date = { day = 23 month = october year = 1728 }
       offset = 0
       
        action_a = {
                      name = "Это бедствие!"
                      command = { type = infra value = -1000 }
		      command = { type = population which = -2 value = -500 }
		      command = { type = provincetax which = -2 value = -1 }
			  }
}
#End of Pietism
event = {
        id = 159120
       random = no
       country = DAN
       name = "Конец пиетизма"
       date = { day = 1 month = january year = 1780 }
       offset = 3000
       desc = " К концу века пиетизм Дании и Норвегии медленно и незаметно ушел из государственной сферы. Театры, симфонии и прочие светские развлечения, которые прежде были запрещены, вновь возвратились, чтобы украсить повседневную жизнь, и наука снова обрела свободу."
       style = 4

        action_a = {
                      name = "Как изменилось время..."
                      command = { type = domestic which = INNOVATIVE value = 1 }
		      }
}
#Containing Russia (Denmark)
event = {
        id = 159121
       trigger = {
                  control  = { province = 276 data = RUS }
                  control  = { province = 1326 data = RUS }
		  control  = { province = 275 data = RUS }
                     }
       random = no
       country = DAN
       name = "Содержание  России"
       desc = "Смерть короля Швеции Карла XII обозначила конец в последнем великом межскандинавском конфликте. В этот период эти две страны пришли к соглашению оставить многовековую вражду позади и вместо этого сфокусироваться на содержание новой европейской сверхдержавы, экспансионистской России, управляемой царем Петром Великим." 
       style = 4
       date = { day = 1 month = january year = 1721 }
       offset = 200
       
        action_a = {
                      name = "Про-шведская"

                      command = { type = relation which = SWE value = 100 }
                         }
        action_b = {
                      name = "Не занимать не какой определённой позиции"

                      command = { type = relation   which = DAN value = -25 }
                      command = { type = relation   which = RUS value = 25 }
                         }

        action_c = {
                      name = "Про-русская"

                      command = { type = relation   which = RUS value = 100 }
                         }
}
#Lands of the House Gottorp (Denmark)
event = {
        id = 159122
       trigger = {
                  control  = { province = 306 data = DAN }
                     }
       random = no
       country = DAN
       name = "Страны династии Готторп "
       desc = "В 1721году старания Датской политики приобретение небольших независимых земель династии Готторп в Гольштейне наконец завершились успехом и эти земли были мирно объединены с Данией."
       style = 4
       date = { day = 20 month = january year = 1721 }
       offset = 200
       
        action_a = {
                      name = "Отпразновать!"
                      
                      command = { type = population which = 306 value = 5000 }
                      command = { type = provincetax which = 306 value = 1 }
                 }
}


#####Denmark Flavor Events######
#By Henrik 'Doomdark' Fеhraeus#
###############################

#Tycho Brahe.#
event = {
	id = 5080
	random = no
	country = DAN
	name = "EVENTNAME5080"
	desc = "EVENTHIST5080"
	style = 2
	date = { day = 1 month = january year = 1576 }

	action_a ={				#Ok#
		name = "ACTIONNAME5080A"
		command = { type = domestic which = INNOVATIVE value = 1 }
	}
}

# Ids free to 5099


###Danish India sequence###

#The Danish and Trankebar
event = {
	id = 338553
	random = no
	province = 1966 #Trankebar
	name = "Датчане и Транкебар"
	desc = "В 1616 году, датчане предложили купить землю в Транкебарском регионе, тем самым сформировав торговый пост на берегу Бенгальского залива. Нация, которой принадлежит эта область, не смогла отказаться от столь внушительной платы."
	style = 3
	action_a ={	
		name = "Поощрить датчан на строительство торгового поста"
		command = { type = trigger which = 170700 }  
		command = { type = trade value = 200 }
		command = { type = relation which = DAN value = 50 }
		command = { type = secedeprovince which = DAN value = 1966 } 
	}
	action_b ={
		name = "Мы не хотим видеть датчан своими соседями!"
		command = { type = relation which = DAN value = -50 } 
		command = { type = trade value = -100 }
	}
}

#Expansion in Trankebar
event = {
	id = 170700
	random = no
	country = DAN
	name = "Расширение земель в Транкебаре"
	desc = "В 1616 году, правитель маленькой рыбацкой деревушки Транкебар, пригласил датчан создать свой торговый центр."
	style = 3
	action_a ={	
		name = "Мы привествуем шанс расшириться"
		command = { type = provincetax which = 1966 value = 2 }
	}
}