##### Great events #####


event = {

	id = 5013
	trigger = {
		NOT = { flag = e5013 }
		owned = { province = 306 data = -1 } # Гольштиния
                owned = { province = 305 data = -1 } # Мекленбург
                owned = { province = 311 data = -1 } # Магдебург
                owned = { province = 336 data = -1 } # Бремен
                owned = { province = 310 data = -1 } # Ганновер
                owned = { province = 252 data = -1 } # Эстергетланд
                owned = { province = 253 data = -1 } # Вестерётланд
                owned = { province = 254 data = -1 } # Швеция
                owned = { province = 255 data = -1 } # Норвегия
                owned = { province = 256 data = -1 } # Хураланн
                owned = { province = 257 data = -1 } # Бергслаген
                owned = { province = 262 data = -1 } # Кола
                owned = { province = 263 data = -1 } # Эстерботтен
                owned = { province = 264 data = -1 } # Тавастланд
                owned = { province = 265 data = -1 } # Ниланд
                owned = { province = 266 data = -1 } # Кексгольм
                owned = { province = 267 data = -1 } # Олонец
                owned = { province = 269 data = -1 } # Архангельск
                owned = { province = 273 data = -1 } # Саволакс
                owned = { province = 275 data = -1 } # Ингерманландия
                owned = { province = 276 data = -1 } # Эстляндия
                owned = { province = 341 data = -1 } # Вестеботтен
                owned = { province = 342 data = -1 } # Финляндия
                owned = { province = 304 data = -1 } # Западная Поммерания
                owned = { province = 312 data = -1 } # Бранденбург
		NOT = {
			core = { province = 336 data = DAN }
		}
	}
	random = no
	country = DAN
	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 = addcore which = 336 } # Бремен
		command = { type = stability value = 3 }
                command = { type = infra value = 1000 }
                command = { type = land value = 1500 }
                command = { type = naval value = 500 }
                command = { type = trade value = 500 } 
		command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = gainbuilding which = -1 value = barrack }
                command = { type = treasury value = 300 }
                command = { type = provincetax which = -2 value = 2 }  
                command = { type = provincetax which = -1 value = 1 }
                command = { type = provincemanpower which = -3 value = 2 }
                command = { type = provincemanpower which = -2 value = 4 }  
                command = { type = domestic which = Aristocracy value = 2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = LAND value = 2 }
                command = { type = domestic which = serfdom value = 2 }
                command = { type = domestic which = mercantilism value = -1 }
                command = { type = domestic which = INNOVATIVE value = -2 }
                command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
                command = { type = DIP which = 4 value = 240 }
                command = { type = INF which = -2 value = 15000 }
		command = { type = CAV which = -2 value = 8000 }
		command = { type = setflag which = e5013 }
	}
            action_b ={				
		name = "Пусть будет торговая империя"
		command = { type = addcore which = 336 } # Бремен
		command = { type = stability value = -2 }
                command = { type = infra value = 1000 }
                command = { type = land value = 500 }
                command = { type = trade value = 1500 }
                command = { type = naval value = 1000 } 
	        command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainmanufactory which = -1 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = cot which = -2 }
                command = { type = gainbuilding which = -2 value = shipyard }
                command = { type = treasury value = 400 }
                command = { type = provincetax which = -2 value = 2 }  
                command = { type = provincetax which = -1 value = 2 }
                command = { type = provincetax which = -1 value = 2 }  
                command = { type = provincetax which = -1 value = 1 } 
                command = { type = provincemanpower which = -3 value = 1 }
                command = { type = provincemanpower which = -2 value = 1 }  
                command = { type = domestic which = Aristocracy value = -3 }
	        command = { type = domestic which = centralization value = 2 }
	        command = { type = domestic which = LAND value = -3 }
                command = { type = domestic which = serfdom value = -1 }
                command = { type = domestic which = mercantilism value = 2 }
                command = { type = domestic which = INNOVATIVE value = 1 }
                command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
 	        command = { type = conversion which = -1 }
                command = { type = conversion which = -1 }
                command = { type = ADM which = 2 value = 240 }
                command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = galleys which = -1 value = 20 }
                command = { type = inflation value = -1 }
		command = { type = setflag which = e5013 }
	}
             action_c ={				
		name = "Пусть у всех будут равные права"
		command = { type = addcore which = 336 } # Бремен
		command = { type = stability value = -4 }
                command = { type = revoltrisk which = 60 value = 7 }
                command = { type = infra value = 1500 }
                command = { type = land value = 500 }
                command = { type = trade value = 1000 }
                command = { type = naval value = 500 } 
	        command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainmanufactory which = -1 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = gainbuilding which = -2 value = shipyard }
                command = { type = treasury value = 600 }
                command = { type = provincetax which = -2 value = 4 }  
                command = { type = provincetax which = -1 value = 3 }
                command = { type = provincetax which = -1 value = 3 }  
                command = { type = provincetax which = -1 value = 3 } 
                command = { type = provincemanpower which = -3 value = 3 }
                command = { type = provincemanpower which = -2 value = 5 }  
                command = { type = cot which = -2 }
                command = { type = domestic which = Aristocracy value = -5 }
	        command = { type = domestic which = centralization value = 3 }
	        command = { type = domestic which = LAND value = -2 }
                command = { type = domestic which = serfdom value = -5 }
                command = { type = domestic which = mercantilism value = 1 }
                command = { type = domestic which = INNOVATIVE value = 2 }
                command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
 	        command = { type = ADM which = 3 value = 240 }
                command = { type = DIP which = -4 value = 240 }
                command = { type = gainbuilding which = -2 value = courthouse }
                command = { type = gainbuilding which = -1 value = courthouse }
       	        command = { type = gainbuilding which = -1 value = courthouse }
                command = { type = inflation value = -1 }
		command = { type = setflag which = e5013 }
	}  
}




###############################
### Bonus event by Dmitriy  ###
###############################

event = {
	id = 5113
	trigger = {
		NOT = { event = 5113 }
		atwar = no
		owned = { province = 335 data = -1 }
		owned = { province = 334 data = -1 }
		owned = { province = 336 data = -1 }
		owned = { province = 310 data = -1 }
		owned = { province = 305 data = -1 }
		owned = { province = 306 data = -1 }
		owned = { province = 304 data = -1 }
		owned = { province = 302 data = -1 }
		owned = { province = 311 data = -1 }
		owned = { province = 312 data = -1 }
		owned = { province = 313 data = -1 }
		owned = { province = 344 data = -1 }
		owned = { province = 333 data = -1 }
		owned = { province = 343 data = -1 }
		owned = { province = 332 data = -1 }
		owned = { province = 331 data = -1 }
		owned = { province = 345 data = -1 }
		owned = { province = 346 data = -1 }
		owned = { province = 347 data = -1 }
		owned = { province = 330 data = -1 }
		owned = { province = 329 data = -1 }
		owned = { province = 314 data = -1 }
		owned = { province = 315 data = -1 }
		owned = { province = 328 data = -1 }
		owned = { province = 327 data = -1 }
		owned = { province = 348 data = -1 }
		owned = { province = 349 data = -1 }
		owned = { province = 372 data = -1 }
		owned = { province = 373 data = -1 }
		owned = { province = 375 data = -1 }
		owned = { province = 371 data = -1 }
		owned = { province = 350 data = -1 }
		owned = { province = 351 data = -1 }
		owned = { province = 369 data = -1 }
		NOT = { exists = HEI }
		AND = {
			OR = {
				religion = catholic
				religion = counterreform
			}
		}
		NOT = {
			core = { province = 310 data = HAB }
			core = { province = 304 data = HAB }
			core = { province = 302 data = HAB }
			core = { province = 403 data = HAB }
		}
	}
	random = no
	country = HAB
	name = "Священная Римская Империя"
	desc = "Священная Римская Империя была основана в 962 году королём Оттоном I, подчинившим Северную и Среднюю Италию. Главным образом состояла из немецких земель и включала в себя также чешские земли, часть Бургундии, Нидерланды, швейцарские земли и др. Императоры вели агрессивную политику, главным образом на Юге и Востоке; в конце 11-13 веков боролись с Римом за Италию, в результате чего Италия была утеряна к концу 13 века. Власть императоров стала постепенно сходить на нет, а Германия распадалась на части. Вестфальский Мир (1648 г.) закрепил превращение империи в конгломерат независимых государств. Окончательно Империя была ликвидирована в 1806 году в ходе наполеновских войн. Сейчас у Вас появилась возможность возродить былую славу Империи. Как Вы поступите?"
	style = 2

	date = { day = 1 month = january year = 1419 } # ИМХО надо бы 1618 год (начало Тридцателетней Войны) #
	offset = 3650
	deathdate = { day = 30 month = may year = 1806 } #Упразднение СРИ из-за Наполеона#

	action_a ={
		name = "Претендовать на все земли Священной Римской Империи."
		command = { type = badboy value = -10 }
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 338 }
		command = { type = addcore which = 337 }
		command = { type = addcore which = 335 }
		command = { type = addcore which = 334 }
		command = { type = addcore which = 336 }
		command = { type = addcore which = 310 }
		command = { type = addcore which = 305 }
		command = { type = addcore which = 306 }
		command = { type = addcore which = 304 }
		command = { type = addcore which = 302 }
		command = { type = addcore which = 311 }
		command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 377 }
		command = { type = addcore which = 344 }
		command = { type = addcore which = 343 }
		command = { type = addcore which = 333 }
		command = { type = addcore which = 332 }
		command = { type = addcore which = 331 }
		command = { type = addcore which = 345 }
		command = { type = addcore which = 346 }
		command = { type = addcore which = 347 }
		command = { type = addcore which = 330 }
		command = { type = addcore which = 329 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 315 }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 327 }
		command = { type = addcore which = 348 }
		command = { type = addcore which = 349 }
		command = { type = addcore which = 372 }
		command = { type = addcore which = 373 }
		command = { type = addcore which = 374 }
		command = { type = addcore which = 375 }
		command = { type = addcore which = 387 }
		command = { type = addcore which = 405 }
		command = { type = addcore which = 388 }
		command = { type = addcore which = 1612 }
		command = { type = addcore which = 371 }
		command = { type = addcore which = 350 }
		command = { type = addcore which = 351 }
		command = { type = addcore which = 369 }
		command = { type = addcore which = 404 }
		command = { type = addcore which = 389 }
		command = { type = addcore which = 403 }
		command = { type = addcore which = 402 }
		command = { type = addcore which = 401 }
		command = { type = addcore which = 400 }
		command = { type = domestic which = centralization value = -4 }
		command = { type = domestic which = innovative value = -2 }
		command = { type = domestic which = land value = 3 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = gainbuilding which = -2 value = barrack }
            command = { type = infra value = 1500 }
            command = { type = land value = 800 }
            command = { type = trade value = 1000 }
            command = { type = naval value = 500 } 
            command = { type = gainmanufactory which = -1 value = -1 }
            command = { type = manpower value = 5 }
            command = { type = treasury value = 600 }
            command = { type = provincetax which = -2 value = 3 }  
            command = { type = provincetax which = -1 value = 2 }
            command = { type = provincetax which = -1 value = 2 }  
            command = { type = provincetax which = -1 value = 1 } 
            command = { type = provincemanpower which = -3 value = 3 }
            command = { type = provincemanpower which = -2 value = 5 }  
            command = { type = cot which = -2 }
            command = { type = conversion which = -1 }
            command = { type = ADM which = 3 value = 240 }
            command = { type = gainbuilding which = -2 value = courthouse }
            command = { type = gainbuilding which = -1 value = courthouse }
            command = { type = gainbuilding which = -1 value = courthouse }
            command = { type = inflation value = -10 } 
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = BUR value = -150 }
		command = { type = relation which = SWE value = -25 }
		command = { type = relation which = DAN value = -25 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = HOL value = -150 }
		command = { type = relation which = U10 value = -150 }
		command = { type = relation which = RUS value = -25 }
		command = { type = relation which = SPA value = 50 }
		command = { type = relation which = PAP value = 25 }
		command = { type = relation which = POL value = 50 }
		command = { type = relation which = HEL value = -150 }
		command = { type = sleepevent which = 5113 }
	}
	action_b ={
		name = "Это нам не нужно!"
		command = { type = stability = 3 }
		command = { type = domestic which = innovative value = 3 }
		command = { type = treasury value = 500 }
		command = { type = DIP which = 5 value = 600 }
		command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = relation which = FRA value = 75 }
		command = { type = relation which = BUR value = 100 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = HOL value = 100 }
		command = { type = relation which = U10 value = 100 }
		command = { type = relation which = SPA value = -25 }
		command = { type = relation which = HEL value = 100 }
		command = { type = sleepevent which = 5113 }
	}
}





event = {

	id = 5124
	trigger = {
		NOT = { flag = e5124 }
		owned = { province = 320 data = -1 } # Добруджа
		owned = { province = 321 data = -1 } # Румелия
                owned = { province = 355 data = -1 } # Сербия
                owned = { province = 356 data = -1 } # Болгария
                owned = { province = 357 data = -1 } # Рагуза
                owned = { province = 362 data = -1 } # Фракия
                owned = { province = 363 data = -1 } # Косово
                owned = { province = 364 data = -1 } # Босния
                owned = { province = 365 data = -1 } # Далмация
                owned = { province = 366 data = -1 } # Хорватия
                owned = { province = 367 data = -1 } # Каринтия
                owned = { province = 368 data = -1 } # Истрия
                owned = { province = 369 data = -1 } # Штирия
                owned = { province = 318 data = -1 } # Молдавия
                owned = { province = 319 data = -1 } # Буджак
                owned = { province = 322 data = -1 } # Валахия
                owned = { province = 315 data = -1 } # Моравия
                owned = { province = 327 data = -1 } # Остмарк
                or = {
                        owned = { province = 464 data = -1 } 
                        owned = { province = 479 data = -1 } 
                        owned = { province = 480 data = -1 } 
                        owned = { province = 484 data = -1 } 
                }
		NOT = {
			core = { province = 327 data = HUN }
			core = { province = 298 data = HUN }
		}
	}
	random = no
	country = HUN
	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 = addcore which = 327 } # Остмарк
		command = { type = addcore which = 298 } # Галиция
		command = { type = stability value = 3 }
                command = { type = infra value = 1000 }
                command = { type = land value = 1500 }
                command = { type = naval value = 500 }
                command = { type = trade value = 500 } 
		command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = gainbuilding which = -1 value = barrack }
                command = { type = treasury value = 300 }
                command = { type = provincetax which = -2 value = 4 }  
                command = { type = provincetax which = -1 value = 2 }
                command = { type = provincemanpower which = -3 value = 3 }
                command = { type = provincemanpower which = -2 value = 5 }  
                command = { type = domestic which = Aristocracy value = 1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = LAND value = 1 }
                command = { type = domestic which = serfdom value = 2 }
                command = { type = domestic which = mercantilism value = -1 }
                command = { type = domestic which = INNOVATIVE value = -2 }
                command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
                command = { type = DIP which = 3 value = 240 }
                command = { type = INF which = -2 value = 15000 }
		command = { type = CAV which = -2 value = 8000 }
		command = { type = setflag which = e5124 }
	}
            action_b ={				
		name = "Пусть будет торговая империя"
                command = { type = addcore which = 327 } # Остмарк
		command = { type = addcore which = 298 } # Галиция
		command = { type = stability value = -2 }
                command = { type = infra value = 1000 }
                command = { type = land value = 500 }
                command = { type = trade value = 1000 }
                command = { type = naval value = 1000 } 
	        command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainmanufactory which = -1 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = cot which = 362 }
                command = { type = gainbuilding which = -1 value = shipyard }
                command = { type = treasury value = 400 }
                command = { type = provincetax which = -2 value = 2 }  
                command = { type = provincetax which = -1 value = 2 }
                command = { type = provincetax which = -1 value = 1 }  
                command = { type = provincetax which = -1 value = 1 } 
                command = { type = provincemanpower which = -3 value = 1 }
                command = { type = provincemanpower which = -2 value = 1 }  
                command = { type = domestic which = Aristocracy value = -2 }
	        command = { type = domestic which = centralization value = 2 }
	        command = { type = domestic which = LAND value = -2 }
                command = { type = domestic which = serfdom value = -1 }
                command = { type = domestic which = mercantilism value = 2 }
                command = { type = domestic which = INNOVATIVE value = 1 }
                command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
 	        command = { type = conversion which = -1 }
                command = { type = ADM which = 2 value = 240 }
                command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = galleys which = -1 value = 20 }
                command = { type = inflation value = -1 }
		command = { type = setflag which = e5124 }
	} 
             action_c ={				
		name = "Пусть у всех будут равные права"
                command = { type = addcore which = 327 } # Остмарк
		command = { type = addcore which = 298 } # Галиция
		command = { type = stability value = -4 }
                command = { type = revoltrisk which = 60 value = 7 }
                command = { type = infra value = 1500 }
                command = { type = land value = 500 }
                command = { type = trade value = 1000 }
                command = { type = naval value = 1000 } 
	        command = { type = gainmanufactory which = -2 value = -1 }
                command = { type = gainmanufactory which = -1 value = -1 }
                command = { type = gainbuilding which = -2 value = barrack }
                command = { type = gainbuilding which = -1 value = shipyard }
                command = { type = manpower value = 5 }
                command = { type = treasury value = 600 }
                command = { type = provincetax which = -2 value = 3 }  
                command = { type = provincetax which = -1 value = 2 }
                command = { type = provincetax which = -1 value = 2 }  
                command = { type = provincetax which = -1 value = 2 } 
                command = { type = provincemanpower which = -3 value = 2 }
                command = { type = provincemanpower which = -2 value = 2 }  
                command = { type = cot which = 362 }
                command = { type = domestic which = Aristocracy value = -5 }
	        command = { type = domestic which = centralization value = 3 }
	        command = { type = domestic which = LAND value = -2 }
                command = { type = domestic which = serfdom value = -6 }
                command = { type = domestic which = mercantilism value = 1 }
                command = { type = domestic which = INNOVATIVE value = 2 }
                command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
	        command = { type = conversion which = -1 }
 	        command = { type = conversion which = -1 }
                command = { type = ADM which = 2 value = 240 }
                command = { type = DIP which = -4 value = 240 }
                command = { type = gainbuilding which = -2 value = courthouse }
                command = { type = gainbuilding which = -1 value = courthouse }
       	        command = { type = gainbuilding which = -1 value = courthouse }
                command = { type = inflation value = -1 } 
		command = { type = setflag which = e5124 }
	}  
}





event = {

	id = 5043
	trigger = {
		NOT = { flag = e5043 }
		owned = { province = 276 data = -1 } # Эстляндия
		owned = { province = 282 data = -1 } # Лифляндия
                owned = { province = 283 data = -1 } # Курляндия
                owned = { province = 289 data = -1 } # Мемель
                owned = { province = 290 data = -1 } # Пруссия
                owned = { province = 291 data = -1 } # Мазовия
                owned = { province = 292 data = -1 } # Подлящье
                owned = { province = 294 data = -1 } # Чернигов
                owned = { province = 295 data = -1 } # Малороссия
                owned = { province = 296 data = -1 } # Запорожье
                owned = { province = 297 data = -1 } # Подолье
                owned = { province = 298 data = -1 } # Галиция
                owned = { province = 299 data = -1 } # Краков
                owned = { province = 300 data = -1 } # Великая Польша
                owned = { province = 301 data = -1 } # Данциг
                owned = { province = 303 data = -1 } # Познань
                owned = { province = 318 data = -1 } # Молдавия
                owned = { province = 319 data = -1 } # Буджак
                owned = { province = 322 data = -1 } # Валахия
                owned = { province = 317 data = -1 } # Русины
                owned = { province = 320 data = -1 } # Добруджа
                owned = { province = 321 data = -1 } # Румелия
                owned = { province = 323 data = -1 } # Альфёльд
                owned = { province = 295 data = -1 } # Малороссия
		NOT = {
			core = { province = 301 data = LIT }
		}
	}
	random = no
	country = LIT
	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 = addcore which = 301 } # Данциг
		command = { type = stability value = 3 }
                        command = { type = infra value = 5000 }
                        command = { type = land value = 2500 }
                        command = { type = naval value = 1500 }
                        command = { type = trade value = 4500 } 
		command = { type = gainmanufactory which = -2 value = -1 }
                        command = { type = gainbuilding which = -2 value = barrack }
                        command = { type = gainbuilding which = -1 value = barrack }
                        command = { type = treasury value = 300 }
                        command = { type = provincetax which = -2 value = 3 }  
                        command = { type = provincetax which = -1 value = 2 }
                        command = { type = provincetax which = -1 value = 2 }  
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincemanpower which = -3 value = 2 }
                        command = { type = provincemanpower which = -2 value = 4 }  
                        command = { type = domestic which = Aristocracy value = 2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = LAND value = 2 }
                        command = { type = domestic which = serfdom value = 3 }
                        command = { type = domestic which = mercantilism value = -1 }
                        command = { type = domestic which = INNOVATIVE value = -1 }
                        command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
                        command = { type = conversion which = -1 }
                        command = { type = DIP which = 3 value = 240 }
                        command = { type = INF which = -2 value = 15000 }
		command = { type = CAV which = -2 value = 8000 } 
		command = { type = setflag which = e5043 }
	}
            action_b ={				
		name = "Пусть будет торговая империя"
		command = { type = addcore which = 301 } # Данциг
		command = { type = stability value = -2 }
                          command = { type = infra value = 7500 }
                          command = { type = land value = 2000 }
                          command = { type = trade value = 5500 }
                          command = { type = naval value = 6000 } 
	             command = { type = gainmanufactory which = -2 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainbuilding which = -2 value = barrack }
                          command = { type = cot which = 295 }
                          command = { type = gainbuilding which = 301 value = shipyard }
                          command = { type = treasury value = 400 }
                          command = { type = provincetax which = -2 value = 4 }  
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 } 
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 } 
                          command = { type = provincemanpower which = -3 value = 1 }
                          command = { type = provincemanpower which = -2 value = 1 }  
                          command = { type = domestic which = Aristocracy value = -2 }
	             command = { type = domestic which = centralization value = 3 }
	             command = { type = domestic which = LAND value = -2 }
                          command = { type = domestic which = serfdom value = -1 }
                          command = { type = domestic which = mercantilism value = 2 }
                          command = { type = domestic which = INNOVATIVE value = 3 }
                          command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
 	             command = { type = conversion which = -1 }
                         command = { type = conversion which = -1 }
                          command = { type = ADM which = 2 value = 240 }
                          command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = galleys which = -1 value = 20 }
                        command = { type = inflation value = -1 }
		command = { type = setflag which = e5043 }
	} 
             action_c ={				
		name = "Пусть у всех будут равные права"
		command = { type = addcore which = 301 } # Данциг
		command = { type = stability value = -4 }
                          command = { type = revoltrisk which = 60 value = 7 }
                          command = { type = infra value = 7000 }
                          command = { type = land value = 2000 }
                          command = { type = trade value = 5000 }
                          command = { type = naval value = 5000 } 
	             command = { type = gainmanufactory which = -2 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainbuilding which = -2 value = barrack }
                          command = { type = gainbuilding which = 301 value = shipyard }
                          command = { type = manpower value = 5 }
                          command = { type = treasury value = 600 }
                          command = { type = provincetax which = -2 value = 4 }  
                          command = { type = provincetax which = -1 value = 3 }
                          command = { type = provincetax which = -1 value = 3 }  
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 } 
                          command = { type = provincemanpower which = -3 value = 3 }
                          command = { type = provincemanpower which = -2 value = 4 }  
                          command = { type = cot which = 295 }
                          command = { type = domestic which = Aristocracy value = -4 }
	             command = { type = domestic which = centralization value = 4 }
	             command = { type = domestic which = LAND value = -1 }
                          command = { type = domestic which = serfdom value = -3 }
                          command = { type = domestic which = mercantilism value = 1 }
                          command = { type = domestic which = INNOVATIVE value = 4 }
                          command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
 	             command = { type = conversion which = -1 }
                          command = { type = ADM which = 2 value = 240 }
                          command = { type = DIP which = -4 value = 240 }
                          command = { type = gainbuilding which = -2 value = courthouse }
                          command = { type = gainbuilding which = -1 value = courthouse }
       	             command = { type = gainbuilding which = -1 value = courthouse }
                         command = { type = inflation value = -1 }
		command = { type = setflag which = e5043 } 
	}  
}







event = {

	id = 5066
	trigger = {
		NOT = { flag = e5066 }
		owned = { province = 302 data = -1 } # Восточная Померания
                owned = { province = 304 data = -1 } # Западная Померания
                owned = { province = 301 data = -1 } # Данциг
                owned = { province = 311 data = -1 } # Магдебург
                owned = { province = 312 data = -1 } # Бранденбург
                owned = { province = 313 data = -1 } # Ноймарк
                owned = { province = 314 data = -1 } # Силезия
                owned = { province = 289 data = -1 } # Мемель
                owned = { province = 290 data = -1 } # Пруссия
                owned = { province = 282 data = -1 } # Лифляндия
                owned = { province = 283 data = -1 } # Курляндия
                owned = { province = 288 data = -1 } # Литва
                owned = { province = 316 data = -1 } # Карпаты
                owned = { province = 317 data = -1 } # Русины
                owned = { province = 293 data = -1 } # Волынь
                owned = { province = 294 data = -1 } # Чернигов
                owned = { province = 296 data = -1 } # Запорожье
                owned = { province = 298 data = -1 } # Галиция
                owned = { province = 287 data = -1 } # Гомель
                owned = { province = 284 data = -1 } # Минск
                owned = { province = 315 data = -1 } # Моравия
                owned = { province = 305 data = -1 } # Мекленбург
                owned = { province = 295 data = -1 } # Малороссия
		NOT = {
			core = { province = 282 data = POL }
		}
	}
	random = no
	country = POL
	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 = addcore which = 282 } # Лифляндия
		command = { type = stability value = 3 }
                        command = { type = infra value = 1000 }
                        command = { type = land value = 1500 }
                        command = { type = naval value = 500 }
                        command = { type = trade value = 500 } 
		command = { type = gainmanufactory which = -2 value = -1 }
                        command = { type = gainbuilding which = -2 value = barrack }
                        command = { type = gainbuilding which = -1 value = barrack }
                        command = { type = treasury value = 300 }
                        command = { type = provincetax which = -2 value = 3 }  
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincetax which = -1 value = 2 }  
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincemanpower which = -3 value = 2 }
                        command = { type = provincemanpower which = -2 value = 4 }  
                        command = { type = domestic which = Aristocracy value = 1 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = domestic which = LAND value = 1 }
                        command = { type = domestic which = serfdom value = 1 }
                        command = { type = domestic which = mercantilism value = -1 }
                        command = { type = domestic which = INNOVATIVE value = -1 }
                        command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
		command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
                        command = { type = DIP which = 3 value = 240 }
                        command = { type = INF which = -2 value = 15000 }
		command = { type = CAV which = -2 value = 8000 } 
		command = { type = setflag which = e5066 }
	}
            action_b ={				
		name = "Пусть будет торговая империя"
		command = { type = addcore which = 282 } # Лифляндия
		command = { type = stability value = -2 }
                          command = { type = infra value = 1000 }
                          command = { type = land value = 500 }
                          command = { type = trade value = 2000 }
                          command = { type = naval value = 1000 } 
	             command = { type = gainmanufactory which = -2 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainbuilding which = -2 value = barrack }
                          command = { type = cot which = 295 }
                          command = { type = gainbuilding which = 301 value = shipyard }
                          command = { type = treasury value = 400 }
                          command = { type = provincetax which = -2 value = 3 }  
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 } 
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 } 
                          command = { type = provincemanpower which = -3 value = 1 }
                          command = { type = provincemanpower which = -2 value = 1 }  
                          command = { type = domestic which = Aristocracy value = -2 }
	             command = { type = domestic which = centralization value = 2 }
	             command = { type = domestic which = LAND value = -2 }
                          command = { type = domestic which = serfdom value = -1 }
                          command = { type = domestic which = mercantilism value = 2 }
                          command = { type = domestic which = INNOVATIVE value = 2 }
                          command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
 	             command = { type = conversion which = -1 }
                          command = { type = ADM which = 2 value = 240 }
                          command = { type = technology which = latin }
                          command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 5 }
		command = { type = galleys which = -1 value = 20 }
                        command = { type = inflation value = -1 }
		command = { type = setflag which = e5066 }
	} 
             action_c ={				
		name = "Пусть у всех будут равные права"
		command = { type = addcore which = 282 } # Лифляндия
		command = { type = stability value = -4 }
                          command = { type = revoltrisk which = 60 value = 7 }
                          command = { type = infra value = 1500 }
                          command = { type = land value = 1000 }
                          command = { type = trade value = 1000 }
                          command = { type = naval value = 1000 } 
	             command = { type = gainmanufactory which = -2 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainbuilding which = -2 value = barrack }
                          command = { type = gainbuilding which = 301 value = shipyard }
                          command = { type = treasury value = 600 }
                          command = { type = provincetax which = -2 value = 3 }  
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 2 }  
                          command = { type = provincetax which = -1 value = 2 } 
                          command = { type = provincemanpower which = -3 value = 2 }
                          command = { type = provincemanpower which = -2 value = 2 }  
                          command = { type = cot which = 295 }
                          command = { type = domestic which = Aristocracy value = -3 }
	             command = { type = domestic which = centralization value = 3 }
	             command = { type = domestic which = LAND value = -1 }
                          command = { type = domestic which = serfdom value = -4 }
                          command = { type = domestic which = mercantilism value = 1 }
                          command = { type = domestic which = INNOVATIVE value = 3 }
                          command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
 	             command = { type = conversion which = -1 }
                          command = { type = ADM which = 2 value = 240 }
                          command = { type = DIP which = -4 value = 240 }
                          command = { type = technology which = latin }
                          command = { type = gainbuilding which = -2 value = courthouse }
                          command = { type = gainbuilding which = -1 value = courthouse }
       	             command = { type = gainbuilding which = -1 value = courthouse }
                         command = { type = inflation value = -1 }
		command = { type = setflag which = e5066 }
	}  
}





event = {

	id = 5034
	trigger = {
		NOT = { flag = e5034 }
		owned = { province = 307 data = -1 } # Копенгаген
                owned = { province = 255 data = -1 } # Норвегия
                owned = { province = 274 data = -1 } # Великий Новгород
                owned = { province = 282 data = -1 } # Лифляндия
		owned = { province = 283 data = -1 } # Курляндия
                owned = { province = 251 data = -1 } # Сконе
                owned = { province = 308 data = -1 } # Готланд
                owned = { province = 256 data = -1 } # Хураланн
                owned = { province = 258 data = -1 } # Трённелаг
		owned = { province = 259 data = -1 } # Нурланн
                owned = { province = 261 data = -1 } # Финмарк
                owned = { province = 381 data = -1 } # Ёмталанд
		owned = { province = 266 data = -1 } # Кексгольм
                owned = { province = 275 data = -1 } # Ингерманландия
                owned = { province = 276 data = -1 } # Эстляндия
		owned = { province = 262 data = -1 } # Кола
                owned = { province = 269 data = -1 } # Архангельск
                owned = { province = 267 data = -1 } # Олонец
                owned = { province = 305 data = -1 } # Мекленбург
                owned = { province = 301 data = -1 } # Данциг
		NOT = { exists = DAN 
                        exists = NOR }
		NOT = {
			core = { province = 301 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 = addcore which = 301 } # Данциг
		command = { type = treasury value = 300 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = land  value = 1500 }
		command = { type = naval  value = 1000 }
            command = { type = trade value = 500 }
            command = { type = infra value = 1000 }
		command = { type = fortress which = -2 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = cot which = 305 }
            command = { type = gainmanufactory which = -2 value = -1 }
		command = { type = gainbuilding which = -2 value = shipyard }
            command = { type = gainbuilding which = -2 value = barrack }
            command = { type = provincetax which = -2 value = 3 }  
            command = { type = provincetax which = -1 value = 1 }
            command = { type = provincetax which = -1 value = 2 }  
            command = { type = provincetax which = -1 value = 1 }
            command = { type = provincemanpower which = -3 value = 2 }
            command = { type = provincemanpower which = -2 value = 4 }  
            command = { type = stability value = 3 }
            command = { type = warships which = -1 value = 10 }
            command = { type = inflation value = -1 }
            command = { type = domestic which = Aristocracy value = 2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = LAND value = 2 }
            command = { type = domestic which = serfdom value = 4 }
            command = { type = domestic which = mercantilism value = -2 }
            command = { type = domestic which = INNOVATIVE value = -1 }
            command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
            command = { type = DIP which = 3 value = 240 }
		command = { type = setflag which = e5034 }
	}
            action_b ={				
		name = "Торговая империя"
		command = { type = addcore which = 301 } # Данциг
		command = { type = treasury value = 400 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = land  value = 500 }
		command = { type = naval  value = 1000 }
            command = { type = trade value = 1500 }
            command = { type = infra value = 1000 }
		command = { type = fortress which = -2 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = cot which = 305 }
                        command = { type = gainmanufactory which = -1 value = -1 }
                        command = { type = gainmanufactory which = -1 value = -1 }
		command = { type = gainbuilding which = -2 value = shipyard }
                        command = { type = gainbuilding which = -1 value = shipyard }
                        command = { type = gainbuilding which = -2 value = barrack }
                        command = { type = provincetax which = -2 value = 2 }  
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincetax which = -1 value = 1 }  
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincetax which = -1 value = 1 }
                        command = { type = provincemanpower which = -3 value = 1 }
                        command = { type = provincemanpower which = -2 value = 1 }  
                        command = { type = stability value = 1 }
                        command = { type = warships which = -1 value = 10 }
                        command = { type = inflation value = -1 }
                          command = { type = domestic which = Aristocracy value = -3 }
	             command = { type = domestic which = centralization value = 2 }
	             command = { type = domestic which = LAND value = -2 }
                          command = { type = domestic which = serfdom value = -1 }
                          command = { type = domestic which = mercantilism value = 2 }
                          command = { type = domestic which = INNOVATIVE value = 1 }
                        command = { type = conversion which = -1 }
 		command = { type = conversion which = -1 }
                        command = { type = DIP which = -1 value = 240 }
		command = { type = setflag which = e5034 }  
	}
            action_c ={				
		name = "Народ - вот опора монархии"
		command = { type = addcore which = 301 } # Данциг
		command = { type = stability value = -3 }
                          command = { type = revoltrisk which = 60 value = 6 }
                          command = { type = infra value = 2000 }
                          command = { type = land value = 500 }
                          command = { type = trade value = 1500 }
                          command = { type = naval value = 1000 } 
	             command = { type = gainmanufactory which = -2 value = -1 }
                          command = { type = gainmanufactory which = -1 value = -1 }
                          command = { type = gainbuilding which = -2 value = barrack }
                          command = { type = gainbuilding which = -2 value = shipyard }
                          command = { type = treasury value = 600 }
                          command = { type = provincetax which = -2 value = 3 }  
                          command = { type = provincetax which = -1 value = 2 }
                          command = { type = provincetax which = -1 value = 1 }  
                          command = { type = provincetax which = -1 value = 1 }
                          command = { type = cot which = 305 }  
                          command = { type = provincemanpower which = -3 value = 2 }
                          command = { type = provincemanpower which = -2 value = 2 }  
                          command = { type = domestic which = Aristocracy value = -4 }
	             command = { type = domestic which = centralization value = 4 }
	             command = { type = domestic which = LAND value = -2 }
                          command = { type = domestic which = serfdom value = -4 }
                          command = { type = domestic which = mercantilism value = 1 }
                          command = { type = domestic which = INNOVATIVE value = 2 }
                          command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
	             command = { type = conversion which = -1 }
 	             command = { type = ADM which = 2 value = 240 }
                         command = { type = DIP which = -4 value = 240 }
                         command = { type = gainbuilding which = -2 value = courthouse }
                         command = { type = gainbuilding which = -1 value = courthouse }
       	             command = { type = gainbuilding which = -1 value = courthouse }
                         command = { type = inflation value = -1 }
		command = { type = setflag which = e5034 }
	}  
}
