YUG_resistance_category = {

    YUG_store_weapons = {
	 
	priority = 2
	
	cancel_if_not_visible = yes
	 
	icon = GFX_decision_generic_industry
	 
	cost = 50

	days_remove = 30
	 
	visible = {
	    has_completed_focus = YUG_fight_isnt_over
	}
	 
	fire_only_once = yes
	 
	allowed = { original_tag = YUG }
	
	available = {
	    has_completed_focus = YUG_fight_isnt_over
	}
	
	remove_effect = {
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 3000
			producer = YUG
		}
		add_equipment_to_stockpile = {
			type = support_equipment
			amount = 150
			producer = YUG
		}
		add_equipment_to_stockpile = {
			type = artillery_equipment
			amount = 100
			producer = YUG
		}
	}
}
    YUG_support_resistance_fighters = {
	 
	priority = 2
	
	cancel_if_not_visible = yes
	 
	icon = GFX_decision_generic_reorganize_irregulars
	 
	cost = 25

	days_remove = 180
	 
	visible = {
	    has_completed_focus = YUG_fight_isnt_over
	}
	 
	fire_only_once = yes
	 
	allowed = { original_tag = YUG }
	
	modifier = {
		resistance_growth_on_our_occupied_states = 0.5
		weekly_manpower = -300
		}
	
	available = {
		has_equipment = {
		infantry_equipment > 999
		}
	}
	
	complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
	}
}
    YUG_tito_draza_meeting = {
	 
	priority = 2
	
	cancel_if_not_visible = yes
	 
	icon = GFX_decision_hol_exchange_intelligence_data
	 
	cost = 25
	 
	visible = {
	    has_completed_focus = YUG_pick_base
	}
	
	days_remove = 14
	 
	fire_only_once = yes
	 
	allowed = { original_tag = YUG }
	
	available = {
	    has_completed_focus = YUG_pick_base
	}
	
	remove_effect = {
		YUG = { country_event = YUG_rework_meeting.1 }
		add_war_support = 0.05
	}
}
}
YUG_resistance_map_category = {

	YUG_sarajevo_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 104 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 104 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_bosnia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}		

		remove_effect = {
			104 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
		YUG_mostar_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 804 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 804 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_bosnia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}		

		remove_effect = {
			804 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
		YUG_banja_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 961 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 961 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_bosnia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}		

		remove_effect = {
			961 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}

	YUG_posavina_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 962 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 962 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_bosnia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			962 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}

	YUG_kvarner_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 958 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 958 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_coast
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			958 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_dalmatia_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 103 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 103 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_coast
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			103 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_sandzak_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 963 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 963 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_coast
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			963 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_montenegro_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 105 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 105 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_coast
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			105 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}

	YUG_belgrade_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 107 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 107 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_serbia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			107 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_kosovo_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 802 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 802 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_serbia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			802 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_mitrovica_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 953 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 953 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_serbia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			953 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
	
	YUG_sumadija_resistance = {

		icon = GFX_decision_ITA_reorganize_ascari

		available = {
			NOT = { has_full_control_of_state = 108 }
			has_capitulated = yes
			has_equipment = {
				infantry_equipment > 999
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 108 } 
		}

		on_map_mode = map_only
		
		fire_only_once = yes

		days_remove = 30
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 999 }
		}
		custom_cost_text = decision_cost_ie_1000

		visible = {
			original_tag = YUG
			has_country_flag = YUG_picked_serbia
			has_completed_focus = YUG_local_resistance
		}

		cancel_if_not_visible = yes
		
		complete_effect = {
			add_equipment_to_stockpile = {
			    type = infantry_equipment
			    amount = -1000
			}
		}

		remove_effect = {
			108 = {
				add_state_modifier = {
					modifier = {
						resistance_target = 0.2
						resistance_activity = 0.1
					}
				}
			}
		}
	}
}