################################
### events by Alexsandr RAU  ###
################################



########################################################################
#
# присоединение турцией  египта за АИ
# автор - AR - Alexsandr Rau
#
########################################################################


event = {
	id = 200329
	trigger = {
                exists = MAM
		ai = yes
          owned = { province = 1953 data = -1 } 
	
	}
	random = no
	country = TUR
	name = "Захват турками Египта"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1521 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ # Assume the title of Caliph
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200133 }
	}
}

event = {
	id = 200133
	random = no
	country = MAM
	name = "требование турок"
	desc = "Турки требуют чтобы мы склонили головы перед их султаном"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 3371 } 

	}
	action_b ={
		name = "Послать их к ибису!"
		command = { type = relation which = TUR value = -200 }
	}
}


#The Sultan become 'Khalifa'#

event = {
	id = 3371
	country = TUR
	name = "EVENTNAME3371"
	desc = "EVENTHIST3371"
	style = 2
	
	action_a ={ # Assume the title of Caliph
		name = "ACTIONNAME3371A"
		command = { type = inherit  which = MAM }
		command = { type = vassal which = ARA }
		command = { type = relation which = ARA value = 50 }
		command = { type = relation which = ALD value = 50 }
		command = { type = relation which = MOR value = 50 }
		command = { type = relation which = TRI value = 50 }
		command = { type = relation which = ADE value = 50 }
		command = { type = relation which = OMA value = 50 }
		command = { type = relation which = MOG value = 50 }
		command = { type = relation which = DLH value = 50 }
	}
}



########################################################################
#
# присоединение испанией ацтеков за АИ
# автор - AR - Alexsandr Rau
#
########################################################################


event = {
	id = 200157
	trigger = {
		ai = yes

	
	}
	random = no
	country = SPA
	name = "Захват Испанцами империи Ацтеков"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1520 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200163 }
	}
}

event = {
	id = 200163
	random = no
	country = AZT
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200169 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}




event = {
	id = 200169
	country = SPA
	name = "Ацтеки сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = AZT }

	}
}

event = {
	id = 200901
	trigger = {
            
		ai = yes

	
	}
	random = no
	country = SPA
	name = "Крушение майя"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1530 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200602 }
	}
}

event = {
	id = 200902
	random = no
	country = MAA
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200603 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}




event = {
	id = 200903
	country = SPA
	name = "Майя сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = MAA }

	}
}

event = {
	id = 200904
	trigger = {
           
		ai = yes

	
	}
	random = no
	country = SPA
	name = "Крушение запотеков"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1520 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200605 }
	}
}

event = {
	id = 200905
	random = no
	country = ZAP
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200606 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}




event = {
	id = 200906
	country = SPA
	name = "Запотеки сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = ZAP }

	}
}

event = {
	id = 200907
	trigger = {
             
		ai = yes

	
	}
	random = no
	country = SPA
	name = "Крушение POI"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1530 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200608 }
	}
}

event = {
	id = 200908
	random = no
	country = POI
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200609 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}




event = {
	id = 200909
	country = SPA
	name = "POI сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = POI }

	}
}

event = {
	id = 200242
	trigger = {
		ai = yes
	}
	random = no
	country = SPA
	name = "Захват Чиму"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1550 }
	offset = 300
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 200243 }
	}
}

event = {
	id = 200243
	random = no
	country = CHM
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200244 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}

event = {
	id = 200244
	country = SPA
	name = "Чиму сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = CHM }

	}
}



########################################################################
#
# присоединение Россией Казани за АИ
# автор - AR - Alexsandr Rau
#
########################################################################


event = {
	id = 200187
	trigger = {
              
		ai = yes

	
	}
	random = no
	country = RUS
	name = "Разгром Казанского Ханства"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={ 
		name = "Потребовать покорности!"
                command = { type = trigger which = 200193 }
	}
}

event = {
	id = 200193
	random = no
	country = KAZ
	name = "Ультиматум русского царя"
	desc = "Грозный русский царь Иван требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200199 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = RUS value = -200 }
	}
}




event = {
	id = 200199
	country = RUS
	name = "казанцы сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = KAZ }

	}
}


########################################################################
#
# присоединение Россией Золотой Орды за АИ
# автор - AR - Alexsandr Rau
#
########################################################################

event = {
	id = 200205
	trigger = {
              NOT = { exists = KAZ }
              owned = { province = 446  data = -1 }
		ai = yes

	
	}
	random = no
	country = RUS
	name = "Присоединение Большой Орды"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1550 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={ 
		name = "Потребовать покорности!"
                command = { type = trigger which = 200217 }
	}
}

event = {
	id = 200217
	random = no
	country = STE
	name = "Ультиматум русского царя"
	desc = "Грозный русский царь Иван требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200211 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = RUS value = -200 }
	}
}




event = {
	id = 200211
	country = RUS
	name = "ордынцы сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = STE }

	}
}



########################################################################
#
# присоединение Францией Дофина за АИ
# автор - AR - Alexsandr Rau
#
########################################################################

event = {
	id = 292082
	trigger = {
		ai = yes
	}
	random = no
	country = FRA
	name = "Присоединение владений Дофина"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1457 }
	offset = 300
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать присяги!"
                command = { type = trigger which = 292083 }
                command = { type = add_countryculture which = french }
command = { type = add_countryculture which = teremembe }
command = { type = cash value = 200 }
				command = { type = stability value = 2 }
command = { type = INF which = -2 value = 20000 }
				command = { type = CAV which = -2 value = 16000 }
                                command = { type = ART which = -2 value = 20 }
	}
}

event = {
	id = 292083
	random = no
	country = DAU
	name = "Требование короля Франции"
	desc = ""
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 292084 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = FRA value = -200 }
	}
}

event = {
	id = 292084
	country = FRA
	name = "Дофин покорился"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "Франция едина"
		command = { type = inherit  which = DAU }

	}
}

########################################################################
#
# присоединение Москвой Новгорода за АИ
# автор - AR - Alexsandr Rau
#
########################################################################

event = {
	id = 292088
	trigger = {
		ai = yes
	}
	random = no
	country = MOS
	name = "Просоединение Новгорода к Москве"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1477 }
	offset = 300
	deathdate = { day = 1 month = january year = 1619 }

	action_a ={ 
		name = "Требовать присяги!"
                command = { type = trigger which = 292089 }
command = { type = cash value = 200 }
				command = { type = stability value = 1 }
command = { type = INF which = -1 value = 10000 }
				command = { type = CAV which = -2 value = 6000 }
	}
}

event = {
	id = 292089
	random = no
	country = NVG
	name = "Требование Великого князя Московского"
	desc = ""
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 292090 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = MOS value = -200 }
	}
}

event = {
	id = 292090
	country = MOS
	name = "Новгород покорился"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "Франция едина"
		command = { type = inherit  which = NVG }

	}
}

###########################################################################


event = {
	id = 200264
	trigger = {
		ai = yes
	}
	random = no
	country = HAB
	name = "Просоединение трансильвании к Австрии"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1670 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={ 
		name = "Требовать присоединения!"
                command = { type = trigger which = 200265 }
command = { type = cash value = 200 }
				command = { type = stability value = 1 }
command = { type = INF which = -1 value = 10000 }
				command = { type = CAV which = -2 value = 6000 }
	}
}

event = {
	id = 200265
	random = no
	country = SIE
	name = "Требование Австрийского Короля"
	desc = "Австрийци требуют чтобы мы подчинились им"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 200266 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = HAb value = -200 }
	}
}

event = {
	id = 200266
	country = HAB
	name = "Трансильвания покорилась"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "Венгрия полностью наша!"
		command = { type = inherit  which = SIE }

	}
}


##########################################################

event = {

	id = 200240
        trigger = {
                
		ai = yes
		}
	random = no
	country = SPA
	name = "Присоединение Арагона"
	desc = "EVENTHIST3156"
	style = 2

	date = { day = 1 month = january year = 1516 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={		
		name = "присоеденить"
	        command = { type = trigger which = 200238 }
	}

}

event = {
	id = 200238
	random = no
	country = ARG
	name = "Арагон присоеденяется к Испании"
	desc = "мы должны выбрать - стать ли нам частью испании, или сохранить свободу?"

	action_a = {
		name = "Мы - часть Испании (конец игры)" 
		command = { type = trigger which = 200239 }
	}
	action_b = {
		name = "Да здравствует свобода!"
		command = { type = breakvassal which = SPA }
		command = { type = relation which = SPA value = -200 }
	}
}

event = {
	id = 200239
	random = no
	country = SPA
	name = "Арагон присоединяется к Испании"
	desc = ""

	action_a = {
		name = "Испания Едина!" 
		command = { type = inherit which = ARG }
                command = { type = treasury value = -50 }
	}
}

##########################################################

event = {

	id = 200272
        trigger = {
                exists = SIE
		ai = yes
		}
	random = no
	country = HAB
	name = "Присоединение Штирии"
	desc = ""
	style = 2

	date = { day = 1 month = january year = 1479 }
	offset = 100
	deathdate = { day = 1 month = january year = 1550 }

	action_a ={		
		name = "присоеденить"
	        command = { type = trigger which = 200273 }
	}

}

event = {
	id = 200273
	random = no
	country = SEI
	name = "Штирия присоеденяется к Австрии"
	desc = "мы должны выбрать - стать ли нам частью Австрии, или сохранить свободу?"

	action_a = {
		name = "Мы - часть Испании (конец игры)" 
		command = { type = trigger which = 200274 }
	}
	action_b = {
		name = "Да здравствует свобода!"
		command = { type = breakvassal which = HAB }
		command = { type = relation which = HAB value = -200 }
	}
}

event = {
	id = 200274
	random = no
	country = HAB
	name = "Штирия присоединяется к Австрии"
	desc = ""

	action_a = {
		name = "Испания Едина!" 
		command = { type = inherit which = SEI }
                command = { type = treasury value = -50 }
	}
}

# евенты для АИ турок по захвату Византии после 1460гг
#
#

event = {
	id = 299656
	trigger = {
                exists = BYZ
		ai = yes
          countrysize = 14 
	
	}
	random = no
	country = TUR
	name = "Захват турками Византии (для АИ)"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1470 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "греки должны сдаться!"
                command = { type = trigger which = 299657 }
	}
}

event = {
	id = 299657
	random = no
	country = BYZ
	name = "Требование турок о полной сдаче"
	desc = "Турки требуют чтобы мы склонили головы перед их султаном"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 299658 } 

	}
	action_b ={
		name = "Послать их к черту!"
		command = { type = relation which = TUR value = -200 }
                command = { type = trigger which = 299659 } 
	}
}


event = {
	id = 299658
	country = TUR
	name = "Греки сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "Византия наша!!!!"
		command = { type = inherit  which = BYZ }
	}
}

event = {
	id = 299659
	country = TUR
	name = "Греки вздумали, сопротивляться! Покараем их!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "Война!"
		command = { type = war which = BYZ }
command = { type = stability value = 3 }
command = { type = galleys which = -1 value = 30 }
command = { type = transports which = -1 value = 10 }
command = { type = INF which = -2 value = 32000 }
command = { type = CAV which = -2 value = 20000 }
command = { type = ART which = -2 value = 20 }
command = { type = treasury value = 500 }

	}
}

event = {
	id = 298601
	trigger = {
            
		ai = yes

	
	}
	random = no
	country = SPA
	name = "Крушение Инков"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1550 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 298602 }
	}
}

event = {
	id = 298602
	random = no
	country = INC
	name = "Ультиматум испанцев"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 298603 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = SPA value = -200 }
	}
}




event = {
	id = 298603
	country = SPA
	name = "Инки сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = INC }

	}
}

event = {
	id = 298604
	trigger = {
            
		ai = yes

	
	}
	random = no
	country = MOG
	name = "Завоевание Дели"
	desc = ""
	style = 2
	
	date = { day = 1 month = january year = 1520 }
	offset = 30
	deathdate = { day = 1 month = january year = 1819 }

	action_a ={ 
		name = "Требовать капитуляцию!"
                command = { type = trigger which = 298605 }
	}
}

event = {
	id = 298605
	random = no
	country = DLH
	name = "Ультиматум от Моголов"
	desc = "Конкистадоры требуют чтобы мы покорились!"
	style = 3
	action_a ={	
		name = "Конец игры"
		command = { type = trigger which = 298606 } 

	}
	action_b ={
		name = "никогда!!"
		command = { type = relation which = MOG value = -200 }
	}
}




event = {
	id = 298606
	country = MOG
	name = "Делийцы сдались!"
	desc = ""
	style = 2
	
	action_a ={ 
		name = "УРА!"
		command = { type = inherit  which = DLH }

	}
}

