#####Lorraine (Lothringen) Major Events#####
#######By Joakim 'Greven' Bergqwist#########
############################################

#Habsburg Inheritance of Lothringen#
event = {

	id = 3632				#Triggered by POL3495 or POL3487#
	random = no
	country = LOR
	name = "EVENTNAME3632"
	desc = "EVENTHIST3632"
	style = 4

	action_a ={				#Franзois III Stephan married Maria-Theresia#
		name = "ACTIONNAME3632A"
		command = { type = trigger which = 3100 }
		command = { type = wakemonarch which = 04996 }
		command = { type = wakemonarch which = 04997 }
		command = { type = wakemonarch which = 04998 }
		command = { type = wakemonarch which = 04999 }
		command = { type = sleepmonarch which = 04995 }
		command = { type = sleepmonarch which = 03998 }
		command = { type = relation which = HAB value = 150 }
		command = { type = dynastic which = HAB }
		command = { type = stability value = 5 }
		command = { type = treasury value = 500 }
	}
}
#French Inheritance of Lothringen#
event = {

	id = 3735
	trigger = {
			NOT = {
				event = 3632
				}
		}
	random = no
	country = LOR
	name = "EVENTNAME3735"
	desc = "EVENTHIST3735"
	style = 4

	date = { day = 22 month = february year = 1766 }
	offset = 0
	deathdate = { day = 23 month = february year = 1766 }

	action_a ={				#France will inherite#
		name = "ACTIONNAME3735A"
		command = { type = trigger which = 3736 }
	}

	action_b ={				#Lothringen is divided among its noblemen#
		name = "ACTIONNAME3735B"
		command = { type = relation which = FRA value = -200 }
		command = { type = stability value = -6 }
	}
}




#AGCEEP events for Lorraine 

#Internal reforms of Charles II
event = { 
      id = 221021
      random = no
      country = LOR 
      name = "Реформы Чарльза II"
      desc = "Герцог Чарльз II (Смелый) предоставил некоторые права палате общин, которая тем самым получила больше власти и право голоса в Лотарингии. Поводом для Чарльза послужило то, что этим  он урезал права дворянам, усилив герцогскую власть."
      style = 1
      
      date = { day = 1 month = january year = 1419 }
      offset = 3000
     
      action_a = {
               name = "Палата общин, тоже должна иметь право голоса"
               command = { type = stability value = -2 }
               command = { type = domestic which = aristocracy value = -1 }
               command = { type = domestic which = centralization value = 1 }
               command = { type = domestic which = serfdom value = -1 }
               command = { type = revoltrisk which = 24 value = 3 }
                 }
      action_b = {
               name = "What is the Third Estate?" #i.e. no reforms needed
               command = { type = stability value = 1 }
                 }
}


##################################################
#
#  by Havard (Anjou sequence)
#


#The Succession in Lorraine (1431)#
event = {

	id = 211000
	trigger = {
		exists = PRO
	}
	random = no
	country = LOR
	name = "Смерть герцога!"
	desc = "В 1413 году, после смерти герцога Карла, его герцогство стало причиной борьбы между французским королем Карлом VII и герцогом Филиппом III Бургундским. По воле герцога Карла, Лотарингия должна была перейти по наследству его дочери Изабелле, которая в 1420 году вышла замуж за Рене Анжуйского, герцога Бара. Однако  преемник по мужской линии, Антуан, граф Водемон и племянник герцога Карла, оспорил наследство. Армия короля Карла поддерживала Рене Анжуйского, но 2 июля 1431 года Антуан одержал победу над Рене в битве при Бюневилле и заключил его в тюрьму. Его жене Изабелле удалось договориться о его освобождение за выкуп и после пятилетнего заключения Рене был освобожден. Согласно договору подписанного в г.Шалон в 1445 году Иоланда, старшая дочь Рене вышла замуж за сына Антуан, Фери II Водемон, и вторая дочь Рене, Маргарет, стала женой короля Англии Генриха VI."
	style = 1

	date = { day = 25 month = january year = 1431 }
	offset = 0
	deathdate = { day = 26 month = january year = 1431 }

	action_a ={
		name = "Рени новый герцог!"	
		command = { type = relation which = PRO value = 200 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = BUR value = -100 }
		command = { type = revolt which = -2 }
		command = { type = revoltrisk which = 60 value = 3 }	
		command = { type = trigger which = 262000 } #PRO
	}
	action_b ={
		name = "Нет! Антуан законный наследник!"	
		command = { type = sleepmonarch which = 04981 } #Renй d'Anjou
		command = { type = sleepmonarch which = 04982 } #Jean II
		command = { type = sleepmonarch which = 04983 } #Nicolas
		command = { type = wakemonarch which = 04962 } #Antoine I de Vaudйmont
		command = { type = wakemonarch which = 04963 } #Ferry V de Vaudйmont
		command = { type = relation which = PRO value = -200 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = BUR value = 100 }
		command = { type = trigger which = 137008 } #BUR
		command = { type = trigger which = 262001 } #PRO
	}
}


#The Accession of Renй II (1473)#
event = {

	id = 211001
	trigger = {
		exists = PRO
		event = 262000 #Renй chosen in 1431
	}
	random = no
	country = LOR
	name = "Вступление Рени II на трон"
	desc = "После смерти Герцога Николоса титул перешел Рене, внуку двух противников Рене Анжуйского и Антуан Водемон. Таким образом, Рене II объединил две соперничающих стороны Лотарингии."
	style = 1

	date = { day = 24 month = august year = 1473 }
	offset = 0
	deathdate = { day = 25 month = january year = 1473 }

	action_a ={
		name = "Долгой жизни герцогу Рени!"	
		command = { type = monarch which = 04984 } #Renй II
		command = { type = breakvassal which = PRO }
		command = { type = stability value = 1 }
		command = { type = trigger which = 262002 } #PRO
	}
}
# -----------------------------------------------------------------------------------------


#The succession in Provence (LOR) (1480/822)
event = {

	id = 211002  #Trigged by PRO#262012/262014
	random = no
	country = LOR
	name = "Наследование Прованса"
	desc = "Согласно воли покойного короля Рене, его владения должны быть разделены между двумя наследниками - Рене II Лотарингии и Карлом II Мэйна. Карлу перешел Прованс, в то время как Рене унаследовал герцогство Бар на границе с Лотарингией. Герцог Рене II оспорил права Карла на Прованс и сейчас наши права на территорию Прованса признаны!"
	style = 1

	action_a ={
		name = "Отлично!"
		command = { type = vassal which = PRO }
		command = { type = relation which = PRO value = 400 }
		command = { type = relation which = FRA value = -100 }
	}
}
# -----------------------------------------------------------------------------------------


#The House of Anjou-Lorraine in Provence (1480/82)#
event = {

	id = 211003
	trigger = {
		exists = PRO
		event = 211002 #
		ai = no
	}
	random = no
	country = LOR
	name = "Дом Анжу-Лотарингии в Провансе"
	desc = "После смерти графа Прованса самым близким наследником является наш герцог Рене II, внук покойного Рене Провансальского. После вступления герцога Рене II в должность стоит вопрос о создании единой администрации для всего нашего государства."
	style = 1

	date = { day = 10 month = july year = 1480 }
	offset = 30
	deathdate = { day = 30 month = december year = 1482 }

	action_a ={
		name = "Оба дома Анжу!"
		command = { type = vp value = 1 }
	}
	action_b ={
		name = "У нас нет ни какой необходимости в этом"
		command = { type = sleepevent which = 262016 } #PRO
		command = { type = sleepevent which = 262017 } #PRO
	}
}

#The House of Anjou-Lorraine in Provence (1480)#
event = {

	id = 211004  #Trigged by PRO#262017
	random = no
	country = LOR
	name = "Дом Анжу-Лотарингии в Провансе"
	desc = "Наш герцог Рене II, выразил желание объединить оба дома Анжу под предводительством Прованса."
	style = 1

	action_a ={
		name = "Отличная новость!"
		command = { type = inherit which = PRO }
		command = { type = vp value = 24 }
	}
}

#The House of Anjou-Lorraine in Provence (1480)#
event = {

	id = 211005
	trigger = {
		exists = PRO
		event = 211002 #
		ai = yes
	}
	random = no
	country = LOR
	name = "AI_EVENT"
	desc = "." 
	style = 1

	date = { day = 10 month = july year = 1480 }
	offset = 30
	deathdate = { day = 30 month = december year = 1480 }

	action_a ={ 
		name = "Спросить об объединении"
		command = { type = vp value = 1 }
	}
}
# -----------------------------------------------------------------------------------------


#The Anjou heritage (1480/82)#
event = {

	id = 211006
	trigger = {
		event = 211004 # Human played Lorraine has inherited PRO
		NOT = { owned = { province = 393 data = -1 } } # Not owning Napoli
	}
	random = no
	country = LOR
	name = "Наследие Анжу"
	desc = "После исчезновения старейшей линии династии Анжу, которая когда-то правила в Анжу, Провансе, Лотарингии и Неаполе, к власти пришла новая линия династии Анжу-Лотарингской династии. Сейчас перед нами стоит вопрос, нужно ли нам принимать власть."
	style = 1

	date = { day = 10 month = july year = 1480 }
	offset = 30
	deathdate = { day = 30 month = december year = 1482 }

	action_a ={
		name = "Да, мы-Анжу!"
		command = { type = country which = PRO }
		command = { type = addcore which = 406 } #Provence
		command = { type = addcore which = 416 } 
		command = { type = addcore which = 404 } #Piedmonte
		command = { type = addcore which = 934 }

command = { type = addcore which = 1407 }
		command = { type = addcore which = 393 } #Napoli
		command = { type = addcore which = 394 } #Apulia
		command = { type = stability value = -3 } #For pissing off a lot of neighbours
		command = { type = relation which = FRA value = -200 }
		command = { type = relation which = ARG value = -200 }
		command = { type = relation which = SPA value = -200 }
		command = { type = relation which = PAP value = -200 }
		command = { type = relation which = BUR value = -200 }		
	}
	action_b ={
		name = "Что было, то прошло"
		command = { type = stability value = 1 } 
		command = { type = relation which = FRA value = 200 }
		command = { type = relation which = ARG value = 200 }
		command = { type = relation which = SPA value = 200 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = BUR value = 100 }
	}
}

#The Anjou heritage (1480/82)#
event = {

	id = 211007
	trigger = {
		event = 211004 # Human played Lorraine has inherited PRO
		owned = { province = 393 data = -1 } # Owning Napoli
	}
	random = no
	country = LOR
	name = "Наследие Анжу"
	desc = "После исчезновения старейшей линии династии Анжу, которая когда-то правила в Анжу, Провансе, Лотарингии и Неаполе, к власти пришла новая линия Анжу-Лотарингской династии. Сейчас перед нами стоит вопрос, нужно ли нам принимать власть."
	style = 1

	date = { day = 10 month = july year = 1480 }
	offset = 30
	deathdate = { day = 30 month = december year = 1482 }

	action_a ={
		name = "Да, мы-Анжу!"
		command = { type = country which = PRO }
		command = { type = addcore which = 406 } #Provence
		command = { type = addcore which = 416 } #
		command = { type = addcore which = 404 } #Piedmonte
		command = { type = addcore which = 934 }
command = { type = addcore which = 1407 }
		command = { type = addcore which = 393 } #Napoli
		command = { type = addcore which = 394 } #Apulia
		command = { type = addcore which = 395 } #Messina
		command = { type = addcore which = 396 } #Sicilia
		command = { type = stability value = -3 } #For pissing off a lot of neighbours
		command = { type = relation which = FRA value = -200 }
		command = { type = relation which = ARG value = -200 }
		command = { type = relation which = SPA value = -200 }
		command = { type = relation which = PAP value = -200 }
		command = { type = relation which = BUR value = -200 }
	}
	action_b ={
		name = "Что было, то прошло"
		command = { type = stability value = 1 } 
		command = { type = relation which = FRA value = 200 }
		command = { type = relation which = ARG value = 200 }
		command = { type = relation which = SPA value = 200 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = BUR value = 100 }
	}
}

event = {
	id = 20063
	trigger = {
		vassal   = { country = ENG country = LOR } 
		NOT = {
			war   = { country = FRA country = LOR} 
			}
		OR = {
			event = 20008 #France threw off English rule#
			event = 3588 #a french minor became france#
			event = 3589
			event = 3590
			event = 3591
			event = 3592
			event = 3593
			event = 3594
			event = 3601
			event = 3604
			event = 3606
			event = 20100
			}
			owned = {
					province = 385
					data = FRA
				}
		}
	random = no
	country = LOR
	name = "EVENTNAME20063"
	desc = "EVENTHIST20063"
	style = 1
	date = { day = 1 month = january year = 1419 }
	offset = 60
	deathdate = { day = 13 month = july year = 1789 }


	action_a ={				#France#
		name = "ACTIONNAME20063A"
		command = { type = trigger   which = 20064 }
 		command = { type = relation which = ENG value = -200 } 
		command = { type = breakvassal which = ENG } 
		command = { type = stability   value = 3 } 
		}
	action_b ={				#England#
		name = "ACTIONNAME20063B"
		command = { type = relation which = ENG value = 50 } 
		command = { type = relation which = FRA value = -100 }
		command = { type = stability   value = -1 } 
		}
	action_c ={				#neither#
		name = "ACTIONNAME20063C"
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = breakvassal which = ENG }  
		}
	}
