##############################
### Bonus events by Korall ###
##############################


event = {

	id = 5036
	trigger = {
		NOT = { flag = e5036 }
		owned = { province = 274 data = -1 } # Новгород
		NOT = {
			core = { province = 266 data = SWE }
			core = { province = 275 data = SWE }
		}
	}
	random = no
	country = SWE
	name = "Захват Новгорода"
	desc = "Завоевание Новгородского княжества существенно укрепило Швецию и поставило на грань поражения Москву."
	style = 1

	date = { day = 1 month = january year = 1419 }
	offset = 15
	deathdate = { day = 1 month = january year = 1801 }

	action_a ={				
		name = "Отомстить за поражения!"
		command = { type = provincereligion which = 274 value = catholic }
                command = { type = provinceculture which = 274 value = ugric }  
		command = { type = population which = 274 value = -15000 } 
                command = { type = revolt which = 274 } 
		command = { type = addcore which = 266 }
		command = { type = addcore which = 275 }
                command = { type = stability value = 2 }
                command = { type = provincemanpower which = -2 value = -2 } 
		command = { type = setflag which = e5036 }
	}
}

event = {

	id = 5037
	trigger = {
		NOT = { flag = e5037 }
		owned = { province = 307 data = -1 } # Копенгаген
                        NOT = { exists = DAN 
                                exists = NOR }
		NOT = {
			core = { province = 255 data = SWE }
		}
	}
	random = no
	country = SWE
	name = "Захват Копенгагена"
	desc = "Единая Скандинавия, образовавшаяся под флагом Швеции, сделало эту державу северным монолитом, недоступном для врагов."
	style = 1

	date = { day = 1 month = january year = 1419 }
	offset = 15
	deathdate = { day = 1 month = january year = 1801 }

	action_a ={				
		name = "Ура!"
		command = { type = badboy value = -5 }
                command = { type = provincemanpower which = -2 value = -3 } 
		command = { type = addcore which = 255 }
		command = { type = addcore which = 256 }
		command = { type = addcore which = 258 }
		command = { type = addcore which = 259 }
		command = { type = addcore which = 261 }
		command = { type = addcore which = 381 }
                command = { type = addcore which = 1537 }
		command = { type = addcore which = 1538 }
		command = { type = addcore which = 251 }
		command = { type = addcore which = 308 }
                command = { type = stability value = 2 }
                command = { type = warships which = -1 value = 5 }
		command = { type = setflag which = e5037 }
	}
}

######################################################
### Historical events by Devol (edited by Dmitriy) ###
######################################################


event = {
	id = 76638
	random = no
	country = SWE
	name = "Запрет на торговлю с Винландом"
	desc = "Король Дании, Швеции и Норвегии Эрик подтвердил монополию короны на торговлю с Гренландией и Винландом. Своим указом он запретил шведским купцам совершать самостоятельные плавания в Винланд и гренландские колонии. В Швеции такое решение короля вызвало острое недовольство в ее торговых кругах, что привело к росту антидатских настроений в стране."
	style = 1

	date = { day = 1 month = february year = 1428 }
	offset = 300
	deathdate = { day = 30 month = november year = 1428 }

	action_a ={
		name = "Согласимся с королём"
		command = { type = provincetax which = 253 value = -1 }
		command = { type = provincetax which = 252 value = -1 }
		command = { type = stability value = 1 }
		command = { type = relation which = DAN value = 50 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = domestic which = serfdom value = 1 }
	}
	action_b ={
		name = "Плюнем на Эрика!"
		command = { type = provincetax which = 253 value = 1 }
		command = { type = provincetax which = 252 value = 1 }
		command = { type = stability value = -2 }
		command = { type = relation which = DAN value = -100 }
		command = { type = warships which = -2 value = 5 }
		command = { type = transports which = -2 value = 2 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = domestic which = serfdom value = -1 }
	}
	action_c ={
		name = "Будем плавать тайно"
		command = { type = provincetax which = 253 value = 1 }
		command = { type = provincetax which = 252 value = 1 }
		command = { type = stability value = 1 }
		command = { type = relation which = DAN value = -50 }
		command = { type = transports which = -2 value = 5 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = naval value = 250 }
	}
}

event = {
	id = 76639
	random = no
	country = SWE
	name = "Претензии на корону Норвегии"
	desc = "Пришедший к власти в 1448 году король Швеции Карл VII заявил о своих претензиях на трон Норвегии. Он также попытался силой присоединить к Швеции норвежскую область Емталанд, которую шведы считали исконно своей. Эти претензии вызвали начало войны с Данией, которая управляла Норвегией. В результате этой войны шведы в 1456 году потерпели поражение, а Карл VII был свержен с трона."
	style = 1

	date = { day = 15 month = june year = 1448 }
	offset = 60
	deathdate = { day = 15 month = august year = 1448 }

	action_a ={
		name = "Предъявим претензии"
		command = { type = stability value = -2 }
		command = { type = casusbelli which = NOR value = 210 }
		command = { type = casusbelli which = DAN value = 210 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = colonists value = 2 }
		command = { type = treasury value = 200 }
		command = { type = relation which = DAN value = -100 }
		command = { type = relation which = NOR value = -150 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = revolt which = 257 }
	}
	action_b ={
		name = "Вернём себе Емталанд!"
		command = { type = stability value = -2 }
		command = { type = war which = DAN }
		command = { type = war which = NOR }
		command = { type = INF which = -2 value = 5000 }
		command = { type = treasury value = -200 }
		command = { type = addcore which = 381 }
		command = { type = revoltrisk which = 12 value = 6 }
		command = { type = relation which = DAN value = -75 }
		command = { type = relation which = NOR value = -150 }
		command = { type = domestic which = serfdom value = 1 }
	}
	action_c ={
		name = "Нам не нужна чужая земля"
		command = { type = stability value = 1 }
		command = { type = fortress which = 257 value = 1 }
		command = { type = colonists value = 1 }
		command = { type = merchants value = 2 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = treasury value = 100 }
		command = { type = relation which = DAN value = 75 }
		command = { type = relation which = NOR value = 75 }
	}
}

event = {
	id = 76640
	random = no
	country = SWE
	name = "Создание университета в Уппсале"
	desc = "В 1477 году в древней шведской столице Уппсале при содействии правителя страны Стена Стуре Старшего был открыт первый в Швеции университет. Это стало свидетельством растущей экономической мощи страны и ее политического влияния в Скандинавии."
	style = 1

	date = { day = 1 month = july year = 1477 }
	offset = 30
	deathdate = { day = 1 month = august year = 1477 }

	action_a ={
		name = "Нам нужен свой университет!"
		command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = treasury value = -500 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
	}
	action_b ={
		name = "Обойдёмся без учёных"#Я тут поменял кой чего, а то странно смотрелось; ничего?#
		command = { type = domestic which = innovative value = -2 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 300 }
		command = { type = naval value = 250 }
		command = { type = land value = 250 }
	}
}

event = {
	id = 76641
	random = no
	country = SWE
	name = "Регулярный риксдаг"
	desc = "В конце XV века шведский сословный парламент - рискдаг, стал собираться на регулярной основе. Правители страны из династии Стуре таким образом могли опираться на поддержку дворянства, купечества и зажиточных горожан в своей борьбе против притязаний Дании на шведские земли. Благодаря риксдагу правители Швеции получали возможность собирать дополнительные денежные средства для ведения боевых действий. Так, в 1493 году риксдаг одобрил начало войны с Данией и выделил на это деньги."
	style = 1

	date = { day = 1 month = august year = 1493 }
	offset = 30
	deathdate = { day = 30 month = august year = 1493 }

	action_a ={
		name = "Мы заинтересованы в существовании риксдага"
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = serfdom value = -1 }
		command = { type = war which = DAN }
		command = { type = treasury value = 100 }
		command = { type = merchants value = 2 }
	}
	action_b ={
		name = "Переживём и без парламента"
		command = { type = stability value = -2 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = treasury value = -100 }
		command = { type = colonists value = 2 }
	}
}

event = {
	id = 76642
	random = no
	country = SWE
	name = "Битва при Брукенберге"
	desc = "В начале 70-х годов XV века Дания предприняла одну из последних,
масштабных попыток удержать Швецию под своей властью. Весной 1471 года
войско датских рыцарей во главе с королем Дании и Норвегии Кристианом I
высадилось неподалеку от Стокгольма и попыталось сходу захватить шведскую
столицу. Шведское ополчение, состоящее в основном из крестьян, горожан и
небогатых дворян встретило датскую армию на поле у Брукенберга и наголову ее
разгромило. Командующий шведской армией регент Стен Стуре Старший после этой
победы стал национальным героем страны, которая стала де-факто независимой
от власти датской короны."
	style = 1

	date = { day = 3 month = june year = 1471 }
	offset = 0

	action_a ={
		name = "Отпразднуем!"
		command = { type = ADM which = 1 value = 24 }
		command = { type = MIL which = 1 value = 24 }
		command = { type = stability value = 2 }
		command = { type = relation which = DAN value = 100 }
	}
}

event = {

	id = 5115
	random = no
	country = SWE
	name = "Великие реформы армии и флота"
	desc = "Наша держава должна определиться в своёи развитии - мы можем сделать акцент на армию и силу войска, либо на флот, торговлю и колонизацию."
	style = 1
	
	date = { day = 1 month = january year = 1429 }
	offset = 0
	deathdate = { day = 2 month = january year = 1429 }

	action_a ={				
		name = "Большие инвестиции в армию"
		command = { type = treasury value = -500 }
		command = { type = land value = 500 }
                command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = LAND value = 2 }
                command = { type = domestic which = SERFDOM value = 1 } 
		command = { type = infantry which = -2 value = 5000 }
		command = { type = cavalry which = -2 value = 2000 }
                command = { type = naval value = -250 }
	}
        action_b ={				
		name = "Местная военная реформа"
		command = { type = treasury value = -50 }
            	command = { type = domestic which = LAND value = 1 }
            	command = { type = infantry which = -2 value = 2000 }
		command = { type = cavalry which = -2 value = 1000 }
	}
        action_c ={				
		name = "Местная морская реформа"
		command = { type = treasury value = -50 }
            	command = { type = domestic which = LAND value = -1 }
            	command = { type = warships which = -2 value = 1 }
		command = { type = galleys which = -2 value = 1 }
	}
	action_d ={
		name = "Большие инвестиции во флот"
		command = { type = domestic which = LAND value = -2 }
		command = { type = domestic which = mercantilism value = -1 }
                command = { type = treasury value = -300 }
                command = { type = naval value = 500 } 
                command = { type = warships which = -2 value = 2 }
		command = { type = transports which = -2 value = 1 }
		command = { type = galleys which = -2 value = 2 }
                command = { type = land value = -250 }
	}
}