# Author(s): BirdyBoi, Vadim, SKevin, Fire focus_tree = { id = afghanistan_focus country = { base = 0 modifier = { add = 20 original_tag = AFG } } continuous_focus_position = { x = 50 y = 1500 } # Focus Shortcuts shortcut = { name = AFG_civil_war_shortcut target = AFG_civil_war scroll_wheel_factor = 0.80 } shortcut = { name = AFG_panjshir_shortcut target = AFG_anjuman_pass scroll_wheel_factor = 0.80 } shortcut = { name = AFG_foreign_policy_shortcut target = AFG_aggresive_foreign_policy scroll_wheel_factor = 0.80 } shortcut = { name = AFG_government_shortcut target = AFG_the_islamic_republic scroll_wheel_factor = 0.80 } shortcut = { name = AFG_reconstruction_shortcut target = AFG_civil_war_recovery scroll_wheel_factor = 0.80 } shortcut = { name = AFG_national_policy_shortcut target = AFG_future_national_policy scroll_wheel_factor = 0.80 } initial_show_position = { x = 5 y = 0 } #Winning Against Taliban focus = { id = AFG_civil_war icon = attack_taliban x = 5 y = 0 cost = 5 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_civil_war" army_experience = 40 add_war_support = 0.02 add_doctrine_cost_reduction = { name = AFG_civil_war category = CAT_land_doctrine uses = 3 cost_reduction = 0.4 } } ai_will_do = { base = 1 modifier = { factor = 5 is_historical_focus_on = yes } } } focus = { id = AFG_enlisting_personal icon = great_railway_incident x = -5 y = 1 relative_position_id = AFG_civil_war cost = 5 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_enlisting_personal" army_experience = 30 add_manpower = 20000 } ai_will_do = { base = 1 modifier = { factor = 2 has_manpower < 100000 } modifier = { factor = 10 has_completed_focus = AFG_cars_over_donkeys } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_enhanced_recruitment_efforts icon = recruitment x = 0 y = 1 relative_position_id = AFG_enlisting_personal cost = 5 prerequisite = { focus = AFG_enlisting_personal } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_enhanced_recruitment_efforts" army_experience = 10 add_ideas = AFG_idea_enhanced_recruitment_efforts } ai_will_do = { base = 1 modifier = { factor = 2 has_manpower < 100000 } modifier = { factor = 10 has_completed_focus = AFG_cars_over_donkeys } } } focus = { id = AFG_foreign_loyalist icon = Afghan-Royal-Army_1 x = -3 y = 1 relative_position_id = AFG_civil_war cost = 7 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_foreign_loyalist" army_experience = 30 hidden_effect = { division_template = { name = "Northern Alliance Tribal Militia" regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } Mot_Militia_Bat = { x = 1 y = 0 } } support = { L_Recce_Comp = { x = 0 y = 0 } Mot_Recce_Comp = { x = 0 y = 1 } Arty_Battery = { x = 0 y = 2 } L_Engi_Comp = { x = 0 y = 3 } } priority = 0 } } capital_scope = { create_unit = { division = "name = \"Northern Alliance Tajik Militia\" division_template = \"Northern Alliance Tribal Militia\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = ROOT } create_unit = { division = "name = \"Northern Alliance Uzbek Militia\" division_template = \"Northern Alliance Tribal Militia\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = ROOT } create_unit = { division = "name = \"Northern Alliance Hazara Militia\" division_template = \"Northern Alliance Tribal Militia\" start_experience_factor = 0.1 start_equipment_factor = 1.0" owner = ROOT } } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 10 has_completed_focus = AFG_foreign_equipment } modifier = { factor = 10 surrender_progress > 0.1 } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_elite_help icon = afghan_airforce x = 0 y = 1 relative_position_id = AFG_foreign_loyalist cost = 8 prerequisite = { focus = AFG_foreign_loyalist } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_elite_help" army_experience = 30 hidden_effect = { division_template = { name = "Northern Alliance Veterans" regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } Special_Forces = { x = 0 y = 2 } Special_Forces = { x = 0 y = 3 } Mot_Inf_Bat = { x = 1 y = 0 } } support = { L_Recce_Comp = { x = 0 y = 0 } Mot_Recce_Comp = { x = 0 y = 1 } Arty_Battery = { x = 0 y = 2 } L_Engi_Comp = { x = 0 y = 3 } } priority = 2 } } capital_scope = { create_unit = { division = "name = \"1st Northern Alliance Veteran Brigade\" division_template = \"Northern Alliance Veterans\" start_experience_factor = 0.4 start_equipment_factor = 1.0" owner = ROOT } create_unit = { division = "name = \"2nd Northern Alliance Veteran Brigade\" division_template = \"Northern Alliance Veterans\" start_experience_factor = 0.4 start_equipment_factor = 1.0" owner = ROOT } create_unit = { division = "name = \"3rd Northern Alliance Veteran Brigade\" division_template = \"Northern Alliance Veterans\" start_experience_factor = 0.4 start_equipment_factor = 1.0" owner = ROOT } } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 10 num_divisions < 6 } modifier = { factor = 10 surrender_progress > 0.1 } modifier = { factor = 10 has_volunteers_amount_from = { tag = USA count > 0 } } modifier = { factor = 10 has_completed_focus = AFG_cars_over_donkeys } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_going_offensive icon = afghan_na_offensive x = -1 y = 2 relative_position_id = AFG_foreign_loyalist cost = 8 prerequisite = { focus = AFG_elite_help } prerequisite = { focus = AFG_enhanced_recruitment_efforts } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } OR = { num_divisions > 12 has_volunteers_amount_from = { tag = USA count > 0 } has_volunteers_amount_from = { tag = PER count > 0 } } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_going_offensive" army_experience = 10 if = { limit = { has_idea = AFG_idea_afghan_defence } swap_ideas = { remove_idea = AFG_idea_afghan_defence add_idea = AFG_idea_starting_offensive } } else = { add_ideas = AFG_idea_starting_offensive } if = { limit = { has_country_leader_with_trait = stout_defender } remove_country_leader_trait = stout_defender } } ai_will_do = { base = 1 modifier = { factor = 35 has_volunteers_amount_from = { tag = USA count > 0 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_war_experience icon = afg_map_split x = -1 y = 3 relative_position_id = AFG_foreign_loyalist cost = 10 prerequisite = { focus = AFG_elite_help } prerequisite = { focus = AFG_going_offensive } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_war_experience" army_experience = 50 if = { limit = { has_idea = AFG_idea_afghan_defence } swap_ideas = { remove_idea = AFG_idea_afghan_defence add_idea = AFG_idea_war_experience } } else_if = { limit = { has_idea = AFG_idea_starting_offensive } swap_ideas = { remove_idea = AFG_idea_starting_offensive add_idea = AFG_idea_war_experience } } } ai_will_do = { base = 1 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_updating_equipment icon = examine_foreign_small_arms x = -1 y = 1 relative_position_id = AFG_civil_war cost = 5 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_updating_equipment" army_experience = 10 add_tech_bonus = { name = AFG_updating_equipment bonus = 0.3 category = CAT_inf_wep } add_tech_bonus = { name = AFG_updating_equipment bonus = 0.3 category = CAT_cnc } add_tech_bonus = { name = AFG_updating_equipment bonus = 0.3 category = CAT_support_weapons uses = 2 } set_temp_variable = { treasury_change = -1.0 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 1.0 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_getting_new_tech icon = tank_t62 x = 0 y = 1 relative_position_id = AFG_updating_equipment cost = 5 prerequisite = { focus = AFG_updating_equipment } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_getting_new_tech" army_experience = 10 add_tech_bonus = { name = AFG_getting_new_tech bonus = 0.3 category = CAT_armor uses = 3 } set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 1.5 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_planes icon = jet_mig21 x = 0 y = 2 relative_position_id = AFG_updating_equipment cost = 5 prerequisite = { focus = AFG_getting_new_tech } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_planes" air_experience = 20 add_tech_bonus = { name = AFG_planes bonus = 0.2 category = CAT_as_fighter uses = 2 } 411 = { add_building_construction = { type = air_base level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 2 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_specialize_equipment icon = Afghan-Royal-Air-Force_2 x = 0 y = 3 relative_position_id = AFG_updating_equipment cost = 5 prerequisite = { focus = AFG_planes } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_specialize_equipment" air_experience = 20 add_tech_bonus = { name = AFG_specialize_equipment bonus = 0.3 category = CAT_nvg uses = 1 } add_tech_bonus = { name = AFG_specialize_equipment bonus = 0.3 category = CAT_special_forces uses = 1 } add_tech_bonus = { name = AFG_specialize_equipment bonus = 0.4 category = CAT_artillery uses = 1 } set_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 0.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_army_budget icon = afghan_military_budget x = 0 y = 4 relative_position_id = AFG_foreign_loyalist cost = 5 prerequisite = { focus = AFG_war_experience } prerequisite = { focus = AFG_specialize_equipment } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_army_budget" army_experience = 50 increase_military_spending = yes increase_officer_training_level = yes } ai_will_do = { base = 1 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_infrastructure_equal_war icon = infrastructure x = 1 y = 1 relative_position_id = AFG_civil_war cost = 5 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_infrastructure_equal_war" 411 = { AFG_build_two_infrastructure_or_internet = yes } set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes add_political_power = 50 } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 6.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_foreign_equipment icon = RussianWeaponsAfghan x = 3 y = 1 relative_position_id = AFG_civil_war cost = 7.2 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_foreign_equipment" add_equipment_to_stockpile = { type = infantry_weapons_2 amount = 4000 producer = SOV } set_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = AFG.id } change_influence_percentage = yes } ai_will_do = { base = 1 modifier = { factor = 5 date > 2001.1.1 } modifier = { factor = 0 check_variable = { treasury < 0.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_usa_equipment icon = CIAinvolvement x = 0 y = 1 relative_position_id = AFG_foreign_equipment cost = 3 prerequisite = { focus = AFG_foreign_equipment } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_usa_equipment" add_equipment_to_stockpile = { type = cnc_equipment_4 amount = 1000 producer = USA } add_equipment_to_stockpile = { type = infantry_weapons_4 amount = 1000 producer = USA } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = USA.id } set_temp_variable = { influence_target = AFG.id } change_influence_percentage = yes } ai_will_do = { base = 1 modifier = { factor = 5 date > 2001.5.1 } modifier = { factor = 0 check_variable = { treasury < 1.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_cars_over_donkeys icon = afghan_humvee x = 0 y = 2 relative_position_id = AFG_foreign_equipment cost = 4 prerequisite = { focus = AFG_usa_equipment } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_cars_over_donkeys" add_equipment_to_stockpile = { type = util_vehicle_4 amount = 500 producer = USA } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA.id } set_temp_variable = { influence_target = AFG.id } change_influence_percentage = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 2.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_minor_military_construction icon = industry_military x = 5 y = 1 relative_position_id = AFG_civil_war cost = 5 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_minor_military_construction" add_ideas = military_industry_project } ai_will_do = { base = 1 } } focus = { id = AFG_equipment_production icon = afghan_forces x = 0 y = 1 relative_position_id = AFG_minor_military_construction cost = 6 prerequisite = { focus = AFG_minor_military_construction } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_equipment_production" add_war_support = 0.05 add_ideas = AFG_idea_equipment_production } ai_will_do = { base = 1 } } focus = { id = AFG_large_equipment_production icon = small_arms5 x = 0 y = 2 relative_position_id = AFG_minor_military_construction cost = 7 prerequisite = { focus = AFG_equipment_production } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_large_equipment_production" add_war_support = 0.08 swap_ideas = { remove_idea = AFG_idea_equipment_production add_idea = AFG_idea_large_equipment_production } } ai_will_do = { base = 1 } } focus = { id = AFG_huge_equipment_production icon = thompson_submachine_gun x = -1 y = 4 relative_position_id = AFG_minor_military_construction cost = 10 prerequisite = { focus = AFG_large_equipment_production } prerequisite = { focus = AFG_cars_over_donkeys } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_huge_equipment_production" add_war_support = 0.1 411 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 7.49 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_arms_industry = no } } } focus = { id = AFG_adjusting_our_economy icon = generic_healthcare x = 0 y = 1 relative_position_id = AFG_infrastructure_equal_war cost = 5 prerequisite = { focus = AFG_infrastructure_equal_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_adjusting_our_economy" decrease_policing_budget = yes increase_healthcare_budget = yes add_political_power = 50 set_temp_variable = { desire_change = -0.5 } change_expected_police_spending = yes } ai_will_do = { base = 1 } } focus = { id = AFG_better_officers icon = general_staff x = 0 y = 2 relative_position_id = AFG_infrastructure_equal_war cost = 5 prerequisite = { focus = AFG_adjusting_our_economy } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_better_officers" decrease_policing_budget = yes increase_education_budget = yes increase_officer_training_level = yes add_political_power = 50 set_temp_variable = { desire_change = -0.5 } change_expected_police_spending = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 1 } } focus = { id = AFG_fuel_for_economy icon = oil_red x = 0 y = 3 relative_position_id = AFG_infrastructure_equal_war cost = 5 prerequisite = { focus = AFG_better_officers } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_fuel_for_economy" 411 = { add_building_construction = { type = renewable_energy_infra level = 2 instant_build = yes } } decrease_corruption = yes set_temp_variable = { treasury_change = -9 } modify_treasury_effect = yes add_political_power = 100 add_fuel = 100 } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 8.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_improving_our_economy icon = market_economy x = 0 y = 4 relative_position_id = AFG_infrastructure_equal_war cost = 5 prerequisite = { focus = AFG_fuel_for_economy } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_improving_our_economy" increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { percent_change = -1 } change_domestic_influence_percentage = yes add_political_power = 50 } ai_will_do = { base = 1 } } focus = { id = AFG_loyal_guards icon = infantry_india x = 7 y = 1 relative_position_id = AFG_civil_war cost = 7.2 prerequisite = { focus = AFG_civil_war } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_loyal_guards" add_manpower = 500 add_political_power = 50 set_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes custom_effect_tooltip = AFG_enhance_leader_protection_tt } ai_will_do = { base = 1 modifier = { factor = 0 is_ai = yes } modifier = { factor = 0 check_variable = { treasury < 0.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_elite_guards icon = soldier x = 0 y = 1 relative_position_id = AFG_loyal_guards cost = 7.2 prerequisite = { focus = AFG_loyal_guards } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_elite_guards" add_manpower = 1500 add_political_power = 50 set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes custom_effect_tooltip = AFG_further_enhance_leader_protection_tt } ai_will_do = { base = 1 modifier = { factor = 0 is_ai = yes } modifier = { factor = 0 check_variable = { treasury < 1.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_the_end_of_war icon = afghan_war_ends x = 0 y = 7 relative_position_id = AFG_civil_war cost = 5 prerequisite = { focus = AFG_improving_our_economy } prerequisite = { focus = AFG_army_budget focus = AFG_huge_equipment_production } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_war = no TAL = { exists = no } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_end_of_war" increase_economic_growth = yes decrease_corruption = yes if = { limit = { has_idea = AFG_idea_enhanced_recruitment_efforts } remove_ideas = AFG_idea_enhanced_recruitment_efforts } if = { limit = { has_idea = AFG_idea_war_experience } remove_ideas = AFG_idea_war_experience } add_political_power = 200 hidden_effect = { country_event = { id = AFG_events.27 days = 5 } country_event = { id = AFG_events.28 days = 12 } } } ai_will_do = { base = 1 } } #Civil war recovery focus = { id = AFG_civil_war_recovery icon = better_money x = 75 y = 0 cost = 10 search_filters = { FOCUS_FILTER_STABILITY } available = { has_completed_focus = AFG_shura_system has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_civil_war_recovery" add_stability = 0.1 increase_economic_growth = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_pleasing_the_ulema icon = islam x = -5 y = 1 relative_position_id = AFG_civil_war_recovery cost = 10 prerequisite = { focus = AFG_civil_war_recovery } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_pleasing_the_ulema" add_stability = 0.05 set_temp_variable = { temp_opinion = 5 } change_the_ulema_opinion = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_rebuild_mosques icon = islamist_gov2 x = 0 y = 1 relative_position_id = AFG_pleasing_the_ulema cost = 10 prerequisite = { focus = AFG_pleasing_the_ulema } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_rebuild_mosques" add_stability = 0.05 set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_the_ulema_opinion = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_spread_our_religion icon = sharia_law x = 0 y = 1 relative_position_id = AFG_rebuild_mosques cost = 10 prerequisite = { focus = AFG_rebuild_mosques } search_filters = { FOCUS_FILTER_STABILITY } available = { NOT = { OR = { has_idea = non_power has_idea = minor_power } } gdp_per_capita_greater_than_3 = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_spread_our_religion" every_other_country = { limit = { is_neighbor_of = AFG has_idea = sunni OR = { has_idea = non_power has_idea = minor_power } } if = { limit = { AFG = { has_government = democratic } } add_popularity = { ideology = democratic popularity = 0.02 } } if = { limit = { AFG = { has_government = communism } } add_popularity = { ideology = communism popularity = 0.02 } } if = { limit = { AFG = { has_government = fascism } } add_popularity = { ideology = fascism popularity = 0.02 } } if = { limit = { AFG = { has_government = neutrality } } add_popularity = { ideology = neutrality popularity = 0.02 } } if = { limit = { AFG = { has_government = nationalist } } add_popularity = { ideology = nationalist popularity = 0.02 } } set_temp_variable = { percent_change = 1 } change_influence_percentage = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_un_troops icon = un_pko x = -3 y = 1 relative_position_id = AFG_civil_war_recovery cost = 10 prerequisite = { focus = AFG_civil_war_recovery } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_un_troops" add_ideas = AFG_idea_un_troops if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_relief_effort icon = united_nations x = 0 y = 1 relative_position_id = AFG_un_troops cost = 7 prerequisite = { focus = AFG_un_troops } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_relief_effort" set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes add_stability = 0.05 } ai_will_do = { base = 1 } } focus = { id = AFG_building_society icon = generic_government x = 0 y = 2 relative_position_id = AFG_un_troops cost = 6 prerequisite = { focus = AFG_relief_effort } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_building_society" increase_social_spending = yes decrease_military_spending = yes add_stability = 0.05 if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 3 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_wounded_veterans icon = generic_hospital2 x = 0 y = 3 relative_position_id = AFG_un_troops cost = 9 prerequisite = { focus = AFG_building_society } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_wounded_veterans" increase_healthcare_budget = yes add_stability = 0.05 add_manpower = 2500 } ai_will_do = { base = 1 } } focus = { id = AFG_economic_recovery icon = economic_prosperity2 x = 0 y = 4 relative_position_id = AFG_un_troops cost = 6 prerequisite = { focus = AFG_wounded_veterans } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_economic_recovery" increase_economic_growth = yes add_ideas = AFG_economic_recovery_research_boost if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 2 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_un_troops_removal icon = renounce_treaty x = 0 y = 5 relative_position_id = AFG_un_troops cost = 12 prerequisite = { focus = AFG_economic_recovery } search_filters = { FOCUS_FILTER_STABILITY } available = { has_stability > 0.7 has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_un_troops_removal" remove_ideas = AFG_idea_un_troops } ai_will_do = { base = 1 } } focus = { id = AFG_changing_our_economy icon = coins x = 0 y = 1 relative_position_id = AFG_civil_war_recovery cost = 5 prerequisite = { focus = AFG_civil_war_recovery } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_changing_our_economy" increase_economic_growth = yes add_timed_idea = { idea = mass_exports5 days = 365 } } ai_will_do = { base = 1 } } focus = { id = AFG_sticking_with_opium icon = generic_banks x = -1 y = 1 relative_position_id = AFG_changing_our_economy cost = 8 prerequisite = { focus = AFG_changing_our_economy } mutually_exclusive = { focus = AFG_industrial_economy } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_sticking_with_opium" set_temp_variable = { temp_opinion = 10 } change_farmers_opinion = yes add_stability = -0.05 } ai_will_do = { base = 1 modifier = { factor = 5 has_idea = AFG_idea_opium_economy } modifier = { factor = 3 can_staff_an_industrial_complex = no } } } focus = { id = AFG_opium_barons icon = black_market x = 0 y = 1 relative_position_id = AFG_sticking_with_opium cost = 10 prerequisite = { focus = AFG_sticking_with_opium } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_opium_barons" set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes add_stability = -0.05 swap_ideas = { remove_idea = AFG_idea_opium_economy add_idea = AFG_idea_opium_barons } } ai_will_do = { base = 1 } } focus = { id = AFG_selling_large_quantities icon = lumber_industry x = 0 y = 2 relative_position_id = AFG_sticking_with_opium cost = 10 prerequisite = { focus = AFG_opium_barons } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_selling_large_quantities" set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes add_stability = -0.05 increase_economic_growth = yes set_temp_variable = { treasury_change = 50 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } focus = { id = AFG_industrial_economy icon = construction_engineering x = 1 y = 1 relative_position_id = AFG_changing_our_economy cost = 12 prerequisite = { focus = AFG_changing_our_economy } mutually_exclusive = { focus = AFG_sticking_with_opium } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { NOT = { has_completed_focus = AFG_pro_western } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_industrial_economy" 411 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { temp_opinion = -5 } change_farmers_opinion = yes set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 3 NOT = { has_idea = AFG_idea_opium_economy } } } } focus = { id = AFG_focusing_on_infrastructure icon = mechanized_agriculture x = 0 y = 1 relative_position_id = AFG_industrial_economy cost = 12 prerequisite = { focus = AFG_industrial_economy } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_focusing_on_infrastructure" every_owned_state = { AFG_build_infrastructure_or_internet = yes } swap_ideas = { remove_idea = AFG_idea_opium_economy add_idea = AFG_idea_changing_economy } if = { limit = { has_idea = farmers } swap_ideas = { remove_idea = farmers add_idea = industrial_conglomerates } } decrease_economic_growth = yes set_temp_variable = { treasury_change = -21 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_focusing_on_factories icon = anarchist_economy x = 0 y = 2 relative_position_id = AFG_industrial_economy cost = 15 prerequisite = { focus = AFG_focusing_on_infrastructure } search_filters = { FOCUS_FILTER_INFLUENCE FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_focusing_on_factories" 410 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = AFG_tribes_or_cities icon = centralization_question x = 4 y = 1 relative_position_id = AFG_civil_war_recovery cost = 5 prerequisite = { focus = AFG_civil_war_recovery } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_tribes_or_cities" add_political_power = 50 add_stability = 0.02 add_war_support = -0.05 } ai_will_do = { base = 1 } } focus = { id = AFG_the_mountains icon = diplomatic_treaty x = -1 y = 1 relative_position_id = AFG_tribes_or_cities cost = 10 prerequisite = { focus = AFG_tribes_or_cities } mutually_exclusive = { focus = AFG_the_towns } search_filters = { FOCUS_FILTER_STABILITY } available = { NOT = { has_completed_focus = AFG_pro_establishment } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_mountains" set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes add_ideas = AFG_idea_tribal_support_1 if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 3 can_staff_an_industrial_complex = no } modifier = { factor = 2 has_country_flag = AFG_active_taliban_insurgency } } } focus = { id = AFG_the_rural_areas icon = construction2 x = 0 y = 1 relative_position_id = AFG_the_mountains cost = 10 prerequisite = { focus = AFG_the_mountains } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_rural_areas" add_stability = 0.01 set_temp_variable = { treasury_change = -21 } modify_treasury_effect = yes every_owned_state = { AFG_build_infrastructure_or_internet = yes add_extra_state_shared_building_slots = 1 } swap_ideas = { remove_idea = AFG_idea_tribal_support_1 add_idea = AFG_idea_tribal_support_2 } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_the_tribal_leaders icon = revolutionize_ulema x = 0 y = 1 relative_position_id = AFG_the_rural_areas cost = 10 prerequisite = { focus = AFG_the_rural_areas } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_tribal_leaders" add_stability = 0.05 set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes swap_ideas = { remove_idea = AFG_idea_tribal_support_2 add_idea = AFG_idea_tribal_support_3 } if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 10 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 5 has_country_flag = AFG_active_taliban_insurgency } modifier = { factor = 2 has_stability < 0.4 } } } focus = { id = AFG_the_towns icon = central_planned_economy x = 1 y = 1 relative_position_id = AFG_tribes_or_cities cost = 10 prerequisite = { focus = AFG_tribes_or_cities } mutually_exclusive = { focus = AFG_the_mountains } search_filters = { FOCUS_FILTER_FOREIGN_INVESTMENTS FOCUS_FILTER_INDUSTRY } available = { NOT = { OR = { has_idea = AFG_idea_opium_economy has_completed_focus = AFG_moderate_islamists } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_towns" set_temp_variable = { temp_opinion = -5 } change_landowners_opinion = yes newline = yes random_owned_controlled_state = { limit = { free_shared_building_slots = yes } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } newline = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_increase = 2 } increase_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 2 NOT = { has_country_flag = AFG_active_taliban_insurgency } } } } focus = { id = AFG_the_cities icon = construction4 x = 0 y = 1 relative_position_id = AFG_the_towns cost = 15 prerequisite = { focus = AFG_the_towns } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_cities" 410 = { add_building_construction = { type = offices level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes if = { limit = { has_idea = landowners } swap_ideas = { remove_idea = landowners add_idea = international_bankers } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_offices = no } } } focus = { id = AFG_the_capital icon = pearl_river_megacity x = 0 y = 1 relative_position_id = AFG_the_cities cost = 7.20 prerequisite = { focus = AFG_the_cities } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { NOT = { has_idea = farmers } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_capital" set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes 414 = { AFG_build_two_infrastructure_or_internet = yes add_extra_state_shared_building_slots = 3 add_building_construction = { type = offices level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -19 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_offices = no } } } focus = { id = AFG_getting_running_water icon = water_conservation x = 7 y = 1 relative_position_id = AFG_civil_war_recovery cost = 10 prerequisite = { focus = AFG_civil_war_recovery } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_EXPENDITURE } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_getting_running_water" add_stability = 0.1 set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_timed_idea = { idea = AFG_idea_water_infrastructure_construction days = 730 } add_ideas = agricultural_investments2 } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_feed_the_nation icon = consumer_goods x = 0 y = 1 relative_position_id = AFG_getting_running_water cost = 15 prerequisite = { focus = AFG_getting_running_water } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_EXPENDITURE } available = { has_war = no num_of_civilian_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_feed_the_nation" add_stability = 0.05 set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes hidden_effect = { random_owned_controlled_state = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } random_owned_controlled_state = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } } swap_ideas = { remove_idea = agricultural_investments2 add_idea = agricultural_investments3 } custom_effect_tooltip = AFG_feed_nation_tt if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 3 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_spread_electricity icon = electricity x = 0 y = 1 relative_position_id = AFG_feed_the_nation cost = 8.6 prerequisite = { focus = AFG_feed_the_nation } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_spread_electricity" add_stability = 0.05 set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 instant_build = yes } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_means_of_communication icon = television x = 0 y = 1 relative_position_id = AFG_spread_electricity cost = 8.6 prerequisite = { focus = AFG_spread_electricity } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_tech = internet1 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_means_of_communication" set_temp_variable = { treasury_change = -18 } modify_treasury_effect = yes every_owned_state = { limit = { free_building_slots = { building = internet_station size > 0 include_locked = no } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = internet_station level = 1 instant_build = yes } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_rebuild_the_roads icon = Provincial_Funding_for_Roads x = 0 y = 1 relative_position_id = AFG_means_of_communication cost = 8.6 prerequisite = { focus = AFG_means_of_communication } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_rebuild_the_roads" set_temp_variable = { treasury_change = -21 } modify_treasury_effect = yes every_owned_state = { AFG_build_infrastructure_or_internet = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_public_transportation icon = city_bus x = 0 y = 1 relative_position_id = AFG_rebuild_the_roads cost = 12 prerequisite = { focus = AFG_rebuild_the_roads } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_public_transportation" add_timed_idea = { idea = AFG_idea_recent_public_transportation days = 700 } } ai_will_do = { base = 1 } } focus = { id = AFG_our_nation_recovered icon = afg_map_modern_flag x = 0 y = 7 relative_position_id = AFG_civil_war_recovery cost = 10 prerequisite = { focus = AFG_public_transportation } prerequisite = { focus = AFG_un_troops_removal } prerequisite = { focus = AFG_selling_large_quantities focus = AFG_focusing_on_factories } prerequisite = { focus = AFG_the_tribal_leaders focus = AFG_the_capital } search_filters = { FOCUS_FILTER_STABILITY } available = { has_war = no if = { limit = { no_jihadist_government = yes } fascism < 0.05 has_country_flag = AFG_taliban_insurgency_eliminated } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_our_nation_recovered" add_stability = 0.05 add_timed_idea = { idea = AFG_idea_recovered_from_war days = 730 } } ai_will_do = { base = 1 } } # Political Branch focus = { id = AFG_future_national_policy icon = afghan_govt x = 87 y = 0 cost = 10 search_filters = { FOCUS_FILTER_POLITICAL } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_future_national_policy" add_stability = -0.02 add_political_power = 50 hidden_effect = { country_event = AFG_political_events.4 } } ai_will_do = { base = 1 } } focus = { id = AFG_future_diplomacy icon = afghan_move x = 0 y = 1 relative_position_id = AFG_future_national_policy cost = 5 prerequisite = { focus = AFG_future_national_policy } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_future_diplomacy" add_political_power = 50 add_timed_idea = { idea = AFG_idea_diplomatic_interaction days = 365 } } ai_will_do = { base = 1 } } focus = { id = AFG_approaching_nato icon = western_alignment x = -2 y = 1 relative_position_id = AFG_future_diplomacy cost = 10 prerequisite = { focus = AFG_future_diplomacy } mutually_exclusive = { focus = AFG_emerging focus = AFG_remain_neutral } search_filters = { FOCUS_FILTER_NATO } available = { OR = { is_subject = no is_subject_of = USA } NOT = { has_government = communism } NOT = { has_government = fascism } NOT = { has_completed_focus = AFG_authortarian } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_approaching_nato" AFG = { add_opinion_modifier = { target = USA modifier = declaration_of_friendship } } USA = { add_opinion_modifier = { target = AFG modifier = declaration_of_friendship } } every_other_country = { limit = { has_government = democratic OR = { has_idea = large_power has_idea = great_power has_idea = super_power } } add_opinion_modifier = { target = AFG modifier = diplomatic_proximity } } every_other_country = { limit = { has_government = communism NOT = { has_idea = USA_usaid } OR = { has_idea = regional_power has_idea = large_power has_idea = great_power has_idea = super_power } } add_opinion_modifier = { target = AFG modifier = diplomatic_distance } } } ai_will_do = { base = 1 modifier = { factor = 10 has_government = democratic } } } focus = { id = AFG_aspiring_nato icon = nato x = -1 y = 1 relative_position_id = AFG_approaching_nato cost = 10 prerequisite = { focus = AFG_approaching_nato } search_filters = { FOCUS_FILTER_NATO } available = { OR = { is_subject = no is_subject_of = USA } NOT = { has_government = communism } NOT = { has_government = fascism } USA = { has_opinion = { target = AFG value > 24 } } } bypass = { OR = { is_subject_of = USA has_idea = Major_Non_NATO_Ally } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_aspiring_nato" NATO_major_non_nato_ally_join = yes USA = { add_opinion_modifier = { target = AFG modifier = Major_Non_NATO_Ally } } AFG = { add_opinion_modifier = { target = USA modifier = Major_Non_NATO_Ally } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes } if = { limit = { NOT = { has_idea = USA_usaid } } add_ideas = USA_usaid } } ai_will_do = { base = 1 } } focus = { id = AFG_invite_western_investors icon = ExpandTrade x = 1 y = 1 relative_position_id = AFG_approaching_nato cost = 10 prerequisite = { focus = AFG_approaching_nato } search_filters = { FOCUS_FILTER_FOREIGN_INVESTMENTS } available = { NOT = { has_government = communism } NOT = { has_government = fascism } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_invite_western_investors" set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes every_other_country = { limit = { has_government = democratic OR = { has_idea = great_power has_idea = super_power } } country_event = { id = AFG_investment.1 days = 1 } } custom_effect_tooltip = AFG_invest_investment_tt custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { random_owned_controlled_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { percent_change = 1 } change_influence_percentage = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_seek_american_protection icon = align_to_america2 x = 1 y = 1 relative_position_id = AFG_aspiring_nato cost = 10 prerequisite = { focus = AFG_aspiring_nato } prerequisite = { focus = AFG_invite_western_investors } search_filters = { FOCUS_FILTER_NATO } available = { is_subject = no NOT = { has_war_with = USA } } bypass = { OR = { is_guaranteed_by = USA is_subject_of = USA is_in_faction_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_seek_american_protection" USA = { country_event = { id = AFG_events.8 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { USA = { give_guarantee = AFG } give_military_access = USA set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes add_political_power = 50 } } ai_will_do = { base = 1 } } focus = { id = AFG_remain_neutral icon = neutrality x = 0 y = 1 relative_position_id = AFG_future_diplomacy cost = 10 prerequisite = { focus = AFG_future_diplomacy } mutually_exclusive = { focus = AFG_approaching_nato focus = AFG_emerging } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { has_war = no is_subject = no is_in_faction = no NOT = { OR = { has_idea = Major_Non_NATO_Ally has_idea = NATO_member } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_remain_neutral" add_stability = 0.05 add_ideas = neutrality_idea if = { limit = { has_idea = intervention_neo_imperialism } swap_ideas = { remove_idea = intervention_neo_imperialism add_idea = intervention_isolation } } else_if = { limit = { has_idea = intervention_global_interventionism } swap_ideas = { remove_idea = intervention_global_interventionism add_idea = intervention_isolation } } else_if = { limit = { has_idea = intervention_regional_interventionism } swap_ideas = { remove_idea = intervention_regional_interventionism add_idea = intervention_isolation } } else_if = { limit = { has_idea = intervention_limited_interventionism } swap_ideas = { remove_idea = intervention_limited_interventionism add_idea = intervention_isolation } } else_if = { limit = { has_idea = intervention_local_security } swap_ideas = { remove_idea = intervention_local_security add_idea = intervention_isolation } } } ai_will_do = { base = 1 modifier = { factor = 10 OR = { has_government = neutrality has_government = nationalist } } } } focus = { id = AFG_economy_first icon = economic_prosperity x = 0 y = 3 relative_position_id = AFG_future_diplomacy cost = 10 prerequisite = { focus = AFG_remain_neutral } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_economy_first" decrease_military_spending = yes increase_economic_growth = yes increase_education_budget = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 10 } decrease_taliban_strength = yes } set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 1 } } focus = { id = AFG_looking_for_protection icon = align_to_united_nations x = 0 y = 4 relative_position_id = AFG_future_diplomacy cost = 10 prerequisite = { focus = AFG_economy_first } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { has_war = no has_idea = neutrality_idea has_idea = intervention_isolation has_country_flag = AFG_taliban_insurgency_eliminated threat > 0.7 OR = { USA = { has_opinion = { target = AFG value > 14 } } CHI = { has_opinion = { target = AFG value > 14 } } SOV = { has_opinion = { target = AFG value > 14 } } ENG = { has_opinion = { target = AFG value > 14 } } FRA = { has_opinion = { target = AFG value > 14 } } } } bypass = { OR = { is_guaranteed_by = USA is_guaranteed_by = CHI is_guaranteed_by = SOV is_guaranteed_by = ENG is_guaranteed_by = FRA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_looking_for_protection" every_other_country = { limit = { has_idea = p5_member } country_event = { id = AFG_events.16 hours = 1 } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { give_guarantee = AFG AFG = { add_political_power = 20 } } } } ai_will_do = { base = 1 modifier = { factor = 10 threat > 0.7 } } } focus = { id = AFG_emerging icon = eastern_alignment x = 2 y = 1 relative_position_id = AFG_future_diplomacy cost = 10 prerequisite = { focus = AFG_future_diplomacy } mutually_exclusive = { focus = AFG_approaching_nato focus = AFG_remain_neutral } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { OR = { is_subject = no is_subject_of = CHI is_subject_of = SOV is_subject_of = PER } NOT = { OR = { has_government = democratic has_completed_focus = AFG_pro_western } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_emerging" AFG = { add_opinion_modifier = { target = SOV modifier = declaration_of_friendship } add_opinion_modifier = { target = CHI modifier = declaration_of_friendship } } SOV = { add_opinion_modifier = { target = AFG modifier = declaration_of_friendship } } CHI = { add_opinion_modifier = { target = AFG modifier = declaration_of_friendship } } every_other_country = { limit = { has_government = communism NOT = { has_idea = USA_usaid } OR = { has_idea = regional_power has_idea = large_power has_idea = great_power has_idea = super_power } } add_opinion_modifier = { target = AFG modifier = diplomatic_proximity } } every_other_country = { limit = { has_government = democratic OR = { has_idea = large_power has_idea = great_power has_idea = super_power } } add_opinion_modifier = { target = AFG modifier = diplomatic_distance } } if = { limit = { has_idea = Major_Non_NATO_Ally } remove_ideas = Major_Non_NATO_Ally USA = { remove_opinion_modifier = { target = AFG modifier = Major_Non_NATO_Ally } } AFG = { remove_opinion_modifier = { target = USA modifier = Major_Non_NATO_Ally } } } } ai_will_do = { base = 1 modifier = { factor = 10 has_government = communism } } } focus = { id = AFG_join_sco icon = align_to_sco x = -1 y = 1 relative_position_id = AFG_emerging cost = 10 prerequisite = { focus = AFG_emerging } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { OR = { is_subject = no is_subject_of = CHI is_subject_of = SOV is_subject_of = PER } NOT = { has_government = democratic } CHI = { has_completed_focus = CHI_Form_the_SCO has_opinion = { target = AFG value > 4 } } SOV = { has_opinion = { target = AFG value > 4 } } } bypass = { OR = { has_idea = CHI_sco_member hidden_trigger = { OR = { has_idea = CHI_sco_member_econ has_idea = CHI_sco_member_pol has_idea = CHI_sco_member_mil } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_join_sco" hidden_effect = { activate_decision = apply_to_join_as_a_member } custom_effect_tooltip = AFG_process_sco_member_tt } ai_will_do = { base = 1 modifier = { factor = 2 has_government = communism } modifier = { factor = 2 has_idea = CHI_sco_observer } } } focus = { id = AFG_invite_eastern_investors icon = Trade_with_the_east x = 1 y = 1 relative_position_id = AFG_emerging cost = 10 prerequisite = { focus = AFG_emerging } search_filters = { FOCUS_FILTER_TRADE } available = { NOT = { has_government = democratic } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_invite_eastern_investors" set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes every_other_country = { limit = { has_government = communism NOT = { has_idea = USA_usaid } OR = { has_idea = large_power has_idea = great_power has_idea = super_power } } country_event = { id = AFG_investment.1 days = 1 } } custom_effect_tooltip = AFG_invest_investment_tt custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { random_owned_controlled_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { percent_change = 1 } change_influence_percentage = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_request_chinese_protection icon = afghan_communist x = 1 y = 1 relative_position_id = AFG_join_sco cost = 10 prerequisite = { focus = AFG_join_sco } prerequisite = { focus = AFG_invite_eastern_investors } search_filters = { FOCUS_FILTER_FOREIGN_POLICY } available = { OR = { is_subject = no is_subject_of = SOV is_subject_of = PER } NOT = { has_war_with = CHI } } bypass = { OR = { is_guaranteed_by = CHI is_subject_of = CHI is_in_faction_with = CHI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_request_chinese_protection" CHI = { country_event = { id = AFG_events.11 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { CHI = { give_guarantee = AFG } give_military_access = CHI set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = CHI.id } change_influence_percentage = yes add_political_power = 50 } } ai_will_do = { base = 1 } } focus = { id = AFG_internal_policy icon = generic_government x = 10 y = 1 relative_position_id = AFG_future_national_policy cost = 10 prerequisite = { focus = AFG_future_national_policy } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_internal_policy" add_timed_idea = { idea = AFG_idea_internal_policy_debate days = 365 } } ai_will_do = { base = 1 } } focus = { id = AFG_monarchy icon = monarchism x = -5 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_pro_establishment focus = AFG_moderate_islamists focus = AFG_authortarian focus = AFG_pro_western focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { nationalist > 0.05 } bypass = { custom_trigger_tooltip = { tooltip = AFG_monarchist_in_power_tt check_variable = { ruling_party = 23 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_monarchy" add_popularity = { ideology = nationalist popularity = 0.1 } hidden_effect = { set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.1 } change_relative_party_popularity = yes } if = { limit = { has_idea = hybrid_regime_western } remove_ideas = hybrid_regime_western } custom_effect_tooltip = AFG_monarchist_10_precent_tt } ai_will_do = { base = 1 modifier = { factor = 10 has_government = nationalist } modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_prepare_the_king icon = monarchism4 x = 0 y = 1 relative_position_id = AFG_monarchy cost = 10 prerequisite = { focus = AFG_monarchy } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } bypass = { custom_trigger_tooltip = { tooltip = AFG_monarchist_in_power_tt check_variable = { ruling_party = 23 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_prepare_the_king" add_ideas = AFG_idea_prepare_king_return } ai_will_do = { base = 1 } } focus = { id = AFG_the_king_returns icon = afghan_king_zahir x = 0 y = 1 relative_position_id = AFG_prepare_the_king cost = 10 prerequisite = { focus = AFG_prepare_the_king } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { check_variable = { party_pop_array^23 > 0.30 } tooltip = AFG_more_than_thirty_percent_monarchist_tt } } bypass = { custom_trigger_tooltip = { tooltip = AFG_monarchist_in_power_tt check_variable = { ruling_party = 23 } } OR = { has_country_leader = { name = "Mohammed Zahir Shah" ruling_only = yes } has_country_leader = { name = "Ahmad Shah Khan" ruling_only = yes } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_king_returns" if = { limit = { date < 2017.1.1 NOT = { has_government = nationalist } } set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.15 } set_temp_variable = { temp_outlook_increase = 0.15 } change_relative_party_popularity = yes set_politics = { ruling_party = nationalist } create_country_leader = { name = "Mohammed Zahir Shah" picture = "Mohammed_Zahir_Shah.dds" desc = "MOHAMMED_ZAHIR_SHAH_DESC" ideology = Monarchist traits = { king nationalist_Monarchist popular_figurehead } } set_variable = { Monarchist_leader = 1 } } else_if = { limit = { date > 2016.12.30 NOT = { has_government = nationalist } } set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.15 } set_temp_variable = { temp_outlook_increase = 0.15 } change_relative_party_popularity = yes set_politics = { ruling_party = nationalist } create_country_leader = { name = "Ahmad Shah Khan" picture = "Ahmad_Shah_Khan.dds" ideology = Monarchist traits = { king nationalist_Monarchist inexperienced } } } hidden_effect = { set_country_flag = no_leader_change set_temp_variable = { rul_party_temp = 23 } change_ruling_party_effect = yes recalculate_party = yes clr_country_flag = no_leader_change } remove_ideas = AFG_idea_prepare_king_return } ai_will_do = { base = 1 modifier = { factor = 2 has_government = nationalist } modifier = { factor = 2 nationalist > 0.5 } modifier = { factor = 2 nationalist > 0.6 } } } focus = { id = AFG_restore_the_constitution icon = Kingdom_of_Afghanistan x = 0 y = 1 relative_position_id = AFG_the_king_returns cost = 10 prerequisite = { focus = AFG_the_king_returns } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_war = no custom_trigger_tooltip = { check_variable = { party_pop_array^23 > 0.50 } tooltip = AFG_more_than_fifty_percent_monarchist_tt } has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_restore_the_constitution" add_political_power = 100 add_stability = 0.1 set_cosmetic_tag = AFG_NAT_monarchist clr_country_flag = dynamic_flag increase_economic_growth = yes swap_ideas = { remove_idea = AFG_idea_tribal_culture add_idea = AFG_idea_tribal_culture_s1 } } ai_will_do = { base = 1 modifier = { factor = 2 has_government = nationalist } modifier = { factor = 2 nationalist > 0.5 } modifier = { factor = 2 nationalist > 0.6 } } } focus = { id = AFG_pro_establishment icon = Hekmatyar x = -3 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_monarchy focus = AFG_moderate_islamists focus = AFG_authortarian focus = AFG_pro_western focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { fascism > 0.20 NOT = { has_completed_focus = AFG_the_mountains } } bypass = { custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_in_power_tt check_variable = { ruling_party = 10 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_pro_establishment" if = { limit = { NOT = { has_government = fascism } } add_popularity = { ideology = fascism popularity = 0.2 } } else = { add_popularity = { ideology = fascism popularity = 0.15 } } create_country_leader = { name = "Gulbuddin Hekmatyar" picture = "Gulbuddin_Hekmatyar.dds" desc = "GULBUDDIN_HEKMATYAR_DESC" ideology = Kingdom traits = { guerrilla_leader salafist_Kingdom stubborn narcissist afghanistan_butcher_of_kabul } } hidden_effect = { set_country_flag = no_leader_change set_temp_variable = { rul_party_temp = 10 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 10 } set_temp_variable = { party_popularity_increase = 0.10 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.10 } change_relative_party_popularity = yes clr_country_flag = no_leader_change news_event = { id = AFG_news.8 hours = 3 } increase_economic_growth = yes } if = { limit = { has_idea = hybrid_regime_western } remove_ideas = hybrid_regime_western } if = { limit = { has_idea = USA_usaid } hidden_effect = { remove_ideas = USA_usaid } } if = { limit = { has_idea = Major_Non_NATO_Ally } hidden_effect = { remove_ideas = Major_Non_NATO_Ally USA = { remove_opinion_modifier = { target = AFG modifier = Major_Non_NATO_Ally } diplomatic_relation = { country = AFG relation = military_access active = no } } AFG = { remove_opinion_modifier = { target = USA modifier = Major_Non_NATO_Ally } } } } custom_effect_tooltip = AFG_taliban_to_hezbi_islami_ten_percent } ai_will_do = { base = 1 modifier = { factor = 10 fascism > 0.5 } modifier = { factor = 2 has_stability < 0.05 } modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_bring_military_to_our_side icon = Afghan_Officer x = 0 y = 1 relative_position_id = AFG_pro_establishment cost = 10 prerequisite = { focus = AFG_pro_establishment } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_already_in_power_tt check_variable = { ruling_party = 10 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_bring_military_to_our_side" swap_ideas = { remove_idea = landowners add_idea = the_military } set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 5 has_stability < 0.5 } modifier = { factor = 3 has_war = yes } } } focus = { id = AFG_secure_the_power icon = Armored_Troops x = 0 y = 1 relative_position_id = AFG_bring_military_to_our_side cost = 10 prerequisite = { focus = AFG_bring_military_to_our_side } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_already_in_power_tt check_variable = { ruling_party = 10 } } has_idea = the_military has_army_manpower = { size > 300000 } custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_fifty_support_tt check_variable = { party_pop_array^10 > 0.50 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_secure_the_power" add_ideas = SAL_closed_nation if = { limit = { has_idea = police_01 } swap_ideas = { remove_idea = police_01 add_idea = police_05 } } else_if = { limit = { has_idea = police_02 } swap_ideas = { remove_idea = police_02 add_idea = police_05 } } else_if = { limit = { has_idea = police_03 } swap_ideas = { remove_idea = police_03 add_idea = police_05 } } else_if = { limit = { has_idea = police_04 } swap_ideas = { remove_idea = police_04 add_idea = police_05 } } else_if = { limit = { has_idea = police_05 } add_political_power = 150 } hidden_effect = { news_event = { id = AFG_news.9 hours = 2 } } } ai_will_do = { base = 1 modifier = { factor = 2 has_stability > 0.8 } } } focus = { id = AFG_declare_the_emirate icon = Emirate_of_Afghanistan x = 0 y = 1 relative_position_id = AFG_secure_the_power cost = 10 prerequisite = { focus = AFG_secure_the_power } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_war = no custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_already_in_power_tt check_variable = { ruling_party = 10 } } custom_trigger_tooltip = { tooltip = AFG_hezb_i_islami_seventy_five_support_tt check_variable = { party_pop_array^10 > 0.75 } } has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_declare_the_emirate" add_political_power = 200 set_cosmetic_tag = AFG_AUTH_S_fascism set_variable = { dynamic_flag_variant = 8 } clr_country_flag = dynamic_flag remove_ideas = AFG_idea_tribal_culture } ai_will_do = { base = 1 } } focus = { id = AFG_moderate_islamists icon = Rabbani x = -1 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_monarchy focus = AFG_pro_establishment focus = AFG_authortarian focus = AFG_pro_western focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { NOT = { has_completed_focus = AFG_the_towns } custom_trigger_tooltip = { tooltip = AFG_jamiat_e_islami_in_power check_variable = { ruling_party = 12 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_moderate_islamists" set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_will_do = { base = 1 modifier = { factor = 10 has_government = neutrality } modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_fight_corruption icon = anti_establishment x = 0 y = 1 relative_position_id = AFG_moderate_islamists cost = 10 prerequisite = { focus = AFG_moderate_islamists } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_jamiat_e_islami_in_power check_variable = { ruling_party = 12 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_fight_corruption" add_stability = 0.03 decrease_corruption = yes set_temp_variable = { temp_opinion = -5 } change_oligarchs_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 5 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 0 OR = { has_idea = corruption_level_01 has_idea = corruption_level_02 } } } } focus = { id = AFG_decentralization icon = control_judiciary x = 0 y = 2 relative_position_id = AFG_moderate_islamists cost = 10 prerequisite = { focus = AFG_fight_corruption } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_jamiat_e_islami_in_power check_variable = { ruling_party = 12 } } has_stability > 0.5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_decentralization" decrease_centralization = yes set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes set_temp_variable = { desire_change = 0.5 } change_expected_bureaucracy_spending = yes } ai_will_do = { base = 1 } } focus = { id = AFG_jamiate_islami icon = ISA_Afghanistan x = 0 y = 3 relative_position_id = AFG_moderate_islamists cost = 10 prerequisite = { focus = AFG_decentralization } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_war = no custom_trigger_tooltip = { tooltip = AFG_jamiat_e_islami_in_power check_variable = { ruling_party = 12 } } custom_trigger_tooltip = { tooltip = AFG_jamiat_i_islami_fifty_support_tt check_variable = { party_pop_array^12 > 0.5 } } has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_jamiate_islami" add_stability = 0.1 increase_economic_growth = yes set_cosmetic_tag = AFG_NRY_state clr_country_flag = dynamic_flag swap_ideas = { remove_idea = AFG_idea_tribal_culture add_idea = AFG_idea_tribal_culture_s2 } } ai_will_do = { base = 1 } } focus = { id = AFG_authortarian icon = Dostum x = 1 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_monarchy focus = AFG_pro_establishment focus = AFG_moderate_islamists focus = AFG_pro_western focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_in_power_tt check_variable = { ruling_party = 6 } } NOT = { has_completed_focus = AFG_approaching_nato } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_authortarian" set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes if = { limit = { NOT = { has_country_leader = { name = "Abdul Rashid Dostum" ruling_only = yes } } } set_country_flag = no_leader_change create_country_leader = { name = "Abdul Rashid Dostum" picture = "Abdul_Rashid_Dostum.dds" ideology = Conservative traits = { military_career emerging_Conservative greedy deceitful ruthless } } clr_country_flag = no_leader_change } } ai_will_do = { base = 1 modifier = { factor = 10 has_government = communism } modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_helping_our_friends icon = officer_purge x = 0 y = 1 relative_position_id = AFG_authortarian cost = 10 prerequisite = { focus = AFG_authortarian } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_in_power_tt check_variable = { ruling_party = 6 } } command_power > 60 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_helping_our_friends" increase_corruption = yes add_ideas = censored_nation_01 add_command_power = -50 newline = yes add_popularity = { ideology = democratic popularity = -0.1 } add_popularity = { ideology = neutrality popularity = -0.1 } newline = yes recalculate_party = yes if = { limit = { date < 2017.1.1 } retire_character = AFG_atta_muhammad_nur retire_character = AFG_mohammed_fahim } else = { retire_character = AFG_bismillah_khan_mohammadi } } ai_will_do = { base = 1 modifier = { factor = 5 communism < 0.5 } modifier = { factor = 0 has_war = yes } } } focus = { id = AFG_secularism_campaign icon = loosen_secularism_laws x = 0 y = 2 relative_position_id = AFG_authortarian cost = 10 prerequisite = { focus = AFG_helping_our_friends } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_in_power_tt check_variable = { ruling_party = 6 } } custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_forty_support_tt check_variable = { party_pop_array^6 > 0.4 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_secularism_campaign" add_political_power = 200 add_stability = -0.05 add_popularity = { ideology = communism popularity = -0.05 } set_temp_variable = { temp_opinion = -5 } change_the_ulema_opinion = yes swap_ideas = { remove_idea = the_ulema add_idea = oligarchs } swap_ideas = { remove_idea = censored_nation_01 add_idea = censored_nation_02 } } ai_will_do = { base = 1 } } focus = { id = AFG_junbishi_milli icon = Republic_of_Afghanistan x = 0 y = 3 relative_position_id = AFG_authortarian cost = 10 prerequisite = { focus = AFG_secularism_campaign } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_war = no custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_in_power_tt check_variable = { ruling_party = 6 } } has_stability > 0.5 custom_trigger_tooltip = { tooltip = AFG_junbish_i_milli_fifty_support_tt check_variable = { party_pop_array^6 > 0.5 } } has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_junbishi_milli" set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes recalculate_party = yes increase_economic_growth = yes increase_education_budget = yes set_cosmetic_tag = AFG_AUTH_republic set_variable = { dynamic_flag_variant = 8 } clr_country_flag = dynamic_flag swap_ideas = { remove_idea = AFG_idea_tribal_culture add_idea = AFG_idea_tribal_culture_s3 } swap_ideas = { remove_idea = international_bankers add_idea = the_military } set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 1 } } focus = { id = AFG_pro_western icon = Hamid_Karzai x = 3 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_monarchy focus = AFG_pro_establishment focus = AFG_moderate_islamists focus = AFG_authortarian focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_afghan_independents_in_power_tt western_autocrats_are_in_power = yes } NOT = { has_completed_focus = AFG_emerging } NOT = { has_completed_focus = AFG_industrial_economy } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_pro_western" set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_will_do = { base = 1 modifier = { factor = 10 has_government = democratic } modifier = { factor = 5 is_historical_focus_on = yes } } } focus = { id = AFG_supported_by_west icon = western_doctrine x = 0 y = 1 relative_position_id = AFG_pro_western cost = 10 prerequisite = { focus = AFG_pro_western } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_afghan_independents_in_power_tt western_autocrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_supported_by_west" USA = { add_opinion_modifier = { target = AFG modifier = trade_allies } } FRA = { add_opinion_modifier = { target = AFG modifier = trade_allies } } GER = { add_opinion_modifier = { target = AFG modifier = trade_allies } } ENG = { add_opinion_modifier = { target = AFG modifier = trade_allies } } CAN = { add_opinion_modifier = { target = AFG modifier = trade_allies } } add_popularity = { ideology = democratic popularity = 0.05 } hidden_effect = { clear_array = gov_coalition_array add_to_array = { gov_coalition_array = 2 } add_to_array = { gov_coalition_array = 6 } add_to_array = { gov_coalition_array = 8 } add_to_array = { gov_coalition_array = 12 } add_to_array = { gov_coalition_array = 14 } update_government_coalition_strength = yes recalculate_party = yes } set_temp_variable = { percent_change = -5 } change_domestic_influence_percentage = yes custom_effect_tooltip = AFG_add_coalition_parties_tt } ai_will_do = { base = 1 } } focus = { id = AFG_increase_opium_trade icon = money x = 0 y = 2 relative_position_id = AFG_pro_western cost = 10 prerequisite = { focus = AFG_supported_by_west } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { custom_trigger_tooltip = { tooltip = AFG_afghan_independents_in_power_tt western_autocrats_are_in_power = yes } has_completed_focus = AFG_opium_barons } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_increase_opium_trade" increase_corruption = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes set_temp_variable = { treasury_change = 30 } modify_treasury_effect = yes remove_ideas = AFG_idea_opium_barons add_ideas = AFG_idea_state_sponsored_opium_industry } ai_will_do = { base = 1 } } focus = { id = AFG_afghan_independents icon = Ashraf_Ghani x = 0 y = 3 relative_position_id = AFG_pro_western cost = 10 prerequisite = { focus = AFG_increase_opium_trade } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_completed_focus = AFG_our_nation_recovered custom_trigger_tooltip = { tooltip = AFG_afghan_independents_in_power_tt western_autocrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_afghan_independents" increase_corruption = yes add_political_power = 200 swap_ideas = { remove_idea = AFG_idea_tribal_culture add_idea = AFG_idea_tribal_culture_s4 } if = { limit = { NOT = { has_idea = hybrid_regime_western } } add_ideas = hybrid_regime_western } if = { limit = { NOT = { has_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" ruling_only = yes } } } set_country_flag = no_leader_change create_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" picture = "mohammad_ashraf_ghani_ahmadzai.dds" ideology = Western_Autocracy traits = { western_Western_Autocracy economist afghanistan_pro_india inexperienced deceitful emotional } } clr_country_flag = no_leader_change } } ai_will_do = { base = 1 } } focus = { id = AFG_hezb_i_wahdat icon = karim_khalili x = 5 y = 1 relative_position_id = AFG_internal_policy cost = 10 prerequisite = { focus = AFG_internal_policy } mutually_exclusive = { focus = AFG_monarchy focus = AFG_pro_establishment focus = AFG_moderate_islamists focus = AFG_authortarian focus = AFG_pro_western } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_government = communism communism > 0.5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_hezb_i_wahdat" set_temp_variable = { party_index = 8 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes swap_ideas = { remove_idea = international_bankers add_idea = iranian_quds_force } set_temp_variable = { rul_party_temp = 8 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes create_country_leader = { name = "Karim Khalili" picture = "Karim_Khalili.dds" ideology = Vilayat_e_Faqih traits = { emerging_Mod_Vilayat_e_Faqih cleric guerrilla_leader } } } ai_will_do = { base = 1 modifier = { factor = 10 communism > 0.5 } modifier = { factor = 3 has_idea = AFG_iranian_airbridge } modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_invite_fatemiyoun icon = fatemiyoun x = 0 y = 1 relative_position_id = AFG_hezb_i_wahdat cost = 10 prerequisite = { focus = AFG_hezb_i_wahdat } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_invite_fatemiyoun" PER = { country_event = { id = AFG_contact_iran.0 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { if = { limit = { has_tech = infantry_weapons_3 } add_equipment_to_stockpile = { type = infantry_weapons_3 amount = 7000 producer = PER } } else_if = { limit = { has_tech = infantry_weapons_2 } add_equipment_to_stockpile = { type = infantry_weapons_2 amount = 7000 producer = PER } } set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = PER.id } set_temp_variable = { influence_target = AFG.id } change_influence_percentage = yes } } ai_will_do = { base = 1 } } focus = { id = AFG_join_axis_of_resistance icon = resistance_axis_focus x = 0 y = 1 relative_position_id = AFG_invite_fatemiyoun cost = 10 prerequisite = { focus = AFG_invite_fatemiyoun } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { country_exists = PER PER = { is_faction_leader = yes } NOT = { has_war_with = PER } is_subject = no } bypass = { is_in_faction_with = PER } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_join_axis_of_resistance" swap_ideas = { remove_idea = sunni add_idea = shia } PER = { country_event = { id = AFG_contact_iran.3 days = 0 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { PER = { add_to_faction = ROOT } swap_ideas = { remove_idea = the_ulema add_idea = iranian_quds_force } add_ideas = faction_resistance_axis_member } } ai_will_do = { base = 1 } } focus = { id = AFG_declare_hazaristan icon = hazaristan_flag x = 0 y = 1 relative_position_id = AFG_join_axis_of_resistance cost = 10 prerequisite = { focus = AFG_join_axis_of_resistance } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_declare_hazaristan" add_political_power = 75 set_cosmetic_tag = AFG_HAZ hidden_effect = { news_event = { id = AFG_contact_iran.6 days = 0 } } } ai_will_do = { base = 1 } } # War Branch focus = { id = AFG_aggresive_foreign_policy icon = ultranationalist_volunteers x = 27 y = 0 cost = 10 mutually_exclusive = { focus = AFG_isolism } search_filters = { FOCUS_FILTER_ANNEXATION } available = { has_country_flag = AFG_taliban_insurgency_eliminated } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_aggresive_foreign_policy" add_ideas = AFG_idea_offensive_army add_stability = -0.05 add_war_support = 0.05 } ai_will_do = { base = 1 modifier = { factor = 5 has_government = nationalist } modifier = { factor = 5 has_idea = intervention_neo_imperialism } modifier = { factor = 0 num_divisions < 12 } modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_increased_mobilization icon = conscription x = -2 y = 1 relative_position_id = AFG_aggresive_foreign_policy cost = 10 prerequisite = { focus = AFG_aggresive_foreign_policy } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_increased_mobilization" increase_conscription_effect = yes swap_ideas = { remove_idea = AFG_idea_offensive_army add_idea = AFG_idea_offensive_army2 } set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_afghan_sof icon = special_forces x = -2 y = 1 relative_position_id = AFG_increased_mobilization cost = 10 prerequisite = { focus = AFG_increased_mobilization } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_afghan_sof" if = { limit = { has_idea = AFG_idea_offensive_army2 } swap_ideas = { remove_idea = AFG_idea_offensive_army2 add_idea = AFG_idea_offensive_army3 } } else = { swap_ideas = { remove_idea = AFG_idea_offensive_army3 add_idea = AFG_idea_offensive_army4 } } add_tech_bonus = { name = AFG_afghan_sof bonus = 0.5 uses = 2 category = CAT_special_forces } set_temp_variable = { treasury_change = -2.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_mobile_units icon = afghan_truck x = 0 y = 1 relative_position_id = AFG_increased_mobilization cost = 10 prerequisite = { focus = AFG_increased_mobilization } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_mobile_units" if = { limit = { has_idea = AFG_idea_offensive_army2 } swap_ideas = { remove_idea = AFG_idea_offensive_army2 add_idea = AFG_idea_offensive_army3 } } else = { swap_ideas = { remove_idea = AFG_idea_offensive_army3 add_idea = AFG_idea_offensive_army4 } } add_tech_bonus = { name = AFG_mobile_units bonus = 0.5 uses = 2 category = CAT_util } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_armoured_units icon = tanks5 x = 0 y = 1 relative_position_id = AFG_mobile_units cost = 10 prerequisite = { focus = AFG_mobile_units } prerequisite = { focus = AFG_afghan_sof } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_EXPENDITURE } available = { arms_factory > 1 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_armoured_units" swap_ideas = { remove_idea = AFG_idea_offensive_army4 add_idea = AFG_idea_offensive_army5 } add_tech_bonus = { name = AFG_armoured_units bonus = 0.5 uses = 1 category = CAT_ifv } add_tech_bonus = { name = AFG_armoured_units bonus = 0.5 uses = 1 category = CAT_mbt } set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes if = { limit = { has_dlc = "No Step Back" } add_equipment_to_stockpile = { type = medium_tank_chassis_0 variant_name = "T-62" amount = 50 producer = SOV } } else = { add_equipment_to_stockpile = { type = MBT_1 amount = 50 producer = SOV } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_eyes_on_pakistan # "Claim Pakistai Pashtunistan" / rename: Publically Denounce Durrani Line icon = attack_pakistan x = 0 y = 1 relative_position_id = AFG_aggresive_foreign_policy cost = 10 prerequisite = { focus = AFG_aggresive_foreign_policy } search_filters = { FOCUS_FILTER_ANNEXATION } available = { has_idea = intervention_neo_imperialism country_exists = PAK PAK = { OR = { controls_state = 416 controls_state = 417 controls_state = 419 controls_state = 594 controls_state = 418 } } } bypass = { owns_state = 416 owns_state = 417 owns_state = 419 owns_state = 594 owns_state = 418 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_eyes_on_pakistan" AFG = { add_opinion_modifier = { target = PAK modifier = declaration_of_hostility } } PAK = { add_opinion_modifier = { target = AFG modifier = declaration_of_hostility } } add_named_threat = { threat = 3 name = AFG_claim_pashtunistan } add_war_support = 0.05 add_popularity = { ideology = nationalist popularity = 0.05 } set_temp_variable = { temp_opinion = 10 } change_the_ulema_opinion = yes PAK = { country_event = { id = AFG_events.14 days = 1 } } hidden_effect = { news_event = { id = AFG_news.7 days = 1 } } } ai_will_do = { base = 1 modifier = { factor = 0 num_divisions < 25 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_preparing_invasion icon = war4 x = 0 y = 1 relative_position_id = AFG_eyes_on_pakistan cost = 10 prerequisite = { focus = AFG_eyes_on_pakistan } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_EXPENDITURE } available = { has_war = no has_idea = intervention_neo_imperialism arms_factory > 4 has_war_support > 0.5 country_exists = PAK PAK = { OR = { controls_state = 416 controls_state = 417 controls_state = 419 controls_state = 594 controls_state = 418 } } } bypass = { owns_state = 416 owns_state = 417 owns_state = 419 owns_state = 594 owns_state = 418 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_preparing_invasion" 411 = { add_building_construction = { type = radar_station level = 1 instant_build = yes } } 415 = { add_building_construction = { type = radar_station level = 1 instant_build = yes } } 414 = { add_building_construction = { type = air_base level = 2 instant_build = yes } } add_timed_idea = { idea = AFG_offensive_war_preparation days = 365 } set_temp_variable = { treasury_change = -8.50 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_invade_pakistan icon = attack_pakistan2 x = 0 y = 1 relative_position_id = AFG_preparing_invasion cost = 10 prerequisite = { focus = AFG_preparing_invasion } will_lead_to_war_with = PAK will_lead_to_war_with = TTP search_filters = { FOCUS_FILTER_ANNEXATION } available = { has_war = no NOT = { country_exists = TAL } has_idea = intervention_neo_imperialism num_divisions > 30 country_exists = PAK PAK = { OR = { controls_state = 416 controls_state = 417 controls_state = 419 controls_state = 594 controls_state = 418 } } } bypass = { owns_state = 416 owns_state = 417 owns_state = 419 owns_state = 594 owns_state = 418 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_invade_pakistan" set_temp_variable = { wargoal_on = PAK } add_threat_from_wargoal_effect = yes create_wargoal = { type = take_claimed_state target = PAK } if = { limit = { country_exists = TTP } set_temp_variable = { wargoal_on = TTP } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = TTP } } remove_ideas = AFG_offensive_war_preparation } ai_will_do = { base = 1 modifier = { factor = 2 num_divisions > 40 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_isolism icon = afghan_defence x = 2 y = 0 relative_position_id = AFG_aggresive_foreign_policy cost = 10 mutually_exclusive = { focus = AFG_aggresive_foreign_policy } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_isolism" add_ideas = AFG_idea_defensive_army set_temp_variable = { percent_change = 3 } change_domestic_influence_percentage = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 2 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 5 has_idea = intervention_isolation } modifier = { factor = 3 num_divisions < 12 } modifier = { factor = 5 is_historical_focus_on = yes } } } focus = { id = AFG_defending_our_borders icon = static_defense x = 0 y = 1 relative_position_id = AFG_isolism cost = 13 prerequisite = { focus = AFG_isolism } search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_EXPENDITURE } available = { controls_state = 411 controls_state = 414 controls_state = 415 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_defending_our_borders" 411 = { add_building_construction = { type = bunker level = 1 province = 10826 instant_build = yes } } 414 = { add_building_construction = { type = bunker level = 1 province = 12831 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 6114 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 5082 instant_build = yes } } 415 = { add_building_construction = { type = bunker level = 1 province = 5064 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 5020 instant_build = yes } } if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 2 } decrease_taliban_strength = yes } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_defensive_army icon = soldiers2 x = 0 y = 1 relative_position_id = AFG_defending_our_borders cost = 10 prerequisite = { focus = AFG_defending_our_borders } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_completed_focus = AFG_superior_firepower } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_defensive_army" decrease_intervention_law_effect = yes swap_ideas = { remove_idea = AFG_idea_defensive_army5 add_idea = AFG_idea_defensive_army6 } } ai_will_do = { base = 1 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_the_swiss_way icon = military_fort2 x = 0 y = 1 relative_position_id = AFG_defensive_army cost = 15 prerequisite = { focus = AFG_defensive_army } search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_swiss_way" 409 = { add_building_construction = { type = bunker level = 1 province = 10476 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 4893 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 12871 instant_build = yes } } 410 = { add_building_construction = { type = bunker level = 1 province = 12314 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 12248 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 6186 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 7584 instant_build = yes } } 411 = { add_building_construction = { type = bunker level = 1 province = 10826 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 6209 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 12653 instant_build = yes } } 414 = { add_building_construction = { type = bunker level = 1 province = 12831 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 6114 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 5082 instant_build = yes } } 415 = { add_building_construction = { type = bunker level = 1 province = 5064 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 5020 instant_build = yes } add_building_construction = { type = bunker level = 1 province = 1948 instant_build = yes } } if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } set_temp_variable = { treasury_change = -8.50 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_leg_infantry icon = soldier x = 2 y = 1 relative_position_id = AFG_isolism cost = 8 prerequisite = { focus = AFG_isolism } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_leg_infantry" swap_ideas = { remove_idea = AFG_idea_defensive_army add_idea = AFG_idea_defensive_army2 } add_tech_bonus = { name = AFG_leg_infantry uses = 1 bonus = 0.50 category = CAT_inf_wep } } ai_will_do = { base = 1 } } focus = { id = AFG_army_engineer_school icon = soldiers x = 0 y = 1 relative_position_id = AFG_leg_infantry cost = 10 prerequisite = { focus = AFG_leg_infantry } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_army_engineer_school" if = { limit = { has_idea = AFG_idea_defensive_army2 } swap_ideas = { remove_idea = AFG_idea_defensive_army2 add_idea = AFG_idea_defensive_army3 } } else = { swap_ideas = { remove_idea = AFG_idea_defensive_army3 add_idea = AFG_idea_defensive_army4 } } } ai_will_do = { base = 1 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_homeguard icon = soldier2 x = 2 y = 1 relative_position_id = AFG_leg_infantry cost = 12 prerequisite = { focus = AFG_leg_infantry } search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_homeguard" if = { limit = { has_idea = AFG_idea_defensive_army2 } swap_ideas = { remove_idea = AFG_idea_defensive_army2 add_idea = AFG_idea_defensive_army3 } } else = { swap_ideas = { remove_idea = AFG_idea_defensive_army3 add_idea = AFG_idea_defensive_army4 } } 409 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } 414 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } 415 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -9.75 } modify_treasury_effect = yes if = { limit = { has_country_flag = AFG_active_taliban_insurgency } set_temp_variable = { taliban_strength_decrease = 3 } decrease_taliban_strength = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_superior_firepower icon = artillery3 x = 0 y = 1 relative_position_id = AFG_army_engineer_school cost = 10 prerequisite = { focus = AFG_army_engineer_school } prerequisite = { focus = AFG_homeguard } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_superior_firepower" swap_ideas = { remove_idea = AFG_idea_defensive_army4 add_idea = AFG_idea_defensive_army5 } add_tech_bonus = { name = AFG_superior_firepower uses = 1 bonus = 0.50 category = CAT_arty } } ai_will_do = { base = 1 } } focus = { id = AFG_military_research icon = brain_power x = 1 y = 1 relative_position_id = AFG_invade_pakistan cost = 10 prerequisite = { focus = AFG_armoured_units focus = AFG_invade_pakistan focus = AFG_the_swiss_way focus = AFG_superior_firepower } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_military_research" add_ideas = AFG_military_research_boost } ai_will_do = { base = 1 } } focus = { id = AFG_endorse_the_american_candidate icon = Hamid_Karzai x = 59 y = 0 cost = 7.2 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { western_autocrats_are_in_power = yes OR = { has_country_leader = { name = "Hamid Karzai" ruling_only = yes } has_country_flag = AFG_karzai_installed } NOT = { has_country_flag = AFG_political_path_chosen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_endorse_the_american_candidate" set_country_flag = AFG_political_path_chosen AFG_national_assembly_checks = yes } ai_will_do = { base = 10 } } focus = { id = AFG_islamic_democracy icon = conservative x = 35 y = 0 cost = 7.2 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { neutrality_neutral_muslim_brotherhood_are_in_power = yes NOT = { has_country_flag = AFG_political_path_chosen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_islamic_democracy" set_country_flag = AFG_political_path_chosen AFG_national_assembly_checks = yes } ai_will_do = { base = 10 } } focus = { id = AFG_naveen icon = university x = 39 y = 0 cost = 7.2 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { neutrality_neutral_conservatism_are_in_power = yes NOT = { has_country_flag = AFG_political_path_chosen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_naveen" set_country_flag = AFG_political_path_chosen AFG_national_assembly_checks = yes } ai_will_do = { base = 10 } } focus = { id = AFG_basej_e_milli icon = goverment_building_sheep x = 46 y = 0 cost = 7.2 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { western_liberals_are_in_power = yes NOT = { has_country_flag = AFG_political_path_chosen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_basej_e_milli" set_country_flag = AFG_political_path_chosen AFG_national_assembly_checks = yes } ai_will_do = { base = 10 } } focus = { id = AFG_ashraf_ghani icon = Ashraf_Ghani x = 65 y = 0 cost = 7 search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { western_autocrats_are_in_power = yes has_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" ruling_only = yes } NOT = { has_country_flag = AFG_political_path_chosen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_ashraf_ghani" set_country_flag = AFG_political_path_chosen add_political_power = 50 hidden_effect = { if = { limit = { NOT = { has_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" ruling_only = yes } } } set_country_flag = no_leader_change create_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" picture = "mohammad_ashraf_ghani_ahmadzai.dds" ideology = Western_Autocracy traits = { economist western_Western_Autocracy afghanistan_pro_india inexperienced deceitful emotional } } } } } ai_will_do = { base = 10 } } focus = { id = AFG_the_islamic_republic icon = ummah x = 52 y = 2 cost = 7.2 prerequisite = { focus = AFG_endorse_the_american_candidate focus = AFG_islamic_democracy focus = AFG_naveen focus = AFG_ashraf_ghani focus = AFG_basej_e_milli } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_islamic_republic" add_stability = 0.05 add_political_power = 100 if = { limit = { has_idea = AFG_idea_factional_infighting } remove_ideas = AFG_idea_factional_infighting } hidden_effect = { if = { limit = { has_idea = AFG_iranian_airbridge } remove_ideas = AFG_iranian_airbridge } if = { limit = { has_idea = AFG_headquarters_taloqan } remove_ideas = AFG_headquarters_taloqan } } } ai_will_do = { base = 1 } } focus = { id = AFG_the_mujahideen icon = Generic_Army_Focus_Red02 x = 1 y = 1 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_the_islamic_republic } mutually_exclusive = { focus = AFG_age_of_republican_leadership } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_mujahideen" custom_effect_tooltip = AFG_the_farmer_and_their_rifle_tt hidden_effect = { if = { limit = { NOT = { has_template = "mzr'eh dar" } } division_template = { name = "mzr'eh dar" is_locked = yes priority = 2 regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } Arty_Battery = { x = 0 y = 1 } } } } 410 = { create_unit = { division = "name = \"Mzr'eh dar\" division_template = \"mzr'eh dar\" start_experience_factor = 1.0" prioritize_location = 12653 allow_spawning_on_enemy_provs = yes owner = AFG count = 2 } } } } ai_will_do = { base = 1 modifier = { factor = 5 has_country_flag = AFG_active_taliban_insurgency } modifier = { factor = 3 num_divisions < 20 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_age_of_republican_leadership icon = ukreplenia x = -1 y = 1 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_the_islamic_republic } mutually_exclusive = { focus = AFG_the_mujahideen } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_age_of_republican_leadership" increase_conscription_effect = yes add_war_support = 0.10 } ai_will_do = { base = 1 modifier = { factor = 5 NOT = { has_country_flag = AFG_active_taliban_insurgency } } } } focus = { id = AFG_the_new_chairman icon = treaty x = 0 y = 1 relative_position_id = AFG_endorse_the_american_candidate cost = 7.2 prerequisite = { focus = AFG_endorse_the_american_candidate } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_new_chairman" add_political_power = 75 set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes newline = yes custom_effect_tooltip = AFG_available_as_MillleaderTT custom_effect_tooltip = AFG_mohammed_fahim_tt hidden_effect = { add_ideas = mohammed_fahim } } ai_will_do = { base = 1 } } focus = { id = AFG_saarc_membership icon = ExpandTrade x = 2 y = 1 relative_position_id = AFG_endorse_the_american_candidate cost = 7.2 prerequisite = { focus = AFG_endorse_the_american_candidate } search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_TRADE } available = { is_subject = no has_war = no NOT = { OR = { has_idea = intervention_isolation has_idea = intervention_neo_imperialism } } } bypass = { OR = { if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = RAJ } if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = NEP } if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = BHU } if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = BAN } if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = SRI } if = { limit = { has_dlc = "By Blood Alone" } is_embargoed_by = MLD } has_war_with = RAJ has_war_with = PAK has_war_with = NEP has_war_with = NPM has_war_with = BHU has_war_with = BAN has_war_with = SRI has_war_with = MLD } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_saarc_membership" add_ideas = AFG_saarc_membership } ai_will_do = { base = 1 } } focus = { id = AFG_rebuilding_the_state icon = central_planned_economy2 x = 1 y = 1 relative_position_id = AFG_the_new_chairman cost = 7.2 prerequisite = { focus = AFG_the_new_chairman } search_filters = { FOCUS_FILTER_TRADE FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_rebuilding_the_state" hidden_effect = { add_to_variable = { overall_productivity = 20 } every_controlled_state = { add_to_variable = { productivity_state_var = 20 } } } custom_effect_tooltip = AFG_overall_productivity_20 414 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = AFG_drafting_the_constitution icon = treaty4 x = 0 y = 2 relative_position_id = AFG_the_new_chairman cost = 7.2 prerequisite = { focus = AFG_the_new_chairman } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_drafting_the_constitution" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_stability_factor = 0.05 tooltip = stability_factor_tt } add_to_variable = { AFG_Assembly_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { AFG_Assembly_production_factory_efficiency_gain_factor = 0.05 tooltip = production_factory_efficiency_gain_factor_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_sway_local_warlords icon = military_deal x = -4 y = 2 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_age_of_republican_leadership focus = AFG_the_mujahideen } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INSURGENCY } available = { OR = { has_completed_focus = AFG_endorse_the_american_candidate AND = { western_autocrats_are_in_power = yes OR = { has_country_leader = { name = "Hamid Karzai" ruling_only = yes } has_country_flag = AFG_karzai_installed } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_sway_local_warlords" add_political_power = 50 set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } ai_will_do = { base = 1 } } focus = { id = AFG_aptta icon = align_to_pakistan x = 0 y = 2 relative_position_id = AFG_saarc_membership cost = 7.2 prerequisite = { focus = AFG_rebuilding_the_state } prerequisite = { focus = AFG_saarc_membership } search_filters = { FOCUS_FILTER_TRADE } available = { is_subject = no NOT = { OR = { has_idea = intervention_isolation has_idea = intervention_neo_imperialism } } NOT = { OR = { has_war_with = PAK any_allied_country = { has_war_with = PAK } } } if = { limit = { has_dlc = "By Blood Alone" } NOT = { is_embargoed_by = PAK } } NOT = { OR = { PAK = { has_country_flag = trade_agreement@PREV } has_country_flag = trade_agreement@PAK } } } bypass = { OR = { NOT = { country_exists = PAK } PAK = { is_subject_of = ROOT } has_country_flag = trade_agreement@PAK } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_aptta" set_temp_variable = { receiver_nation = PAK.id } set_temp_variable = { sender_nation = AFG.id } set_improved_trade_agreement = yes hidden_effect = { add_opinion_modifier = { target = PAK modifier = improve_trade } reverse_add_opinion_modifier = { target = PAK modifier = improve_trade } } newline = yes set_temp_variable = { int_investment_change = 2.5 } modify_international_investment_effect = yes } ai_will_do = { base = 1 } } focus = { id = AFG_national_solidarity_program icon = white_peace x = -1 y = 1 relative_position_id = AFG_drafting_the_constitution cost = 7.2 prerequisite = { focus = AFG_drafting_the_constitution } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_national_solidarity_program" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_local_building_slots_factor = 0.10 tooltip = local_building_slots_factor_tt } add_to_variable = { AFG_Assembly_bureaucracy_cost_multiplier_modifier = -0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_buildings_worker_requirement_modifier = -0.05 tooltip = buildings_worker_requirement_modifier_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_symbolic_new_start icon = afghan_defence x = 1 y = 1 relative_position_id = AFG_drafting_the_constitution cost = 7.2 prerequisite = { focus = AFG_drafting_the_constitution focus = AFG_aptta } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_symbolic_new_start" add_political_power = 75 increase_centralization = yes block_bureau_decrease = yes } ai_will_do = { base = 1 } } focus = { id = AFG_cautious_approach icon = control_judiciary x = 1 y = 1 relative_position_id = AFG_national_solidarity_program cost = 7.2 prerequisite = { focus = AFG_symbolic_new_start } prerequisite = { focus = AFG_national_solidarity_program } mutually_exclusive = { focus = AFG_reformist_path } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_cautious_approach" add_stability = 0.05 decrease_corruption = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_education_budget_cost_factor = -0.08 tooltip = education_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_crime_fighting_cost_factor = -0.12 tooltip = police_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_health_budget_cost_factor = -0.05 tooltip = health_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_social_budget_cost_factor = -0.05 tooltip = social_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_military_spending_cost_factor = -0.07 tooltip = personnel_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 modifier = { factor = 5 check_variable = { treasury_rate < 0 } } } } focus = { id = AFG_reformist_path icon = anti_establishment2 x = 3 y = 1 relative_position_id = AFG_national_solidarity_program cost = 7.2 prerequisite = { focus = AFG_symbolic_new_start } prerequisite = { focus = AFG_national_solidarity_program } mutually_exclusive = { focus = AFG_cautious_approach } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_reformist_path" increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { temp_opinion = -5 } change_landowners_opinion = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_tax_gain_multiplier_modifier = 0.08 tooltip = tax_gain_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_economic_cycles_cost_factor = -0.10 tooltip = economic_cycles_cost_factor_tt } } ai_will_do = { base = 1 modifier = { factor = 5 check_variable = { treasury_rate > 0 } } } } focus = { id = AFG_next_in_line_of_succession icon = elections_rigged x = 1 y = 1 relative_position_id = AFG_cautious_approach cost = 7.2 prerequisite = { focus = AFG_cautious_approach focus = AFG_reformist_path } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_next_in_line_of_succession" increase_corruption = yes add_political_power = 200 complete_national_focus = AFG_ashraf_ghani mark_focus_tree_layout_dirty = yes } ai_will_do = { base = 1 } } focus = { id = AFG_reinforce_the_government icon = anti_establishment2 x = 0 y = 1 relative_position_id = AFG_islamic_democracy cost = 7.2 prerequisite = { focus = AFG_islamic_democracy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_reinforce_the_government" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_political_power_gain = 0.05 tooltip = political_power_gain_tt } add_to_variable = { AFG_Assembly_production_factory_max_efficiency_factor = 0.15 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { AFG_Assembly_bureaucracy_cost_multiplier_modifier = -0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_agricultural_modernisation icon = farms_red_barn x = 2 y = 1 relative_position_id = AFG_islamic_democracy cost = 7.2 prerequisite = { focus = AFG_islamic_democracy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_agricultural_modernisation" hidden_effect = { add_to_variable = { overall_productivity = 10 } every_controlled_state = { add_to_variable = { productivity_state_var = 10 } } if = { limit = { NOT = { has_idea = AFG_agro_income1 } } add_ideas = AFG_agro_income1 } } custom_effect_tooltip = AFG_overall_productivity_10 custom_effect_tooltip = AFG_agro_modernisation_focus_tt } ai_will_do = { base = 1 } } focus = { id = AFG_the_farmer_and_their_rifle icon = Farm_national_movement x = 1 y = 1 relative_position_id = AFG_reinforce_the_government cost = 7.2 prerequisite = { focus = AFG_reinforce_the_government } prerequisite = { focus = AFG_agricultural_modernisation } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_farmer_and_their_rifle" custom_effect_tooltip = AFG_the_farmer_and_their_rifle_tt custom_effect_tooltip = AFG_tech_the_farmer_and_their_rifle_tt hidden_effect = { set_technology = { AFG_tech_the_farmer_and_their_rifle = 1 popup = no } if = { limit = { NOT = { has_template = "mzr'eh dar" } } division_template = { name = "mzr'eh dar" is_locked = yes priority = 2 regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } Arty_Battery = { x = 0 y = 1 } } } } 411 = { create_unit = { division = "name = \"Mzr'eh dar\" division_template = \"mzr'eh dar\" start_experience_factor = 1.0" prioritize_location = 12653 allow_spawning_on_enemy_provs = yes owner = AFG count = 2 } } } } ai_will_do = { base = 1 } } focus = { id = AFG_inheritor_of_afghanistan icon = fallen_goverment_1 x = 0 y = 2 relative_position_id = AFG_reinforce_the_government cost = 7.2 prerequisite = { focus = AFG_reinforce_the_government } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_inheritor_of_afghanistan" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_political_power_gain = 0.05 tooltip = political_power_gain_tt } add_to_variable = { AFG_Assembly_stability_factor = 0.05 tooltip = stability_factor_tt } newline = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 1 } } focus = { id = AFG_second_man_of_the_state icon = Election_graphics x = 0 y = 2 relative_position_id = AFG_the_farmer_and_their_rifle cost = 7.2 prerequisite = { focus = AFG_the_farmer_and_their_rifle } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_second_man_of_the_state" unlock_decision_tooltip = AFG_atta_installs_leadership AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_political_power_gain = 0.05 tooltip = political_power_gain_tt } add_to_variable = { AFG_Assembly_war_support_factor = 0.05 tooltip = war_support_factor_tt } add_to_variable = { AFG_Assembly_crime_fighting_cost_factor = -0.12 tooltip = police_cost_multiplier_modifier_tt } newline = yes country_event = AFG_political_events.0 } ai_will_do = { base = 1 } } focus = { id = AFG_dismantle_the_warlords icon = thompson_submachine_gun x = -1 y = 2 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_age_of_republican_leadership focus = AFG_the_mujahideen } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INSURGENCY } available = { OR = { neutrality_neutral_muslim_brotherhood_are_in_power = yes neutrality_neutral_conservatism_are_in_power = yes has_completed_focus = AFG_islamic_democracy has_completed_focus = AFG_naveen } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_dismantle_the_warlords" add_political_power = 50 set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } ai_will_do = { base = 1 } } focus = { id = AFG_a_tolerant_state icon = science x = 1 y = 1 relative_position_id = AFG_dismantle_the_warlords cost = 7.2 prerequisite = { focus = AFG_dismantle_the_warlords focus = AFG_inheritor_of_afghanistan focus = AFG_combat_electoral_corruption focus = AFG_sway_local_warlords focus = AFG_knife_to_the_warlords focus = AFG_ghanis_plan } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_a_tolerant_state" hidden_effect = { every_controlled_state = { add_to_variable = { productivity_state_var = 2 } } add_to_variable = { overall_productivity = 2 } if = { limit = { NOT = { has_idea = AFG_agro_income1 } } add_ideas = AFG_agro_income1 } } custom_effect_tooltip = AFG_overall_productivity_2 AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_stability_factor = 0.05 tooltip = stability_factor_tt } add_to_variable = { AFG_Assembly_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_progressive_tax icon = balance_buget x = -1 y = 1 relative_position_id = AFG_a_tolerant_state cost = 7.2 prerequisite = { focus = AFG_a_tolerant_state } search_filters = { FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_progressive_tax" set_temp_variable = { pop_change = -4 } modify_population_tax_rate_effect = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_tax_gain_multiplier_modifier = 0.15 tooltip = tax_gain_multiplier_modifier_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_lift_the_press_restrictions icon = liberal_press x = 1 y = 1 relative_position_id = AFG_a_tolerant_state cost = 7.2 prerequisite = { focus = AFG_a_tolerant_state } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_lift_the_press_restrictions" add_political_power = 100 add_timed_idea = { idea = AFG_preserve_democracy days = 260 } } ai_will_do = { base = 1 } } focus = { id = AFG_law_of_faith icon = islamist_gov2 x = 3 y = 1 relative_position_id = AFG_a_tolerant_state cost = 7.2 prerequisite = { focus = AFG_a_tolerant_state } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_SOCIAL_CONSERVATISM } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_law_of_faith" add_ideas = AFG_law_of_faith } ai_will_do = { base = 1 } } focus = { id = AFG_new_class_of_jam_iat_reformers icon = treaty x = 0 y = 1 relative_position_id = AFG_naveen cost = 7.2 prerequisite = { focus = AFG_naveen } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_new_class_of_jam_iat_reformers" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_political_power_gain = 0.05 tooltip = political_power_gain_tt } add_to_variable = { AFG_Assembly_stability_factor = 0.05 tooltip = stability_factor_tt } set_temp_variable = { temp_opinion = 5 } change_the_ulema_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_counite_masouds_works icon = AFG_Massoud x = 2 y = 1 relative_position_id = AFG_naveen cost = 7.2 prerequisite = { focus = AFG_naveen } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_counite_masouds_works" add_political_power = 50 set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_education_budget_cost_factor = -0.08 tooltip = education_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_health_budget_cost_factor = -0.05 tooltip = health_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_social_budget_cost_factor = -0.05 tooltip = social_cost_multiplier_modifier_tt } newline = yes unlock_decision_tooltip = AFG_invite_nahzat_e_melli_ye_into_government } ai_will_do = { base = 1 } } focus = { id = AFG_foster_innovation icon = science x = -1 y = 1 relative_position_id = AFG_counite_masouds_works cost = 7.2 prerequisite = { focus = AFG_new_class_of_jam_iat_reformers focus = AFG_counite_masouds_works } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_foster_innovation" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_research_speed_factor = 0.10 tooltip = research_speed_factor_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_combat_electoral_corruption icon = Election x = -1 y = 1 relative_position_id = AFG_foster_innovation cost = 7.2 prerequisite = { focus = AFG_foster_innovation } prerequisite = { focus = AFG_new_class_of_jam_iat_reformers } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_combat_electoral_corruption" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt } add_to_variable = { AFG_Assembly_bureaucracy_cost_multiplier_modifier = -0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt } hidden_effect = { decrease_corruption = yes } custom_effect_tooltip = AFG_decrease_corruption_TT set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_empowering_provincial_governance icon = white_peace x = 1 y = 1 relative_position_id = AFG_foster_innovation cost = 7.2 prerequisite = { focus = AFG_foster_innovation } prerequisite = { focus = AFG_counite_masouds_works } search_filters = { FOCUS_FILTER_TRADE FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_empowering_provincial_governance" hidden_effect = { add_to_variable = { overall_productivity = 20 } every_controlled_state = { add_to_variable = { productivity_state_var = 20 } } } custom_effect_tooltip = AFG_overall_productivity_20 414 = { AFG_build_infrastructure_or_internet = yes } 410 = { AFG_build_infrastructure_or_internet = yes } 412 = { AFG_build_infrastructure_or_internet = yes } set_temp_variable = { treasury_change = -10.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_centralise_the_apparatus_of_the_state icon = pentagon x = 0 y = 1 relative_position_id = AFG_ashraf_ghani cost = 7.2 prerequisite = { focus = AFG_ashraf_ghani } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_centralise_the_apparatus_of_the_state" add_political_power = 120 increase_centralization = yes block_bureau_decrease = yes } ai_will_do = { base = 1 } } focus = { id = AFG_expand_the_education_ministry icon = science2 x = 2 y = 1 relative_position_id = AFG_ashraf_ghani cost = 7.2 prerequisite = { focus = AFG_ashraf_ghani } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_expand_the_education_ministry" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_education_budget_cost_factor = -0.08 tooltip = education_cost_multiplier_modifier_tt } custom_effect_tooltip = AFG_increase_Education_TT hidden_effect = { increase_education_budget = yes } set_temp_variable = { temp_opinion = 5 } change_the_ulema_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_propose_a_new_constitution icon = Focus_Parliament_Constitution x = 0 y = 1 relative_position_id = AFG_expand_the_education_ministry cost = 7.2 prerequisite = { focus = AFG_expand_the_education_ministry } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_propose_a_new_constitution" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_social_budget_cost_factor = -0.05 tooltip = social_cost_multiplier_modifier_tt } newline = yes set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes add_political_power = 110 } ai_will_do = { base = 1 } } focus = { id = AFG_enforce_afghan_centralism icon = control_judiciary x = -1 y = 1 relative_position_id = AFG_propose_a_new_constitution cost = 7.2 prerequisite = { focus = AFG_propose_a_new_constitution } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_enforce_afghan_centralism" add_ideas = generic_centralization set_temp_variable = { temp_opinion = 5 } change_the_ulema_opinion = yes set_temp_variable = { temp_opinion = -5 } change_farmers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_urban_tribal_divisions icon = demand_territory2 x = 1 y = 1 relative_position_id = AFG_propose_a_new_constitution cost = 7.2 prerequisite = { focus = AFG_propose_a_new_constitution } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_urban_tribal_divisions" add_ideas = generic_decentralization set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_parliamentary_illusion icon = focus_drinks_peace x = -2 y = 1 relative_position_id = AFG_ashraf_ghani cost = 7.2 prerequisite = { focus = AFG_ashraf_ghani } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_parliamentary_illusion" add_ideas = AFG_parliamentary_illusion } ai_will_do = { base = 1 } } focus = { id = AFG_the_western_kleptocracy icon = afghan_govt x = 0 y = 1 relative_position_id = AFG_parliamentary_illusion cost = 7.2 prerequisite = { focus = AFG_parliamentary_illusion } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_western_kleptocracy" set_country_flag = dynamic_rebel_flag set_country_flag = dynamic_flag set_country_flag = do_not_retire if = { limit = { NOT = { has_idea = hybrid_regime_western } } add_ideas = hybrid_regime_western } newline = yes custom_effect_tooltip = AFG_western_klep_tt1 hidden_effect = { add_ideas = AFG_western_klep1 } } ai_will_do = { base = 1 } } focus = { id = AFG_embezzle_foreign_funds icon = cash_grap x = 0 y = 1 relative_position_id = AFG_the_western_kleptocracy cost = 7.2 prerequisite = { focus = AFG_the_western_kleptocracy } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_embezzle_foreign_funds" set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.05 } } modify_treasury_effect = yes newline = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_education_budget_cost_factor = -0.08 tooltip = education_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_health_budget_cost_factor = -0.05 tooltip = health_cost_multiplier_modifier_tt } add_to_variable = { AFG_Assembly_social_budget_cost_factor = -0.05 tooltip = social_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_secretly_support_the_opium_industry icon = alliance x = 1 y = 2 relative_position_id = AFG_the_western_kleptocracy cost = 7.2 prerequisite = { focus = AFG_the_western_kleptocracy } search_filters = { FOCUS_FILTER_TRADE FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_secretly_support_the_opium_industry" hidden_effect = { if = { limit = { NOT = { has_idea = AFG_idea_state_sponsored_opium_industry } } add_ideas = AFG_idea_state_sponsored_opium_industry } } custom_effect_tooltip = afghan_opium_idea_TT add_stability = -0.05 } ai_will_do = { base = 1 } } focus = { id = AFG_ghanis_plan icon = demand_territory3 x = 2 y = 2 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_age_of_republican_leadership focus = AFG_the_mujahideen } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INSURGENCY } available = { OR = { has_completed_focus = AFG_ashraf_ghani AND = { western_autocrats_are_in_power = yes has_country_leader = { name = "Mohammad Ashraf Ghani Ahmadzai" ruling_only = yes } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_ghanis_plan" add_political_power = 75 set_temp_variable = { taliban_strength_increase = 5 } increase_taliban_strength = yes } ai_will_do = { base = 1 } } focus = { id = AFG_atlanticism icon = nato_nation x = 0 y = 1 relative_position_id = AFG_basej_e_milli cost = 7.2 prerequisite = { focus = AFG_basej_e_milli } search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_NATO } available = { NOT = { has_idea = intervention_isolation } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_atlanticism" leave_faction = yes if = { limit = { has_idea = CSTO_member } CSTO_leave = yes } if = { limit = { NOT = { has_idea = Major_Non_NATO_Ally } } NATO_major_non_nato_ally_join = yes newline = yes } hidden_effect = { set_temp_variable = { int_investment_change = { value = gdp_total multiply = 0.02 } } modify_international_investment_effect = yes } custom_effect_tooltip = AFG_02_of_are_GDP_in_int_investment set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes newline = yes unlock_decision_tooltip = AFG_import_westernism } ai_will_do = { base = 1 } } focus = { id = AFG_knife_to_the_warlords icon = AFG_Attack_TAL x = 4 y = 2 relative_position_id = AFG_the_islamic_republic cost = 7.2 prerequisite = { focus = AFG_age_of_republican_leadership focus = AFG_the_mujahideen } search_filters = { FOCUS_FILTER_STABILITY } available = { OR = { western_liberals_are_in_power = yes has_completed_focus = AFG_basej_e_milli } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_knife_to_the_warlords" add_political_power = 75 set_temp_variable = { taliban_strength_decrease = 5 } decrease_taliban_strength = yes } ai_will_do = { base = 10 } } focus = { id = AFG_arsenal_of_democracy icon = american_shield x = 0 y = 3 relative_position_id = AFG_atlanticism cost = 7.2 prerequisite = { focus = AFG_atlanticism } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_FOREIGN_POLICY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_arsenal_of_democracy" USA = { country_event = { id = AFG_political_events.1 days = 1 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_equipment_to_stockpile = { type = infantry_weapons_type producer = USA amount = 5000 } add_equipment_to_stockpile = { type = artillery_equipment producer = USA amount = 100 } add_equipment_to_stockpile = { type = util_vehicle_type producer = USA amount = 500 } } newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_Arms } ai_will_do = { base = 1 } } focus = { id = AFG_anjuman_pass icon = Kalashnikova x = 18 y = 0 cost = 2 search_filters = { FOCUS_FILTER_ARMY FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_anjuman_pass" custom_effect_tooltip = AFG_tech_the_lion_of_panjshir_tooltip hidden_effect = { set_technology = { AFG_the_lion_of_panjshir = 1 popup = no } } 1153 = { add_dynamic_modifier = { modifier = AFG_state_northern_stronghold_dynamic_modifier scope = AFG days = 248 } } 411 = { add_dynamic_modifier = { modifier = AFG_state_northern_stronghold_dynamic_modifier scope = AFG days = 248 } } } ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } } focus = { id = AFG_local_military_pressure icon = green_northern_invasion_of_south_afg x = 2 y = 2 relative_position_id = AFG_anjuman_pass cost = 10 prerequisite = { focus = AFG_anjuman_pass } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_local_military_pressure" hidden_effect = { set_technology = { AFG_donkey_logistics_tech = 1 popup = no } } custom_effect_tooltip = AFG_tech_AFG_local_military_pressure_tooltip newline = yes add_ideas = AFG_establishing_supply_lines_idea } ai_will_do = { base = 10 } } focus = { id = AFG_the_francesc_vendrell_talks icon = dangerous_deal x = 0 y = 1 relative_position_id = AFG_local_military_pressure cost = 10 prerequisite = { focus = AFG_local_military_pressure } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_francesc_vendrell_talks" custom_effect_tooltip = AFG_available_as_leaderTT custom_effect_tooltip = AFG_Asif_Mohsenim_leaderTT newline = yes add_political_power = 100 } ai_will_do = { base = 1 } } focus = { id = AFG_mission_to_tehran icon = align_to_iran x = 1 y = 1 relative_position_id = AFG_the_francesc_vendrell_talks cost = 5 prerequisite = { focus = AFG_the_francesc_vendrell_talks } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } country_exists = PER OR = { has_government = communism emerging_hardline_shiite_are_in_power = yes emerging_moderate_shiite_are_in_power = yes } PER = { OR = { emerging_hardline_shiite_are_in_power = yes emerging_moderate_shiite_are_in_power = yes } OR = { has_government = communism emerging_hardline_shiite_are_in_power = yes emerging_moderate_shiite_are_in_power = yes } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_mission_to_tehran" PER = { country_event = { id = AFG_contact_iran.3 days = 5 } } AFG = { PER = { country_event = { id = AFG_contact_iran.0 days = 1 } } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT custom_effect_tooltip = AFG_Join_iran_post_war newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_Iran } ai_will_do = { base = 1 } } focus = { id = AFG_massoud_s_mig_and_sukho icon = trade_with_india x = 3 y = 1 relative_position_id = AFG_anjuman_pass cost = 10 prerequisite = { focus = AFG_anjuman_pass } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } country_exists = RAJ } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_massoud_s_mig_and_sukho" RAJ = { country_event = AFG_events.37 } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = AFG_indian_support_and_arms_trade RAJ = { add_opinion_modifier = { target = AFG modifier = trade_allies } } newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_India_aid } } ai_will_do = { base = 10 modifier = { factor = 2 has_manpower < 100000 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = AFG_imu_countermeasures icon = AFG_IMU_UZB x = 1 y = 1 relative_position_id = AFG_anjuman_pass cost = 7.2 prerequisite = { focus = AFG_anjuman_pass } search_filters = { FOCUS_FILTER_INSURGENCY } available = { country_exists = UZB country_exists = TAL has_war_with = TAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_imu_countermeasures" TAL = { add_timed_idea = { idea = AFG_uzbek_bombing_of_the_imu days = 180 } } effect_tooltip = { TAL = { custom_effect_tooltip = AFG_uzbek_bombing_of_the_imu_tt newline = yes custom_effect_tooltip = AFG_IMU_counter_Air_home_defense_factorTT newline = yes custom_effect_tooltip = AFG_IMU_counter_Division_AttackTT newline = yes custom_effect_tooltip = AFG_ADD_timed_idea180_days newline = yes custom_effect_tooltip = AFG_IMU_CancelTT } } } ai_will_do = { base = 1 } } focus = { id = AFG_heirs_o_the_mujahideen icon = AFG_Massoud x = -1 y = 1 relative_position_id = AFG_anjuman_pass cost = 7.2 prerequisite = { focus = AFG_anjuman_pass } search_filters = { FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_heirs_o_the_mujahideen" custom_effect_tooltip = AFG_Mujahideen_units_tooltip custom_effect_tooltip = AFG_legacy_of_the_mujahideen_tech_tooltip hidden_effect = { if = { #no cheating allowed limit = { has_template = "Mrdan Kewhstana" } delete_unit_template_and_units = { division_template = "Mrdan Kewhstana" disband = yes } } load_oob = "AFG_Legacy_of_the_Mujahideen" set_technology = { AFG_legacy_of_the_mujahideen = 1 popup = no } } } ai_will_do = { base = 1 } } focus = { id = AFG_shura_system icon = afg_family_icon x = -3 y = 1 relative_position_id = AFG_anjuman_pass cost = 7.2 prerequisite = { focus = AFG_anjuman_pass } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_shura_system" swap_ideas = { remove_idea = AFG_the_shura_system add_idea = AFG_the_shura_system2 } increase_centralization = yes block_bureau_decrease = yes hidden_effect = { random = { chance = 20 block_edu_decrease = yes } } } ai_will_do = { base = 100 } } focus = { id = AFG_russian_air_lift icon = trade_with_russia x = 0 y = 2 relative_position_id = AFG_shura_system cost = 7.2 prerequisite = { focus = AFG_shura_system } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } country_exists = SOV } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_russian_air_lift" SOV = { country_event = { id = AFG_events.35 days = 3 random_hours = 10 random_days = 2 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = AFG_russian_air_lift add_equipment_to_stockpile = { type = infantry_weapons_2 amount = 4000 producer = SOV } set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = AFG.id } change_influence_percentage = yes SOV = { add_opinion_modifier = { target = AFG modifier = trade_allies } } set_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_Airlift } } ai_will_do = { base = 1 modifier = { factor = 10 date > 2001.10.01 } modifier = { factor = 20 is_historical_focus_on = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_technical_specialists icon = Focus_Examine_Foreign_Tanks x = 0 y = 1 relative_position_id = AFG_russian_air_lift cost = 10 prerequisite = { focus = AFG_russian_air_lift } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { has_country_flag = AFG_russian_airlift_is_active OR = { has_war_with = TAL has_civil_war = yes } country_exists = SOV } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_technical_specialists" add_ideas = AFG_russian_technical_specialists } ai_will_do = { base = 10 modifier = { factor = 2 has_manpower < 100000 } } } focus = { id = AFG_mil_mi_24_gunships icon = helicopter_sheep x = -2 y = 1 relative_position_id = AFG_russian_air_lift cost = 10 prerequisite = { focus = AFG_russian_air_lift } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_EXPENDITURE } available = { has_country_flag = AFG_russian_airlift_is_active OR = { has_war_with = TAL has_civil_war = yes } country_exists = SOV } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_mil_mi_24_gunships" add_equipment_to_stockpile = { type = transport_helicopter_2 amount = 12 producer = SOV } set_temp_variable = { treasury_change = -0.5 } modify_treasury_effect = yes swap_ideas = { remove_idea = AFG_russian_air_lift add_idea = AFG_russian_air_lift2 } } ai_will_do = { base = 10 modifier = { factor = 2 has_manpower < 100000 } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_cia_predator_surveillance_drones icon = drone x = 1 y = 1 relative_position_id = AFG_shura_system cost = 5 prerequisite = { focus = AFG_shura_system } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } country_exists = USA } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_cia_predator_surveillance_drones" USA = { country_event = AFG_events.36 } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = AFG_cia_predator_surveillance_drones } newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_CIA_drones } ai_will_do = { base = 1 } } focus = { id = AFG_appeal_to_washington_for_support icon = american_arms_focus x = -1 y = 1 relative_position_id = AFG_shura_system cost = 5 prerequisite = { focus = AFG_shura_system } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } country_exists = USA } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_appeal_to_washington_for_support" USA = { country_event = { id = AFG_events.65 days = 5 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT if = { limit = { USA = { is_ai = yes exists = yes } } custom_effect_tooltip = AFG_america_will_have_Invest_in_us } custom_effect_tooltip = AFG_MOTDIV_Tooltip newline = yes custom_effect_tooltip = AFG_ai_Weight_effect_div_usa } ai_will_do = { base = 1 } } focus = { id = AFG_return_of_dostum icon = Dostum x = 1 y = 1 relative_position_id = AFG_heirs_o_the_mujahideen cost = 5 prerequisite = { focus = AFG_heirs_o_the_mujahideen focus = AFG_imu_countermeasures } search_filters = { FOCUS_FILTER_MANPOWER } available = { OR = { has_war_with = TAL has_civil_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_return_of_dostum" custom_effect_tooltip = AFG_available_as_leaderTT custom_effect_tooltip = AFG_abdul_rashid_dostum_leader_exileTT remove_ideas = AFG_junbishis custom_effect_tooltip = AFG_tech_return_of_dostum_tooltip hidden_effect = { set_technology = { AFG_tech_return_of_dostum = 1 popup = no } news_event = AFG_news.21 } } ai_will_do = { base = 1 } } focus = { id = AFG_training_of_local_police_officers icon = colonial_crackdown x = -1 y = 2 relative_position_id = AFG_return_of_dostum cost = 5 prerequisite = { focus = AFG_return_of_dostum } search_filters = { FOCUS_FILTER_MANPOWER } available = { OR = { has_war_with = TAL has_civil_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_training_of_local_police_officers" custom_effect_tooltip = AFG_training_of_local_police_officers_tooltip_units custom_effect_tooltip = AFG_training_of_local_police_officers_tooltip hidden_effect = { #Its own template, not the mujahideen OOB: that reload spawned on fixed 2000 provinces and re-added #the divisions AFG_heirs_o_the_mujahideen deletes to stop stacking if = { limit = { NOT = { has_template = "Afghan National Police" } } division_template = { name = "Afghan National Police" priority = 0 regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } } support = { L_Recce_Comp = { x = 0 y = 0 } Arty_Battery = { x = 0 y = 1 } } } } 411 = { create_unit = { division = "name = \"Afghan National Police\" division_template = \"Afghan National Police\" start_experience_factor = 0.3" prioritize_location = 12653 allow_spawning_on_enemy_provs = yes owner = AFG count = 2 } } set_technology = { AFG_tech_training_of_local_police_officers = 1 popup = no } } newline = yes block_police_decrease = yes } ai_will_do = { base = 1 } } focus = { id = AFG_take_command_of_rabbanis_feyzabad_forces icon = focus_ETH_peacekeeping_forces x = 0 y = 1 relative_position_id = AFG_training_of_local_police_officers cost = 5 prerequisite = { focus = AFG_training_of_local_police_officers } search_filters = { FOCUS_FILTER_MANPOWER } available = { OR = { has_war_with = TAL has_civil_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_take_command_of_rabbanis_feyzabad_forces" custom_effect_tooltip = AFG_take_command_of_rabbanis_feyzabad_forces_tooltip hidden_effect = { if = { limit = { NOT = { has_template = "Northern Alliance Brigade" } } division_template = { name = "Northern Alliance Brigade" division_names_group = AFG_ARMY_BRIGADES regiments = { L_Inf_Bat = { x = 0 y = 0 } L_Inf_Bat = { x = 0 y = 1 } L_Inf_Bat = { x = 0 y = 2 } } support = { arm_Recce_Comp = { x = 0 y = 0 } armor_Comp = { x = 0 y = 1 } SP_R_Arty_Battery = { x = 0 y = 2 } L_Engi_Comp = { x = 0 y = 3 } } } } 411 = { create_unit = { division = "name = \"Northern Alliance Brigade\" division_template = \"Northern Alliance Brigade\" start_experience_factor = 1.0" prioritize_location = 12653 allow_spawning_on_enemy_provs = yes owner = AFG count = 2 } } } army_experience = 25 } ai_will_do = { base = 1 } } focus = { id = AFG_assault_on_mazar_i_sharif icon = whiteflagtanklol x = 0 y = 1 relative_position_id = AFG_return_of_dostum cost = 10 prerequisite = { focus = AFG_return_of_dostum } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { OR = { owns_state = 410 AND = { NOT = { country_exists = TAL } has_war = no } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_assault_on_mazar_i_sharif" 410 = { add_dynamic_modifier = { modifier = AFG_state_battle_for_mazar_i_sharif_dynamic_modifier scope = AFG days = 120 } } } ai_will_do = { base = 0 modifier = { factor = 10 date > 2001.05.01 } modifier = { factor = 10 is_historical_focus_on = no } } } focus = { id = AFG_the_lions_guard icon = maquis x = -1 y = 2 relative_position_id = AFG_local_military_pressure cost = 6.5 prerequisite = { focus = AFG_local_military_pressure } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_EXPENDITURE } available = { OR = { has_war_with = TAL has_civil_war = yes } } bypass = { NOT = { country_exists = TAL } has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_lions_guard" custom_effect_tooltip = AFG_enhance_leader_protection_tt set_temp_variable = { treasury_change = -0.5 } modify_treasury_effect = yes newline = yes add_war_support = 0.04 } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = AFG_the_republic_survives_another_day icon = soldier x = 2 y = 1 relative_position_id = AFG_basej_e_milli cost = 7.2 prerequisite = { focus = AFG_basej_e_milli } search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_TRADE FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_the_republic_survives_another_day" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_stability_factor = 0.10 tooltip = stability_factor_tt } add_to_variable = { AFG_Assembly_political_power_gain = 0.10 tooltip = political_power_gain_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_defenders_of_democracy icon = political_pressure_dark_green x = 0 y = 1 relative_position_id = AFG_the_republic_survives_another_day cost = 7.2 prerequisite = { focus = AFG_the_republic_survives_another_day } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_defenders_of_democracy" add_political_power = 50 AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_supply_consumption = -0.10 tooltip = supply_consumption_factor_tt } add_to_variable = { AFG_Assembly_dam_occ_states = 0.10 tooltip = resistance_damage_to_garrison_on_our_occupied_states_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_root_out_the_old_cabinet icon = self_management x = -1 y = 1 relative_position_id = AFG_defenders_of_democracy cost = 7.2 prerequisite = { focus = AFG_defenders_of_democracy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_root_out_the_old_cabinet" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_bureaucracy_cost_multiplier_modifier = -0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt } hidden_effect = { decrease_corruption = yes } custom_effect_tooltip = AFG_decrease_corruption_TT set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_moderate_islamism icon = pass_legislation x = 1 y = 1 relative_position_id = AFG_defenders_of_democracy cost = 7.2 prerequisite = { focus = AFG_the_republic_survives_another_day } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_SOCIAL_CONSERVATISM } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_moderate_islamism" add_political_power = 100 add_timed_idea = { idea = AFG_liberal_society days = 260 } } ai_will_do = { base = 1 } } focus = { id = AFG_standardised_taxation icon = pass_legislation x = -2 y = 1 relative_position_id = AFG_basej_e_milli cost = 7.2 prerequisite = { focus = AFG_basej_e_milli } search_filters = { FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_standardised_taxation" set_temp_variable = { pop_change = -5 } modify_population_tax_rate_effect = yes AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_tax_gain_multiplier_modifier = 0.15 tooltip = tax_gain_multiplier_modifier_tt } hidden_effect = { every_controlled_state = { add_to_variable = { productivity_state_var = 2 } } add_to_variable = { overall_productivity = 2 } if = { limit = { NOT = { has_idea = AFG_agro_income1 } } add_ideas = AFG_agro_income1 } } custom_effect_tooltip = AFG_overall_productivity_2 } ai_will_do = { base = 1 } } focus = { id = AFG_enlist_the_support_of_the_people icon = dangerous_deal x = 0 y = 1 relative_position_id = AFG_standardised_taxation cost = 7.2 prerequisite = { focus = AFG_standardised_taxation } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_enlist_the_support_of_the_people" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_stability_factor = 0.10 tooltip = stability_factor_tt } add_to_variable = { AFG_Assembly_conscription = 0.02 tooltip = conscription_factor_tt } add_to_variable = { AFG_Assembly_war_support_factor = 0.05 tooltip = war_support_factor_tt } } ai_will_do = { base = 1 } } focus = { id = AFG_recraft_the_healthcare_system icon = focus_generic_field_hostpital x = 1 y = 1 relative_position_id = AFG_enlist_the_support_of_the_people cost = 7.2 prerequisite = { focus = AFG_enlist_the_support_of_the_people } search_filters = { FOCUS_FILTER_INTERNAL_AFFAIRS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_recraft_the_healthcare_system" AFG_national_assembly_checks = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = AFG_national_assembly } add_to_variable = { AFG_Assembly_health_budget_cost_factor = -0.05 tooltip = health_cost_multiplier_modifier_tt } custom_effect_tooltip = AFG_increase_health_TT hidden_effect = { increase_healthcare_budget = yes } set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = AFG_local_organisation icon = adopt_the_peoples_constitution x = -1 y = 1 relative_position_id = AFG_enlist_the_support_of_the_people cost = 7.2 prerequisite = { focus = AFG_enlist_the_support_of_the_people } search_filters = { FOCUS_FILTER_TRADE FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFG_local_organisation" hidden_effect = { add_to_variable = { overall_productivity = 20 } every_controlled_state = { add_to_variable = { productivity_state_var = 20 } } } custom_effect_tooltip = AFG_overall_productivity_20 414 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } }