namespace = dvg_green_prince_events

# pamphlet nzh
dvg_green_prince_events.1 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_capitalists_meeting.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/capitalists_meeting"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.1.t
	desc = dvg_green_prince_events.1.d
	flavor = dvg_green_prince_events.1.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		year = 1840
		NOT = { has_variable = gay_green_prince }
	}

	option = {
		name = dvg_green_prince_events.1.a
		default_option = yes

		set_variable = {
			name = gay_green_prince
		}

		every_country = {
			limit = {
				country_has_primary_culture = cu:russian
				NOT = {
					c:NZH = this
				}
			}

			trigger_event = {
				id = dvg_green_prince_events.2
				popup = yes
			}
		}
	}
}

# pamphlet to russians
dvg_green_prince_events.2 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_capitalists_meeting.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/capitalists_meeting"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.2.t
	desc = dvg_green_prince_events.2.d
	flavor = dvg_green_prince_events.2.f

	duration = 3

	option = {
		name = dvg_green_prince_events.2.a
		default_option = yes
	}
}

# An heir for Nizhny Novgorod
dvg_green_prince_events.3 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_art_gallery.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/art_gallery"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.3.t
	desc = dvg_green_prince_events.3.d
	flavor = dvg_green_prince_events.3.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		year >= 1842
		has_variable = gay_green_prince
		NOT = { has_variable = green_prince_heir }
	}

	immediate = {
		set_variable = green_prince_heir
		create_character = {
			first_name = Michael
			last_name = Belsky
			ideology = ideology_royalist
			age = 0
			heir = yes
		}
	}

	option = {
		name = dvg_green_prince_events.3.a
		default_option = yes

		if = {
			limit = {
				exists = c:TVE
			}
			c:TVE ={
				trigger_event = {
					id = dvg_green_prince_events.11
					days = 3
					popup = yes
				}
			}
		}
		if = {
			limit = {
				exists = c:MSO
			}
			c:MSO ={
				trigger_event = {
					id = dvg_green_prince_events.12
					days = 6
					popup = yes
				}
			}
		}
	}
}

# An heir Yaroslavl response
dvg_green_prince_events.11 = {
	type = country_event
	placement = ROOT

	gui_window = event_window_1char_tabloid

	left_icon = scope:nzh_heir

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/misc/1Character_Banner"

	icon = "gfx/interface/icons/event_icons/event_portrait.dds"

	title = dvg_green_prince_events.11.t
	desc = dvg_green_prince_events.11.d
	flavor = dvg_green_prince_events.11.f

	duration = 3

	immediate = {
		c:NZH = {
			heir = {
				save_scope_as = nzh_heir
			}
		}
	}

	option = {
		name = dvg_green_prince_events.11.a
		default_option = yes

		change_relations = { 
			country = c:NZH 
			value = 100 
		}

		c:NZH = {
			set_variable = tve_agree
		}

		ai_chance = {
			base = 50
		}
	}

	option = {
		name = dvg_green_prince_events.11.b

		change_relations = { 
			country = c:NZH 
			value = -100 
		}

		c:NZH = {
			set_variable = tve_denied
		}

		ai_chance = {
			base = 50
		}
	}
}

# An heir Moscow response
dvg_green_prince_events.12 = {
	type = country_event
	placement = ROOT

	gui_window = event_window_1char_tabloid

	left_icon = scope:nzh_heir

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/misc/1Character_Banner"

	icon = "gfx/interface/icons/event_icons/event_portrait.dds"

	title = dvg_green_prince_events.12.t
	desc = dvg_green_prince_events.12.d
	flavor = dvg_green_prince_events.12.f

	duration = 3

	immediate = {
		c:NZH = {
			heir = {
				save_scope_as = nzh_heir
			}
		}
	}

	option = {
		name = dvg_green_prince_events.12.a

		change_relations = { 
			country = c:NZH 
			value = 100 
		}

		c:NZH = {
			set_variable = mso_agree
		}

		ai_chance = { 
			base = 20
		}
	}

	option = {
		name = dvg_green_prince_events.12.b
		default_option = yes

		change_relations = { 
			country = c:NZH 
			value = -100 
		}

		c:NZH = {
			set_variable = mso_denied
		}

		ai_chance = { 
			base = 80
		}
	}
}

### TVE Agrees and MUS Disagrees ###
dvg_green_prince_events.21 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.21.t
	desc = dvg_green_prince_events.21.d
	flavor = dvg_green_prince_events.21.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		has_variable = tve_agree
		has_variable = mso_denied
		NOT = {
			has_variable = nzh_crisis_two
		}
	}

	immediate = {
		set_variable = {
			name = nzh_crisis_two
		}
	}

	option = {
		name = dvg_green_prince_events.31.a
		default_option = yes

		if = {
			limit = {
				NOT = { has_law = law_type:law_monarchy }
			}
			activate_law = law_type:law_monarchy
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_autocracy }
			}
			activate_law = law_type:law_autocracy
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_censorship }
			}
			activate_law = law_type:law_censorship
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_elected_bureaucrats }
			}
			activate_law = law_type:law_elected_bureaucrats
		}

		trigger_event = {
			id = dvg_green_prince_events.22
			days = 31
			popup = yes
		}
	}

	# Indie path not implemented
}

# A letter to Yaroslavl
dvg_green_prince_events.22 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/asia/politician_parliament_motion"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.22.t
	desc = dvg_green_prince_events.22.d
	flavor = dvg_green_prince_events.22.f

	duration = 3

	immediate = {
		set_variable = {
			name = nzh_crisis_three
		}
	}

	option = {
		name = dvg_green_prince_events.22.a
		default_option = yes

		c:TVE = {
			create_diplomatic_pact = {
				country = c:NZH
				type = puppet
			}

			trigger_event = {
				id = dvg_green_prince_events.23
				days = 1
				popup = yes
			}
		}

		trigger_event = {
			id = dvg_green_prince_events.24
			days = 370
			popup = yes
		}
	}
}

# A letter from Nizhny Novgorod
dvg_green_prince_events.23 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.23.t
	desc = dvg_green_prince_events.23.d
	flavor = dvg_green_prince_events.23.f

	duration = 3

	option = {
		name = dvg_green_prince_events.23.a
		default_option = yes
	}
}

# The end of the Principality
dvg_green_prince_events.24 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/unspecific_politicians_arguing.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/asia/politician_parliament_motion"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.24.t
	desc = dvg_green_prince_events.24.d
	flavor = dvg_green_prince_events.24.f

	duration = 3

	immediate = {
		ruler = {
			kill_character = yes
		}
	}

	option = {
		name = dvg_green_prince_events.24.a
		default_option = yes

		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.25
				days = 1
				popup = yes
			}
		}

		c:TVE = {
			annex = c:NZH
		}
	}
}

# MSO vs TVE
dvg_green_prince_events.25 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.25.t
	desc = dvg_green_prince_events.25.d

	duration = 3

	option = {
		name = dvg_green_prince_events.25.a
		default_option = yes

		create_diplomatic_play = {
			name = green_prince_war
			target_state = s:STATE_TVER.region_state:TVE
			war = yes
			type = dp_annex_war
			add_war_goal = {
				holder = c:TVE
				type = annex_country
				target_country = c:MSO
			}
		}	
	}
}

### MUS Agrees and TVE disagrees ###
dvg_green_prince_events.31 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.31.t
	desc = dvg_green_prince_events.31.d
	flavor = dvg_green_prince_events.31.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		has_variable = tve_denied
		has_variable = mso_agree
		NOT = {
			has_variable = nzh_crisis_two
		}
	}

	immediate = {
		set_variable = {
			name = nzh_crisis_two
		}
		ruler = {
			kill_character = yes
		}
	}

	option = {
		name = dvg_green_prince_events.31.a
		default_option = yes

		trigger_event = {
			id = dvg_green_prince_events.32
			days = 31
			popup = yes
		}
	}
}

dvg_green_prince_events.32 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.32.t
	desc = dvg_green_prince_events.32.d
	flavor = dvg_green_prince_events.32.f

	duration = 3

	option = {
		name = dvg_green_prince_events.32.a
		default_option = yes

		c:TVE = {
			trigger_event = {
				id = dvg_green_prince_events.34
				days = 7
				popup = yes
			}
		}

		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.33
				days = 1
				popup = yes
			}
		}
	}
}

dvg_green_prince_events.33 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.33.t
	desc = dvg_green_prince_events.33.d
	flavor = dvg_green_prince_events.33.f

	duration = 3

	option = {
		name = dvg_green_prince_events.33.a
		default_option = yes

		annex = c:NZH
	}
}

dvg_green_prince_events.34 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.34.t
	desc = dvg_green_prince_events.34.d

	duration = 3

	option = {
		name = dvg_green_prince_events.34.a
		default_option = yes

		create_diplomatic_play = {
			name = green_prince_war
		
			target_state = s:STATE_MOSCOW.region_state:MSO
			
			war = yes
			
			type = dp_annex_war

			add_war_goal = {
				holder = c:MSO
				type = annex_country
				target_country = c:TVE
			}
		}	
	}
}

### Both Agree ###
dvg_green_prince_events.41 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_capitalists_meeting.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/capitalists_meeting"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.41.t
	desc = dvg_green_prince_events.41.d
	flavor = dvg_green_prince_events.41.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		has_variable = tve_agree
		has_variable = mso_agree
		NOT = {
			has_variable = nzh_crisis_two
		}
	}

	immediate = {
		set_variable = {
			name = nzh_crisis_two
		}
	}

	option = {
		name = dvg_green_prince_events.41.a
		default_option = yes

		change_relations = { 
			country = c:TVE 
			value = 50 
		}

		change_relations = { 
			country = c:MSO 
			value = 50 
		}

		trigger_event = {
			id = dvg_green_prince_events.42
			days = 31
			popup = yes
		}
	}
}

dvg_green_prince_events.42 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_capitalists_meeting.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/capitalists_meeting"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.42.t
	desc = dvg_green_prince_events.42.d
	flavor = dvg_green_prince_events.42.f

	duration = 3

	immediate = {
		set_variable = {
			name = nzh_crisis_three
		}
		random_scope_character = {
			limit = {
				has_role = general
				has_variable = is_general_varankin
			}
			save_scope_as = general_varankin
		}
	}

	option = {
		name = dvg_green_prince_events.42.a
		default_option = yes

		scope:general_varankin = {
			kill_character = yes
		}

		if = {
			limit = {
				NOT = { has_law = law_type:law_appointed_bureaucrats }
			}
			activate_law = law_type:law_appointed_bureaucrats
		}
		
		if = {
			limit = {
				NOT = { has_law = law_type:law_wealth_voting }
			}
			activate_law = law_type:law_wealth_voting
		}

		trigger_event = {
			id = dvg_green_prince_events.43
			days = 365
			popup = yes
		}
	}
}

dvg_green_prince_events.43 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_capitalists_meeting.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/capitalists_meeting"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.43.t
	desc = dvg_green_prince_events.43.d
	flavor = dvg_green_prince_events.43.f

	duration = 3

	immediate = {
		set_variable = {
			name = nzh_crisis_three
		}
		ruler = {
			kill_character = yes
		}
	}

	option = {
		name = dvg_green_prince_events.43.a

		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.25
				days = 7
				popup = yes
			}
		}

		c:TVE = {
			trigger_event = {
				id = dvg_green_prince_events.44
				days = 1
				popup = yes
			}

			annex = c:NZH
		}

		ai_chance = {
			base = 40
		}
	}

	option = {
		name = dvg_green_prince_events.43.b
		default_option = yes

		c:TVE = {
			trigger_event = {
				id = dvg_green_prince_events.34
				days = 7
				popup = yes
			}
		}

		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.45
				days = 1
				popup = yes
			}

			annex = c:NZH
		}

		ai_chance = {
			base = 60
		}
	}
}

# TVE warning
dvg_green_prince_events.44 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.44.t
	desc = dvg_green_prince_events.44.d
	flavor = dvg_green_prince_events.44.f

	duration = 3

	option = {
		name = dvg_green_prince_events.44.a
		default_option = yes
	}
}

# MSO warning
dvg_green_prince_events.45 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.45.t
	desc = dvg_green_prince_events.45.d
	flavor = dvg_green_prince_events.45.f

	duration = 3

	option = {
		name = dvg_green_prince_events.45.a
		default_option = yes
	}
}

### Both Disagree (oh no) ###
dvg_green_prince_events.51 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.51.t
	desc = dvg_green_prince_events.51.d
	flavor = dvg_green_prince_events.51.f

	duration = 3

	trigger = {
		exists = c:NZH
		this = c:NZH
		has_variable = tve_denied
		has_variable = mso_denied
		NOT = {
			has_variable = nzh_crisis_two
		}
	}

	immediate = {
		set_variable = {
			name = nzh_crisis_two
		}
		random_scope_character = {
			limit = {
				has_role = general
				has_variable = is_general_talantsev
			}
			save_scope_as = general_talantsev
		}
		scope:general_talantsev = {
			kill_character = yes
		}
	}

	option = {
		name = dvg_green_prince_events.51.a
		default_option = yes

		change_relations = { 
			country = c:MSO 
			value = -100
		}

		if = {
			limit = {
				NOT = { has_law = law_type:law_monarchy }
			}
			activate_law = law_type:law_monarchy
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_autocracy }
			}
			activate_law = law_type:law_autocracy
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_censorship }
			}
			activate_law = law_type:law_censorship
		}
		if = {
			limit = {
				NOT = { has_law = law_type:law_appointed_bureaucrats }
			}
			activate_law = law_type:law_appointed_bureaucrats
		}
		
		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.52
				days = 78
				popup = yes
			}
		}
	}
}

dvg_green_prince_events.52 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.52.t
	desc = dvg_green_prince_events.52.d
	flavor = dvg_green_prince_events.52.f

	duration = 3

	option = {
		name = dvg_green_prince_events.52.a
		default_option = yes

		c:NZH = {
			trigger_event = {
				id = dvg_green_prince_events.53
				days = 7
				popup = yes
			}
		}
	}
}

# A threat from Muscovy
dvg_green_prince_events.53 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.53.t
	desc = dvg_green_prince_events.53.d
	flavor = dvg_green_prince_events.53.f

	duration = 3

	option = {
		name = dvg_green_prince_events.53.a
		default_option = yes

		trigger_event = {
			id = dvg_green_prince_events.54
			days = 7
			popup = yes
		}
	}
}

# The Attempted Coup
dvg_green_prince_events.54 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_political_extremism.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/political_extremism"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = dvg_green_prince_events.54.t
	desc = dvg_green_prince_events.54.d
	flavor = dvg_green_prince_events.54.f

	duration = 3

	option = {
		name = dvg_green_prince_events.54.a
		default_option = yes

		ruler = {
			kill_character = yes
		}

		c:TVE = {
			trigger_event = {
				id = dvg_green_prince_events.55 # Invade
				days = 2
				popup = yes
			}
		}
	}
}

# TVE choosing to invade NZH
dvg_green_prince_events.55 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.55.t
	desc = dvg_green_prince_events.55.d
	flavor = dvg_green_prince_events.55.f

	duration = 3

	option = {
		name = dvg_green_prince_events.55.a
		default_option = yes

		create_diplomatic_play = {
			name = green_prince_war
		
			target_state = s:STATE_OKA.region_state:NZH
			
			war = yes
			
			type = dp_annex_war

			add_war_goal = {
				holder = c:NZH
				type = annex_country
				target_country = c:TVE
			}
		}

		c:MSO = {
			trigger_event = {
				id = dvg_green_prince_events.56 # Moscow response
				days = 1
				popup = yes
			}
		}
	}
}

# Moscow intervenes
dvg_green_prince_events.56 = {
	type = country_event
	placement = ROOT

	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/before_the_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	title = dvg_green_prince_events.56.t
	desc = dvg_green_prince_events.56.d
	flavor = dvg_green_prince_events.56.f

	duration = 3

	option = {
		name = dvg_green_prince_events.56.a
		default_option = yes

		create_diplomatic_play = {
			name = green_prince_war
		
			target_state = s:STATE_OKA.region_state:NZH
			
			war = yes
			
			type = dp_annex_war

			add_war_goal = {
				holder = c:NZH
				type = annex_country
				target_country = c:MSO
			}
		}

		create_diplomatic_play = {
			name = green_prince_war
		
			target_state = s:STATE_TVER.region_state:TVE
			
			war = yes
			
			type = dp_annex_war

			add_war_goal = {
				holder = c:TVE
				type = annex_country
				target_country = c:MSO
			}
		}
	}
}
