wra_struggle_category = {

	wra_end_struggle = {
	
		activation = {
			WRA = {
				has_country_flag = wra_in_struggle
			}
		}
		visible = {
			has_country_flag = wra_in_struggle 
		}
	
		available = {
			always = no
		}
		
		days_mission_timeout = 150
		
		is_good = no
		
		fire_only_once = yes
		
		cancel_trigger = {
			has_country_flag = wra_polit_crisis_over
		}
		
		timeout_effect = {
			WRA = {
				country_event = {
					id = wra_struggle.101
				}
			}		
		}
		
		
	}

}

wra_start_civil_war_category = {
	
	wra_start_civil_war = {
		
		visible = {
			WRA = {
			OR = {
				NOT = {
					has_country_flag = wra_polit_crisis_over
				}
				
			}
			}
		}
	
		available = {
			always = no
		}
		
		days_mission_timeout = 300
		
		is_good = no
		
		fire_only_once = yes
		
		cancel_trigger = {
			OR = {
			
			custom_trigger_tooltip = 
				{	tooltip = WRA_yagoda_pravlenie
					has_country_flag = yagoda_pravlenie
				}
				
			has_civil_war = yes
			
			custom_trigger_tooltip = 
				{	tooltip = WRA_struggle_ended
					has_country_flag = wra_polit_crisis_over
				}
				
			}
		}
		
		timeout_effect = {
			WRA = {
				country_event = {
					id = wra_struggle.201
				}
			}		
		}
	}

}

wra_yagoda_rebel_category = {
	
	WRA_diversion_army = {
	
		priority = 15
		
		icon = decision_generic_ignite_civil_war
	
		cost = 15
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
				custom_effect_tooltip = WRA_YAGODA_INCREASE_INFLUENCE_5
				add_to_variable = {WRA_rebel_1 = 5}
				
				custom_effect_tooltip = WRA_YAGODA_INCREASE_RADICAL_10
				add_to_variable = {WRA_rebel_2 = 10}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 7
	
	}
	
	WRA_give_weapon = {
	
		priority = 14
		
		icon = decision_generic_ignite_civil_war
	
		cost = 15
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    has_equipment = {
				infantry_equipment > 1000
			}	
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
		
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = -1000
				}
		
				custom_effect_tooltip = WRA_YAGODA_INCREASE_INFLUENCE_15
				add_to_variable = {WRA_rebel_1 = 15}
				
				custom_effect_tooltip = WRA_YAGODA_INCREASE_RADICAL_10
				add_to_variable = {WRA_rebel_2 = 10}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 10
	
	}
	
	WRA_rural_guerrillas = {
	
		priority = 13
		
		icon = decision_generic_ignite_civil_war
	
		cost = 45
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
				custom_effect_tooltip = WRA_YAGODA_INCREASE_INFLUENCE_5
				add_to_variable = {WRA_rebel_1 = 5}
				
				WRA_rebel_var = yes
			}
		
		days_re_enable = 14
	
	}
	
	WRA_military_destroy = {
	
		priority = 12
		
		icon = decision_generic_ignite_civil_war
	
		cost = 10
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
			has_completed_focus = WRA_yagoda_agents_2
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
				has_completed_focus = WRA_yagoda_agents_2
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
				
				random_owned_state = {
					damage_building = {
					type = arms_factory
					damage = 3
					}
				}
				custom_effect_tooltip = WRA_YAGODA_INCREASE_INFLUENCE_5
				add_to_variable = {WRA_rebel_1 = 5}
				
				custom_effect_tooltip = WRA_YAGODA_INCREASE_RADICAL_15
				add_to_variable = {WRA_rebel_2 = 15}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 14
	
	}
	
	WRA_fabric_destroy = {
	
		priority = 11
		
		icon = decision_generic_ignite_civil_war
	
		cost = 10
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
			has_completed_focus = WRA_yagoda_agents_2
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
				has_completed_focus = WRA_yagoda_agents_2
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
				random_owned_state = {
					damage_building = {
					type = infrastucture
					damage = 3
					}
				}
				random_owned_state = {
					damage_building = {
					type = infrastucture
					damage = 3
					}
				}
				
		
				custom_effect_tooltip = WRA_YAGODA_INCREASE_INFLUENCE_5
				add_to_variable = {WRA_rebel_1 = 5}
				
				custom_effect_tooltip = WRA_YAGODA_INCREASE_RADICAL_15
				add_to_variable = {WRA_rebel_2 = 15}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 14
	
	}
	
	WRA_blameon_fasc = {
	
		priority = 11
		
		icon = decision_generic_ignite_civil_war
	
		cost = 35
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
		
				custom_effect_tooltip = WRA_YAGODA_DECREASE_RADICAL_25
				add_to_variable = {WRA_rebel_2 = -25}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 15
	
	}
	
	WRA_hide_clues = {
	
		priority = 10
		
		icon = decision_generic_ignite_civil_war
	
		cost = 25
		
		allowed = {
			original_tag = WRA
		}
		
		available = {
		    is_subject = no		
		}
		
		visible = {
			AND = {
				WRA = {
					has_country_flag = wra_clandestine_organization
				}
				original_tag = WRA
			}
		}
		
		fire_only_once = no
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
		
				custom_effect_tooltip = WRA_YAGODA_DECREASE_RADICAL_15
				add_to_variable = {WRA_rebel_2 = -15}
				WRA_rebel_var = yes
			}
		
		days_re_enable = 10
	
	}

}