#####Wallachia Major Events#######
#  By Demetrios and Havard       #
#                                #
#  altered a bit by Doomdark     #
#  altered a bit more by Annibale#
##################################
#############################
##EEP RUS Wallachia events ##
##	   by ROMENA	   ##
## 	  Corrected by     ##
##Panzerkreuzer & Chimera  ##	
#############################

# Vlad the Impaler! #
event = { 
	id = 3832
	random = no
	country = WAL
	name = "EVENTNAME3832"
	desc = "EVENTHIST3832"
	style = 1 
	
	date = { day = 1 month = april year = 1456 }
	offset = 2300
	
	action_a = { #We owe the Turks nothing!#
		name = "ACTIONNAME3832A"
		command = { type = relation which = TUR value = -100 }
		command = { type = relation which = PAP value = 80 }
		command = { type = relation which = HUN value = 80 }
		command = { type = relation which = VEN value = 80 }
		command = { type = relation which = GEN value = 80 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = fortress which = -1  value = 1 }
	}
	action_b = { #Apologize to the Sultan#
		name = "ACTIONNAME3832B"
		command = { type = relation which = TUR value = 100 }
	}
}

# The Council of Florence and the Union of the Churches #
event = { 
	id = 3839 # Triggered by BYZ 3833
	random = no
	country = WAL
	name = "EVENTNAME3839"
	desc = "EVENTHIST3839"
	style = 1 
	
	action_a = { #Gain CB on Ottomans#
		name = "ACTIONNAME3839A"
		command = { type = casusbelli which = TUR value = 60 }
	}
}

# Son of the Dragon #
event = { 
	id = 19004
	random = no
	country = WAL
	name = "EVENTNAME19004"
	desc = "EVENTHIST19004"
	style = 1 
	
	date = { day = 1 month = april year = 1456 }
	
	action_a = { # Excellent #
		name = "ACTIONNAME40116A"
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = MOL value = 100 }
		command = { type = relation which = TUR value = -30 }
	}
}

#############################
##EEP RUS Wallachia events ##
##	   by ROMENA	   ##
#############################

#Mihai Viteazul#
event = { 

	id = 95629 
	trigger = { 
			atwar = no
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95629" 
	desc = "EVENTHIST95629" 
	style = 2 

	date = { day = 1 month = february year = 1591 } 
	offset = 500 
	deathdate = { day = 19 month = august year = 1602 } 

	action_a = { 
			name = "ACTIONNAME95629A" 
			command = { type = stability value = 1 } 
			command = { type = relation which = TUR value = -100 } 
			command = { type = relation which = MOL value = -50 } 
			command = { type = relation which = SIE value = -50 } 
			command = { type = relation which = HUN value = -50 } 
			command = { type = domestic which = quality value = 1 } 
			command = { type = domestic which = centralization value = 1 } 
			command = { type = addcore which = 320 } #Добруджа# 
			command = { type = addcore which = 321 } #Румелия# 
			command = { type = addcore which = 323 } #Трансильвания# 
			command = { type = addcore which = 317 } #Рутения# 
			command = { type = addcore which = 354 } #Банат# 
	} 
} 

#Rebellion of 1591#
event = { 

	id = 95630 
	trigger = { 
			NOT = { 
					stability = 3
				} 
	} 
	random = no 
	country = SIE 
	name = "EVENTNAME95630" 
	desc = "EVENTHIST95630" 
	style = 2 

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

	action_a = { 
			name = "ACTIONNAME95630A" 
			command = { type = stability value = -2 } 
			command = { type = revolt which = -1 } 
			command = { type = trigger which = 95631 } 
			command = { type = domestic which = serfdom value = 1 } 
	} 
	action_b = { 
			name = "ACTIONNAME95630B" 
			command = { type = revoltrisk which = 24 value = 8 } 
			command = { type = provincetax which = 323 value = -1 } 
			command = { type = stability value = -5 } 
			command = { type = treasury value = -100 } 
			command = { type = domestic which = serfdom value = -1 } 
			command = { type = infra value = -400 } 
	} 
} 

#Transilvanian rebellion#
event = { 

	id = 95631 
	trigger = { 
			event = 95630 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95631" 
	desc = "EVENTHIST95631" 
	style = 2 

	action_a = { 
			name = "ACTIONNAME95631A" 
			command = { type = stability value = -1 } 
			command = { type = INF which = -2 value = 10000 } #Восставшие присоединились к войскам# 
			command = { type = DIP which = -3 value = 18 } 
			command = { type = war which = SIE } 
	} 
	action_b = { 
			name = "ACTIONNAME95631B" 
			command = { type = relation which = SIE value = 50 } 
			command = { type = stability value = -1 } 
	} 
} 

#Mihai cel Mare#
event = { 

	id = 95632 
	trigger = { 
			OR = { 
					owned = { province = 321 data = WAL } 
					owned = { province = 320 data = WAL } 
				} 
			owned = { province = 323 data = WAL } 
			NOT = { 
					war = { country = MOL country = WAL } 
				} 
	} 
	random = no 
	country = MOL 
	name = "EVENTNAME95632" 
	desc = "EVENTHIST95632" 
	style = 2 

	date = { day = 12 month = february year = 1591 } 
	offset = 30 
	deathdate = { day = 19 month = august year = 1602 } 

	action_a = { 
			name = "ACTIONNAME95632A" 
			command = { type = trigger which = 95633 } 
	} 
	action_b = { 
			name = "ACTIONNAME95632B" 
			command = { type = relation which = MOL value = -100 } 
	} 
} 

#Gospodar of Moldavia#
event = { 

	id = 95633 
	random = no 
	country = WAL 
	name = "EVENTNAME95633" 
	desc = "EVENTHIST95633" 
	style = 2 

	action_a = { 
			name = "ACTIONNAME95633A" 
			command = { type = vp value = 100 } 
			command = { type = inherit which = MOL } 
			command = { type = relation which = SIE value = -50 } 
			command = { type = relation which = TUR value = -100 } 
			command = { type = relation which = POL value = -75 } 
			command = { type = relation which = HAB value = -50 } 
	} 
} 

#Death of Gospodar Mihai#
event = { 

	id = 95634 
	trigger = { 
			OR = { 
				NOT = { 
						control = { province = 323 data = WAL } 
						control = { province = 318 data = WAL } 
						control = { province = 319 data = WAL } 
					} 
				} 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95634" 
	desc = "EVENTHIST95634" 
	style = 2 

	action_a = { 
			name = "ACTIONNAME95634A" 
			command = { type = stability value = -1 } 
			command = { type = domestic which = centralization value = -1 } 
			command = { type = removecore which = 320 } #Добруджа# 
			command = { type = removecore which = 321 } #Румелия# 
			command = { type = removecore which = 323 } #Трансильвания# 
			command = { type = removecore which = 317 } #Рутения# 
			command = { type = removecore which = 354 } #Банат# 
	} 
} 

#Death of Gospodar Mihai#
event = { 

	id = 95635 
	trigger = { 
			control = { province = 323 data = WAL } 
			control = { province = 318 data = WAL } 
			control = { province = 319 data = WAL } 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95634" 
	desc = "EVENTHIST95635" 
	style = 2 

	action_a = { 
			name = "ACTIONNAME95635A" 
			command = { type = stability value = 1 } 
			command = { type = domestic which = centralization value = 1 } 
			command = { type = province_revoltrisk which = 320 value = -4 } #Добруджа# 
			command = { type = province_revoltrisk which = 321 value = -4 } #Румелия# 
			command = { type = province_revoltrisk which = 323 value = -4 } #Трансильвания# 
			command = { type = province_revoltrisk which = 317 value = -4 } #Рутения# 
			command = { type = province_revoltrisk which = 354 value = -4 } #Банат# 
			command = { type = province_revoltrisk which = 318 value = -4 } 
			command = { type = province_revoltrisk which = 319 value = -4 } 
			command = { type = province_revoltrisk which = 323 value = -4 } 
			command = { type = province_revoltrisk which = 322 value = -4 } 
	} 
} 

#Code of 1652#
event = { 

	id = 95636 
	random = no 
	country = WAL 
	name = "EVENTNAME95636" 
	desc = "EVENTHIST95636" 
	style = 3 

	date = { day = 1 month = january year = 1652 } 
	offset = 60 
	deathdate = { day = 31 month = december year = 1652 } 

	action_a = { 
			name = "ACTIONNAME95636A" 
			command = { type = trade value = 400 } 
			command = { type = gainmanufactory which = -2 value = refinery } 
			command = { type = domestic which = aristocracy value = 1 } 
			command = { type = domestic which = serfdom value = 2 } 
			command = { type = stability value = -2 } 
			command = { type = revoltrisk which = 24 value = 5 } 
	} 
	action_b = { 
			name = "ACTIONNAME95636B" 
			command = { type = trade value = 300 } 
			command = { type = domestic which = serfdom value = 1 } 
			command = { type = domestic which = aristocracy value = 1 } 
	} 
	action_c = { 
			name = "ACTIONNAME95636C" 
			command = { type = revoltrisk which = 60 value = 6 } 
			command = { type = stability value = -5 } 
			command = { type = domestic which = aristocracy value = -1 } 
			command = { type = domestic which = serfdom value = -2 } 
	} 
} 

#Events by Annibale. Corrected by Romena# 

#Dragon Order#
event = { 

	id = 19000 
	random = no 
	country = WAL 
	name = "EVENTNAME19000" 
	desc = "EVENTHIST19000" 
	style = 1 

	date = { day = 25 month = december year = 1436 } 

	action_a = { 
			name = "ACTIONNAME40116A" 
			command = { type = relation which = HUN value = 80 } 
			command = { type = relation which = LUX value = 80 } 
			command = { type = relation which = POL value = 80 } 
			command = { type = relation which = SER value = 80 } 
			command = { type = relation which = TUR value = -50 } 
			command = { type = domestic which = quality value = 1 } 
			command = { type = CAV which = -2 value = 2000 } 
	} 
} 

# The Dragon in Chains #
event = { 

	id = 19001 
	trigger = { 
			NOT = { 
					war = { country = WAL country = TUR } 
				}
 	}
	random = no 
	country = WAL 
	name = "EVENTNAME19001" 
	desc = "EVENTHIST19001" 
	style = 1 

	date = { day = 15 month = april year = 1442 } 

	action_a = { # Meet with the Sultan Personally # 
			name = "ACTIONNAME19001A" 
			command = { type = trigger which = 95637 } 
			command = { type = relation which = TUR value = 100 } 
			command = { type = relation which = HUN value = -30 } 
			command = { type = relation which = LUX value = -30 } 
			command = { type = relation which = POL value = -30 } 
			command = { type = relation which = SER value = -30 } 
	} 
	action_b = { # Send Emissary # 
			name = "ACTIONNAME19001B" 
			command = { type = trigger which = 95638 } 
			command = { type = treasury value = -25 } 
			command = { type = relation which = TUR value = 30 } 
			command = { type = relation which = HUN value = -30 } 
			command = { type = diplomats value = -1 } 
	} 
	action_c = { 
			name = "ACTIONNAME19001C" 
			command = { type = trigger which = 95639 } 
			command = { type = treasury value = -75 } 
			command = { type = relation which = TUR value = 30 } 
			command = { type = relation which = HUN value = -30 } 
	} 
} 

#Capture of Vlad Dracula#
event = { 

	id = 95637 
	random = no 
	country = WAL 
	name = "EVENTNAME95637" 
	desc = "EVENTHIST95637" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95637A" 
			command = { type = trigger which = 95640 } 
			command = { type = treasury value = -100 } 
			command = { type = stability value = -5 } 
	} 
} 

#Capture of Vlad Dracula#
event = { 

	id = 95640 
	random = no 
	country = TUR 
	name = "EVENTNAME95637" 
	desc = "EVENTHIST95640" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95640A" 
			command = { type = vassal which = WAL } 
			command = { type = treasury value = 100 } 
	} 
} 

#Negotiations' outcome#
event = { 

	id = 95638 
	random = no 
	country = WAL 
	name = "EVENTNAME95638" 
	desc = "EVENTHIST95638" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95637A" 
			command = { type = relation which = TUR value = 100 } 
	} 
} 

#Capture of the Sultan#
event = { 

	id = 95639 
	random = no 
	country = WAL 
	name = "EVENTNAME95639" 
	desc = "EVENTHIST95639" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95633A" 
			command = { type = treasury value = 300 } 
			command = { type = trigger which = 95641 } 
	} 
} 

#Capture of the Sultan#
event = { 

	id = 95641 
	random = no 
	country = TUR 
	name = "EVENTNAME95639" 
	desc = "EVENTHIST95641" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95641A" 
			command = { type = relation which = WAL value = -100 } 
			command = { type = treasury value = -300 } 
			command = { type = ADM which = -3 value = 24 } 
			command = { type = DIP which = -3 value = 24 } 
			command = { type = MIL which = -3 value = 24 } 
			command = { type = stability value = -2 } 
	} 
} 

#Capture of Vlad Tepes#
event = { 

	id = 95642 
	random = no 
	country = WAL 
	name = "EVENTNAME95642" 
	desc = "EVENTHIST95642" 
	style = 1 
	date = { day = 30 month = november year = 1462 } 

	action_a = { 
			name = "ACTIONNAME95642A" 
			command = { type = relation which = TUR value = 100 } 
			command = { type = domestic which = aristocracy value = 1 } 
			command = { type = trigger which = 95643 } 
	} 
} 

#Capture of Vlad Tepes#
event = { 

	id = 95643 
	random = no 
	country = HUN 
	name = "EVENTNAME95643" 
	desc = "EVENTHIST95643" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95643A" 
			command = { type = trigger which = 95644 } 
	} 
	action_b = { 
			name = "ACTIONNAME95643B" 
			command = { type = trigger which = 95645 } 
	} 
	action_c = { 
			name = "ACTIONNAME95643C" 
			command = { type = relation which = WAL value = 50 } 
	} 
} 

#Release of Vlad Tepes#
event = { 

	id = 95644 
	random = no 
	country = WAL 
	name = "EVENTNAME95644" 
	desc = "EVENTHIST95644" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95642A" 
			command = { type = relation which = HUN value = -100 } 
	} 
} 

#Release of Vlad Tepes#
event = { 

	id = 95645 
	random = no 
	country = WAL 
	name = "EVENTNAME95644" 
	desc = "EVENTHIST95645" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95642A" 
			command = { type = relation which = HUN value = -50 } 
			command = { type = province_revoltrisk which = 322 value = 4 } 
	} 
} 

# Contested Throne #
event = { 

	id = 19005 
	trigger = { 
			OR = { 
				event = 95644 
				event = 95645 
			} 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME19005" 
	desc = "EVENTHIST19005" 
	style = 1 

	date = { day = 5 month = april year = 1466 } 

	action_a = { 
			name = "ACTIONNAME19005A" 
			command = { type = trigger which = 95646 } 
			command = { type = trigger which = 95649 } 
			command = { type = leader which = 09574 } 
			command = { type = wakemonarch which = 07111 } #Второе правление Влада# 
			command = { type = sleepmonarch which = 07077 } #Раду II# 
			command = { type = sleepmonarch which = 07078 } #Басараб II# 
	} 
	action_b = { 
			name = "ACTIONNAME19005B" 
			command = { type = stability value = 1 } 
			command = { type = wakeleader which = 09573 } 
	} 
} 

#Tepes' Victory#
event = { 

	id = 95646 
	trigger = { 
			event = 95644 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95646" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95646A" 
			command = { type = religion which = catholic } 
			command = { type = stability value = -5 } 
			command = { type = dynastic which = HUN } 
			command = { type = trigger which = 95647 } 
			command = { type = province_revoltrisk which = 322 value = 8 } 
	} 
	action_b = { 
			name = "ACTIONNAME95646B" 
			command = { type = trigger which = 95648 } 
	} 
} 

#Tepes' Victory#
event = { 

	id = 95647 
	random = no 
	country = HUN 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95647" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95640A" 
			command = { type = relation which = WAL value = 50 } 
			command = { type = vassal which = WAL } 
	} 
}

#Tepes' Victory#
event = { 

	id = 95648 
	random = no 
	country = HUN 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95648" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95648A" 
			command = { type = relation which = WAL value = -50 } 
			command = { type = casusbelli which = WAL value = 60 } 
	} 
}

#Tepes' Victory#
event = { 

	id = 95649 
	trigger = { 
			event = 95645 
	} 
	random = no 
	country = WAL 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95649" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95646A" 
			command = { type = treasury value = -100 } 
			command = { type = trigger which = 95650 } 
			command = { type = province_revoltrisk which = 322 value = -4 } 
	} 
	action_b = { 
			name = "ACTIONNAME95646B" 
			command = { type = trigger which = 95651 } 
			command = { type = province_revoltrisk which = 322 value = -4 } 
	} 
} 

#Tepes' Victory#
event = { 

	id = 95650 
	random = no 
	country = HUN 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95647" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95640A" 
			command = { type = treasury value = 100 } 
	} 
}

#Tepes' Victory#
event = { 

	id = 95651 
	random = no 
	country = HUN 
	name = "EVENTNAME95646" 
	desc = "EVENTHIST95648" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95648A" 
			command = { type = relation which = WAL value = -50 } 
			command = { type = casusbelli which = WAL value = 60 } 
	} 
}

#Tepes' Death#
event = { 

	id = 95652 
	random = no 
	country = WAL 
	name = "EVENTNAME95652" 
	desc = "EVENTHIST95652" 
	style = 1 

	action_a = { 
			name = "ACTIONNAME95652A" 
			command = { type = religion which = orthodox } 
			command = { type = stability value = 2 } 
			command = { type = province_revoltrisk which = 322 value = -8 } 
	} 
}