namespace = dvg_sca_finland

# small event to give some finnish radicals untill propper finnish content
dvg_sca_finland.10 = {
	type = country_event
	placement = ROOT

	title = dvg_sca_finland.10.t
	desc = dvg_sca_finland.10.d

	duration = 3

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

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

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

	trigger = {
		exists = c:SCA
        THIS = c:SCA
		OR = {
        	has_technology_researched = nationalism
			has_global_variable = rus_anarchy
		}
		NOT = { has_variable = finnish_radicals }
	}

	immediate = {
		set_variable = finnish_radicals
		cu:finnish = {
			save_scope_as = finnish_culture
		}
	}
	option = {
		name = dvg_sca_finland.10.a
		add_radicals = {
			value = very_large_radicals
			culture = cu:finnish
		}

		# add radicals from discrimination
		every_scope_state = {
			limit = {
				state_region = {
					is_homeland = cu:finnish
				}
			}
			add_modifier = {
				name = enforced_segregation
				months = long_modifier_time
			}
		}
	}
}
