#################################
### Lorrain events by Dmitriy ###
#################################

event = {
	id = 5161
	random = no
	country = BUR
	name = "Наезд?"
	desc = "Похоже Вас кинули :р"
	style = 1

	action_a ={
		name = "Кто-то думает, что самый крутой?"
		command = { type = land value = 500 }
		command = { type = stability value = -1 }
		command = { type = casusbelli which = HAB value = 180 }
		command = { type = war which = HAB }
		command = { type = MIL which = 1 value = 180 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = trigger which = 5105 }
	}
	action_b ={
		name = "На нет и суда нет"
		command = { type = stability value = -1 }
		command = { type = treasury value = 300 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = MIL which = -3 value = 60 }
		command = { type = ADM which = 2 value = 60 }
		command = { type = sleepevent which = 5164 }
		command = { type = sleepevent which = 5107 }
		command = { type = sleepevent which = 5163 }
		command = { type = sleepevent which = 5165 }
	}
}

event = {
	id = 5164
	trigger = {
		event = 5161
		NOT = {
			war = { country = BUR country = HAB }
			}
		NOT = { event = 5162 } 
		NOT = { flag = e5164 }
	}
	random = no
	country = BUR
	name = "Облом"
	desc = "Вы не смогли отомстить обидчику и уже ничего не сможете потребовать. Корона Лотарингии потеряна для Вас навсегда (ну, может тура через три... :р )"
	style = 1

	date = { day = 1 month = january year = 1464 }
	offset = 0
	deathdate = { day = 4 month = january year = 1477 }

	action_a ={
		name = "Дьявол!"
		command = { type = stability value = -2 }
		command = { type = MIL which = -2 value = 60 }
		command = { type = sleepevent which = 5107 }
		command = { type = sleepevent which = 5163 }
		command = { type = sleepevent which = 5165 }
		command = { type = trigger which = 5106 }
		command = { type = setflag which = e5164 }
	}
}

event = {
	id = 5165
	trigger = {
		event = 5161
		NOT = { event = 5162 } 
	}
	random = no
	country = BUR
	name = "Слишком поздно"
	desc = "Вы не смогли отомстить обидчику и уже ничего не сможете потребовать. Корона Лотарингии потеряна для Вас навсегда (ну, может тура через три... :р )"
	style = 1

	date = { day = 5 month = january year = 1477 }
	offset = 0

	action_a ={
		name = "Дьявол!"
		command = { type = stability value = -2 }
		command = { type = MIL which = -2 value = 60 }
		command = { type = sleepevent which = 5107 }
		command = { type = sleepevent which = 5163 }
		command = { type = sleepevent which = 5164 }
		command = { type = trigger which = 5106 }
	}
}

event = {
	id = 5162
	random = no
	country = BUR
	name = "Возвышение"
	desc = "Теперь Вы всем покажете, где кто зимует :р"
	style = 1

	action_a ={
		name = "Ура!"
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = stability value = 3 }
		command = { type = remove_countryculture which = german }
		command = { type = add_countryculture which = german }
		command = { type = badboy value = -10 }
		command = { type = addcore which  = 334 } #Munster#
		command = { type = addcore which  = 335 } #Oldenburg#
		command = { type = addcore which  = 343 } #Kleves#
		command = { type = addcore which  = 344 } #Cologne#
		command = { type = addcore which  = 345 } #Pfalz#  
		command = { type = addcore which  = 388 } #Bern#
		command = { type = addcore which  = 405 } #Savoy#
		command = { type = addcore which  = 406 } #Provence#
		command = { type = addcore which  = 407 } #Dauphine# 
		command = { type = addcore which  = 408 } #Lyonnais#
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = PFA value = -50 } 
		command = { type = relation which = PRO value = -50 }
		command = { type = relation which = SAV value = -50 }
		command = { type = relation which = OLD value = -50 } 
		command = { type = relation which = MUN value = -50 }
		command = { type = relation which = KLE value = -50 } 
 		command = { type = sleepevent which = 20100 }
		command = { type = trigger   which = 20313 }
      		command = { type = trigger   which = 20314 }
		command = { type = trigger   which = 20315 }
		command = { type = trigger   which = 20316 }
 		command = { type = trigger   which = 20317 }
		command = { type = trigger   which = 20318 }
		command = { type = trigger   which = 20319 }     
		command = { type = trigger   which = 20320 }           		
		command = { type = relation  which = HAB value = -50 }
	}
}

event = {
	id = 5163
	trigger = {
		event = 5161
		control = { province = 409 data = HAB }
		NOT = { flag = e5163 }
		NOT = {
			core = { province = 387 data = HAB } #Франш-Конте#
			core = { province = 374 data = HAB } #Эльзас#
			core = { province = 377 data = HAB } #Люксембург#
		}
	}
	random = no
	country = BUR
	name = "Погорячились?"
	desc = "теперь расхлёбывайте :р"
	style = 1

	date = { day = 1 month = january year = 1464 }
	offset = 0
	deathdate = { day = 4 month = january year = 1477 }

	action_a ={
		name = "Только без ног!"
		command = { type = stability value = 1 }
		command = { type = MIL which = -3 value = 60 }
		command = { type = independence which = LOR }
		command = { type = removecore which = 375 }#Лотарингия#
		command = { type = trigger which = 5108 }
		command = { type = sleepevent which = 5107 }
		command = { type = sleepevent which = 5164 }
		command = { type = sleepevent which = 5165 }
		command = { type = setflag which = e5163 }
	}
}


event = { 
   id = 5166 
   trigger = { 
      NOT = { 
         exists = HAB 
      } 
      owned = { province = 333 data = -1 } # Гессен 
      owned = { province = 334 data = -1 } # Мюнстер 
      owned = { province = 343 data = -1 } # Клеве 
      owned = { province = 344 data = -1 } # Кёльн 
      owned = { province = 345 data = -1 } # Пфальц 
      owned = { province = 346 data = -1 } # Майнц 
      owned = { province = 373 data = -1 } # Баден 
      owned = { province = 374 data = -1 } # Эльзас
	NOT = { flag = e5166 }
	NOT = {
		core = { province = 373 data = BUR }
	}
   } 
   random = no 
   country = BUR 
   name = "Немецкая культура"
   desc = "Исторически практически вся Бургундия была унаследована австрийским Императором Максмилианом I. Но в альтернативной истории распад Австрии повлёк за собой экспансию Бургундского Герцогства на восток и создание сильного государства в Центральной Европе. Потенциал нового государственного формирования огромен, и теперь всё в Ваших руках - сможет ли Бургундия сокрушить Францию и унаследовать всё богатство Священной Римской Империи, либо её постигнет судьба предшественников, и она будет атакована со всех сторон соседями." 
   style = 1 

   date = { day = 1 month = january year = 1447 } 
   offset = 29 
   deathdate = { day = 5 month = january year = 1477 } 

   action_a = { 
      name = "Получить немецкую культуру!" 
	command = { type = land which = 500 } 
	command = { type = badboy which = -10 }
	command = { type = remove_countryculture which = german }
	command = { type = add_countryculture which = german } 
	command = { type = addcore which  = 373 } # Баден
	command = { type = treasury value = 200 } 
	command = { type = stability value = 1 }
	command = { type = setflag value = e5166 }
   } 
} 


# ids free to 5168 #

