﻿je_suffragists = {
	icon = "gfx/interface/icons/event_icons/event_protest.dds"

	group = je_group_internal_affairs

	is_shown_when_inactive = {
		has_technology_researched = human_rights
		OR = {
			has_law = law_type:law_landed_voting
			has_law = law_type:law_wealth_voting
			has_law = law_type:law_census_voting
			has_law = law_type:law_universal_suffrage
		}
	}

	possible = {
		has_technology_researched = feminism
		has_technology_researched = political_agitation
		OR = {
			has_law = law_type:law_women_own_property
			has_law = law_type:law_women_in_the_workplace
		}
		empty_agitator_slots >= 1
	}

	immediate = {
		show_as_tooltip = {
			if = {
				limit = {
					NOT = {
						any_political_movement = {
							is_political_movement_type = movement_feminist
						}
					}
				}
				create_political_movement = { type = movement_feminist }
			}
		}
		trigger_event = { id = suffragist_events.9 popup = yes }
	}

	on_monthly_pulse = {
		random_events = {
			200 = 0
			20 = suffragist_events.1
			20 = suffragist_events.2
			20 = suffragist_events.3
			20 = suffragist_events.4
			20 = suffragist_events.5
			20 = suffragist_events.7
			20 = suffragist_events.8
		}
	}

	complete = {
		has_law = law_type:law_womens_suffrage
		in_election_campaign = yes
	}

	on_complete = {
		trigger_event = { id = suffragist_events.10 popup = yes }
	}

	invalid = {
		NOR = {
			has_law = law_type:law_landed_voting
			has_law = law_type:law_wealth_voting
			has_law = law_type:law_census_voting
			has_law = law_type:law_universal_suffrage
		}
	}

	timeout = 7300
	should_be_pinned_by_default = yes
}
