lar_local_recruitment = {
	#unlocks decisions to recruit in Europe
	recruit_in_europe = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = europe
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = europe
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = europe
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = europe
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = europe_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_europe_state = {

		icon = onmap_recruit_operative

		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = europe
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = europe_recruitment_unlocked
				capital_scope = { is_on_continent = europe }
			}
			NOT = { has_country_flag = europe_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = europe_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}
#unlocks decisions to recruit in Europe
	recruit_in_north_america = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = north_america
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = north_america
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = north_america
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = north_america
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = north_america_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_north_america_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = north_america
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = north_america_recruitment_unlocked
				capital_scope = { is_on_continent = north_america }
			}
			NOT = { has_country_flag = north_america_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = north_america_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in south_america
	recruit_in_south_america = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = south_america
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = south_america
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = south_america
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = south_america
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = south_america_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_south_america_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = south_america
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = south_america_recruitment_unlocked
				capital_scope = { is_on_continent = south_america }
			}
			NOT = { has_country_flag = south_america_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = south_america_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in africa
	recruit_in_africa = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = africa
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = africa
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = africa
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = africa
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = africa_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_africa_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = africa
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = africa_recruitment_unlocked
				capital_scope = { is_on_continent = africa }
			}
			NOT = { has_country_flag = africa_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = africa_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in middle_east
	recruit_in_middle_east = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = middle_east
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = middle_east
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = middle_east
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = middle_east
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = middle_east_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_middle_east_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = middle_east
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = middle_east_recruitment_unlocked
				capital_scope = { is_on_continent = middle_east }
			}
			NOT = { has_country_flag = middle_east_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = middle_east_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in asia
	recruit_in_asia = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = asia
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = asia
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = asia
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = asia
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = asia_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_asia_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = asia				
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = asia_recruitment_unlocked
				capital_scope = { 
					is_on_continent = asia 
				}
			}			
			NOT = { has_country_flag = asia_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = asia_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in australia
	recruit_in_australia = {

		#icon = generic_research

		available = {
			
		}

		visible = {
			capital_scope = {
				NOT = {
					is_on_continent = australia
				}
			}
			OR = {
				any_owned_state = {
					is_on_continent = australia
				}
				any_allied_country = {
					any_owned_state = {
						is_on_continent = australia
					}
				}
				any_other_country = {
					is_subject_of = ROOT
					any_owned_state = {
						is_on_continent = australia
					}
				}
			}
		}

		fire_only_once = yes
		cost = 50

		modifier = {
			civilian_factory_use = 3
		}

		days_remove = 90

		remove_effect = {
			set_country_flag = australia_recruitment_unlocked
		}

		ai_will_do = {
			base = 0
		}
	}

	recruit_in_australia_state = {

		icon = onmap_recruit_operative
		name = recruit_in_europe_state
		available = {
			
		}

		state_target = yes
		target_trigger = {
			FROM = {
				is_on_continent = australia
				CONTROLLER = {
					NOT = {
						tag = ROOT
					}
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_country_flag = australia_recruitment_unlocked
				capital_scope = { is_on_continent = australia }
			}
			NOT = { has_country_flag = australia_recruitment_in_process }
		}

		fire_only_once = no
		cost = 0

		days_re_enable = 180
		on_map_mode = map_only
		complete_effect = {
			set_country_flag = { flag = australia_recruitment_in_process days = 180 value = 1 }
			if = {
				limit = {
					num_of_operatives < num_operative_slots
				}
				custom_effect_tooltip = recruit_in_state_tt
			}
			else = {
				custom_effect_tooltip = recruit_in_state_to_pool_tt
			}
			hidden_effect = {
				create_operative_leader = {
					bypass_recruitment = yes
					nationalities = { FROM.OWNER }
					portrait_tag_override = FROM.OWNER
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#unlocks decisions to recruit in india
	

	
	
}
