add_namespace = POL_anarchist_events


#Food Not Bombs
country_event = {
	id = POL_anarchist_events.2
	title = POL_anarchist_events.2.t
	desc = POL_anarchist_events.2.d
	picture = GFX_report_event_Jedzenie_Zamiast_Bomb

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.2.o1
		add_stability = 0.05
		ai_chance = {
			factor = 100
		}
	}
}

#Anarchist Congress
country_event = {
	id = POL_anarchist_events.3
	title = POL_anarchist_events.3.t
	desc = POL_anarchist_events.3.d
	picture = GFX_report_event_Rozbrat_szyld_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.3.o1 #RSA (classic)
		set_country_flag = POL_classic_anarchism_takes_power_flag
		add_popularity = {
			ideology = market_liberal
			popularity = 0.2
		}
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = POL_anarchist_events.3.o2 #anarcho-capitalist
		set_country_flag = POL_anarcho_capitalism_takes_power_flag
		set_party_name = {
			ideology =  market_liberal
			long_name = POL_market_liberal_anarchy_capitalist_long
			name = POL_market_liberal_anarchy_capitalist
		}
		create_country_leader = {
			name = "NAKAP Government"
			ideology = anarchist
			picture = "NAKAP_logo.dds"
			traits = {
			}
		}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.2
		}
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = POL_anarchist_events.3.o4 #anarcho-syndycalist

		set_country_flag = POL_anarcho_syndycalist_takes_power_flag
		add_popularity = {
			ideology = market_liberal
			popularity = 0.2
		}
		ai_chance = {
			factor = 100
		}
	}
}

#An Offer From the Black Army
country_event = {
	id = POL_anarchist_events.4
	title = POL_anarchist_events.4.t
	desc = POL_anarchist_events.4.d
	picture = GFX_report_event_polish_black_army_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.4.o1
		POL = {
			country_event = { id = diplomatic_response.1 }
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}
		every_state = {
			limit = { is_core_of = ROOT }
			add_core_of = POL
		}
		ai_chance = {
			factor = 50
		}
	}
	option = {
		name = POL_anarchist_events.4.o2
		POL = {
			country_event = { id = diplomatic_response.2 }
			hidden_effect = {
				create_wargoal = {
					type = annex_everything
					target = HUN
				}
			}
			declare_war_on = {
				type = annex_everything
				target = HUN
			}
		}
		add_stability = 0.05
		ai_chance = {
			factor = 50
		}
	}
}

#End of anarcho-syndycalist path
country_event = {
	id = POL_anarchist_events.5
	title = POL_anarchist_events.5.t
	desc = POL_anarchist_events.5.d
	picture = GFX_report_event_anarcho_syndycalist_protest_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.5.o1
		add_stability = 1
		ai_chance = {
			factor = 50
		}
	}
}

#End of anarcho-sarmatian path
country_event = {
	id = POL_anarchist_events.6
	title = POL_anarchist_events.6.t
	desc = POL_anarchist_events.6.d
	picture = GFX_report_event_inny_swiat_logo

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.6.o1
		add_stability = 1
		ai_chance = {
			factor = 50
		}
	}
}

#Leader for NAKAP
country_event = {
	id = POL_anarchist_events.7
	title = POL_anarchist_events.7.t
	desc = POL_anarchist_events.7.d
	picture = GFX_report_event_NAKAP_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.7.o1 #Gawin
		create_country_leader = {
			name = "Grzesiek Gawin"
			picture = "Grzesiek_Gawin.dds"
			ideology = anarchist
			traits = {
				businessman
			}
		}
		ai_chance = {
			factor = 100
		}
	}

	option = {
		name = POL_anarchist_events.7.o2 #Kowalski
		create_country_leader = {
			name = "Marian Kowalski"
			picture = "marian_kowalski.dds"
			ideology = anarchist
			traits = {
				prince_of_terror
			}
		}
		ai_chance = {
			factor = 100
		}
	}
}

#Poland demands Kaliningrad
country_event = {
	id = POL_anarchist_events.8
	title = POL_anarchist_events.8.t
	desc = POL_anarchist_events.8.d
	picture = GFX_report_event_Kaliningrad_map_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.8.o1
		POL = {
			country_event = { id = diplomatic_response.1 }
		}
		POL = { transfer_state = 741 }
		ai_chance = {
			factor = 80
		}
	}
	option = {
		name = POL_anarchist_events.8.o2
		POL = {
			set_country_flag = POL_russia_rejected_ancap
			country_event = { id = diplomatic_response.2 }
		}
		add_stability = -0.1
		ai_chance = {
			factor = 20
		}
	}
}

#A reunion
country_event = {
	id = POL_anarchist_events.9
	title = POL_anarchist_events.9.t
	desc = POL_anarchist_events.9.d
	picture = GFX_report_event_rsa_35_aniversary

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.9.o1
		POL = { country_event = POL_anarchist_events.10 }
		ai_chance = {
			factor = 100
		}
	}
}

#some new friends
country_event = {
	id = POL_anarchist_events.10
	title = POL_anarchist_events.10.t
	desc = POL_anarchist_events.10.d
	picture = GFX_report_event_anarcho_syndycalist_protest_picture

	trigger = {

	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = POL_anarchist_events.10.o1

		ai_chance = {
			factor = 100
		}
	}
}
