
add_namespace = remod


#Political Violence
country_event = {
	id = remod.1
	title = remod.1.t
	desc = remod.1.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 3530 }
		
	trigger = {
			has_idea = polarization_idea
	}

	option = {
		name = yikes_option.1.a
		set_country_flag = polvilo
		subtract_from_variable = { approvalr = 2 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
	}
}

#Police Investigate Political Pundit
country_event = {
	id = remod.2
	title = remod.2.t
	desc = remod.2.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 2530 }
		
	trigger = {
			has_country_flag = polvilo
			has_idea = polarization_idea
	}

	option = {
		name = arresthim_option.1.a
		clr_country_flag = polvilo
		set_country_flag = arrestedpundit
		subtract_from_variable = { approvalr = 2 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
	}
	
	option = {
		name = dontriskpundit_option.2.b
		clr_country_flag = polvilo
		
	}
}

#Protests after arrest
country_event = {
	id = remod.3
	title = remod.3.t
	desc = remod.3.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 530 }
		
	trigger = {
			has_country_flag = arrestedpundit
			has_idea = polarization_idea
	}

	option = {
		name = sendinthearmy_option.1.a
		clr_country_flag = polvilo
		clr_country_flag = arrestedpundit
		set_country_flag = matrix_has_attacked
		subtract_from_variable = { approvalr = 5 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
		dpe_rng_refresh = yes
	}
	
	option = {
		name = theywillgetoverit_option.2.b
		clr_country_flag = polvilo
		clr_country_flag = arrestedpundit
		
	}
}

country_event = {
	id = remod.4
	title = remod.4.t
	desc = remod.4.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 530 }
		
	trigger = {
			has_country_flag = matrix_has_attacked
	}

	option = {
		name = yikes_option_option.1.a
		clr_country_flag = matrix_has_attacked
		subtract_from_variable = { approvalr = 5 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
	}
}

country_event = {
	id = remod.5
	title = remod.5.t
	desc = remod.5.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 2230 }
		
	trigger = {
			has_idea = polarization_idea
	}

	option = {
		name = yikes_option_option.1.a
		set_country_flag = matrix_has_attacked
		subtract_from_variable = { approvalr = 5 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
		dpe_rng_refresh = yes
	}
}

# Party located
country_event = {
	id = remod.6
	title = remod.6.t
	desc = remod.6.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 2230 }
		
	trigger = {
			has_idea = rampantcor_idea
	}

	option = {
		name = yikes_option_option.1.a
		set_country_flag = matrix_has_attacked
		subtract_from_variable = { approvalr = 5 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
		dpe_rng_refresh = yes
	}
}

#publication slams
country_event = {
	id = remod.7
	title = remod.7.t
	desc = remod.7.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 1230 }
		
	trigger = {
			check_variable = { corrupt_level > 1 }
			has_government = democratic
	}

	option = {
		name = yikes_option_option.1.a
		subtract_from_variable = { approvalr = 5 }
		custom_effect_tooltip = LOSE2AP_EVENT_TT
		dpe_rng_refresh = yes
	}
}

#Illegal Weapons Trade
country_event = {
	id = remod.8
	title = remod.8.t
	desc = remod.8.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 1230 }
		
	trigger = {
			check_variable = { corrupt_level > 3 }
	}

	option = {
		name = yikes_option_option.1.a
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -1000
		}
	}
}

# Engrained in corruption
country_event = {
	id = remod.9
	title = remod.9.t
	desc = remod.9.d
	picture = GFX_report_event_generic_factory

	is_triggered_only = no
	mean_time_to_happen = {
		days = 1230 }
		
	trigger = {
			has_idea = rampantcor_idea
	}

	option = {
		name = yikes_option_option.1.a
		add_country_leader_trait = political_dancer
		
	}
}