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

event = {
	id = 5067
	trigger = {
		owned = { province = 302 data = -1 } # Восточная Померания
                owned = { province = 304 data = -1 } # Западная Померания
                owned = { province = 301 data = -1 } # Данциг
                owned = { province = 311 data = -1 } # Магдебург
                owned = { province = 313 data = -1 } # Ноймарк
                owned = { province = 314 data = -1 } # Силезия
		NOT = { flag = e5067 }
		NOT = {
			core = { province = 311 data = POL }
			core = { province = 312 data = POL }
			core = { province = 313 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 = badboy value = -5 }
		command = { type = remove_countryculture which = german }
		command = { type = add_countryculture which = german }
                command = { type = remove_countryculture which = lithuanian }
                command = { type = addcore which = 301 }
		command = { type = addcore which = 302 }
                command = { type = addcore which = 304 }
		command = { type = addcore which = 311 }
                command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = stability value = 2 }
                command = { type = trigger which = 5011 }
		command = { type = setflag which = e5067 }
	}
}

event = {
	id = 5068
	trigger = {
		core = { province = 311 data = POL }
		core = { province = 312 data = POL }
		core = { province = 313 data = POL }
	}
	random = no
	country = POL
	name = "Потеря германских земель"
	desc = "Борьба с Данией и немецким народом закончилась выдворением Польши с северогерманских земель. Новым владельцем Мекленбурга стала Дания."
	style = 1

	action_a ={				
		name = "Отомстим датчанам"
                command = { type = remove_countryculture which = german }
		command = { type = removecore which = 302 }
                command = { type = removecore which = 304 }
		command = { type = removecore which = 311 }
                command = { type = removecore which = 312 }
		command = { type = removecore which = 313 }
		command = { type = stability value = -2 }
                command = { type = casusbelli which = DAN value = 36 }
	}
}

event = {
	id = 5069
	trigger = {
		event = 5068
                not = { flag = e5069 }
                owned = { province = 288 data = -1 }
		NOT = {
			core = { province = 288 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 = remove_countryculture which = lithuanian }
		command = { type = add_countryculture which = lithuanian }
		command = { type = addcore which = 288 } # Литва
                command = { type = stability value = 1 }
		command = { type = setflag which = e5069 }
	}
}

event = {
	id = 5071
	trigger = {
		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 }
                event = 5068
		NOT = { flag = e5071 }
		NOT = {
			core = { province = 311 data = POL }
			core = { province = 312 data = POL }
			core = { province = 313 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 = remove_countryculture which = german }
		command = { type = add_countryculture which = german }
                command = { type = remove_countryculture which = lithuanian }
                command = { type = addcore which = 301 }
		command = { type = addcore which = 302 }
                command = { type = addcore which = 304 }
		command = { type = addcore which = 311 }
                command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = stability value = 2 }
                command = { type = trigger which = 5012 }
		command = { type = setflag which = e5071 }
	}
}

event = {

	id = 5072
	trigger = {
		core = { province = 311 data = POL }
		core = { province = 312 data = POL }
		core = { province = 313 data = POL }
	}
	random = no
	country = POL
	name = "Потеря германских земель"
	desc = "Борьба с Данией и немецким народом закончилась выдворением Польши с северогерманских земель. Новым владельцем Мекленбурга стала Дания."
	style = 1

	action_a ={				
		name = "Отомстим датчанам"
                command = { type = remove_countryculture which = german }
                command = { type = removecore which = 301 }
		command = { type = removecore which = 302 }
                command = { type = removecore which = 304 }
		command = { type = removecore which = 311 }
                command = { type = removecore which = 312 }
		command = { type = removecore which = 313 }
		command = { type = stability value = -2 }
                command = { type = casusbelli which = DAN value = 36 } 
	}
}


##################################
### Imperial events by Dmitriy ###
##################################

event = {
	id = 5073
	random = no
	country = POL
	name = "Гусcиты повержены"
	desc = "раздача слонов :р"
	style = 1

	action_a ={
		name = "Берём!"
		command = { type = addcore which = 314 }
		command = { type = treasury value = 50 }
		command = { type = stability value = 1 }
	}
}

event = {
	id = 5074
	random = no
	country = POL
	name = "Полная победа!"
	desc = "Ну ты крут... :р"
	style = 1

	action_a ={
		name = "Всё моё!!!"
		command = { type = inherit which = BOH }
		command = { type = add_countryculture which = czech }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 329 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 100 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = HUN value = -100 }
		command = { type = vp value = 50 }
	}
}
