shared_focus = { id = AFRICAN_UNION_shared_focus icon = align_to_african_union x = 4 y = 9 offset = { x = 50 y = 4 trigger = { has_focus_tree = Libya_focus } } offset = { x = 37 y = 0 trigger = { has_focus_tree = nigeria_focus } } offset = { x = 20 y = 0 trigger = { has_focus_tree = ethiopia_focus } } offset = { x = 65 y = -7 trigger = { has_focus_tree = egypt_focus } } offset = { x = 25 y = -2 trigger = { has_focus_tree = botswana_focus } } offset = { x = 60 y = -8 trigger = { has_focus_tree = comoros_focus } } offset = { x = 12 y = -8 trigger = { has_focus_tree = tibesti_focus } } offset = { x = 30 y = 12 trigger = { has_focus_tree = algeria_focus } } cost = 1 allow_branch = { has_country_flag = african_nation_flag } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { custom_trigger_tooltip = { tooltip = AFRICAN_UNION_shared_focus_trigger_tt always = no } } #Libya #Nigeria #Ethiopia #Egypt #Botswana #Comoros #Tibesti #Algeria completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus" if = { limit = { NOT = { has_dynamic_modifier = { modifier = african_union_reforms_modifier } } } add_dynamic_modifier = { modifier = african_union_reforms_modifier } } } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_investment_bank icon = african_investment x = -4 y = 1 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_investment_bank_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_investment_bank" clr_global_flag = AU_create_investment_bank_reserved #Global Stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_create_investment_bank_2_tt newline = yes #For the originator set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.1 } } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_return_on_investment_modifier_temp = 0.03 } add_to_variable = { african_union_return_on_investment_modifier = african_union_return_on_investment_modifier_temp tooltip = return_on_investment_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_investment_bank custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_return_on_investment_modifier_temp = 0.015 } add_to_variable = { african_union_return_on_investment_modifier = african_union_return_on_investment_modifier_temp tooltip = return_on_investment_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_investment_bank" african_union_use_mandate = yes set_global_flag = AU_create_investment_bank_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_monetary_fund icon = generic_bank x = 0 y = 1 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_monetary_fund_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_monetary_fund" clr_global_flag = AU_create_monetary_fund_reserved #Global Stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_create_monetary_fund_2_tt unlock_decision_tooltip = bankruptcy_cheap_loans_from_african_investment_fund unlock_decision_tooltip = bankruptcy_seek_bailout_from_african_monetary_fund newline = yes #For the originator set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.1 } } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_interest_rate_multiplier_modifier_temp = -2 } add_to_variable = { african_union_interest_rate_multiplier_modifier = african_union_interest_rate_multiplier_modifier_temp tooltip = interest_rate_multiplier_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_monetary_fund custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_interest_rate_multiplier_modifier_temp = -1 } add_to_variable = { african_union_interest_rate_multiplier_modifier = african_union_interest_rate_multiplier_modifier_temp tooltip = interest_rate_multiplier_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_monetary_fund" african_union_use_mandate = yes set_global_flag = AU_create_monetary_fund_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa icon = align_to_south_africa x = -6 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_investment_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_create_stock_exchange_our_country focus = AFRICAN_UNION_shared_focus_create_stock_exchange_egypt } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_stock_exchange_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa" clr_global_flag = AU_stock_exchange_reserved #Global Stuff SAF = { random_owned_state = { limit = { is_capital = yes } add_building_construction = { type = offices level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } newline = yes #For the originator set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { research_speed_factor_temp = 0.10 } add_to_variable = { research_speed_factor = research_speed_factor_temp tooltip = research_speed_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { research_speed_factor_temp = 0.05 } add_to_variable = { research_speed_factor = research_speed_factor_temp tooltip = research_speed_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa" african_union_use_mandate = yes set_global_flag = AU_stock_exchange_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 original_tag = EGY } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_offices = no } } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_stock_exchange_our_country icon = gen_coins_n x = -4 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_investment_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_create_stock_exchange_egypt focus = AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes NOT = { OR = { original_tag = SAF original_tag = EGY } } custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_stock_exchange_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_our_country" clr_global_flag = AU_stock_exchange_reserved #Global Stuff capital_scope = { add_building_construction = { type = offices level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } newline = yes #For the originator set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { research_speed_factor_temp = 0.10 } add_to_variable = { research_speed_factor = research_speed_factor_temp tooltip = research_speed_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_stock_exchange_our_country custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { research_speed_factor_temp = 0.05 } add_to_variable = { research_speed_factor = research_speed_factor_temp tooltip = research_speed_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_our_country" african_union_use_mandate = yes set_global_flag = AU_stock_exchange_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_offices = no } } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_stock_exchange_egypt icon = egypt_money x = -2 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_investment_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_create_stock_exchange_our_country focus = AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_stock_exchange_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_egypt" clr_global_flag = AU_stock_exchange_reserved #Global Stuff EGY = { random_owned_state = { limit = { is_capital = yes } add_building_construction = { type = offices level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } } newline = yes #For the originator set_temp_variable = { treasury_change = -12 } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_buildings_factor_temp = 0.15 } add_to_variable = { african_union_production_speed_buildings_factor = african_union_production_speed_buildings_factor_temp tooltip = production_speed_buildings_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_stock_exchange_egypt custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_buildings_factor_temp = 0.075 } add_to_variable = { african_union_production_speed_buildings_factor = african_union_production_speed_buildings_factor_temp tooltip = production_speed_buildings_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_stock_exchange_egypt" african_union_use_mandate = yes set_global_flag = AU_stock_exchange_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 original_tag = SAF } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_offices = no } } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_oil_fund icon = oil_trade x = 0 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_monetary_fund } search_filters = { FOCUS_FILTER_RESOURCE } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_oil_fund_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_oil_fund" clr_global_flag = AU_create_oil_fund_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_oil_export_multiplier_modifier_temp = -0.05 } add_to_variable = { african_union_oil_export_multiplier_modifier = african_union_oil_export_multiplier_modifier_temp tooltip = oil_export_multiplier_modifier_tt } set_temp_variable = { african_union_fossil_pp_fuel_consumption_modifier_temp = -0.10 } add_to_variable = { african_union_fossil_pp_fuel_consumption_modifier = african_union_fossil_pp_fuel_consumption_modifier_temp tooltip = fossil_pp_fuel_consumption_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_oil_fund custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_oil_export_multiplier_modifier_temp = -0.10 } add_to_variable = { african_union_oil_export_multiplier_modifier = african_union_oil_export_multiplier_modifier_temp tooltip = oil_export_multiplier_modifier_tt } set_temp_variable = { african_union_fossil_pp_fuel_consumption_modifier_temp = -0.05 } add_to_variable = { african_union_fossil_pp_fuel_consumption_modifier = african_union_fossil_pp_fuel_consumption_modifier_temp tooltip = fossil_pp_fuel_consumption_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_oil_fund" african_union_use_mandate = yes set_global_flag = AU_create_oil_fund_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_central_bank icon = generic_banks x = -1 y = 3 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_oil_fund } prerequisite = { focus = AFRICAN_UNION_shared_focus_create_stock_exchange_egypt focus = AFRICAN_UNION_shared_focus_create_stock_exchange_our_country focus = AFRICAN_UNION_shared_focus_create_stock_exchange_south_africa } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_central_bank_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_central_bank" clr_global_flag = AU_create_central_bank_reserved #For the originator set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.1 } } modify_treasury_effect = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_productivity_growth_modifier_temp = 3 } add_to_variable = { african_union_productivity_growth_modifier = african_union_productivity_growth_modifier_temp tooltip = productivity_growth_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_central_bank custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_productivity_growth_modifier_temp = 1.5 } add_to_variable = { african_union_productivity_growth_modifier = african_union_productivity_growth_modifier_temp tooltip = productivity_growth_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_central_bank" african_union_use_mandate = yes set_global_flag = AU_create_central_bank_reserved } ai_will_do = { base = 200 modifier = { factor = 0 check_variable = { debt_ratio > 0.8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_currency_west_african_franc icon = AFR_western_frank x = -6 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_central_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand focus = AFRICAN_UNION_shared_focus_common_currency_dinar focus = AFRICAN_UNION_shared_focus_common_central_african_franc focus = AFRICAN_UNION_shared_focus_common_afriq } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_currency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_west_african_franc" clr_global_flag = AU_common_currency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_democratic_drift_temp = 0.10 } add_to_variable = { african_union_democratic_drift = african_union_democratic_drift_temp tooltip = democratic_drift_tt } set_temp_variable = { african_union_production_speed_buildings_factor_temp = 0.15 } add_to_variable = { african_union_production_speed_buildings_factor = african_union_production_speed_buildings_factor_temp tooltip = production_speed_buildings_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_democratic_drift_temp = 0.05 } add_to_variable = { african_union_democratic_drift = african_union_democratic_drift_temp tooltip = democratic_drift_tt } set_temp_variable = { african_union_production_speed_buildings_factor_temp = 0.075 } add_to_variable = { african_union_production_speed_buildings_factor = african_union_production_speed_buildings_factor_temp tooltip = production_speed_buildings_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_west_african_franc" african_union_use_mandate = yes set_global_flag = AU_common_currency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_currency_south_african_rand icon = AFR_south_africa_currency x = -4 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_central_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc focus = AFRICAN_UNION_shared_focus_common_currency_dinar focus = AFRICAN_UNION_shared_focus_common_central_african_franc focus = AFRICAN_UNION_shared_focus_common_afriq } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_currency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_south_african_rand" clr_global_flag = AU_common_currency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_communism_drift_temp = 0.10 } add_to_variable = { african_union_communism_drift = african_union_communism_drift_temp tooltip = communism_drift_tt } set_temp_variable = { african_union_resource_export_multiplier_modifier_temp = 0.10 } add_to_variable = { african_union_resource_export_multiplier_modifier = african_union_resource_export_multiplier_modifier_temp tooltip = resource_export_multiplier_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_communism_drift_temp = 0.05 } add_to_variable = { african_union_communism_drift = african_union_communism_drift_temp tooltip = communism_drift_tt } set_temp_variable = { african_union_resource_export_multiplier_modifier_temp = 0.05 } add_to_variable = { african_union_resource_export_multiplier_modifier = african_union_resource_export_multiplier_modifier_temp tooltip = resource_export_multiplier_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_south_african_rand" african_union_use_mandate = yes set_global_flag = AU_common_currency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_currency_dinar icon = AFR_lybian_cuurency x = -2 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_central_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand focus = AFRICAN_UNION_shared_focus_common_central_african_franc focus = AFRICAN_UNION_shared_focus_common_afriq } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_currency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_dinar" clr_global_flag = AU_common_currency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_fascism_drift_temp = 0.10 } add_to_variable = { african_union_fascism_drift = african_union_fascism_drift_temp tooltip = fascism_drift_tt } set_temp_variable = { african_union_foreign_influence_defense_modifier_temp = 0.10 } add_to_variable = { african_union_foreign_influence_defense_modifier = african_union_foreign_influence_defense_modifier_temp tooltip = foreign_influence_defense_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_currency_dinar custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_fascism_drift_temp = 0.05 } add_to_variable = { african_union_fascism_drift = african_union_fascism_drift_temp tooltip = fascism_drift_tt } set_temp_variable = { african_union_foreign_influence_defense_modifier_temp = 0.05 } add_to_variable = { african_union_foreign_influence_defense_modifier = african_union_foreign_influence_defense_modifier_temp tooltip = foreign_influence_defense_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_currency_dinar" african_union_use_mandate = yes set_global_flag = AU_common_currency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_central_african_franc icon = AFR_central_frank x = 0 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_central_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand focus = AFRICAN_UNION_shared_focus_common_currency_dinar focus = AFRICAN_UNION_shared_focus_common_afriq } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_currency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_central_african_franc" clr_global_flag = AU_common_currency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_neutrality_drift_temp = 0.10 } add_to_variable = { african_union_neutrality_drift = african_union_neutrality_drift_temp tooltip = neutrality_drift_tt } set_temp_variable = { african_union_local_resources_factor_temp = 0.10 } add_to_variable = { african_union_local_resources_factor = african_union_local_resources_factor_temp tooltip = local_resources_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_central_african_franc custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_neutrality_drift_temp = 0.05 } add_to_variable = { african_union_neutrality_drift = african_union_neutrality_drift_temp tooltip = neutrality_drift_tt } set_temp_variable = { african_union_local_resources_factor_temp = 0.05 } add_to_variable = { african_union_local_resources_factor = african_union_local_resources_factor_temp tooltip = local_resources_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_central_african_franc" african_union_use_mandate = yes set_global_flag = AU_common_currency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_afriq icon = AFR_afriq x = 2 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_central_bank } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand focus = AFRICAN_UNION_shared_focus_common_currency_dinar focus = AFRICAN_UNION_shared_focus_common_central_african_franc } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_currency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_afriq" clr_global_flag = AU_common_currency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_nationalist_drift_temp = 0.10 } add_to_variable = { african_union_nationalist_drift = african_union_nationalist_drift_temp tooltip = nationalist_drift_tt } set_temp_variable = { african_union_foreign_influence_modifier_temp = 0.10 } add_to_variable = { african_union_foreign_influence_modifier = african_union_foreign_influence_modifier_temp tooltip = foreign_influence_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_afriq custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_nationalist_drift_temp = 0.05 } add_to_variable = { african_union_nationalist_drift = african_union_nationalist_drift_temp tooltip = nationalist_drift_tt } set_temp_variable = { african_union_foreign_influence_modifier_temp = 0.05 } add_to_variable = { african_union_foreign_influence_modifier = african_union_foreign_influence_modifier_temp tooltip = foreign_influence_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_afriq" african_union_use_mandate = yes set_global_flag = AU_common_currency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_african_free_trade_area icon = africa x = 1 y = 5 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_common_currency_west_african_franc focus = AFRICAN_UNION_shared_focus_common_currency_south_african_rand focus = AFRICAN_UNION_shared_focus_common_currency_dinar focus = AFRICAN_UNION_shared_focus_common_central_african_franc focus = AFRICAN_UNION_shared_focus_common_afriq } search_filters = { FOCUS_FILTER_TRADE } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_african_free_trade_area_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_african_free_trade_area" clr_global_flag = AU_create_african_free_trade_area_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_tax_gain_multiplier_modifier_temp = 0.10 } add_to_variable = { african_union_tax_gain_multiplier_modifier = african_union_tax_gain_multiplier_modifier_temp tooltip = tax_gain_multiplier_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_african_free_trade_area custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_tax_gain_multiplier_modifier_temp = 0.05 } add_to_variable = { african_union_tax_gain_multiplier_modifier = african_union_tax_gain_multiplier_modifier_temp tooltip = tax_gain_multiplier_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_african_free_trade_area" african_union_use_mandate = yes set_global_flag = AU_create_african_free_trade_area_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_coastal_protection icon = navy3 x = 3 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } search_filters = { FOCUS_FILTER_NAVY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_coastal_protection_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_coastal_protection" clr_global_flag = AU_coastal_protection_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_dockyard_factor_temp = 0.15 } add_to_variable = { african_union_production_speed_dockyard_factor = african_union_production_speed_dockyard_factor_temp tooltip = production_speed_dockyard_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_coastal_protection custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_dockyard_factor_temp = 0.075 } add_to_variable = { african_union_production_speed_dockyard_factor = african_union_production_speed_dockyard_factor_temp tooltip = production_speed_dockyard_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_coastal_protection" african_union_use_mandate = yes set_global_flag = AU_coastal_protection_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba icon = abide_npt x = 3 y = 3 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_coastal_protection } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_nuclear_armament } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_nuclear_policy_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba" clr_global_flag = AU_nuclear_policy_reserved #For the originator add_ideas = african_union_treaty_of_pelindaba custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_political_power_factor_temp = 0.10 } add_to_variable = { african_union_political_power_factor = african_union_political_power_factor_temp tooltip = political_power_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba add_ideas = african_union_treaty_of_pelindaba custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_political_power_factor_temp = 0.05 } add_to_variable = { african_union_political_power_factor = african_union_political_power_factor_temp tooltip = political_power_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba" african_union_use_mandate = yes set_global_flag = AU_nuclear_policy_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_nuclear_armament icon = AFR_nulify_pelindaba x = 5 y = 3 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_coastal_protection } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba } search_filters = { FOCUS_FILTER_EQUIPMENT } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_nuclear_policy_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_nuclear_armament" clr_global_flag = AU_nuclear_policy_reserved #For the originator add_ideas = african_union_nuclear_armament custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_arms_factory_factor_temp = 0.15 } add_to_variable = { african_union_production_speed_arms_factory_factor = african_union_production_speed_arms_factory_factor_temp tooltip = production_speed_arms_factory_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_nuclear_armament add_ideas = african_union_nuclear_armament custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_arms_factory_factor_temp = 0.075 } add_to_variable = { african_union_production_speed_arms_factory_factor = african_union_production_speed_arms_factory_factor_temp tooltip = production_speed_arms_factory_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_nuclear_armament" african_union_use_mandate = yes set_global_flag = AU_nuclear_policy_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_form_defence_council icon = africa_guy_shield x = 4 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_sign_treaty_of_pelindaba focus = AFRICAN_UNION_shared_focus_nuclear_armament } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_form_defence_council_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_form_defence_council" clr_global_flag = AU_form_defence_council_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_send_volunteers_tension_temp = -0.15 } add_to_variable = { african_union_send_volunteers_tension = african_union_send_volunteers_tension_temp tooltip = send_volunteers_tension_tt } set_temp_variable = { african_union_send_volunteer_size_temp = 2 } add_to_variable = { african_union_send_volunteer_size = african_union_send_volunteer_size_temp tooltip = send_volunteer_size_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_form_defence_council custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_send_volunteers_tension_temp = -0.075 } add_to_variable = { african_union_send_volunteers_tension = african_union_send_volunteers_tension_temp tooltip = send_volunteers_tension_tt } set_temp_variable = { african_union_send_volunteer_size_temp = 1 } add_to_variable = { african_union_send_volunteer_size = african_union_send_volunteer_size_temp tooltip = send_volunteer_size_tt } effect_tooltip = { african_union_use_mandate = yes } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_form_defence_council" african_union_use_mandate = yes set_global_flag = AU_form_defence_council_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_create_african_space_agency icon = international_space_station x = 4 y = 5 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_form_defence_council } search_filters = { FOCUS_FILTER_SPACE } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_create_african_space_agency_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_african_space_agency" clr_global_flag = AU_create_african_space_agency_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_satellite_speed_modifier_temp = 0.20 } add_to_variable = { african_union_satellite_speed_modifier = african_union_satellite_speed_modifier_temp tooltip = olv_production_speed_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_create_african_space_agency custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_satellite_speed_modifier_temp = 0.10 } add_to_variable = { african_union_satellite_speed_modifier = african_union_satellite_speed_modifier_temp tooltip = olv_production_speed_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_create_african_space_agency" african_union_use_mandate = yes set_global_flag = AU_create_african_space_agency_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_include_african_diaspora icon = Focus_African_Liberation x = 1 y = 6 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_create_african_free_trade_area } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_include_african_diaspora_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_include_african_diaspora" clr_global_flag = AU_include_african_diaspora_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_migration_rate_value_factor_temp = 0.20 } add_to_variable = { african_union_migration_rate_value_factor = african_union_migration_rate_value_factor_temp tooltip = migration_rate_value_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_include_african_diaspora custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_migration_rate_value_factor_temp = 0.10 } add_to_variable = { african_union_migration_rate_value_factor = african_union_migration_rate_value_factor_temp tooltip = migration_rate_value_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_include_african_diaspora" african_union_use_mandate = yes set_global_flag = AU_include_african_diaspora_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_employ_local_defence icon = Generic_Female_African_Soldier x = 2 y = 7 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_include_african_diaspora } prerequisite = { focus = AFRICAN_UNION_shared_focus_create_african_space_agency } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_rapid_deployment_forces } search_filters = { FOCUS_FILTER_ARMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_defence_doctrine_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_employ_local_defence" clr_global_flag = AU_defence_doctrine_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_army_defence_factor_temp = 0.15 } add_to_variable = { african_union_army_defence_factor = african_union_army_defence_factor_temp tooltip = army_defence_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_employ_local_defence custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_army_defence_factor_temp = 0.075 } add_to_variable = { african_union_army_defence_factor = african_union_army_defence_factor_temp tooltip = army_defence_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_employ_local_defence" african_union_use_mandate = yes set_global_flag = AU_defence_doctrine_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_rapid_deployment_forces icon = soldier2 x = 4 y = 7 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_include_african_diaspora } prerequisite = { focus = AFRICAN_UNION_shared_focus_create_african_space_agency } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_employ_local_defence } search_filters = { FOCUS_FILTER_ARMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_defence_doctrine_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_rapid_deployment_forces" clr_global_flag = AU_defence_doctrine_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_army_attack_factor_temp = 0.15 } add_to_variable = { african_union_army_attack_factor = african_union_army_attack_factor_temp tooltip = army_attack_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_rapid_deployment_forces custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_army_attack_factor_temp = 0.075 } add_to_variable = { african_union_army_attack_factor = african_union_army_attack_factor_temp tooltip = army_attack_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_rapid_deployment_forces" african_union_use_mandate = yes set_global_flag = AU_defence_doctrine_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_hq_in_nigeria icon = NIG_federal_government x = 6 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_hq_in_our_country focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_headquarters_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_nigeria" clr_global_flag = AU_headquarters_reserved #Global stuff NIG = { random_owned_state = { limit = { is_capital = yes } add_dynamic_modifier = { modifier = african_union_headquarters } } } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_hq_in_nigeria } } unlock_national_focus = AFRICAN_UNION_shared_focus_hq_in_nigeria } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_nigeria" african_union_use_mandate = yes set_global_flag = AU_headquarters_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_hq_in_our_country icon = parliament_box x = 8 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_hq_in_nigeria focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes NOT = { OR = { original_tag = NIG original_tag = ETH } } custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_headquarters_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_our_country" clr_global_flag = AU_headquarters_reserved #For the originator set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.2 } } modify_treasury_effect = yes capital_scope = { add_dynamic_modifier = { modifier = african_union_headquarters } } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_hq_in_our_country } } unlock_national_focus = AFRICAN_UNION_shared_focus_hq_in_our_country } set_temp_variable = { percent_change = 4 } change_domestic_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_our_country" african_union_use_mandate = yes set_global_flag = AU_headquarters_reserved } ai_will_do = { base = 200 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } shared_focus = { id = AFRICAN_UNION_shared_focus_hq_in_ethiopia icon = focus_ETH_the_emperor_stays x = 10 y = 2 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_hq_in_our_country focus = AFRICAN_UNION_shared_focus_hq_in_nigeria } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_headquarters_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_ethiopia" clr_global_flag = AU_headquarters_reserved #Global stuff ETH = { random_owned_state = { limit = { is_capital = yes } add_dynamic_modifier = { modifier = african_union_headquarters } } } newline = yes #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } } unlock_national_focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } set_temp_variable = { tag_index = CHI } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_hq_in_ethiopia" african_union_use_mandate = yes set_global_flag = AU_headquarters_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_african_energy_commission icon = electricity x = 7 y = 3 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_hq_in_nigeria focus = AFRICAN_UNION_shared_focus_hq_in_our_country focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } search_filters = { FOCUS_FILTER_POWER_INFRASTRUCTURE } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_african_energy_commission_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_african_energy_commission" clr_global_flag = AU_african_energy_commission_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_fossil_powerplant_factor_temp = 0.15 } add_to_variable = { african_union_production_speed_fossil_powerplant_factor = african_union_production_speed_fossil_powerplant_factor_temp tooltip = production_speed_fossil_powerplant_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_african_energy_commission custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_production_speed_fossil_powerplant_factor_temp = 0.075 } add_to_variable = { african_union_production_speed_fossil_powerplant_factor = african_union_production_speed_fossil_powerplant_factor_temp tooltip = production_speed_fossil_powerplant_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_african_energy_commission" african_union_use_mandate = yes set_global_flag = AU_african_energy_commission_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_common_disease_fight icon = medicine2 x = 9 y = 3 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_hq_in_nigeria focus = AFRICAN_UNION_shared_focus_hq_in_our_country focus = AFRICAN_UNION_shared_focus_hq_in_ethiopia } search_filters = { FOCUS_FILTER_ECONOMY } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_common_disease_fight_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_disease_fight" clr_global_flag = AU_common_disease_fight_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_health_cost_multiplier_modifier_temp = -0.10 } add_to_variable = { african_union_health_cost_multiplier_modifier = african_union_health_cost_multiplier_modifier_temp tooltip = health_cost_multiplier_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_common_disease_fight custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_health_cost_multiplier_modifier_temp = -0.05 } add_to_variable = { african_union_health_cost_multiplier_modifier = african_union_health_cost_multiplier_modifier_temp tooltip = health_cost_multiplier_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_common_disease_fight" african_union_use_mandate = yes set_global_flag = AU_common_disease_fight_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_speak_french icon = francafrique x = 6 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 5 prerequisite = { focus = AFRICAN_UNION_shared_focus_african_energy_commission } prerequisite = { focus = AFRICAN_UNION_shared_focus_common_disease_fight } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_speak_english focus = AFRICAN_UNION_shared_focus_speak_swahili focus = AFRICAN_UNION_shared_focus_speak_arabic } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_official_language_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_french" clr_global_flag = AU_official_language_reserved #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_speak_french } } unlock_national_focus = AFRICAN_UNION_shared_focus_speak_french } every_other_country = { limit = { has_country_flag = french_speaking_flag } add_opinion_modifier = { target = PREV modifier = large_increase } reverse_add_opinion_modifier = { target = PREV modifier = large_increase } } set_temp_variable = { tag_index = FRA } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_french" african_union_use_mandate = yes set_global_flag = AU_official_language_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_speak_english icon = british_cooperation x = 8 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 5 prerequisite = { focus = AFRICAN_UNION_shared_focus_african_energy_commission } prerequisite = { focus = AFRICAN_UNION_shared_focus_common_disease_fight } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_speak_french focus = AFRICAN_UNION_shared_focus_speak_swahili focus = AFRICAN_UNION_shared_focus_speak_arabic } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_official_language_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_english" clr_global_flag = AU_official_language_reserved #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_speak_english } } unlock_national_focus = AFRICAN_UNION_shared_focus_speak_english } every_other_country = { limit = { has_country_flag = english_speaking_flag } add_opinion_modifier = { target = PREV modifier = large_increase } reverse_add_opinion_modifier = { target = PREV modifier = large_increase } } set_temp_variable = { tag_index = USA } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_english" african_union_use_mandate = yes set_global_flag = AU_official_language_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_speak_swahili icon = AFR_speak_swahili x = 10 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 5 prerequisite = { focus = AFRICAN_UNION_shared_focus_african_energy_commission } prerequisite = { focus = AFRICAN_UNION_shared_focus_common_disease_fight } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_speak_french focus = AFRICAN_UNION_shared_focus_speak_english focus = AFRICAN_UNION_shared_focus_speak_arabic } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_official_language_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_swahili" clr_global_flag = AU_official_language_reserved #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_speak_swahili } } unlock_national_focus = AFRICAN_UNION_shared_focus_speak_swahili } every_other_country = { limit = { has_country_flag = swahili_speaking_flag } add_opinion_modifier = { target = PREV modifier = large_increase } reverse_add_opinion_modifier = { target = PREV modifier = large_increase } } set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_swahili" african_union_use_mandate = yes set_global_flag = AU_official_language_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_speak_arabic icon = pan_arabic_crests x = 12 y = 4 relative_position_id = AFRICAN_UNION_shared_focus cost = 5 prerequisite = { focus = AFRICAN_UNION_shared_focus_african_energy_commission } prerequisite = { focus = AFRICAN_UNION_shared_focus_common_disease_fight } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_speak_french focus = AFRICAN_UNION_shared_focus_speak_english focus = AFRICAN_UNION_shared_focus_speak_swahili } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_official_language_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_arabic" clr_global_flag = AU_official_language_reserved #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { has_completed_focus = AFRICAN_UNION_shared_focus_speak_arabic } } unlock_national_focus = AFRICAN_UNION_shared_focus_speak_arabic } every_other_country = { limit = { has_country_flag = arabic_nation_flag } add_opinion_modifier = { target = PREV modifier = large_increase } reverse_add_opinion_modifier = { target = PREV modifier = large_increase } } if = { limit = { any_of_scopes = { array = global.arabic_countries OR = { has_idea = regional_power has_idea = large_power has_idea = great_power has_idea = super_power } } } random_scope_in_array = { array = global.arabic_countries limit = { OR = { has_idea = regional_power has_idea = large_power has_idea = great_power has_idea = super_power } } set_temp_variable = { tag_index = THIS } } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_speak_arabic" african_union_use_mandate = yes set_global_flag = AU_official_language_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_fight_corruption icon = control_judiciary x = 6 y = 5 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_speak_french focus = AFRICAN_UNION_shared_focus_speak_english focus = AFRICAN_UNION_shared_focus_speak_swahili focus = AFRICAN_UNION_shared_focus_speak_arabic } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_embrace_corruption } search_filters = { FOCUS_FILTER_CORRUPTION } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_corruption_policy_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_fight_corruption" clr_global_flag = AU_corruption_policy_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_fight_corruption_tt_2 newline = yes #For the originator decrease_corruption = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_corruption_cost_factor_temp = -0.20 } add_to_variable = { african_union_corruption_cost_factor = african_union_corruption_cost_factor_temp tooltip = corruption_cost_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_fight_corruption decrease_corruption = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_corruption_cost_factor_temp = -0.10 } add_to_variable = { african_union_corruption_cost_factor = african_union_corruption_cost_factor_temp tooltip = corruption_cost_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_fight_corruption" african_union_use_mandate = yes set_global_flag = AU_corruption_policy_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_embrace_corruption icon = champagne_green x = 8 y = 5 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_speak_french focus = AFRICAN_UNION_shared_focus_speak_english focus = AFRICAN_UNION_shared_focus_speak_swahili focus = AFRICAN_UNION_shared_focus_speak_arabic } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_fight_corruption } search_filters = { FOCUS_FILTER_CORRUPTION } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_corruption_policy_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_embrace_corruption" clr_global_flag = AU_corruption_policy_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_embrace_corruption_tt_2 newline = yes #For the originator increase_corruption = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_corruption_cost_factor_temp = 0.20 } add_to_variable = { african_union_corruption_cost_factor = african_union_corruption_cost_factor_temp tooltip = corruption_cost_factor_tt } set_temp_variable = { african_union_political_power_factor_temp = 0.10 } add_to_variable = { african_union_political_power_factor = african_union_political_power_factor_temp tooltip = political_power_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_embrace_corruption increase_corruption = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_corruption_cost_factor_temp = 0.10 } add_to_variable = { african_union_corruption_cost_factor = african_union_corruption_cost_factor_temp tooltip = corruption_cost_factor_tt } set_temp_variable = { african_union_political_power_factor_temp = 0.05 } add_to_variable = { african_union_political_power_factor = african_union_political_power_factor_temp tooltip = political_power_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_embrace_corruption" african_union_use_mandate = yes set_global_flag = AU_corruption_policy_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_pan_african_university icon = focus_generic_university_1 x = 7 y = 6 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_fight_corruption focus = AFRICAN_UNION_shared_focus_embrace_corruption } search_filters = { FOCUS_FILTER_RESEARCH } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_pan_african_university_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_pan_african_university" clr_global_flag = AU_pan_african_university_reserved #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_education_cost_multiplier_modifier_temp = -0.10 } add_to_variable = { african_union_education_cost_multiplier_modifier = african_union_education_cost_multiplier_modifier_temp tooltip = education_cost_multiplier_modifier_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_pan_african_university custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_education_cost_multiplier_modifier_temp = -0.05 } add_to_variable = { african_union_education_cost_multiplier_modifier = african_union_education_cost_multiplier_modifier_temp tooltip = education_cost_multiplier_modifier_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_pan_african_university" african_union_use_mandate = yes set_global_flag = AU_pan_african_university_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_empower_parliament icon = conservative_par x = 6 y = 7 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_pan_african_university } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_empower_assembly } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_legislature_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_empower_parliament" clr_global_flag = AU_legislature_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_empower_parliament_tt_2 newline = yes #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_stability_factor_temp = 0.10 } add_to_variable = { african_union_stability_factor = african_union_stability_factor_temp tooltip = stability_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_empower_parliament custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_stability_factor_temp = 0.05 } add_to_variable = { african_union_stability_factor = african_union_stability_factor_temp tooltip = stability_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_empower_parliament" african_union_use_mandate = yes set_global_flag = AU_legislature_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_empower_assembly icon = SOV_semi_presidential_republic x = 8 y = 7 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_pan_african_university } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_empower_parliament } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_legislature_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_empower_assembly" clr_global_flag = AU_legislature_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_empower_assembly_tt_2 newline = yes #For the originator custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_drift_defence_factor_temp = 0.20 } add_to_variable = { african_union_drift_defence_factor = african_union_drift_defence_factor_temp tooltip = drift_defence_factor_tt } effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_empower_assembly custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = african_union_reforms_modifier } set_temp_variable = { african_union_drift_defence_factor_temp = 0.10 } add_to_variable = { african_union_drift_defence_factor = african_union_drift_defence_factor_temp tooltip = drift_defence_factor_tt } } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_empower_assembly" african_union_use_mandate = yes set_global_flag = AU_legislature_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_federation_of_africa icon = eac_confederation x = 4 y = 8 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_employ_local_defence focus = AFRICAN_UNION_shared_focus_rapid_deployment_forces } prerequisite = { focus = AFRICAN_UNION_shared_focus_empower_parliament focus = AFRICAN_UNION_shared_focus_empower_assembly } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_united_states_of_africa } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_unification_model_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_federation_of_africa" clr_global_flag = AU_unification_model_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_federation_of_africa_tt newline = yes #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_federation_of_africa } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_federation_of_africa" african_union_use_mandate = yes set_global_flag = AU_unification_model_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_united_states_of_africa icon = africa2 x = 6 y = 8 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_employ_local_defence focus = AFRICAN_UNION_shared_focus_rapid_deployment_forces } prerequisite = { focus = AFRICAN_UNION_shared_focus_empower_parliament focus = AFRICAN_UNION_shared_focus_empower_assembly } mutually_exclusive = { focus = AFRICAN_UNION_shared_focus_federation_of_africa } search_filters = { FOCUS_FILTER_POLITICAL } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_unification_model_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_united_states_of_africa" clr_global_flag = AU_unification_model_reserved #Global stuff custom_effect_tooltip = AFRICAN_UNION_shared_focus_united_states_of_africa_tt newline = yes #For the originator effect_tooltip = { african_union_use_mandate = yes } newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } unlock_national_focus = AFRICAN_UNION_shared_focus_united_states_of_africa } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_united_states_of_africa" african_union_use_mandate = yes set_global_flag = AU_unification_model_reserved } ai_will_do = { base = 200 } } shared_focus = { id = AFRICAN_UNION_shared_focus_unite_africa icon = AFR_unite_africa x = 5 y = 9 relative_position_id = AFRICAN_UNION_shared_focus cost = 10 prerequisite = { focus = AFRICAN_UNION_shared_focus_federation_of_africa focus = AFRICAN_UNION_shared_focus_united_states_of_africa } search_filters = { FOCUS_FILTER_ANNEXATION } available = { can_do_african_union_focus = yes custom_trigger_tooltip = { tooltip = AFRICAN_UNION_shared_focus_unite_africa_trigger_tt if = { limit = { check_variable = { global.OAU_member^num > 0 } } NOT = { any_of_scopes = { array = global.OAU_member has_war = yes } } } else_if = { limit = { check_variable = { global.AU_member^num > 0 } } NOT = { any_of_scopes = { array = global.AU_member has_war = yes } } } } custom_trigger_tooltip = { tooltip = AU_branch_reserved_tt NOT = { has_global_flag = AU_unite_africa_reserved } } } continue_if_invalid = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_unite_africa" clr_global_flag = AU_unite_africa_reserved #Global stuff set_global_flag = African_Union_united newline = yes #For the originator set_cosmetic_tag = AFRICAN_UNION set_temp_variable = { special_formable_id = 105 } commit_special_formable = yes every_other_country = { limit = { has_country_flag = african_nation_flag } every_owned_state = { limit = { is_core_of = PREV } add_core_of = ROOT } } effect_tooltip = { african_union_use_mandate = yes } set_country_flag = is_united_states_of_africa clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag newline = yes #For all other members for_each_scope_loop = { array = global.AU_member tooltip = TT_ALL_AU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } is_subject = no } unlock_national_focus = AFRICAN_UNION_shared_focus_unite_africa if = { limit = { has_completed_focus = AFRICAN_UNION_shared_focus_united_states_of_africa } country_event = { id = AfricanUnion.3 hours = 6 } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { ROOT = { annex_country = { target = PREV transfer_troops = yes } } } } else = { country_event = { id = AfricanUnion.2 hours = 6 } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } ROOT = { set_autonomy = { target = PREV autonomy_state = autonomy_autonomous_state_colored } } } else = { ROOT = { set_autonomy = { target = PREV autonomy_state = autonomy_autonomous_state } } } } } custom_effect_tooltip = AFRICAN_UNION_shared_focus_unite_africa_tt } } } select_effect = { log = "[GetDateText]: [Root.GetName]: Focus AFRICAN_UNION_shared_focus_unite_africa" african_union_use_mandate = yes set_global_flag = AU_unite_africa_reserved } ai_will_do = { base = 200 } }