###############################
### 	EEP RUS EVENTS	    ###
######	  by Dmitriy     ###### 	      		
###############################

event = {
	id = 132001
	trigger = {
		exists = JER
		atwar = no
		owned = { province = 481 data = JER }
		control = { province = 481 data = JER }
	}
	random = no
	country = KNI
	name = "EVENTNAME132001"
	desc = "EVENTHIST132001"
	style = 2

	action_a = {
		name = "ACTIONNAME132001A"
		command = { type = addcore which = 481 }
	}
	action_b = {
		name = "ACTIONNAME132001B"
		command = { type = removecore which = 481 }
		command = { type = stability value = 2 }
		command = { type = sleepevent which = 132002 }
	}
}

event = {
	id = 132002
	trigger = { 
		event = 132001
	}
	random = no
	country = JER
	name = "EVENTNAME132002"
	desc = "EVENTHIST132002"
	style = 2

	action_a = {
		name = "ACTIONNAME132002A"
		command = { type = secedeprovince which = KNI value = 481 }
		command = { type = removecore which = 481 }
		command = { type = stability value = 1 }
		command = { type = treasury value = 800 }
		command = { type = relation which = KNI value = 150 }
		command = { type = trigger which = 132003 }
	}
	action_b = {
		name = "ACTIONNAME132002B"
		command = { type = relation which = KNI value = -100 }
		command = { type = trigger which = 132004 }
	}
}

event = {
	id = 132003
	random = no
	country = KNI
	name = "EVENTNAME132003"
	desc = "EVENTHIST132003"
	style = 2

	action_a = {
		name = "ACTIONNAME132003A"
		command = { type = relation which = JER value = 150 }
		command = { type = treasury value = -950 }
		command = { type = capital which = 481 }
		command = { type = provinceculture which = 481 value = maltese }
		command = { type = stability value = -1 }
	}
	action_b = {
		name = "ACTIONNAME132003B"
		command = { type = relation which = JER value = 150 }
		command = { type = treasury value = -800 }
	}
}

event = {
	id = 132004
	random = no
	country = KNI
	name = "EVENTNAME132004"
	desc = "EVENTHIST132004"
	style = 2

	action_a = {
		name = "ACTIONNAME132004A"
		command = { type = relation which = JER value = -50 }
		command = { type = removecore which = 481 }
		command = { type = sleepevent which = 132024 }
		command = { type = sleepevent which = 132025 }
	}
	action_b = {
		name = "ACTIONNAME132004B"
		command = { type = relation which = JER value = -200 }
		command = { type = removecore which = 481 }
		command = { type = casusbelli which = JER value = 2400 }
		command = { type = stability value = -2 }
	}
}

event = {
	id = 132024
	trigger = {
		event = 132004
		owned = { province = 481 data = -1 }
		atwar = no
	}
	random = no
	country = KNI
	name = "EVENTNAME132024"
	desc = "EVENTHIST132024"
	style = 3

	action_a = {
		name = "ACTIONNAME132024A"
		command = { type = addcore which = 481 }
		command = { type = capital which = 481 }
		command = { type = provinceculture which = 481 value = maltese }
		command = { type = treasury value = -100 }
	}
	action_b = {
		name = "ACTIONNAME132024B"
		command = { type = addcore which = 481 }
		command = { type = treasury value = 100 }
		command = { type = stability value = 2 }
	}
}

event = {
	id = 132025
	trigger = {
		event = 132024
	}
	random = no
	country = JER
	name = "EVENTNAME132025"
	desc = "EVENTHIST132025"
	style = 3

	action_a = {
		name = "ACTIONNAME132025A"
		command = { type = removecore which = 481 }
		command = { type = vp value = -50 }
		command = { type = relation which = KNI value = -200 }
	}
}

event = {
	id = 132005
	trigger = {
		atwar = no
		stability = 2
		owned = { province = 485 data = -1 }
		owned = { province = 491 data = -1 }
		owned = { province = 492 data = -1 }
		owned = { province = 493 data = -1 }
	}
	random = no
	country = JER
	name = "EVENTNAME132005"
	desc = "EVENTHIST132005"
	style = 2

	date = { day = 1 month = january year = 1570 }
	offset = 5
	deathdate = { day = 30 month = december year = 1819 }

	action_a = {
		name = "ACTIONNAME132005A"
		command = { type = addcore which = 474 }
		command = { type = addcore which = 495 }
		command = { type = addcore which = 490 }
		command = { type = religiousrevolt which = -1 }
		command = { type = revoltrisk which = 36 value = 2 }
		command = { type = MIL which = 4 value = 36 }
		command = { type = ADM which = -1 value = 36 }
		command = { type = CAV which = -2 value = 2000 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = casusbelli which = MAM value = 36 }
		command = { type = trigger which = 132006 }
	}
	action_b = {
		name = "ACTIONNAME132005B"
		command = { type = stability value = 1 }
		command = { type = revolt which = -2 } #Засиделись без дела...#
		command = { type = ADM which = 3 value = 60 }
		command = { type = DIP which = 1 value = 60 }
		command = { type = provincetax which = -1 value = 2 }
	}
}

event = {
	id = 132006
	random = no
	country = MAM
	name = "EVENTNAME132006"
	desc = "EVENTHIST132006"
	style = 2

	action_a = {
		name = "ACTIONNAME132006A"
		command = { type = casusbelli which = JER value = 60 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 3500 }
		command = { type = INF which = -1 value = 4000 }
		command = { type = INF which = -1 value = 3500 }
		command = { type = CAV which = -1 value = 1300 }
		command = { type = land value = 1500 }
		command = { type = domestic which = offensive value = 2 }
	}
	action_b = {
		name = "ACTIONNAME132006B"
		command = { type = casusbelli which = JER value = 60 }
		command = { type = INF which = -2 value = 7000 }
		command = { type = CAV which = -2 value = 2000 }
		command = { type = fortress which = 474 value = 1 }
		command = { type = fortress which = 495 value = 1 }
		command = { type = fortress which = 490 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = treasury value = -250 }
		command = { type = land value = 500 }
		command = { type = domestic which = offensive value = -3 }
	}
	action_c = {
		name = "ACTIONNAME132006C"
		command = { type = casusbelli which = JER value = 60 }
		command = { type = relation which = JER value = -200 }
		command = { type = war which = JER }
		command = { type = INF which = 474 value = 4000 }
		command = { type = INF which = 495 value = 4000 }
		command = { type = CAV which = 490 value = 1000 }
		command = { type = INF which = 490 value = 5000 }
		command = { type = stability value = -1 }
		command = { type = fortress which = 490 value = 1 }
		command = { type = land value = 1000 }
		command = { type = domestic which = offensive value = 5 }
		command = { type = domestic which = quality value = -2 }
	}
}

event = {
	id = 132007
	trigger = {
		exists = BYZ
		exists = JER
		NOT = {
			OR = {
				owned = { province = 359 data = -1 }
				owned = { province = 358 data = -1 }
				owned = { province = 357 data = -1 }
			}
		}
	}
	random = no
	country = VEN
	name = "EVENTNAME132007"
	desc = "EVENTHIST132007"
	style = 2

	date = { day = 1 month = april year = 1510 }
	offset = 150
	deathdate = { day = 30 month = december year = 1649 }

	action_a = {
		name = "ACTIONNAME132007A"
		command = { type = sleepevent which = 132010 }
		command = { type = relation which = BYZ value = -100 }
		command = { type = treasury value = -200 }
	}
	action_b = {
		name = "ACTIONNAME132007B"
		command = { type = sleepevent which = 132008 }
		command = { type = sleepevent which = 132015 }
		command = { type = relation which = BYZ value = -150 }
		command = { type = breakdynastic which = BYZ }
		command = { type = treasury value = -350 }
		command = { type = relation which = PAP value = -50 }
	}
	action_c = {
		name = "ACTIONNAME132007C"
		command = { type = sleepevent which = 132010 }
		command = { type = sleepevent which = 132015 }
		command = { type = sleepevent which = 132008 }
		command = { type = relation which = BYZ value = 50 }
	}
}

event = {
	id = 132008
	trigger = {
		event = 132007
		NOT = {
			event = 132015
		}
	}
	random = no
	country = PAP
	name = "EVENTNAME132008"
	desc = "EVENTHIST132008"
	style = 2

	action_a = {
		name = "ACTIONNAME132003B"
		command = { type = trigger which = 132009 }
		command = { type = relation which = VEN value = 100 }
		command = { type = relation which = BYZ value = -200 }
		command = { type = treasury value = 200 }
	}
	action_b = {
		name = "ACTIONNAME132008B"
		command = { type = relation which = VEN value = -100 }
		command = { type = relation which = BYZ value = 50 }
	}
}

event = {
	id = 132015
	trigger = {
		event = 132007
		NOT = {
			event = 132008
		}
	}
	random = no
	country = ITA
	name = "EVENTNAME132008"
	desc = "EVENTHIST132008"
	style = 2

	action_a = {
		name = "ACTIONNAME132003B"
		command = { type = trigger which = 132009 }
		command = { type = relation which = VEN value = 100 }
		command = { type = relation which = BYZ value = -200 }
		command = { type = treasury value = 200 }
	}
	action_b = {
		name = "ACTIONNAME132008B"
		command = { type = relation which = VEN value = -100 }
		command = { type = relation which = BYZ value = 50 }
	}
}

event = {
	id = 132009
	random = no
	country = JER
	name = "EVENTNAME132009"
	desc = "EVENTHIST132009"
	style = 2

	action_a = {
		name = "ACTIONNAME132009A"
		command = { type = dynastic which = VEN }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = ITA value = 100 }
		command = { type = relation which = VEN value = 150 }
		command = { type = addcore which = 359 }
		command = { type = addcore which = 358 }
		command = { type = addcore which = 357 }
		command = { type = relation which = BYZ value = -300 }
		command = { type = breakdynastic which = BYZ }
		command = { type = casusbelli which = BYZ value = 120 }
	}
	action_b = {
		name = "ACTIONNAME132009B"
		command = { type = relation which = VEN value = -100 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ITA value = -150 }
		command = { type = relation which = BYZ value = 50 }
		command = { type = sleepevent which = 132011 }
	}
}

event = {
	id = 132010
	random = no
	country = JER
	name = "EVENTNAME132010"
	desc = "EVENTHIST132010"
	style = 2

	action_a = {
		name = "ACTIONNAME132010A"
		command = { type = dynastic which = VEN }
		command = { type = alliance which = VEN }
		command = { type = relation which = VEN value = 200 }
		command = { type = treasury value = 350 }
		command = { type = addcore which = 359 }
		command = { type = addcore which = 358 }
		command = { type = addcore which = 357 }
		command = { type = relation which = BYZ value = -300 }
		command = { type = breakdynastic which = BYZ }
		command = { type = casusbelli which = BYZ value = 120 }
	}
	action_b = {
		name = "ACTIONNAME132009B"
		command = { type = relation which = VEN value = -200 }
		command = { type = relation which = BYZ value = 50 }
		command = { type = sleepevent which = 132011 }
	}
}

event = {
	id = 132011
	trigger = {
		owned = { province = 359 data = -1 }
		owned = { province = 358 data = -1 }
		owned = { province = 357 data = -1 }
		atwar = no
		OR = {
			event = 132009
			event = 132010
		}
	}
	random = no
	country = JER
	name = "EVENTNAME132011"
	desc = "EVENTHIST132011"
	style = 3

	action_a = {
		name = "ACTIONNAME132011A"
		command = { type = vp value = 100 }
		command = { type = removecore which = 357 }
		command = { type = secedeprovince which = VEN value = 357 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = ITA value = 100 }
		command = { type = stability value = 3 }
		command = { type = sleepevent which = 132012 }
		command = { type = sleepevent which = 132026 }
		command = { type = trigger which = 132022 }
	}
	action_b = {
		name = "ACTIONNAME132011B"
		command = { type = vp value = 100 }
		command = { type = removecore which = 357 }
		command = { type = removecore which = 358 }
		command = { type = removecore which = 359 }
		command = { type = independence which = SPR }
		command = { type = secedeprovince which = SPR value = 357 }
		command = { type = secedeprovince which = SPR value = 358 }
		command = { type = secedeprovince which = SPR value = 359 }
		command = { type = relation which = VEN value = -150 }
		command = { type = breakdynastic which = VEN }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = ITA value = 50 }
		command = { type = stability value = 2 }
		command = { type = sleepevent which = 132012 }
		command = { type = sleepevent which = 132026 }
	}
	action_c = {
		name = "ACTIONNAME132011C"
		command = { type = vp value = 100 }
		command = { type = relation which = VEN value = -250 }
		command = { type = relation which = PAP value = -250 }
		command = { type = relation which = ITA value = -250 }
		command = { type = breakdynastic which = VEN }
		command = { type = stability value = -2 }
	}
}

event = {
	id = 132012
	trigger = {
		event = 132010
		event = 132011
	}
	random = no
	country = VEN
	name = "EVENTNAME132012"
	desc = "EVENTHIST132012"
	style = 3

	action_a = {
		name = "ACTIONNAME132012A"
		command = { type = relation which = JER value = -200 }
		command = { type = casusbelli which = JER value = 120 }
		command = { type = addcore which = 357 }
		command = { type = stability value = -1 }
		command = { type = galleys which = -2 value = 8 }
		command = { type = transports which = -2 value = 3 }
		command = { type = warships which = -2 value = 1 }
		command = { type = treasury value = -150 }
	}
	action_b = {
		name = "ACTIONNAME132012B"
		command = { type = relation which = JER value = -50 }
		command = { type = stability value = 1 }
	}
}

event = {
	id = 132026
	trigger = {
		event = 132009
		event = 132011
	}
	random = no
	country = VEN
	name = "EVENTNAME132012"
	desc = "EVENTHIST132026"
	style = 3

	action_a = {
		name = "ACTIONNAME132026A"
		command = { type = relation which = JER value = -250 }
		command = { type = casusbelli which = JER value = 120 }
		command = { type = addcore which = 357 }
		command = { type = stability value = -1 }
		command = { type = galleys which = -2 value = 8 }
		command = { type = transports which = -2 value = 3 }
		command = { type = warships which = -2 value = 1 }
		command = { type = treasury value = -200 }
	}
	action_b = {
		name = "ACTIONNAME132026B"
		command = { type = relation which = JER value = -50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 132013 }
		command = { type = sleepevent which = 132014 }
	}
}

event = {
	id = 132013
	trigger = {
		event = 132026
		NOT = {
			event = 132014
		}
	}
	random = no
	country = PAP
	name = "EVENTNAME132013"
	desc = "EVENTHIST132013"
	style = 3

	action_a = {
		name = "ACTIONNAME132013A"
		command = { type = alliance which = VEN }
		command = { type = relation which = VEN value = 150 }
		command = { type = treasury value = 50 }
		command = { type = relation which = JER value = -250 }
		command = { type = casusbelli which = JER value = 240 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME132013B"
		command = { type = relation which = VEN value = -100 }
		command = { type = relation which = JER value = 50 }
		command = { type = stability value = -1 }
	}
}

event = {
	id = 132014
	trigger = {
		event = 132026
		NOT = {
			event = 132013
		}
	}
	random = no
	country = ITA
	name = "EVENTNAME132013"
	desc = "EVENTHIST132013"
	style = 3

	action_a = {
		name = "ACTIONNAME132013A"
		command = { type = alliance which = VEN }
		command = { type = relation which = VEN value = 150 }
		command = { type = treasury value = 50 }
		command = { type = relation which = JER value = -250 }
		command = { type = casusbelli which = JER value = 240 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME132013B"
		command = { type = relation which = VEN value = -100 }
		command = { type = relation which = JER value = 50 }
	}
}

event = {
	id = 132022
	random = no
	country = VEN
	name = "EVENTNAME132022"
	desc = "EVENTHIST132022"
	style = 3

	action_a = {
		name = "ACTIONNAME132022A"
		command = { type = addcore which = 357 }
		command = { type = relation which = JER value = 150 }
	}
}

event = {
	id = 132016
	trigger = {
		exists = JER
		NOT = {
			war = { country = PAP country = JER }
		}
	}
	random = no
	country = PAP
	name = "EVENTNAME132016"
	desc = "EVENTHIST132016"
	style = 3

	date = { day = 1 month = january year = 1590 }
	offset = 600
	deathdate = { day = 28 month = february year = 1801 }

	action_a = {
		name = "ACTIONNAME132016A"
		command = { type = naval value = 500 }
		command = { type = casusbelli which = TUN value = 60 }
		command = { type = casusbelli which = TRI value = 60 }
		command = { type = casusbelli which = MAM value = 60 }
		command = { type = relation which = TUN value = -100 }
		command = { type = relation which = TRI value = -100 }
		command = { type = relation which = MAM value = -100 }
		command = { type = stability value = 1 }
		command = { type = relation which = JER value = 100 }
		command = { type = trigger which = 132017 }
	}
	action_b = {
		name = "ACTIONNAME132016B"
		command = { type = trade value = 1000 }
		command = { type = stability value = 2 }
		command = { type = relation which = TUN value = 25 }
		command = { type = relation which = TRI value = 25 }
		command = { type = relation which = MAM value = 25 }
	}
}

event = {
	id = 132017
	random = no
	country = JER
	name = "EVENTNAME132017"
	desc = "EVENTHIST132017"
	style = 3

	action_a = {
		name = "ACTIONNAME132017A"
		command = { type = relation which = PAP value = 100 }
		command = { type = stability value = -1 }
		command = { type = relation which = MAM value = -200 }
		command = { type = relation which = TRI value = -200 }
		command = { type = relation which = TUN value = -200 }
		command = { type = casusbelli which = MAM value = 72 }
		command = { type = casusbelli which = TRI value = 72 }
		command = { type = casusbelli which = TUN value = 72 }
		command = { type = addcore which = 741 }
		command = { type = addcore which = 740 }
		command = { type = addcore which = 739 }
		command = { type = warships which = -2 value = 2 }
		command = { type = galleys which = -2 value = 10 }
		command = { type = naval value = 400 }
		command = { type = land value = 150 }
	}
	action_b = {
		name = "ACTIONNAME132017B"
		command = { type = relation which = PAP value = -100 }
		command = { type = infra value = 600 }
		command = { type = trade value = 400 }
		command = { type = sleepevent which = 132018 }
		command = { type = sleepevent which = 132023 }
	}
}

event = {
	id = 132018
	trigger = {
		event = 132017
	}
	random = no
	country = MAM
	name = "EVENTNAME132018"
	desc = "EVENTHIST132018"
	style = 3

	action_a = {
		name = "ACTIONNAME132018A"
		command = { type = trigger which = 132020 }
		command = { type = trigger which = 132021 }
		command = { type = treasury value = -500 }
		command = { type = relation which = TUN value = 100 }
		command = { type = relation which = TRI value = 100 }
		command = { type = casusbelli which = PAP value = 84 }
		command = { type = casusbelli which = JER value = 84 }
		command = { type = fortress which = 741 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME132018B"
		command = { type = casusbelli which = PAP value = 60 }
		command = { type = casusbelli which = JER value = 60 }
		command = { type = treasury value = -200 }
		command = { type = fortress which = 741 value = 1 }
		command = { type = INF which = 741 value = 8000 }
		command = { type = CAV which = 741 value = 3000 }
		command = { type = sleepevent which = 132019 }
	}
}

event = {
	id = 132020
	random = no
	country = TRI
	name = "EVENTNAME132018"
	desc = "EVENTHIST132020"
	style = 3

	action_a = {
		name = "ACTIONNAME132020A"
		command = { type = treasury value = 50 }
		command = { type = dynastic which = MAM }
		command = { type = dynastic which = TUN }
		command = { type = relation which = TUN value = 75 }
		command = { type = relation which = MAM value = 100 }
		command = { type = casusbelli which = PAP value = 84 }
		command = { type = casusbelli which = JER value = 84 }
		command = { type = fortress which = 740 value = 1 }
		command = { type = INF which = 740 value = 10000 }
		command = { type = CAV which = 740 value = 4000 }
		command = { type = ART which = 740 value = 10 }
	}
}

event = {
	id = 132021
	random = no
	country = TUN
	name = "EVENTNAME132018"
	desc = "EVENTHIST132020"
	style = 3

	action_a = {
		name = "ACTIONNAME132020A"
		command = { type = treasury value = 50 }
		command = { type = dynastic which = MAM }
		command = { type = dynastic which = TRI }
		command = { type = relation which = TRI value = 75 }
		command = { type = relation which = MAM value = 100 }
		command = { type = casusbelli which = PAP value = 84 }
		command = { type = casusbelli which = JER value = 84 }
		command = { type = fortress which = 739 value = 1 }
		command = { type = INF which = 739 value = 10000 }
		command = { type = CAV which = 739 value = 4000 }
		command = { type = ART which = 739 value = 10 }
	}
}

event = {
	id = 132019
	trigger = {
		OR = {
			event = 132020
			event = 132021
		}
	}
	random = no
	country = MAM
	name = "EVENTNAME132019"
	desc = "EVENTHIST132019"
	style = 3

	action_a = {
		name = "ACTIONNAME132019A"
		command = { type = alliance which = TUN }
		command = { type = alliance which = TRI }
		command = { type = stability value = 2 }
		command = { type = DIP which = 3 value = 96 }
	}
}

event = {
	id = 132023
	trigger = {
		owned = { province = 741 data = -1 }
		owned = { province = 740 data = -1 }
		owned = { province = 739 data = -1 }
		atwar = no
		event = 132017
	}
	random = no
	country = JER
	name = "EVENTNAME132023"
	desc = "EVENTHIST132023"
	style = 4

	action_a = {
		name = "ACTIONNAME132023A"
		command = { type = vp value = 100 }
		command = { type = ADM which = 2 value = 120 }
		command = { type = stability value = 1 }
		command = { type = trade value = 2000 }
		command = { type = naval value = 750 }
		command = { type = treasury value = -600 }
		command = { type = merchants value = 4 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = mercantilism value = -2 }
		command = { type = domestic which = land value = -1 }
		command = { type = provincetax which = -2 value = 1 }
		command = { type = provincetax which = 739 value = 2 }
		command = { type = gainbuilding which = 739 value = shipyard }
	}
	action_b = {
		name = "ACTIONNAME132023B"
		command = { type = vp value = 100 }
		command = { type = ADM which = 2 value = 120 }
		command = { type = stability value = 1 }
		command = { type = infra value = 1500 }
		command = { type = land value = 350 }
		command = { type = naval value = 350 }
		command = { type = treasury value = -450 }
		command = { type = missionaries value = 2 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = domestic which = quality value = 2 }
		command = { type = provincetax which = -2 value = 2 }
		command = { type = gainmanufactory which = -2 value = luxury }
	}
}

#ids free to 132050#