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


# The Fall of Istambul # 
event = { 
        id = 200100
        trigger = { 

                    atwar = yes 
                   NOT = { exists = BYZ }
                   NOT = { control = { province = 1953 data = TUR } }
                   NOT = { control = { province = 1960 data = TUR } }
                   NOT = {  owned = { province = 357 data = TUR } }
                   NOT = {  owned = { province = 321 data = TUR } }
	           owned = { province = 478 data = -1 }
                   owned = { province = 1953 data = -1 }
        } 
        random = NO 
        country = TUR
        name = "Гуяры захватили Истамбул" 
        desc = "Мой повелитель, у стен нашей столицы полчища неверных, они уже владеют Болгарией. Не лучше ли нам перенести столицу в землю предков, за Босфор, в Смирну?" 
        date = { day = 1 month = june year = 1440 }
	offset = 300
	deathdate = { day = 1 month = january year = 1860 }
        style = 1 

        action_a = { # Move the capital to Mistra# 
                   name = "Перенести столицу в Смирну" 
                   command = { type = capital which = 478 } 
                   command = { type = fortress which = 478 value = 2 }
                   command = { type = provinceculture which = 478 value = turkish }
		   command = { type = provincereligion which = 478 value = sunni }
                   command = { type = stability value = -3 } 
                   command = { type = losebuilding which = 1953 value = barrack }
                   command = { type = losebuilding which = 1953 value = shipyard }
                   command = { type = fortress which = 1953 value = -2 }
                   command = { type = losemanufactory which = 1953 }
                   command = { type = vp value = -500 }
                   command = { type = population which = 1953 value = -20000 }
		   command = { type = population which = 357 value = -10000 }
                   command = { type = population which = 478 value = 20000 }
                   command = { type = provincetax which = 1953 value = -8 }
		   command = { type = provincemanpower which = 1953 value = -4 }
                   command = { type = provincetax which = 357 value = -2 }
		   command = { type = provincemanpower which = 357 value = -2 }
                   command = { type = provincetax which = 478 value = 10 }
		   command = { type = provincemanpower which = 478 value = 6 }
                   command = { type = galleys which = 478 value = 20 }
                   command = { type = warships which = 478 value = 8 }
                   } 
        action_b = { # Continue the fight# 
                   name = "Никогда!" 
                   command = { type = INF which = 477 value = 20000 } 
                   command = { type = CAV which = 477 value = 20000 } 
                   command = { type = stability value = -6 } 
        } 
} 

# The Fall of Adrianopl # 
event = { 
        id = 200103
        trigger = {    

                   atwar = yes 
                   exists = BYZ
                   NOT = { control = { province = 357 data = TUR } }
                   NOT = { control = { province = 1960 data = TUR } }
                   NOT = { control = { province = 321 data = TUR } }
                   NOT = { control = { province = 995 data = TUR } }
                   NOT = { control = { province = 1416 data = TUR } }
                   NOT = { control = { province = 1953 data = TUR } }
		   owned = { province = 476 data = -1 }
        } 
        random = NO 
        country = TUR
        name = "Гуяры захватили Адрианополь" 
        desc = "Мой повелитель, у стен нашей столицы полчища неверных, они уже овладели всей Румелией и Фракией. Не лучше ли нам перенести столицу в землю предков, за Босфор, в Анкару?" 
        date = { day = 1 month = june year = 1420 } 
	offset = 300
	deathdate = { day = 1 month = january year = 1520 }
        style = 1 

        action_a = { # # 
                   name = "Перенесём столицу на землю предков" 
                   command = { type = capital which = 476 } 
                   command = { type = stability value = -1 } 
                   command = { type = vp value = -100 }
		   command = { type = population which = 357 value = -6000 }
                   command = { type = population which = 476 value = 6000 }
                   command = { type = provincetax which = 357 value = -2 }
		   command = { type = provincemanpower which = 357 value = -2 }
                   command = { type = provincetax which = 476 value = 2 }
		   command = { type = provincemanpower which = 476 value = 2 }
                   command = { type = CAV which = 476 value = 12000 } 
                   command = { type = galleys which = -1 value = 10 }
                   } 
        action_b = { 
                   name = "Продолжим борьбу!" 
                   command = { type = INF which = 476 value = 10000 } 
                   command = { type = CAV which = 476 value = 10000 } 
                   command = { type = stability value = -6 } 
        } 
} 




