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_of_scopes = { array = subjects 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 = { } target_root_trigger = { OR = { has_country_flag = europe_recruitment_unlocked capital_scope = { is_on_continent = europe } } NOT = { has_country_flag = europe_recruitment_in_process } } state_target = europe target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { exists = yes has_capitulated = yes NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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_of_scopes = { array = subjects 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 = north_america target_root_trigger = { OR = { has_country_flag = north_america_recruitment_unlocked capital_scope = { is_on_continent = north_america } } NOT = { has_country_flag = north_america_recruitment_in_process } } target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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_of_scopes = { array = subjects 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 = south_america target_root_trigger = { OR = { has_country_flag = south_america_recruitment_unlocked capital_scope = { is_on_continent = south_america } } NOT = { has_country_flag = south_america_recruitment_in_process } } target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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_of_scopes = { array = subjects 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 = africa target_root_trigger = { OR = { has_country_flag = africa_recruitment_unlocked capital_scope = { is_on_continent = africa } } NOT = { has_country_flag = africa_recruitment_in_process } } target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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_of_scopes = { array = subjects 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 = middle_east target_root_trigger = { OR = { has_country_flag = middle_east_recruitment_unlocked capital_scope = { is_on_continent = middle_east } } NOT = { has_country_flag = middle_east_recruitment_in_process } } target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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_of_scopes = { array = subjects 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 = asia target_root_trigger = { OR = { has_country_flag = asia_recruitment_unlocked capital_scope = { is_on_continent = asia } } NOT = { tag = RAJ tag = PAK tag = BAN tag = NEP tag = BHU tag = SRL } NOT = { has_country_flag = asia_recruitment_in_process } } target_trigger = { FROM = { NOT = { is_core_of = RAJ is_core_of = PAK is_core_of = BAN is_core_of = NEP is_core_of = BHU is_core_of = SRL } OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } visible = { OR = { has_country_flag = asia_recruitment_unlocked capital_scope = { is_on_continent = asia } } NOT = { tag = RAJ tag = PAK tag = BAN tag = NEP tag = BHU tag = SRL } 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_of_scopes = { array = subjects 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 = australia target_root_trigger = { OR = { has_country_flag = australia_recruitment_unlocked capital_scope = { is_on_continent = australia } } NOT = { has_country_flag = australia_recruitment_in_process } } target_trigger = { FROM = { OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } 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 recruit_in_india = { #icon = generic_research available = { } visible = { NOT = { tag = RAJ tag = PAK tag = BAN tag = NEP tag = BHU } OR = { any_owned_state = { OR = { is_core_of = RAJ is_core_of = PAK is_core_of = BAN is_core_of = NEP is_core_of = BHU is_core_of = SRL } } is_in_faction_with = RAJ is_in_faction_with = PAK is_in_faction_with = BAN is_in_faction_with = NEP is_in_faction_with = BHU is_in_faction_with = SRL any_of_scopes = { array = subjects any_owned_state = { OR = { is_core_of = RAJ is_core_of = PAK is_core_of = BAN is_core_of = NEP is_core_of = BHU is_core_of = SRL } } } } } fire_only_once = yes cost = 50 modifier = { civilian_factory_use = 3 } days_remove = 90 remove_effect = { set_country_flag = india_recruitment_unlocked } ai_will_do = { base = 0 } } recruit_in_india_state = { icon = onmap_recruit_operative name = recruit_in_europe_state available = { } state_target = yes target_root_trigger = { OR = { has_country_flag = india_recruitment_unlocked tag = RAJ tag = PAK tag = BAN tag = NEP tag = BHU tag = SRL } NOT = { has_country_flag = india_recruitment_in_process } } target_trigger = { FROM = { OR = { is_core_of = RAJ is_core_of = PAK is_core_of = BAN is_core_of = NEP is_core_of = BHU is_core_of = SRL } OR = { AND = { has_variable = historical_capital_for_country var:historical_capital_for_country = { OR = { has_capitulated = yes exists = no } NOT = { tag = ROOT } } } AND = { is_capital = yes CONTROLLER = { NOT = { tag = ROOT } } } } } } visible = { OR = { has_country_flag = india_recruitment_unlocked tag = RAJ tag = PAK tag = BAN tag = NEP tag = BHU tag = SRL } NOT = { has_country_flag = india_recruitment_in_process } } fire_only_once = no cost = 0 days_re_enable = 180 on_map_mode = map_only complete_effect = { set_country_flag = { flag = india_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 } } }