namespace = dvg_cossacks

dvg_cossacks.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_cossacks.2.t
	desc = dvg_cossacks.2.d
	flavor = dvg_cossacks.2.f

	duration = 3

	trigger = {
		country_has_primary_culture = cu:cossack
		has_modifier = neutrality
		OR = {
			has_global_variable = move_CSK
			year >= 1845
		}
	}

	immediate = {
		remove_modifier = neutrality
		set_global_variable = cossack_neutrality_ended
		if = {
			limit = {
				exists = c:KHK
				ROOT = c:KHK
			}

			change_relations = {
				country = c:ZAZ
				value = -100
			}
			change_relations = {
				country = c:DON
				value = -100
			}
			change_relations = {
				country = c:VOR
				value = -100
			}
		}
	}

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