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

#Rejection of Greenland 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 = 2 }
		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 = 1466 value = -1 }
		command = { type = provincetax which = 309 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 = 2 }
		command = { type = stability value = -2 }
		command = { type = relation which = ENG value = -50 }
		command = { type = warships which = -2 value = 5 }
		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 = -2 }
		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 = 2 }
		command = { type = provincetax which = 307 value = 2 }
		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 = warships which = -2 value = 5 }
		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 = 261 data = -1 }
			owned = { province = 381 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 = 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 = 261 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 = 261 value = -6 }
		command = { type = province_revoltrisk which = 381 value = -6 }
		command = { type = stability value = 1 }
	}
}
