#The Barbary pirates#
event = {

	id = 292180
	random = no
	country = ITA
	name = "Берберские пираты"
	desc = "берберские пираты всегда представляли серьёзную опасность для итальянской торговли. Адмирал Андреа Дориа всегда выступал за борьбу с турками и варварами. В 1535 году он проводил военные действия вместе с императором во время осады Туниса, в 1536 году в качестве командира эскадрона объединенного с кораблями папы, Венецией и Рыцарям Св. Иоанна он неожиданно напал на известного Барбароссу в заливе Арта после чего отпустил его. Он сопровождал Карла во время обреченной на провал алжирской экспедиции в 1451 году, которую он не одобрял, но в тоже время спас войска от полного бедствия."
	style = 2

	date = { day = 1 month = january year = 1535 }
	offset = 180
	deathdate = { day = 1 month = january year = 1540 }

	action_a ={
		name = "Лишь пытаться бороться с пиратской угрозой"
		command = { type = relation which = TUN value = -50 }
		command = { type = relation which = ALD value = -50 }
		command = { type = relation which = XHO value = -50 }
		command = { type = relation which = TUR value = -50 }
		command = { type = trade value = -700 }
		command = { type = merchants value = -4 }
                command = { type = treasury value = -100 }
                command = { type = galleys which = -1 value = 10 }
	}

	action_b ={
		name = "Объявить войну пиратам"
                command = { type = casusbelli which = TUN value = 240 }
		command = { type = casusbelli which = ALD value = 240 }
		command = { type = casusbelli which = XHO value = 240 }
		command = { type = casusbelli which = TUR value = 240 }
	        command = { type = relation which = TUN value = -50 }
		command = { type = relation which = ALD value = -50 }
		command = { type = relation which = XHO value = -50 }
		command = { type = relation which = TUR value = -50 }
		command = { type = warships which = -2 value = 2 }
                command = { type = galleys which = -2 value = 20 }
		command = { type = naval value = 500 }
                command = { type = treasury value = -300 }
	}
}

#Merchant bankers of Genoa, part 1
event = {
	id = 292181
	random = no
	country = ITA
	trigger = {
		exists = SPA
		NOT = { war = { country = ITA country = SPA } }
		owned = { province = 403  data = -1 }
                relation = {  country = SPA value = 50 } 
	}
	date = { day = 1 month = january year = 1540 }
	offset = 1800

	name = "Банковская деятельность Итальянских банкиров"
	desc = "Союз с Испанией позволил генуэзским финансистам собрать огромную сумму на Испанскую корону. Генуэзцы контролировали торговлю Испании и были основными банкирами католической Европы в конце XVI века."
	style = 2

	action_a = {
		name = "Вложить весь имеющийся капитал в Испанию"
		command = { type = infra value = 1200 }
		command = { type = treasury value = -500 }
		command = { type = relation which = SPA value = 100 }
		command = { type = setflag which =  merchant_bankers }
		}

	action_b = {
		name = "Мы торговцы, а не банкиры"
		command = { type = trade value = 1000 }
                command = { type = treasury value = -200 }
		command = { type = merchants value = 6 }
	}
}

#Merchant bankers of Genoa, part 2
event = {
	id = 292182
	random = no
	country = ITA
	trigger = {
		flag = merchant_bankers
		exists = SPA
		NOT = { war = { country = ITA country = SPA } }
		owned = { province = 403  data = -1 }
	}

	date = { day = 1 month = january year = 1560 }
	offset = 1800

	name = "Банковская деятельность Итальянских банкиров"
	desc = "'Золото рождается в Америке, умирает в Испании и хранится в Генуе'. Наше банковское дело бурно развивается и строятся великие дворцы."
	style = 2

	action_a = {
		name = "Это сделает наши города самыми богатыми и красивыми!"
		command = { type = treasury value = 600 }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = relation which = SPA value = 50 }
command = { type = infra value = 2000 }
	}
}

#Merchant bankers of Genoa, part 3
event = {
	id = 292183
	random = no
	country = ITA
	trigger = {
		flag = merchant_bankers
		exists = SPA
		NOT = { war = { country = ITA country = SPA } }
		owned = { province = 403  data = -1 }
	}

	date = { day = 1 month = november year = 1580 }
	offset = 360
	deathdate = { day = 30 month = december year = 1588 }

	name = "Банковская деятельность Итальнских банкиров"
	desc = "'Золото рождается в Америке, умирает в Испании и хранится в Генуе'. Наше банковское дело бурно развивается и строятся великие дворцы."
	style = 2

	action_a = {
		name = "Это сделает наши города самыми богатыми и красивыми!"
		command = { type = treasury value = 600 }
		command = { type = relation which = SPA value = 50 }
command = { type = infra value = 2000 }
	}
}

#First Spanish Bankruptcy
event = {
	id = 292184
	random = no
	country = ITA
	trigger = {
		flag = merchant_bankers
	}

	date = { day = 5 month = january year = 1592 }
	offset = 900
	deathdate = { day = 5 month = january year = 1610 }

	name = "Банкротство Испании"
	desc = "Несостоятельность Испанской власти негативно повлияла на экономику Италии, так как большой итальянский капитал был тесно связан с финансами Испании."
	style = 2

	action_a = {
		name = "О нет!"
		command = { type = treasury value = -400 }
		command = { type = stability value = -3 }
command = { type = infra value = -1000 }
	}
}

#Second Spanish Bankruptcy
event = {
	id = 292185
	random = no
	country = ITA
	trigger = {
		flag = merchant_bankers

	}

	date = { day = 1 month = january year = 1621 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1646 }

	name = "Банкротство Испании"
	desc = "Несостоятельность Испанской власти негативно повлияла на экономику Италии, так как большой итальянский капитал был тесно связан с финансами Испании."
	style = 3

	action_a = {
		name = "О нет!"
		command = { type = treasury value = -400 }
		command = { type = stability value = -3 }
command = { type = infra value = -1000 }
	}
}

event = {
	id = 292186
	random = no
	country = ITA
	trigger = {
		owned = { province = 398 data = -1 } #Corsica
	}
	date = { day = 1 month = january year = 1755 }
	offset = 360

	name = "Восстания на Корсике"
	desc = "Корсика был недовольна генуэзскими правами и в 1755 году Паскуаль Паоли возглавил военное движение, в результате которого Генуя потеряла контроль над средиземноморским островом."
	style = 4

	action_a = {
		name = "Проклятые мятежники!"
		command = { type = revolt which = 398 }
		command = { type = revolt which = 398 }
                command = { type = revolt which = 398 }
		command = { type = revolt which = 398 }
		command = { type = stability value = -1 }
	}
}

#The Holy League#
event = {

	id = 292187
	trigger = {
				 exists = TUR
				event = 3549
			 }
	random = no
	country = ITA
	name = "EVENTNAME3650"
	desc = "EVENTHIST3650"
	style = 2

	date = { day = 1 month = january year = 1568 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={						#Support the Holy League#
		name = "ACTIONNAME3650A"
		command = { type = casusbelli which = TUR value = 72 }
		command = { type = relation which = TUR value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = KNI value = 150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = NAP value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

	action_b ={						#Let the matter fall#
		name = "ACTIONNAME3650B"
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = KNI value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = NAP value = -50 }
		command = { type = relation which = SAV value = -50 }
	}
}

event = {
   id = 292188
   random = no
   country = TOS
   name = "Джованни Рико делла Мирадонна"
   desc = "EVENTHIST331049"
   date = { day = 17 month = november year = 1494 }

   action_a = {
      name = "OK"
      command = { type = infra value = 50 }
      }
}

#Galileo#
event = {
	id = 292189
	random = no
	country = ITA
	name = "EVENTNAME17369"
	desc = "EVENTHIST17369"
	style = 3
	date = { day = 1 month = january year = 1610}
	offset = 360

	action_a ={				#Ok#
		name = "ACTIONNAME5251A"
		command = { type = domestic which = innovative value = 1 }
		command = { type = infra value = 200 }
	}
}


#fortification of Tuscany under Cosimo I No Siena version
event = {
	id = 292190
	trigger = {
		NOT = { event = 17374} #fortification Siena version
		NOT = { owned = { province = 400 data = -1 } }
		}
	random = no
	country = ITA
	name = "EVENTNAME17373"
	desc = "EVENTHIST17373"
	style = 2
	date = { day = 1 month = april year = 1569}
	offset = 600
	action_a = {
		name = "ACTIONNAME5251A"
		command = { type = fortress which = 401 value = 1}
                command = { type = treasury value = -100 }
		}
}

event = {
	id = 292191
	random = no
	country = ITA
	trigger = { NOT = { relation = {  country = TUR value = -100 } } }
	name = "EVENTNAME17376"
	desc = "EVENTHIST17376"
	style = 2
	date = { day = 1 month = january year = 1558 }
	offset = 360
	action_a = {
		name = "ACTIONNAME5251A"
		command = { type = naval  value = 1000 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = galleys which = -1 value = 6 }
		}
}

#Florentine Militia#
event = {
	id = 292192
	random = no
	country = ITA
trigger = {

		owned = { province = 401  data = -1 }

	}
	name = "EVENTNAME17377"
	desc = "EVENTHIST17377"
	style = 2

	date = { day = 1 month = january year = 1505 }
	offset = 360
	deathdate = { day = 1 month = january year = 1506 }

	action_a ={		#Establish Militia#
		name = "ACTIONNAME17377A"
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = land value = 1 }
		command = { type = domestic which = QUALITY value = -1 }#IB change, they 		should certainly get more manpower from this
		command = { type = domestic which = OFFENSIVE value = -1 }#so as not to make 		it impossible.
		command = { type = land value = 500 }
		command = { type = INF which = 401 value = 12000 }
		command = { type = revoltrisk which = 24 value = 3 }
		command = { type = stability value = -1 }
		}

	action_b ={				#Rely on Mercenaries#
		name = "ACTIONNAME17377B"
		command = { type = CAV which = -2 value = 2000 }
		command = { type = clrflag which = militiaflag }
		command = { type = stability value = 2 }
		}
	}


#Niccolт Machiavelli publishes 'The Prince'#
event = {
	id = 292193
	random = no
	country = ITA
trigger = {

		owned = { province = 401  data = -1 }

	}
	name = "EVENTNAME5220"
	desc = "EVENTHIST5220"
	style = 2
	date = { day = 1 month = june year = 1513 }

	action_a ={				#Ok#
		name = "ACTIONNAME5220A"
		command = { type = relation which = -1 value = 20 }
		command = { type = relation which = -1 value = 20 }
		command = { type = relation which = -1 value = 20 }
		command = { type = relation which = -1 value = 20 }
		command = { type = diplomats value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
	}
}
#Michelangelo#
event = {
	id = 292194
	random = no
	country = ITA
trigger = {

		owned = { province = 401  data = -1 }

	}
	name = "EVENTNAME5221"
	desc = "EVENTHIST5221"
	style = 4
	date = { day = 1 month = january year = 1504 }

	action_a ={				#Ok#
		name = "ACTIONNAME5221A"
		command = { type = stability value = 1 }
		command = { type = infra value = 250 }
	}
}

#The Commissioning of Reggia di Caserta#
event = {
	id = 292195
	random = no
	country = ITA
trigger = {

		owned = { province = 393  data = -1 }

	}
	name = "EVENTNAME17322"
	desc = "EVENTHIST17322"
	style = 4

	date = { day = 1 month = january year = 1752 }
	offset = 30
	deathdate = { day = 30 month = december year = 1752 }

	action_a ={ #We need it for the Glory#
		name = "ACTIONNAME17322A"
		command = { type = treasury value = -400 }
		command = { type = stability value = -1 }
		}

	action_b ={ #Useless piece of..#
		name = "ACTIONNAME17322B"
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 17323 }
		}
}

#Reggia di Caserta stands in Unearthly Glory#
event = {
	id = 292196
	random = no
	country = ITA
	trigger = { event = 292195 }
	name = "EVENTNAME17323"
	desc = "EVENTHIST17323"
	style = 4
	date = { day = 1 month = january year = 1774 }
	offset = 30
	deathdate = { day = 30 month = december year = 1774 }

	action_a ={ #We have our "Versailles"!#
		name = "ACTIONNAME5251A"
		command = { type = gainmanufactory which = 393 value = luxury }
		command = { type = vp value = 50 }
		}
}

event = {

	id =  292197
	random = no
	country = ITA
trigger = {

		owned = { province = 393  data = -1 }

	}
	name = "Герцог Осуна"
	desc = "Герцог Осуна служил в качестве неаполитанского вице-короля с 1610 по 1620 года. Он проводил агрессивную внешнюю политику, особенно в отношении вопросов, касающихся моря. Он создал личный военно-морской флот, который был больше государственного. Флот, созданный будто бы для защиты побережья, на самом деле состоял из каперов, и постоянно нападал на венецианские и мусульманские торговые корабли. Также герцог предпочитал использовать овальные корабли вместо традиционных неаполитанских галер. После его смерти флот перешел в ведение правительства."

	style = 3
        date = { day = 1 month = january year = 1610 }
	offset = 500

	action_a ={			
		name = "Поддержать его амбиции"
		command = { type = stability value = -2 } 
		command = { type = naval   value = 1000 }#not too much for 1610
		command = { type = domestic which = land value = -1 }
		command = { type = warships   which = -2 value = 10 }
		command = { type = cash   value = -300 }
		command = { type = relation   which = VEN value = -150 } #nearly caused a war
		command = { type = relation   which = TUR value = -80 }
		command = { type = relation   which = MAM value = -80 }
		command = { type = relation   which = ALD value = -40 }
		command = { type = relation   which = TRI value = -40 }#are they still Tripoli?
		command = { type = relation   which = TUN value = -80 }#Cyrenacia??
	}
	action_b ={			
		name = "Это глупо!"
		command = { type = stability value = 1 } 
		command = { type = naval   value = -200 }
	}
}

# Army reforms of Carlo VII#
#by Isaac Brock#
event = {
	id = 292198
	random = no
	country = ITA
trigger = {

		owned = { province = 393  data = -1 }

	}
	name = "Военная реформа 1740-ых годов"
	desc = "Став наместником Неаполя, Карл VII тут же получил в подарок от своего отца короля итальянского небольшую армию. В 1743 году состоявшую в основном из иностранцев неаполитанскую армию Карл разбил на 12 ‘народных’ полков. Их пополнение шло за счет провинциальных народных ополченцев. Армию, как и у пруссаков, должно было возглавлять неаполитанское дворянство, чтобы оно еще больше зависело от власти."
	style = 4

	date = { day = 1 month = january year = 1742 }
	offset = 90
	deathdate = { day = 30 month = december year = 1743 }

	action_a ={				#Reform the Army#
		name = "Провести реформы"
		command = { type = domestic which = Serfdom value = -1 }
		command = { type = domestic which = Offensive value = -1 }
		command = { type = domestic which = Land value = 1 }
		command = { type = domestic which = Quality value = -1 }
		command = { type = stability value = -2 }
		command = { type = land   value = 2000 }
		command = { type = provincemanpower   which = -2 value = 1 }
command = { type = INF which = -1 value = 10000 }
command = { type = cavalry which = -1 value = 3000 }
	}

	action_b ={ # Maintain the present system
		name = " Поддержать существующую реформу"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = {type = stability value = 1}
	}
}

#Masaniello event sequence#
#by Archeolooginspe
event = {
	id = 292199 
	random = no 
	country = ITA
trigger = {

		owned = { province = 393  data = -1 }

	}
	name = "Неаполитанский революционер" 
	desc = "Неаполитанский революционер, чье настоящее имя было Томмазо Аньелло. Будучи рыбаком, он возглавил восстание рабочих, обремененных высокими налогами, против испанских правителей Неаполя. Беспорядки начались в 1647 году и вскоре приобрели настолько серьезный характер, что испанский вице-король принял условия Мазаньелло, пообещал провести требуемые реформы, и официально признал его генерал-капитаном. В скором времени, потеряв голову от неожиданного успеха, Мазаньелло был убит либо агентами испанского вице-короля, либо своими собственными разочарованными сторонниками. Восстание вскоре было подавлено." 
	style = 3 

	date = { day = 1 month = may year = 1647 } 
	offset = 360 
	deathdate = { day = 1 month = january year = 1648 } 

	action_a = { 
		name = "Обещать реформы и казнить зачинщика!" 
		command = { type = stability value = -2 } 
		command = { type = revolt which = 393 } 
command = { type = revolt which = 393 } 
command = { type = revolt which = 393 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 1407 } 
command = { type = revolt which = 1407 } 
command = { type = revolt which = 1407 } 
		command = { type = domestic which = serfdom value = 1 } 
command = { type = INF which = -1 value = 5000 }
command = { type = cavalry which = -1 value = 4000 }
	} 
	action_b = { 
		name = "Обещать реформы!" 
		command = { type = stability value = -1 } 
		command = { type = revolt which = 393 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 393 } 
command = { type = revolt which = 1407 } 
		command = { type = treasury value = 200 } 
		command = { type = domestic which = aristocracy value = 1 } 
	}		 
	action_c = { 
		name = "Немедленно провести реформы" 
		command = { type = stability value = -4 } 
		command = { type = domestic which = serfdom value = -2 } 
		command = { type = domestic which = aristocracy value = -4 } 
		command = { type = domestic which = innovative value = 2 } 
command = { type = revoltrisk which = 120 value = 7 } 
		command = { type = infra value = 300 } 
		command = { type = provincetax which = -1 value = -2 } 
		command = { type = relation which = SPA value = -400 } 
		command = { type = relation which = PAP value = -400 } 
		command = { type = breakvassal which = SPA } 
command = { type = treasury value = -1000 } 
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
	} 
	action_d = { 
		name = "Отказаться от любых контактов с предателями" 
		command = { type = revolt which = 393 } 
command = { type = revolt which = 393 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 394 } 
command = { type = revolt which = 1407 } 
command = { type = revolt which = 1407 } 
command = { type = revolt which = 1407 } 
		command = { type = revoltrisk which = 36 value = 10 } 
		command = { type = domestic which = innovative value = -1 } 
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
	} 
} 


#Paolo Sarpi#
event = {
	id = 292280
	random = no
	country = ITA
trigger = {

		owned = { province = 370  data = -1 }

	}
	name = "EVENTNAME17009"
	desc = "EVENTHIST17009"
	style = 3

	date = { day = 1 month = september year = 1605 }
	offset = 360
	deathdate = { day = 1 month = september year = 1606 }

	action_a = {		#Turn to Paolo Sarpi, Do Not Compromise#
		name = "ACTIONNAME17009A"
		command = { type = stability  value = 2 }
		command = { type = domestic  which = innovative value = 1 }
		command = { type = provincetax  which = -2  value = 2 }
		command = { type = relation  which = PAP  value = -100 }
		command = { type = relation  which = SPA  value = -50 }
		command = { type = relation  which = FRA  value = 100 }
	}
	action_b = {		#Turn to Paolo Sarpi, but Compromise with Rome#
		name = "ACTIONNAME17009B"
		command = { type = stability  value = -1 }
		command = { type = provincetax  which = -2  value = -2 }
		command = { type = relation  which = PAP  value = 30 }
		command = { type = relation  which = FRA  value = -30 }
	}
	action_c = {		#Submit Fully to Rome#
		name = "ACTIONNAME17009C"
		command = { type = stability  value = -2 }
		command = { type = domestic  which = innovative value = -1 }
		command = { type = provincetax  which = -2  value = -5 }
		command = { type = relation  which = PAP  value = 100 }
		command = { type = relation  which = SPA  value = 50 }
		command = { type = relation  which = FRA  value = -50 }
	}
}

event = {
	id = 292281
	random = no
		country = ITA
trigger = {

		owned = { province = 370  data = -1 }

	}
	name = "Реформы в провинции Венеция"
	desc = "EVENTHIST17011"
	style = 3

	date = { day = 1 month = january year = 1630 }
	offset = 360
	deathdate = { day = 1 month = january year = 1631 }

	action_a = {		#Allow Minor Reforms#
		name = "ACTIONNAME17011A"
		command = { type = stability  value = 1 }
		command = { type = domestic  which = serfdom  value = -1 }
		command = { type = domestic  which = centralization  value = -1 }
	}

	action_b = {		#Suppress Renier Zen#
		name = "ACTIONNAME17011B"
		command = { type = stability  value = -1 }
		command = { type = domestic  which = serfdom  value = 1 }
		command = { type = domestic  which = centralization  value = 1 }
	}
}

#Admiral Emo's Naval Reforms#
event = {
		id = 292282
	random = no
		country = ITA
trigger = {

		owned = { province = 370  data = -1 }

	}
	name = "EVENTNAME17013"
	desc = "EVENTHIST17013"
	style = 4

	date = { day = 1 month = january year = 1768 }
	offset = 360
	deathdate = { day = 1 month = january year = 1769 }

	action_a = {		#Allow Reform#
		name = "ACTIONNAME17013A"
		command = { type = naval  value = 1000 }
		command = { type = warships  which = -1  value = 5 }
                command = { type = treasury value = -200 }
                command = { type = transports which = -1 value = 2 }
	}

	action_b = {		#Our Galleys are Sufficient#
		name = "ACTIONNAME17013B"
		command = { type = naval  value = -200 }
		command = { type = galleys  which = -1  value = 10 }
	}
}

event = {
		id = 292283
	random = no
		country = ITA
trigger = {

		owned = { province = 370  data = -1 }

	}
name = "Закон о галерах"
desc = "До 1545 года, гребцы в галерах были свободными моряками, работающими за заработную плату. Первоначально, это были, исключительно, венецианцы, а позднее, к ним присоединились далматы, критяне и греки. Из-за трудности найма достаточного количества экипажа, Венеция обратилась за помощью к воинской повинности, приковывая гребцов цепью к скамьям, поскольку другие флоты делали так уже давно."
style = 2
date = { day = 3 month = october year = 1545 }
offset = 30
deathdate = { day = 1 month = december year = 1549 }

action_a ={
name = "Ввести"
command = { type = manpower value = 2 }
command = { type = stability value = -1 }
command = { type = galleys which = -2 value = 20 }
command = { type = naval value = 750 }
command = { type = domestic which = serfdom value = 1 }
}
action_b ={
name = "Старая система была лучше"
command = { type = treasury value = -200 }
command = { type = population which = 370 value = 2000 } #Veneto
}
}

event = {
		id = 292284
	random = no
		country = ITA
name = "Канцелярия по проблемам сельского хозяйства"
desc = "Эта канцелярия была основан в 1556 году. Она был создана для усовершенствования сельского хозяйства, путем увеличения площадей земли для культивировациии, и поощрения частных инвестиций в разработку сельского хозяйства. Постепенное повышение цен на зерно в XVI столетии, спровоцировало перенос вкладов от торговли к земле."
style = 2
date = { day = 11 month = august year = 1556 }
offset = 30
deathdate = { day = 1 month = july year = 1559 }

action_a ={
name = "Офис по зерновым делам"
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = treasury value = 100 }
command = { type = domestic which = land value = 1 }
command = { type = domestic which = serfdom value = 1 }
}
}

event = {
		id = 292285
	random = no
		country = ITA
name = "Первый банк"
desc = "Первый общественный банк был учережден Итальянским правительством в 1587 году, после краха частного банка, за которым последовал общественный протест. Событие получило известность как банк на Базарной площади. Второй общественный банк, Банко дель Жиро, был основан в 1619 году, а в 1638 году, упразднили банк на базарной площади. Эти банки играли очень важную роль в финансировании войн республики, выпуская представительные деньги."
style = 2
date = { day = 20 month = march year = 1587 }
offset = 30
deathdate = { day = 1 month = april year = 1590 }

action_a ={
name = "Покажите мне деньги!"
command = { type = ADM which = 1 value = 12 }
command = { type = gainbuilding which = -1 value = cityrights }
command = { type = gainbuilding which = -1 value = cityrights }
command = { type = gainbuilding which = -1 value = cityrights }
command = { type = inflation value = -2 }
command = { type = loansize which = 100 }
}
}

event = {
	id = 292286
	random = no
		country = ITA
trigger = {

		owned = { province = 370  data = -1 }

	}
name = "Новый флот"
desc = "Основой Венецианского флота Италиии всегда были его простые и трехмачтовые галеры. Исход военно-морских сражений решался во время высадки на сушу, как это было в Лепанто. Но военно-морская тактика реконструировалась галеоном, с рядами орудий на борту, и флотом линии фронта, который произошел от него. Венеция привилегировала некоторые голландские и британские суда, допускала суда купцов в военных интересах. После этого, в 1667 году, проекту британского корабля, в Арсенале построили судно первой линии. На протяжении следующих 50 лет, из верфей арсенала вышло 68 таких судов. За следующие 50 лет 68 из этих судов прибыли от верфей Арсенала."
style = 3
date = { day = 20 month = march year = 1667 }
offset = 30
deathdate = { day = 1 month = april year = 1670 }

action_a = {
name = "Приветствовать новый флот"
command = { type = warships which = 370 value = 10 }
command = { type = domestic which = land value = -1 }
command = { type = gainmanufactory which = 1923 value = navalequipment }#Istria
command = { type = cash value = -700 }
}
action_b = {
name = "Продолжить использовать галеры"
command = { type = galleys which = 370 value = 20 }
command = { type = domestic which = land value = 1 }
command = { type = land value = 300 }
command = { type = domestic which = innovative value = -1 }
command = { type = cash value = -300 }
}
}

event = {
id = 292287
	random = no
		country = ITA
trigger = {
                 owned = { province = 1920  data = -1 }
		owned = { province = 370  data = -1 }

	}
name = "Модернизация укреплений"
desc = " Чтобы укрепить восточную границу против турок и Габсбургов, в Венеции решили строить крепость. Таким образом, было сооружено укрепление, в форме девятиконечной звезды, по проекту Джулио Саворгана, имя которому ‘Пэйманова’."
style = 2
date = { day = 7 month = october year = 1593 }
offset = 30
deathdate = { day = 1 month = september year = 1599 }

action_a ={
name = "Отстроить новый форт в Венетто"
command = { type = fortress which = 1920 value = 1 }
command = { type = fortress which = 1405 value = 1 }
command = { type = stability value = 1 }
command = { type = treasury value = -300 }
}
action_b ={
name = "Модернизировать все области"
command = { type = treasury value = -600 }
command = { type = fortress which = -1 value = 1 }
command = { type = fortress which = -1 value = 1 }
command = { type = fortress which = -1 value = 1 }
command = { type = fortress which = -1 value = 1 }
command = { type = domestic which = offensive value = -2 }
}
}


event = {
	id = 292288
	trigger = {
		atwar = no
	}
	random = no
	country = ITA
	name = "Инквизиция Доминиканцев"
	desc = "EVENTHIST326031"
	style = 1

	date = { day = 9 month = april year = 1500 }
	offset = 300
	deathdate = { day = 2 month = March year = 1525 }

	action_a ={
		name = "Контроль над инквизиторами" ##
		command = { type = relation which = PAP value = -100 }
command = { type = relation which = SPA value = -100 }
		command = { type = provincetax which = -2 value = 1 }
		command = { type = domestic which = innovative value = 1 } 
		command = { type = stability value = 2 }
		command = { type = badboy which = 2 }
		command = { type = missionaries value = -6 }
	}
	action_b ={
		name = "Дать им полную свободу действий" 
		command = { type = revoltrisk which = 24 value = 2 }
		command = { type = badboy which = -1 }
		command = { type = provincetax which = -2 value = -1 }
		command = { type = relation which = PAP value = 100 }
command = { type = relation which = SPA value = 100 }
		command = { type = population which = 370 value = -2000 }
		command = { type = stability value = -2 }
	}
}

event = {
		id = 292289
	random = no
		country = ITA
trigger = {

		owned = { province = 404  data = -1 }

	}
	name = "EVENTNAME17418"
	desc = "EVENTHIST17418"
	style = 4

	date = { day = 1 month = january year = 1717 }
	offset = 30
	deathdate = { day = 1 month = january year = 1718 }

	action_a ={				#Absolutist reforms#
		name = "ACTIONNAME17418A"
		command = { type = domestic which = Aristocracy value = -2 }
		command = { type = domestic which = Centralization value = 2 }
		command = { type = domestic which = Innovative value = 1 }
		command = { type = domestic which = Quality value = -1 }
		command = { type = stability value = -2 }
		command = { type = naval   value = 300 }
		command = { type = provincemanpower   which = -2 value = 1 }
		command = { type = diplomats   value = 3 }

	}

	action_b ={ # Maintain the present system
		name = "ACTIONNAME17418B"
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = sleepevent which = 17419 } #absolutist reforms of Charles Emmanuel III
	}
}

#(1567-1584) Charles Borromeo
event = {
	id = 193018
	trigger = {
		NOT = { exists = MLO }
		religion = catholic
		event = 102 #Council of Trent
		owned = { province = 389 data = -1 } #Lombardia
	}
	random = no
	country = ITA
	name = "Charles Borromeo" 
	desc = "Charles Borromeo (1538-1584) became Archbishop of Milan after his uncle Giovanni Angelo de' Medici became Pope as Pius IV. Charles immediately applied the new policies and doctrines of the Council of Trent to Milan when he was still only 29, making the city just as disciplined as its Calvinist rival, Geneva, just across the Alps. Charles set up a printing press in his own palace to make the new legislation known, and subjected the clergy to rigourous examinations. He reformed the education system of Milan, making it far better than it was before. His reforms, however, conflicted with the secular authourities of Milan, as well as some of the unreformist clergy. He was canonized in 1614."
	date = { day = 1 month = january year = 1567 }
	offset = 20
	deathdate = { day = 7 month = january year = 1584 }

	action_a = {
		name = "A wonderful Archbishop!" 
		command = { type = religion which = counterreform }
		command = { type = missionaries value = 6 }
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 120 value = 3 }
		command = { type = dip which = 3 value = 240 } #Isaac Brock changed 6 to 3
		command = { type = adm which = 3 value = 240 } #Isaac Brock changed 6 to 3
		command = { type = relation which = PAP value = 100 } #Isaac Brock: changed 200 to 100
		command = { type = relation which = SPA value = 50 } #Isaac Brock: changed 100 to 50
		command = { type = relation which = HAB value = 50 } #Isaac Brock: changed 100 to 50
		#EXCEPTION : no sleepevent which = 17316 - should apply to MLO too
	}
}

#(1562-1580) Reforms of Emmanuel-Philibert - Milan version
event = {
	id = 193029
	trigger = {
		
		atwar = no
	}
	random = no
	country = ITA
	name = "Reforms of Emmanuel-Philibert" 
	desc = "Emmanuel-Philibert swept away many of the traditional governing structures of the state."

	date = { day = 1 month = january year = 1562 }
	offset = 360
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME17417A" #Reform the government
		command = { type = gainbuilding which = -1 value = bailiff }
		command = { type = domestic which = centralization value = 3 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = land value = 600 }
		command = { type = infra value = 250 }
		command = { type = sleepevent which = 193028 } #ITA: Reforms of Emmanuel-Philibert
		#EXCEPTION : no sleepevent which = 17417 - should apply to SAV too
	}
}

#(1593-1595) The Banco di San Ambrogio
event = {
	id = 193019
	trigger = {
		NOT = { exists = MLO }

		owned = { province = 389 data = -1 } #Lombardia
	}
	random = no
	country = ITA
	name = "The Banco di San Ambrogio" 
	desc = "In 1593 the government set up the Banco di San Ambrogio, the first public bank in Milan. Milan became the most important financial centre in Northern Italy."
	

	date = { day = 20 month = march year = 1593 }
	offset = 30
	deathdate = { day = 1 month = april year = 1595 }

	action_a = {
		name = "EXCELLENT"
		command = { type = ADM which = 1 value = 12 }
		command = { type = treasury value = 100 }
		command = { type = inflation value = -3 }
		command = { type = loansize which = 100 }
		command = { type = sleepevent which = 228014 } #MLO: The Banco di San Ambrogio
	}
}

#(1638-1642) civil wars under Charles Emmanuel II - Milan version
event = {
	id = 193027
	trigger = {
		monarch = 18859 
	}
	random = no
	country = ITA
	name = "Civil Wars" 
	desc = "The regency of Charles Emmanuel II was in the hands of his mother. Despite her French origins she resisted French attempts to determine policy for Kingdom of Italy. However, her brothers-in-law sought the help of Spain to oust her from the regency and she was forced to accept French aid in the civil wars that followed."

	date = { day = 4 month = october year = 1638 }
	offset = 60
	deathdate = { day = 14 month = june year = 1642 }

	action_a = {
		name = "What can we do?" 
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 60 value = 4 }
		command = { type = ADM which = -2 value = 60 }
		command = { type = DIP which = -2 value = 60 }
		command = { type = MIL which = -2 value = 60 }
		command = { type = relation which = FRA value = 50 }
	}
}

#(1675-1715) Economic and Social Decadence - Ahistorical Alt_Italy formed by Milan
#EXCEPTION : no sleepevent - should apply to each country within KoI too
#by Bordic
event = {
	id = 193066
	trigger = {
		
		owned = { province = 389 data = -1 } #Lombardia
		NOT = {
			countrysize = 10
			domestic = { type = innovative value = 7 }
			domestic = { type = serfdom value = 3 }
			domestic = { type = aristocracy value = 3 }
			
		}
	}
	random = no
	country = ITA
	name = "Economic and Social Decadence" 
	desc = "In the late XVIIth century, the disuse of the Mediterranean sea as the main international trade junction between Europa and the East Indies brought the Italian economic system to collapse. Italy became more removed from the mainstream of European development and each local administration along the peninsula lagged behind that of any other European contemporary. The practice of agriculture as prevailing economic activity meant the coming back to power of the most conservative landowning aristocracy. That economic backwardness associated with the effects of Counterreform deeply affected Italian social life too, now less and less inclined to accept innovation and to develop some entrepreneurial attitude."

	date = { day = 15 month = january year = 1675 }
	offset = 60
	deathdate = { day = 0 month = january year = 1715 }

	action_a = {
		name = "ALAS"
		command = { type = stability value = -1 }
		command = { type = provincetax which = -2 value = -2 }
		command = { type = provincemanpower which = -2 value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = trade value = -500 }
		command = { type = infra value = -500 }
		command = { type = naval value = -500 }
	}
}


#(1486-1499) The Silk Industry
#by Bordic
event = {
	id = 228036
	trigger = {
		owned = { province = 389 data = -1 } 
		atwar = no
	}
	random = no
        country = ITA
	name = "The Silk Industry" 
	desc = "EVENTHIST228036"
	date = { day = 5 month = January year = 1486 }
	offset = 30
	deathdate = { day = 5 month = September year = 1499 } #French troops in Milan

	action_a = {
		name = "Build the 'Sforzesca"
		command = { type = treasury value = -300 }
		command = { type = provincetax which = 389 value = 2 } #Lombardia
		command = { type = population which = 389 value = 2000 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = gainmanufactory which = 389 value = refinery }
	}
	action_b = {
		name = "Let's improve what we have" 
		command = { type = treasury value = -75 }
		command = { type = infra value = 250 }
		command = { type = trade value = 250 }
		command = { type = land value = 250 }
		command = { type = naval value = 250 } #fluvial connections
		command = { type = ADM which = 2 value = 60 }
	}
}

#(1486-1499) The Silk Industry
#by Bordic
event = {
	id = 217950
	trigger = {
		owned = { province = 389 data = -1 } 
		atwar = no
	}
	random = no
        country = MLO
	name = "The Silk Industry" 
	desc = "EVENTHIST228036"
	date = { day = 5 month = January year = 1486 }
	offset = 30
	deathdate = { day = 5 month = September year = 1499 } #French troops in Milan

	action_a = {
		name = "Build the 'Sforzesca"
		command = { type = treasury value = -300 }
		command = { type = provincetax which = 389 value = 2 } #Lombardia
		command = { type = population which = 389 value = 2000 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = gainmanufactory which = 389 value = refinery }
	}
	action_b = {
		name = "Let's improve what we have" 
		command = { type = treasury value = -75 }
		command = { type = infra value = 250 }
		command = { type = trade value = 250 }
		command = { type = land value = 250 }
		command = { type = naval value = 250 } #fluvial connections
		command = { type = ADM which = 2 value = 60 }
	}
}