### President of the European Federation ### shared_focus = { id = POTEF001 icon = align_to_europe x = 27 y = 0 relative_position_id = USoE001 cost = 10 # Allow to Make the Tree Visible allow_branch = { has_global_flag = european_federation OR = { original_tag = ABK original_tag = ADO original_tag = ADY original_tag = ALB original_tag = ARM original_tag = AUS original_tag = AZE original_tag = BAY original_tag = BEL original_tag = BLR original_tag = BOS original_tag = BSH original_tag = BUL original_tag = CAT original_tag = CHE original_tag = CHU original_tag = CNR original_tag = CRE original_tag = CRM original_tag = CRO original_tag = CYP original_tag = CZE original_tag = DAG original_tag = DEN original_tag = DON original_tag = DPR original_tag = DRP original_tag = ENG original_tag = EST original_tag = FAO original_tag = FIN original_tag = FRA original_tag = FYR original_tag = GAL original_tag = GEO original_tag = GER original_tag = GRE original_tag = GRN original_tag = HLS original_tag = HOL original_tag = HPR original_tag = HUN original_tag = HZG original_tag = ICE original_tag = ING original_tag = IOM original_tag = IRE original_tag = ITA original_tag = KAE original_tag = KBK original_tag = KCC original_tag = KLM original_tag = KOM original_tag = KOS original_tag = KUB original_tag = LAT original_tag = LIC original_tag = LIT original_tag = LPR original_tag = LUX original_tag = MEL original_tag = MLT original_tag = MLV original_tag = MNC original_tag = MNT original_tag = MOV original_tag = NAV original_tag = NEE original_tag = NRY original_tag = OPR original_tag = POL original_tag = POR original_tag = ROM original_tag = RSK original_tag = RUS original_tag = SCL original_tag = SCO original_tag = SER original_tag = SIL original_tag = SLO original_tag = SLV original_tag = SMA original_tag = SOO original_tag = SPA original_tag = SPR original_tag = GRN original_tag = SWE original_tag = SWI original_tag = TAT original_tag = TUR original_tag = UDM original_tag = UKR original_tag = VOJ original_tag = VTB original_tag = WAS AND = { original_tag = SOV has_idea = EU_member } } NOT = { has_global_flag = GAME_RULE_eu_disabled } } search_filters = { FOCUS_FILTER_EUROPEAN_UNION FOCUS_FILTER_POLITICAL } available = { custom_trigger_tooltip = { tooltip = requires_potef_tt is_in_array = { array = global.EU_passed_votes value = 112 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF001" add_political_power = 150 } ai_will_do = { base = 1 } } ### Alpine Doctrine ### shared_focus = { id = POTEF100 icon = POTEF100 x = -3 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_alpine = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF100 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF100" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_alpine = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_infantry_defence_factor = 0.20 tooltip = army_infantry_defence_factor_tt } add_to_variable = { POTEF_terrain_penalty_reduction = 0.10 tooltip = terrain_penalty_reduction_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_infantry_defence_factor = 0.30 tooltip = army_infantry_defence_factor_tt } add_to_variable = { POTEF_terrain_penalty_reduction = 0.20 tooltip = terrain_penalty_reduction_tt } } } } ai_will_do = { base = 1 } } ### The Integrity of Creation ### shared_focus = { id = POTEF101 icon = global_community x = 0 y = 1 #icon = POTEF101 relative_position_id = POTEF100 cost = 10 prerequisite = { focus = POTEF100 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president EU_member_is_alpine = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF101 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF101" if = { limit = { POTEF_is_alpine = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN random_controlled_state = { limit = { free_building_slots = { building = renewable_energy_infra size > 0 } } add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } } } if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_monthly_population = 0.05 tooltip = monthly_population_tt } add_to_variable = { POTEF_stability_factor = 0.05 tooltip = stability_factor_tt } add_to_variable = { POTEF_research_speed_factor = -0.05 tooltip = research_speed_factor_tt } } } ai_will_do = { base = 1 } } ### Environmental Imperialism ### shared_focus = { id = POTEF102 icon = political_pressure_dark_green x = 2 y = 1 #icon = POTEF102 relative_position_id = POTEF101 cost = 10 prerequisite = { focus = POTEF101 focus = POTEF151 } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF102 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF102" set_country_flag = environmental_imperialism set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_international_bankers_opinion = yes } ai_will_do = { base = 1 } } ### North America ### shared_focus = { id = POTEF103 icon = north_america x = -5 y = 1 #icon = POTEF103 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF103 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF103" set_global_flag = environmental_imperialism_north_america custom_effect_tooltip = tooltip_focus_USoE503 } ai_will_do = { base = 1 } } ### South America ### shared_focus = { id = POTEF104 icon = south_america x = -5 y = 2 #icon = POTEF104 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF104 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF104" set_global_flag = environmental_imperialism_south_america custom_effect_tooltip = tooltip_focus_USoE504 } ai_will_do = { base = 1 } } ### Europe ### shared_focus = { id = POTEF105 icon = europe x = -3 y = 1 #icon = POTEF105 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF105 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF105" set_global_flag = environmental_imperialism_europe custom_effect_tooltip = tooltip_focus_USoE505 } ai_will_do = { base = 1 } } ### Africa ### shared_focus = { id = POTEF106 icon = africa2 x = -3 y = 2 #icon = POTEF106 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF106 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF106" set_global_flag = environmental_imperialism_africa custom_effect_tooltip = tooltip_focus_USoE506 } ai_will_do = { base = 1 } } ### Middle East ### shared_focus = { id = POTEF107 icon = asia x = -1 y = 1 #icon = POTEF107 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF107 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF107" set_global_flag = environmental_imperialism_middle_east custom_effect_tooltip = tooltip_focus_USoE507 } ai_will_do = { base = 1 } } ### Asia ### shared_focus = { id = POTEF108 icon = asia x = -1 y = 2 #icon = POTEF108 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF108 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF108" set_global_flag = environmental_imperialism_asia custom_effect_tooltip = tooltip_focus_USoE508 } ai_will_do = { base = 1 } } ### Oceania ### shared_focus = { id = POTEF109 icon = oceania x = 1 y = 1 #icon = POTEF109 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF109 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF109" set_global_flag = environmental_imperialism_oceania custom_effect_tooltip = tooltip_focus_USoE509 } ai_will_do = { base = 1 } } ### Pacific ### shared_focus = { id = POTEF110 icon = oceania x = 1 y = 2 #icon = POTEF110 relative_position_id = POTEF102 cost = 10 prerequisite = { focus = POTEF102 } search_filters = { FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF110 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF110" set_global_flag = environmental_imperialism_pacific custom_effect_tooltip = tooltip_focus_USoE510 } ai_will_do = { base = 1 } } ### German Doctrine ### shared_focus = { id = POTEF150 #icon = german_confederation icon = POTEF150 x = -1 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president OR = { GER = { has_idea = EU_member } BAY = { has_idea = EU_member } } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF150 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF150" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_german = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_armor_attack_factor = 0.10 tooltip = army_armor_attack_factor_tt } add_to_variable = { POTEF_army_armor_speed_factor = 0.15 tooltip = army_armor_speed_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_armor_attack_factor = 0.10 tooltip = army_armor_attack_factor_tt } add_to_variable = { POTEF_army_armor_speed_factor = 0.20 tooltip = army_armor_speed_factor_tt } add_to_variable = { POTEF_army_armor_defence_factor = 0.20 tooltip = army_armor_defence_factor_tt } } } } ai_will_do = { base = 1 } } ### Empire of Trade ### shared_focus = { id = POTEF151 icon = liberalization x = 0 y = 1 #icon = POTEF151 relative_position_id = POTEF150 cost = 10 prerequisite = { focus = POTEF150 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president OR = { GER = { has_idea = EU_member } BAY = { has_idea = EU_member } } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF151 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF151" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } if = { limit = { NOT = { POTEF_is_german = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_trade_opinion_factor = 0.05 tooltip = trade_opinion_factor_tt } add_to_variable = { POTEF_opinion_gain_monthly_factor = 0.10 tooltip = opinion_gain_monthly_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_trade_opinion_factor = 0.10 tooltip = trade_opinion_factor_tt } add_to_variable = { POTEF_opinion_gain_monthly_factor = 0.20 tooltip = opinion_gain_monthly_factor_tt } } } } ai_will_do = { base = 1 } } ### French Doctrine ### shared_focus = { id = POTEF200 #icon = francosphere icon = POTEF200 x = 1 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president FRA = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF200 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF200" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_french = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_mechanized_attack_factor = 0.05 tooltip = mechanized_attack_factor_tt } add_to_variable = { POTEF_mechanized_defence_factor = 0.05 tooltip = mechanized_defence_factor_tt } add_to_variable = { POTEF_motorized_attack_factor = 0.10 tooltip = motorized_attack_factor_tt } add_to_variable = { POTEF_motorized_defence_factor = 0.10 tooltip = motorized_defence_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_mechanized_attack_factor = 0.10 tooltip = mechanized_attack_factor_tt } add_to_variable = { POTEF_mechanized_defence_factor = 0.10 tooltip = mechanized_defence_factor_tt } add_to_variable = { POTEF_motorized_attack_factor = 0.15 tooltip = motorized_attack_factor_tt } add_to_variable = { POTEF_motorized_defence_factor = 0.15 tooltip = motorized_defence_factor_tt } } } } ai_will_do = { base = 1 } } ### Imperial Power ### shared_focus = { id = POTEF201 icon = political_pressure_blue x = 0 y = 1 #icon = POTEF201 relative_position_id = POTEF200 cost = 10 prerequisite = { focus = POTEF200 } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president FRA = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF201 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF201" if = { limit = { POTEF_is_french = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN set_temp_variable = { percent_change = -3 } set_temp_variable = { tag_index = CHI.id } change_influence_percentage = yes set_temp_variable = { tag_index = SOV.id } change_influence_percentage = yes set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes } } if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_war_support_factor = 0.05 tooltip = war_support_factor_tt } add_to_variable = { POTEF_command_power_gain = 0.5 tooltip = command_power_gain_tt } } } ai_will_do = { base = 1 } } ### Empire of Freedom ### shared_focus = { id = POTEF202 icon = democracy2 x = 0 y = 1 #icon = POTEF202 relative_position_id = POTEF201 cost = 10 prerequisite = { focus = POTEF201 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president FRA = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF202 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF202" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_intel_network_gain_factor = 0.05 tooltip = intel_network_gain_factor_tt } add_to_variable = { POTEF_send_volunteer_size = 2 tooltip = send_volunteer_size_tt } } } ai_will_do = { base = 1 } } ### America: Ally or Adversary ### shared_focus = { id = POTEF203 icon = american_military_agreement x = 0 y = 3 #icon = POTEF203 relative_position_id = POTEF202 cost = 10 prerequisite = { focus = POTEF202 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president custom_trigger_tooltip = { tooltip = tooltip_focus_POTEF203_trigger has_global_flag = EDU } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF203 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF203" set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = USA } change_influence_percentage = yes } ai_will_do = { base = 1 } } ### NATO Legacy ### shared_focus = { id = POTEF204 icon = nato2 x = 1 y = 1 #icon = POTEF204 relative_position_id = POTEF203 cost = 10 prerequisite = { focus = POTEF203 } mutually_exclusive = { focus = POTEF205 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF204 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF204" if = { limit = { POTEF_is_french = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = USA modifier = historic_friends } reverse_add_opinion_modifier = { target = USA modifier = historic_friends } add_ideas = EU_nato_legacy } } USA = { add_ideas = EDU_major_non_EU_ally } } ai_will_do = { base = 1 } } ### Trump's Legacy ### shared_focus = { id = POTEF205 icon = maga x = -1 y = 1 #icon = POTEF205 relative_position_id = POTEF203 cost = 10 prerequisite = { focus = POTEF203 } mutually_exclusive = { focus = POTEF204 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president date > 2017.1.20 USA = { OR = { custom_trigger_tooltip = { tooltip = tooltip_focus_POTEF205_trigger western_conservatism_are_in_power = yes } has_government = nationalist } } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF205 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF205" set_temp_variable = { percent_change = -5 } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = USA modifier = strategic_rivals } reverse_add_opinion_modifier = { target = USA modifier = strategic_rivals } set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes if = { limit = { POTEF_is_french = yes } change_influence_percentage = yes } } } ai_will_do = { base = 1 } } ### Break the Wall ### shared_focus = { id = POTEF206 icon = trump_agenda x = -1 y = 2 #icon = POTEF206 relative_position_id = POTEF205 cost = 10 prerequisite = { focus = POTEF205 } will_lead_to_war_with = USA search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president custom_trigger_tooltip = { tooltip = tooltip_focus_POTEF206_trigger any_of_scopes = { array = global.EU_member has_completed_focus = POTEF302 } } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF206 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF206" set_temp_variable = { percent_change = 10 } hidden_effect = { if = { limit = { POTEF_is_iberian = yes } set_temp_variable = { influence_target = MEX } change_influence_percentage = yes } } MEX = { add_ideas = EDU_major_non_EU_ally } set_temp_variable = { wargoal_on = USA } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = USA } effect_tooltip = { set_temp_variable = { influence_target = MEX } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Buster's Resurrection ### shared_focus = { id = POTEF207 icon = canada_infrastructure x = 1 y = 2 relative_position_id = POTEF205 cost = 10 prerequisite = { focus = POTEF205 } prerequisite = { focus = POTEF353 } will_lead_to_war_with = USA search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF207 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF207" hidden_effect = { if = { limit = { POTEF_is_british = yes } CAN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 757 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { air_base < 9 } prioritize = { 757 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_controlled_state = { limit = { radar_station < 5 } prioritize = { 757 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } set_temp_variable = { wargoal_on = USA } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = USA } effect_tooltip = { CAN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 757 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { air_base < 9 } prioritize = { 757 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_controlled_state = { limit = { radar_station < 5 } prioritize = { 757 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } ai_will_do = { base = 1 } } ### Benelux Doctrine ### shared_focus = { id = POTEF250 #icon = align_to_benelux icon = POTEF250 x = 3 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_benelux = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF250 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF250" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_air } } } add_dynamic_modifier = { modifier = POTEF_dynmod_air } } if = { limit = { NOT = { POTEF_is_benelux = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_recon_factor = 0.10 tooltip = recon_factor_tt } add_to_variable = { POTEF_river_crossing_factor = -0.10 tooltip = river_crossing_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_recon_factor = 0.15 tooltip = recon_factor_tt } add_to_variable = { POTEF_river_crossing_factor = -0.10 tooltip = river_crossing_factor_tt } add_to_variable = { POTEF_paradrop_organization_factor = 0.20 tooltip = paradrop_organization_factor_tt } add_to_variable = { POTEF_extra_paratrooper_supply_grace = 0.20 tooltip = extra_paratrooper_supply_grace_tt } } } } ai_will_do = { base = 1 } } ### Liberal Legacy ### shared_focus = { id = POTEF251 icon = internationalism x = 0 y = 1 relative_position_id = POTEF250 cost = 10 prerequisite = { focus = POTEF250 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_benelux = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF251 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF251" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt } } } ai_will_do = { base = 1 } } ### Safeguard the old Traderouts ### shared_focus = { id = POTEF252 icon = protectionist_economics x = 0 y = 1 #icon = POTEF252 relative_position_id = POTEF251 cost = 10 prerequisite = { focus = POTEF251 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_benelux = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF252 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF252" hidden_effect = { if = { limit = { POTEF_is_benelux = yes } if = { limit = { HOL = { has_idea = EU_member } } HOL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 49 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BEL = { has_idea = EU_member } } BEL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 50 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 24 25 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { FRA = { has_idea = EU_member } } FRA = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 66 70 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } if = { limit = { HOL = { has_idea = EU_member } } HOL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 49 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BEL = { has_idea = EU_member } } BEL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 50 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { radar_station < 5 } prioritize = { 24 25 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { FRA = { has_idea = EU_member } } FRA = { random_controlled_state = { limit = { radar_station < 5 } prioritize = { 66 70 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } effect_tooltip = { if = { limit = { HOL = { has_idea = EU_member } } HOL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 49 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BEL = { has_idea = EU_member } } BEL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 50 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 24 25 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { FRA = { has_idea = EU_member } } FRA = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 66 70 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Indonesia ### shared_focus = { id = POTEF253 icon = align_to_indonesia x = -1 y = 1 #icon = POTEF253 relative_position_id = POTEF252 cost = 10 prerequisite = { focus = POTEF252 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_benelux = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF253 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF253" hidden_effect = { if = { limit = { POTEF_is_benelux = yes } IND = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 622 623 629 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 631 634 635 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 640 639 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 636 637 638 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = IND relation = docking_rights active = yes } } effect_tooltip = { IND = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 622 623 629 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 631 634 635 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 640 639 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 636 637 638 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } ai_will_do = { base = 1 } } ### Iberian Doctrine ### shared_focus = { id = POTEF300 #icon = USoE624 icon = POTEF300 x = 5 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF300 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF300" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_navy } } } add_dynamic_modifier = { modifier = POTEF_dynmod_navy } } if = { limit = { POTEF_is_iberian = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_amphibious_invasion = 0.30 tooltip = amphibious_invasion_tt } add_to_variable = { POTEF_amphibious_invasion_defence = 0.20 tooltip = amphibious_invasion_defence_tt } add_to_variable = { POTEF_naval_invasion_penalty = -0.20 tooltip = naval_invasion_penalty_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_amphibious_invasion = 0.15 tooltip = amphibious_invasion_tt } add_to_variable = { POTEF_amphibious_invasion_defence = 0.15 tooltip = amphibious_invasion_defence_tt } add_to_variable = { POTEF_naval_invasion_penalty = -0.10 tooltip = naval_invasion_penalty_tt } } } } ai_will_do = { base = 1 } } ### Latin Cousins ### shared_focus = { id = POTEF301 icon = south_america x = 0 y = 1 #icon = POTEF301 relative_position_id = POTEF300 cost = 10 prerequisite = { focus = POTEF300 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF301 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF301" if = { limit = { POTEF_is_iberian = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = MEX modifier = latin_cousins } reverse_add_opinion_modifier = { target = MEX modifier = latin_cousins } add_opinion_modifier = { target = VEN modifier = latin_cousins } reverse_add_opinion_modifier = { target = VEN modifier = latin_cousins } add_opinion_modifier = { target = COL modifier = latin_cousins } reverse_add_opinion_modifier = { target = COL modifier = latin_cousins } add_opinion_modifier = { target = GUY modifier = latin_cousins } reverse_add_opinion_modifier = { target = GUY modifier = latin_cousins } add_opinion_modifier = { target = SUR modifier = latin_cousins } reverse_add_opinion_modifier = { target = SUR modifier = latin_cousins } add_opinion_modifier = { target = ECU modifier = latin_cousins } reverse_add_opinion_modifier = { target = ECU modifier = latin_cousins } add_opinion_modifier = { target = GUA modifier = latin_cousins } reverse_add_opinion_modifier = { target = GUA modifier = latin_cousins } add_opinion_modifier = { target = BLZ modifier = latin_cousins } reverse_add_opinion_modifier = { target = BLZ modifier = latin_cousins } add_opinion_modifier = { target = HON modifier = latin_cousins } reverse_add_opinion_modifier = { target = HON modifier = latin_cousins } add_opinion_modifier = { target = ELS modifier = latin_cousins } reverse_add_opinion_modifier = { target = ELS modifier = latin_cousins } add_opinion_modifier = { target = NIC modifier = latin_cousins } reverse_add_opinion_modifier = { target = NIC modifier = latin_cousins } add_opinion_modifier = { target = COS modifier = latin_cousins } reverse_add_opinion_modifier = { target = COS modifier = latin_cousins } add_opinion_modifier = { target = PAN modifier = latin_cousins } reverse_add_opinion_modifier = { target = PAN modifier = latin_cousins } add_opinion_modifier = { target = PRU modifier = latin_cousins } reverse_add_opinion_modifier = { target = PRU modifier = latin_cousins } add_opinion_modifier = { target = BOL modifier = latin_cousins } reverse_add_opinion_modifier = { target = BOL modifier = latin_cousins } add_opinion_modifier = { target = PAR modifier = latin_cousins } reverse_add_opinion_modifier = { target = PAR modifier = latin_cousins } add_opinion_modifier = { target = ARG modifier = latin_cousins } reverse_add_opinion_modifier = { target = ARG modifier = latin_cousins } add_opinion_modifier = { target = CHL modifier = latin_cousins } reverse_add_opinion_modifier = { target = CHL modifier = latin_cousins } add_opinion_modifier = { target = URG modifier = latin_cousins } reverse_add_opinion_modifier = { target = URG modifier = latin_cousins } add_opinion_modifier = { target = BRA modifier = latin_cousins } reverse_add_opinion_modifier = { target = BRA modifier = latin_cousins } } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } add_opinion_modifier = { target = MEX modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = MEX modifier = declaration_of_friendship } add_opinion_modifier = { target = VEN modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = VEN modifier = declaration_of_friendship } add_opinion_modifier = { target = COL modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = COL modifier = declaration_of_friendship } add_opinion_modifier = { target = GUY modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = GUY modifier = declaration_of_friendship } add_opinion_modifier = { target = SUR modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = SUR modifier = declaration_of_friendship } add_opinion_modifier = { target = ECU modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = ECU modifier = declaration_of_friendship } add_opinion_modifier = { target = GUA modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = GUA modifier = declaration_of_friendship } add_opinion_modifier = { target = BLZ modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = BLZ modifier = declaration_of_friendship } add_opinion_modifier = { target = HON modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = HON modifier = declaration_of_friendship } add_opinion_modifier = { target = ELS modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = ELS modifier = declaration_of_friendship } add_opinion_modifier = { target = NIC modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = NIC modifier = declaration_of_friendship } add_opinion_modifier = { target = COS modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = COS modifier = declaration_of_friendship } add_opinion_modifier = { target = PAN modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = PAN modifier = declaration_of_friendship } add_opinion_modifier = { target = PRU modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = PRU modifier = declaration_of_friendship } add_opinion_modifier = { target = BOL modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = BOL modifier = declaration_of_friendship } add_opinion_modifier = { target = PAR modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = PAR modifier = declaration_of_friendship } add_opinion_modifier = { target = ARG modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = ARG modifier = declaration_of_friendship } add_opinion_modifier = { target = CHL modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = CHL modifier = declaration_of_friendship } add_opinion_modifier = { target = URG modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = URG modifier = declaration_of_friendship } add_opinion_modifier = { target = BRA modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = BRA modifier = declaration_of_friendship } } } custom_effect_tooltip = focus_POTEF301_effect_tt } ai_will_do = { base = 1 } } ### Mexico ### shared_focus = { id = POTEF302 icon = align_to_mexico x = 1 y = 1 relative_position_id = POTEF301 cost = 10 prerequisite = { focus = POTEF301 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF302 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF302" hidden_effect = { if = { limit = { POTEF_is_iberian = yes } MEX = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 838 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 832 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 833 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 830 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = MEX relation = docking_rights active = yes } diplomatic_relation = { country = MEX relation = military_access active = yes } } effect_tooltip = { MEX = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 838 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 832 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 833 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 830 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } ai_will_do = { base = 1 } } ### Greater Colombia ### shared_focus = { id = POTEF303 icon = align_to_colombia x = -1 y = 2 #icon = POTEF303 relative_position_id = POTEF301 cost = 10 prerequisite = { focus = POTEF301 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF303 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF303" hidden_effect = { if = { limit = { POTEF_is_iberian = yes } COL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 871 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 870 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes set_temp_variable = { influence_target = GUY } change_influence_percentage = yes set_temp_variable = { influence_target = SUR } change_influence_percentage = yes set_temp_variable = { influence_target = ECU } change_influence_percentage = yes } } #basic effect for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = COL relation = docking_rights active = yes } diplomatic_relation = { country = COL relation = military_access active = yes } } set_temp_variable = { percent_change = 3 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes set_temp_variable = { influence_target = GUY } change_influence_percentage = yes set_temp_variable = { influence_target = SUR } change_influence_percentage = yes set_temp_variable = { influence_target = ECU } change_influence_percentage = yes effect_tooltip = { COL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 871 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 870 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes set_temp_variable = { influence_target = GUY } change_influence_percentage = yes set_temp_variable = { influence_target = SUR } change_influence_percentage = yes set_temp_variable = { influence_target = ECU } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Central America ### shared_focus = { id = POTEF304 icon = redeem_aztlan x = 1 y = 2 relative_position_id = POTEF301 cost = 10 prerequisite = { focus = POTEF301 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF304 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF304" hidden_effect = { if = { limit = { POTEF_is_iberian = yes } PAN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 853 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = GUA } change_influence_percentage = yes set_temp_variable = { influence_target = BLZ } change_influence_percentage = yes set_temp_variable = { influence_target = HON } change_influence_percentage = yes set_temp_variable = { influence_target = ELS } change_influence_percentage = yes set_temp_variable = { influence_target = NIC } change_influence_percentage = yes set_temp_variable = { influence_target = COS } change_influence_percentage = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = PAN relation = docking_rights active = yes } diplomatic_relation = { country = PAN relation = military_access active = yes } } set_temp_variable = { percent_change = 3 } set_temp_variable = { influence_target = GUA } change_influence_percentage = yes set_temp_variable = { influence_target = BLZ } change_influence_percentage = yes set_temp_variable = { influence_target = HON } change_influence_percentage = yes set_temp_variable = { influence_target = ELS } change_influence_percentage = yes set_temp_variable = { influence_target = NIC } change_influence_percentage = yes set_temp_variable = { influence_target = COS } change_influence_percentage = yes effect_tooltip = { PAN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 853 } add_building_construction = { type = naval_base level = 4 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = GUA } change_influence_percentage = yes set_temp_variable = { influence_target = BLZ } change_influence_percentage = yes set_temp_variable = { influence_target = HON } change_influence_percentage = yes set_temp_variable = { influence_target = ELS } change_influence_percentage = yes set_temp_variable = { influence_target = NIC } change_influence_percentage = yes set_temp_variable = { influence_target = COS } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Southern Cone ### shared_focus = { id = POTEF305 icon = befriend_south_america x = -1 y = 3 #icon = POTEF305 relative_position_id = POTEF301 cost = 10 prerequisite = { focus = POTEF301 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF305 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF305" hidden_effect = { if = { limit = { POTEF_is_iberian = yes } URG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 893 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } ARG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 457 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } CHL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 950 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = PRU } change_influence_percentage = yes set_temp_variable = { influence_target = BOL } change_influence_percentage = yes set_temp_variable = { influence_target = PAR } change_influence_percentage = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = URG relation = docking_rights active = yes } diplomatic_relation = { country = ARG relation = docking_rights active = yes } diplomatic_relation = { country = CHL relation = docking_rights active = yes } } set_temp_variable = { percent_change = 3 } set_temp_variable = { influence_target = PRU } change_influence_percentage = yes set_temp_variable = { influence_target = BOL } change_influence_percentage = yes set_temp_variable = { influence_target = PAR } change_influence_percentage = yes effect_tooltip = { URG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 893 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } ARG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 457 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } CHL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 950 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = PRU } change_influence_percentage = yes set_temp_variable = { influence_target = BOL } change_influence_percentage = yes set_temp_variable = { influence_target = PAR } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Brazil ### shared_focus = { id = POTEF306 icon = align_to_brazil x = 1 y = 3 #icon = POTEF306 relative_position_id = POTEF301 cost = 10 prerequisite = { focus = POTEF301 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_iberian = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF306 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF306" hidden_effect = { if = { limit = { POTEF_is_iberian = yes } BRA = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 891 } add_building_construction = { type = naval_base level = 4 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 888 } add_building_construction = { type = naval_base level = 4 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = BRA relation = docking_rights active = yes } diplomatic_relation = { country = BRA relation = military_access active = yes } } effect_tooltip = { BRA = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 891 } add_building_construction = { type = naval_base level = 4 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 888 } add_building_construction = { type = naval_base level = 4 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } ai_will_do = { base = 1 } } ### British Doctrine ### shared_focus = { id = POTEF350 icon = POTEF350 x = 7 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF350 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF350" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_navy } } } add_dynamic_modifier = { modifier = POTEF_dynmod_navy } } if = { limit = { NOT = { POTEF_is_british = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_experience_gain_navy = 0.05 tooltip = experience_gain_navy_tt } add_to_variable = { POTEF_experience_gain_navy_factor = 0.10 tooltip = experience_gain_navy_factor_tt } add_to_variable = { POTEF_navy_org_factor = 0.10 tooltip = navy_org_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_experience_gain_navy = 0.10 tooltip = experience_gain_navy_tt } add_to_variable = { POTEF_experience_gain_navy_factor = 0.25 tooltip = experience_gain_navy_factor_tt } add_to_variable = { POTEF_navy_org_factor = 0.15 tooltip = navy_org_factor_tt } } } } ai_will_do = { base = 1 } } ### Safeguard the North Atlantic ### shared_focus = { id = POTEF351 icon = british_global_defense x = 3 y = 3 #icon = POTEF351 relative_position_id = POTEF350 cost = 10 prerequisite = { focus = POTEF356 } prerequisite = { focus = POTEF401 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF351 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF351" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect if = { limit = { WAS = { exists = yes has_idea = EU_member } } WAS = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } if = { limit = { IRE = { has_idea = EU_member } } IRE = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 27 } add_building_construction = { type = air_base level = 4 instant_build = yes } } } } } #basic effect if = { limit = { WAS = { exists = yes has_idea = EU_member } } WAS = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { IRE = { has_idea = EU_member } } IRE = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 27 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { WAS = { exists = yes has_idea = EU_member } } WAS = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 16 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { IRE = { has_idea = EU_member } } IRE = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 27 } add_building_construction = { type = air_base level = 4 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Commonwealth Legacy ### shared_focus = { id = POTEF352 icon = united_anglosphere x = 1 y = 2 #icon = POTEF352 relative_position_id = POTEF351 cost = 10 prerequisite = { focus = POTEF358 focus = POTEF359 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF352 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF352" set_temp_variable = { percent_change = 5 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = CAN } change_influence_percentage = yes set_temp_variable = { influence_target = AST } change_influence_percentage = yes set_temp_variable = { influence_target = NZL } change_influence_percentage = yes } } #basic effect for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = CAN modifier = commonwealth_legacy } reverse_add_opinion_modifier = { target = CAN modifier = commonwealth_legacy } add_opinion_modifier = { target = AST modifier = commonwealth_legacy } reverse_add_opinion_modifier = { target = AST modifier = commonwealth_legacy } add_opinion_modifier = { target = NZL modifier = commonwealth_legacy } reverse_add_opinion_modifier = { target = NZL modifier = commonwealth_legacy } } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = CAN } change_influence_percentage = yes set_temp_variable = { influence_target = AST } change_influence_percentage = yes set_temp_variable = { influence_target = NZL } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Canada ### shared_focus = { id = POTEF353 icon = align_to_canada x = -1 y = 1 #icon = POTEF353 relative_position_id = POTEF352 cost = 10 prerequisite = { focus = POTEF352 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF353 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF353" set_temp_variable = { percent_change = 10 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = CAN } change_influence_percentage = yes } } #basic effect CAN = { add_ideas = EDU_major_non_EU_ally } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = CAN } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Australia ### shared_focus = { id = POTEF354 icon = align_to_australia x = 1 y = 2 #icon = POTEF354 relative_position_id = POTEF352 cost = 10 prerequisite = { focus = POTEF352 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF354 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF354" set_temp_variable = { percent_change = 10 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = AST } change_influence_percentage = yes } } #basic effect AST = { add_ideas = EDU_major_non_EU_ally } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = AST } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### New Zealand ### shared_focus = { id = POTEF355 icon = align_to_new_zealand x = -1 y = 2 #icon = POTEF355 relative_position_id = POTEF352 cost = 10 prerequisite = { focus = POTEF352 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF355 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF355" set_temp_variable = { percent_change = 10 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = NZL } change_influence_percentage = yes } } #basic effect NZL = { add_ideas = EDU_major_non_EU_ally } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = NZL } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Safeguard the North Sea ### shared_focus = { id = POTEF356 icon = british_global_defense x = 1 y = 2 #icon = POTEF356 relative_position_id = POTEF350 cost = 10 prerequisite = { focus = POTEF350 focus = POTEF401 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF356 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF356" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 10 14 13 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } if = { limit = { SCO = { exists = yes has_idea = EU_member } } SCO = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } #basic effect if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 10 14 13 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { SCO = { exists = yes has_idea = EU_member } } SCO = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 10 14 13 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { SCO = { exists = yes has_idea = EU_member } } SCO = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } else_if = { limit = { ENG = { has_idea = EU_member } } ENG = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 8 437 9 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } } ai_will_do = { base = 1 } } ### Malaya Legacy ### shared_focus = { id = POTEF357 icon = align_to_malaysia x = 1 y = 3 #icon = POTEF357 relative_position_id = POTEF350 cost = 10 prerequisite = { focus = POTEF356 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF357 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF357" #POTEF bonus for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = MAY relation = docking_rights active = yes } if = { limit = { POTEF_is_british = yes } diplomatic_relation = { country = MAY relation = military_access active = yes } } } } ai_will_do = { base = 1 } } ### Malaysia ### shared_focus = { id = POTEF358 icon = align_to_malaysia x = 0 y = 1 #icon = POTEF358 relative_position_id = POTEF357 cost = 10 prerequisite = { focus = POTEF357 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF358 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF358" set_temp_variable = { percent_change = 10 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = MAY } change_influence_percentage = yes } } #basic effect MAY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 529 528 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 525 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = MAY } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Singapore ### shared_focus = { id = POTEF359 icon = SIN_total_defense x = 2 y = 1 #icon = POTEF359 relative_position_id = POTEF357 cost = 10 prerequisite = { focus = POTEF357 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF359 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF359" set_temp_variable = { percent_change = 10 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { influence_target = SIN } change_influence_percentage = yes } } #basic effect for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = SIN relation = docking_rights active = yes } diplomatic_relation = { country = SIN relation = military_access active = yes } } effect_tooltip = { #mockup bonus effect for tooltip set_temp_variable = { influence_target = SIN } change_influence_percentage = yes } } ai_will_do = { base = 1 } } ### Guarantee Hong Kong ### shared_focus = { id = POTEF360 icon = hong_kong x = 0 y = 5 #icon = POTEF360 relative_position_id = POTEF350 cost = 10 prerequisite = { focus = POTEF350 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_british = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF360 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF360" #POTEF bonus if = { limit = { POTEF_is_british = yes } #bonus effect set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = CHI.id } set_temp_variable = { influence_target = HKG } change_influence_percentage = yes for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = HKG modifier = historical_friends_HKG } reverse_add_opinion_modifier = { target = HKG modifier = historical_friends_HKG } } } #basic effect set_temp_variable = { percent_change = -3 } set_temp_variable = { tag_index = CHI.id } set_temp_variable = { influence_target = HKG } change_influence_percentage = yes for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } give_guarantee = HKG add_opinion_modifier = { target = HKG modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = HKG modifier = declaration_of_friendship } add_opinion_modifier = { target = CHI modifier = breach_of_Sino_British_Joint_Declaration } reverse_add_opinion_modifier = { target = CHI modifier = breach_of_Sino_British_Joint_Declaration } } } } ai_will_do = { base = 1 } } ### Nordic Doctrine ### shared_focus = { id = POTEF400 #icon = align_to_norway icon = POTEF400 x = 9 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_nordic = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF400 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF400" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_nordic = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_winter_attrition_factor = -0.25 tooltip = winter_attrition_factor_tt } add_to_variable = { POTEF_acclimatization_cold_climate_gain_factor = 0.10 tooltip = acclimatization_cold_climate_gain_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_experience_gain_navy = -0.50 tooltip = experience_gain_navy_tt } add_to_variable = { POTEF_experience_gain_navy_factor = 0.25 tooltip = experience_gain_navy_factor_tt } } } } ai_will_do = { base = 1 } } ### Safeguard the Arctic ### shared_focus = { id = POTEF401 icon = demand_territory3 x = 0 y = 1 #icon = POTEF401 relative_position_id = POTEF400 cost = 10 prerequisite = { focus = POTEF400 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_nordic = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF401 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF401" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_nordic = yes } #bonus effect if = { limit = { DEN = { has_idea = EU_member } } DEN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 2 1 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { NRY = { has_idea = EU_member } } NRY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 31 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ICE = { has_idea = EU_member } } ICE = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { GRN = { has_idea = EU_member } } GRN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { SWE = { has_idea = EU_member } } SWE = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 442 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { FIN = { has_idea = EU_member } } FIN = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 100 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } } } #basic effect if = { limit = { DEN = { has_idea = EU_member } } DEN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 2 1 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { NRY = { has_idea = EU_member } } NRY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 31 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ICE = { has_idea = EU_member } } ICE = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { GRN = { has_idea = EU_member } } GRN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { SWE = { has_idea = EU_member } } SWE = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 442 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { FIN = { has_idea = EU_member } } FIN = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 100 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { DEN = { has_idea = EU_member } } DEN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 2 1 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { NRY = { has_idea = EU_member } } NRY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 31 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ICE = { has_idea = EU_member } } ICE = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { GRN = { has_idea = EU_member } } GRN = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 7 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { SWE = { has_idea = EU_member } } SWE = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 442 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { FIN = { has_idea = EU_member } } FIN = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 100 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Mediterranean Doctrine ### shared_focus = { id = POTEF450 #icon = europe icon = POTEF450 x = 11 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_mediterranean = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF450 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF450" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_navy } } } add_dynamic_modifier = { modifier = POTEF_dynmod_navy } } if = { limit = { NOT = { POTEF_is_mediterranean = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_naval_invasion_prep_speed = 0.15 tooltip = naval_invasion_prep_speed_tt } add_to_variable = { POTEF_naval_invasion_capacity = 2 tooltip = naval_invasion_capacity_tt } add_to_variable = { POTEF_invasion_preparation = -0.10 tooltip = invasion_preparation_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_naval_invasion_prep_speed = 0.30 tooltip = naval_invasion_prep_speed_tt } add_to_variable = { POTEF_naval_invasion_capacity = 3 tooltip = naval_invasion_capacity_tt } add_to_variable = { POTEF_invasion_preparation = -0.20 tooltip = invasion_preparation_tt } } } } ai_will_do = { base = 1 } } ### Northern Africa ### shared_focus = { id = POTEF451 #icon = africa2 icon = POTEF451 x = 0 y = 1 relative_position_id = POTEF450 cost = 10 prerequisite = { focus = POTEF450 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_mediterranean = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF451 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF451" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_mediterranean = yes } #bonus effect MOR = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 374 377 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } EGY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 214 216 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } ALG = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 387 386 385 384 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } TUN = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 388 389 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } LBA = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 391 919 395 396 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } SUD = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 221 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } #basic effect LBA = { annex_country = { target = GNA transfer_troops = no } annex_country = { target = GNC transfer_troops = no } annex_country = { target = HOR transfer_troops = no } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN diplomatic_relation = { country = MOR relation = docking_rights active = yes } diplomatic_relation = { country = EGY relation = docking_rights active = yes } diplomatic_relation = { country = ALG relation = military_access active = yes } diplomatic_relation = { country = TUN relation = military_access active = yes } diplomatic_relation = { country = LBA relation = military_access active = yes } diplomatic_relation = { country = SUD relation = military_access active = yes } } effect_tooltip = { #mockup bonus effect for tooltip MOR = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 374 377 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } EGY = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 214 216 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } ALG = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 387 386 385 384 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } TUN = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 388 389 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } LBA = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 391 919 395 396 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } SUD = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 221 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } ai_will_do = { base = 1 } } ### Unite Cyprus ### shared_focus = { id = POTEF452 icon = align_to_cyprus x = 1 y = 2 #icon = POTEF452 relative_position_id = POTEF450 cost = 10 prerequisite = { focus = POTEF450 } search_filters = { FOCUS_FILTER_ANNEXATION } available = { has_idea = EU_president EU_member_is_mediterranean = yes CYP = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF452 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF452" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_mediterranean = yes } #bonus effect if = { limit = { CYP = { has_idea = EU_member } } CYP = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 145 146 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { air_base < 9 } prioritize = { 812 145 146 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_controlled_state = { limit = { radar_station < 5 } prioritize = { 812 145 146 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } #basic effect if = { limit = { CYP = { has_idea = EU_member } } CYP = { annex_country = { target = NCY transfer_troops = no } transfer_state = 812 } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { CYP = { has_idea = EU_member } } CYP = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 145 146 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } random_controlled_state = { limit = { air_base < 9 } prioritize = { 812 145 146 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_controlled_state = { limit = { radar_station < 5 } prioritize = { 812 145 146 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Balkan Doctrine ### shared_focus = { id = POTEF500 #icon = align_to_serbia icon = POTEF500 x = 13 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_balkan = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF500 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF500" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } if = { limit = { NOT = { POTEF_is_balkan = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_boost_resistance_factor = 0.15 tooltip = boost_resistance_factor_tt } add_to_variable = { POTEF_root_out_resistance_effectiveness_factor = 0.15 tooltip = root_out_resistance_effectiveness_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_boost_resistance_factor = 0.15 tooltip = boost_resistance_factor_tt } add_to_variable = { POTEF_root_out_resistance_effectiveness_factor = 0.15 tooltip = root_out_resistance_effectiveness_factor_tt } add_to_variable = { POTEF_resistance_damage_to_garrison = -0.15 tooltip = resistance_damage_to_garrison_tt } add_to_variable = { POTEF_resistance_target = -0.30 tooltip = resistance_target_tt } } } } ai_will_do = { base = 1 } } ### Balkan Infrastructure ### shared_focus = { id = POTEF501 icon = align_to_serbia x = 0 y = 1 #icon = POTEF501 relative_position_id = POTEF500 cost = 10 prerequisite = { focus = POTEF500 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president EU_member_is_balkan = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF501 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF501" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_balkan = yes } #bonus effect if = { limit = { SLV = { has_idea = EU_member } } SLV = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 124 125 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { CRO = { has_idea = EU_member } } CRO = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 126 127 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { BOS = { has_idea = EU_member } } BOS = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 128 129 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { MNT = { has_idea = EU_member } } MNT = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 134 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { SER = { has_idea = EU_member } } SER = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 130 131 132 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { KOS = { has_idea = EU_member } } KOS = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 133 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { ALB = { has_idea = EU_member } } ALB = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 137 138 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { FYR = { has_idea = EU_member } } FYR = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 135 136 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } } #basic effect if = { limit = { SLV = { has_idea = EU_member } } SLV = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 124 125 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { CRO = { has_idea = EU_member } } CRO = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 126 127 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { BOS = { has_idea = EU_member } } BOS = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 128 129 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { MNT = { has_idea = EU_member } } MNT = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 134 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { SER = { has_idea = EU_member } } SER = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 130 131 132 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { KOS = { has_idea = EU_member } } KOS = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 133 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { ALB = { has_idea = EU_member } } ALB = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 137 138 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { FYR = { has_idea = EU_member } } FYR = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 135 136 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { SLV = { has_idea = EU_member } } SLV = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 124 125 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { CRO = { has_idea = EU_member } } CRO = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 126 127 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { BOS = { has_idea = EU_member } } BOS = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 128 129 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { MNT = { has_idea = EU_member } } MNT = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 134 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { SER = { has_idea = EU_member } } SER = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 130 131 132 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { KOS = { has_idea = EU_member } } KOS = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 133 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { ALB = { has_idea = EU_member } } ALB = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 137 138 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { FYR = { has_idea = EU_member } } FYR = { random_controlled_state = { limit = { infrastructure < 3 } prioritize = { 135 136 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Contest the Silk Road ### shared_focus = { id = POTEF502 icon = enemy_of_china x = 1 y = 3 #icon = POTEF502 relative_position_id = POTEF501 cost = 10 prerequisite = { focus = POTEF451 } prerequisite = { focus = POTEF501 } prerequisite = { focus = POTEF551 } prerequisite = { focus = POTEF601 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_balkan = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF502 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF502" #POTEF bonus if = { limit = { POTEF_is_balkan = yes } #bonus effect for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = KAZ modifier = contest_silk_road } reverse_add_opinion_modifier = { target = KAZ modifier = contest_silk_road } add_opinion_modifier = { target = KYR modifier = contest_silk_road } reverse_add_opinion_modifier = { target = KYR modifier = contest_silk_road } add_opinion_modifier = { target = TAJ modifier = contest_silk_road } reverse_add_opinion_modifier = { target = TAJ modifier = contest_silk_road } add_opinion_modifier = { target = UZB modifier = contest_silk_road } reverse_add_opinion_modifier = { target = UZB modifier = contest_silk_road } add_opinion_modifier = { target = TRK modifier = contest_silk_road } reverse_add_opinion_modifier = { target = TRK modifier = contest_silk_road } add_opinion_modifier = { target = PER modifier = contest_silk_road } reverse_add_opinion_modifier = { target = PER modifier = contest_silk_road } } } set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = CHI.id } set_temp_variable = { influence_target = KAZ } change_influence_percentage = yes set_temp_variable = { influence_target = KYR } change_influence_percentage = yes set_temp_variable = { influence_target = TAJ } change_influence_percentage = yes set_temp_variable = { influence_target = UZB } change_influence_percentage = yes set_temp_variable = { influence_target = TRK } change_influence_percentage = yes set_temp_variable = { influence_target = PER } change_influence_percentage = yes set_temp_variable = { influence_target = TUR } change_influence_percentage = yes set_temp_variable = { influence_target = GRE } change_influence_percentage = yes custom_effect_tooltip = focus_POTEF502_effect_tt } ai_will_do = { base = 1 } } ### Competitor China ### shared_focus = { id = POTEF503 icon = one_china_policy x = 1 y = 3 #icon = POTEF503 relative_position_id = POTEF360 cost = 10 prerequisite = { focus = POTEF502 focus = POTEF360 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF503 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF503" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = CHI.id } change_influence_percentage = yes } } } ai_will_do = { base = 1 } } ### Operation Arrow ### shared_focus = { id = POTEF504 icon = war_in_asia x = -1 y = 1 #icon = POTEF504 relative_position_id = POTEF503 cost = 10 prerequisite = { focus = POTEF503 } will_lead_to_war_with = CHI search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF504 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF504" set_temp_variable = { wargoal_on = CHI } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = CHI } } ai_will_do = { base = 1 } } ### Asian Allies ### shared_focus = { id = POTEF505 icon = korean_peninsula x = 1 y = 1 #icon = POTEF505 relative_position_id = POTEF503 cost = 10 prerequisite = { focus = POTEF503 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF505 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF505" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } add_opinion_modifier = { target = JAP modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = JAP modifier = declaration_of_friendship } add_opinion_modifier = { target = KOR modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = KOR modifier = declaration_of_friendship } } } } ai_will_do = { base = 1 } } ### Republic of Korea ### shared_focus = { id = POTEF506 icon = align_to_south_korea x = -1 y = 1 #icon = POTEF506 relative_position_id = POTEF505 cost = 10 prerequisite = { focus = POTEF505 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF506 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF506" KOR = { add_ideas = EDU_major_non_EU_ally } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = KOR.id } change_influence_percentage = yes } } } ai_will_do = { base = 1 } } ### Japan ### shared_focus = { id = POTEF507 icon = align_to_japan x = 1 y = 1 #icon = POTEF507 relative_position_id = POTEF505 cost = 10 prerequisite = { focus = POTEF505 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF507 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF507" JAP = { add_ideas = EDU_major_non_EU_ally } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = JAP.id } change_influence_percentage = yes } } } ai_will_do = { base = 1 } } ### Black Sea Doctrine ### shared_focus = { id = POTEF550 #icon = align_to_ukraine icon = POTEF550 x = 15 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_black_sea = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF550 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF550" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_air } } } add_dynamic_modifier = { modifier = POTEF_dynmod_air } } if = { limit = { NOT = { POTEF_is_black_sea = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_air_attack_factor = 0.15 tooltip = air_attack_factor_tt } add_to_variable = { POTEF_cas_damage_reduction = 0.15 tooltip = cas_damage_reduction_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_air_attack_factor = 0.20 tooltip = air_attack_factor_tt } add_to_variable = { POTEF_cas_damage_reduction = 0.30 tooltip = cas_damage_reduction_tt } } } } ai_will_do = { base = 1 } } ### Safeguard the Black Sea ### shared_focus = { id = POTEF551 icon = revive_the_black_sea_fleet x = 0 y = 1 #icon = POTEF551 relative_position_id = POTEF550 cost = 10 prerequisite = { focus = POTEF550 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_black_sea = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF551 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF551" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_black_sea = yes } #bonus effect if = { limit = { UKR = { has_idea = EU_member } } UKR = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 694 695 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ROM = { has_idea = EU_member } } ROM = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 284 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BUL = { has_idea = EU_member } } BUL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 154 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { MLV = { has_idea = EU_member } } MLV = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 148 147 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { TUR = { has_idea = EU_member } } TUR = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 163 160 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } } } #basic effect if = { limit = { UKR = { has_idea = EU_member } } UKR = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 694 695 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ROM = { has_idea = EU_member } } ROM = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 284 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BUL = { has_idea = EU_member } } BUL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 154 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { MLV = { has_idea = EU_member } } MLV = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 148 147 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { TUR = { has_idea = EU_member } } TUR = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 163 160 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { UKR = { has_idea = EU_member } } UKR = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 694 695 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ROM = { has_idea = EU_member } } ROM = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 284 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { BUL = { has_idea = EU_member } } BUL = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 154 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { MLV = { has_idea = EU_member } } MLV = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 148 147 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { TUR = { has_idea = EU_member } } TUR = { random_controlled_state = { limit = { air_base < 7 } prioritize = { 163 160 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Reintegrate the Breakaway Republics ### shared_focus = { id = POTEF552 icon = align_to_abkhazia x = 1 y = 1 #icon = POTEF552 relative_position_id = POTEF551 cost = 10 prerequisite = { focus = POTEF551 } prerequisite = { focus = POTEF601 } search_filters = { FOCUS_FILTER_ANNEXATION } available = { has_idea = EU_president EU_member_is_black_sea = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF552 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF552" #POTEF bonus if = { limit = { POTEF_is_black_sea = yes } #bonus effect for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = SOV modifier = CSCE_peace_talks } reverse_add_opinion_modifier = { target = SOV modifier = CSCE_peace_talks } } } #basic effect if = { limit = { MLV = { has_idea = EU_member } } MLV = { annex_country = { target = PMR transfer_troops = no } } } if = { limit = { UKR = { has_idea = EU_member } } UKR = { annex_country = { target = NOV transfer_troops = no } } } if = { limit = { GEO = { has_idea = EU_member } } GEO = { annex_country = { target = ABK transfer_troops = no } annex_country = { target = SOO transfer_troops = no } } } if = { limit = { ARM = { has_idea = EU_member AZE = { NOT = { has_idea = EU_member } } } } ARM = { annex_country = { target = NKR transfer_troops = no } } } if = { limit = { AZE = { has_idea = EU_member ARM = { NOT = { has_idea = EU_member } } } } AZE = { annex_country = { target = NKR transfer_troops = no } } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } reverse_add_opinion_modifier = { target = SOV modifier = EU_annexed_SOV_minion } } } } ai_will_do = { base = 1 } } ### Rival Russia ### shared_focus = { id = POTEF553 icon = attack_russia x = 3 y = 1 #icon = POTEF553 relative_position_id = POTEF552 cost = 10 prerequisite = { focus = POTEF552 focus = POTEF652 } mutually_exclusive = { focus = POTEF753 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF553 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF553" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } SOV = { if = { limit = { has_dlc = "By Blood Alone" } send_embargo = PREV } add_opinion_modifier = { target = PREV modifier = embargo } reverse_add_opinion_modifier = { target = PREV modifier = embargo } add_opinion_modifier = { target = PREV modifier = embargo_opinion } reverse_add_opinion_modifier = { target = PREV modifier = embargo_opinion } } } } } ai_will_do = { base = 1 } } ### Operation Charlemagne ### shared_focus = { id = POTEF554 icon = war_against_russia x = 0 y = 1 #icon = POTEF554 relative_position_id = POTEF553 cost = 10 prerequisite = { focus = POTEF553 } will_lead_to_war_with = SOV search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_TFV_AUTONOMY } available = { has_idea = EU_president custom_trigger_tooltip = { tooltip = tooltip_focus_POTEF203_trigger has_global_flag = EDU } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF554 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF554" set_temp_variable = { wargoal_on = SOV } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = SOV } } ai_will_do = { base = 1 } } ### Caucasus Doctrine ### shared_focus = { id = POTEF600 #icon = align_to_georgia icon = POTEF600 x = 17 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_caucasus = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF600 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF600" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_adm } } } add_dynamic_modifier = { modifier = POTEF_dynmod_adm } } if = { limit = { NOT = { POTEF_is_caucasus = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_max_dig_in_factor = 0.15 tooltip = max_dig_in_factor_tt } add_to_variable = { POTEF_dig_in_speed_factor = 0.15 tooltip = dig_in_speed_factor_tt } add_to_variable = { POTEF_defence = 0.10 tooltip = defence_tt } add_to_variable = { POTEF_production_speed_bunker_factor = 0.10 tooltip = production_speed_bunker_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_max_dig_in_factor = 0.30 tooltip = max_dig_in_factor_tt } add_to_variable = { POTEF_dig_in_speed_factor = 0.30 tooltip = dig_in_speed_factor_tt } add_to_variable = { POTEF_defence = 0.20 tooltip = defence_tt } add_to_variable = { POTEF_production_speed_bunker_factor = 0.20 tooltip = production_speed_bunker_factor_tt } } } } ai_will_do = { base = 1 } } ### European Access ### shared_focus = { id = POTEF601 icon = europe_ship x = 0 y = 1 #icon = POTEF601 relative_position_id = POTEF600 cost = 10 prerequisite = { focus = POTEF600 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_caucasus = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF601 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF601" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_caucasus = yes } #bonus effect if = { limit = { GEO = { has_idea = EU_member } } GEO = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 708 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { ARM = { has_idea = EU_member } } ARM = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 709 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { AZE = { has_idea = EU_member } } AZE = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 712 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } } #basic effect if = { limit = { GEO = { has_idea = EU_member } } GEO = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 466 707 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { ARM = { has_idea = EU_member } } ARM = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 709 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } if = { limit = { AZE = { has_idea = EU_member } } AZE = { random_controlled_state = { limit = { air_base < 9 } prioritize = { 713 712 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { GEO = { has_idea = EU_member } } GEO = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 708 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { ARM = { has_idea = EU_member } } ARM = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 709 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } if = { limit = { AZE = { has_idea = EU_member } } AZE = { random_controlled_state = { limit = { infrastructure < 4 } prioritize = { 712 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Visegrad Doctrine ### shared_focus = { id = POTEF650 #icon = align_to_czechia icon = POTEF650 x = 19 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_visegrad = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF650 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF650" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_visegrad = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_artillery_attack_factor = 0.15 tooltip = army_artillery_attack_factor_tt } add_to_variable = { POTEF_army_artillery_defence_factor = 0.15 tooltip = army_artillery_defence_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_artillery_attack_factor = 0.30 tooltip = army_artillery_attack_factor_tt } add_to_variable = { POTEF_army_artillery_defence_factor = 0.20 tooltip = army_artillery_defence_factor_tt } } } } ai_will_do = { base = 1 } } ### European Air Defense Network ### shared_focus = { id = POTEF651 icon = air_defense x = 0 y = 1 #icon = POTEF651 relative_position_id = POTEF650 cost = 10 prerequisite = { focus = POTEF650 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_visegrad = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF651 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF651" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_visegrad = yes } #bonus effect if = { limit = { POL = { has_idea = EU_member } } POL = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 116 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { SLO = { has_idea = EU_member } } SLO = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 120 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { HUN = { has_idea = EU_member } } HUN = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 122 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { BLR = { has_idea = EU_member } } BLR = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 703 704 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { CZE = { has_idea = EU_member } } CZE = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { SIL = { has_idea = EU_member } } SIL = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } #basic effect if = { limit = { POL = { has_idea = EU_member } } POL = { random_controlled_state = { limit = { anti_air_building < 5 } prioritize = { 116 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { SLO = { has_idea = EU_member } } SLO = { random_controlled_state = { limit = { anti_air_building < 5 } prioritize = { 120 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { HUN = { has_idea = EU_member } } HUN = { random_controlled_state = { limit = { anti_air_building < 5 } prioritize = { 122 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { BLR = { has_idea = EU_member } } BLR = { random_controlled_state = { limit = { anti_air_building < 5 } prioritize = { 703 704 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { CZE = { has_idea = EU_member } } CZE = { random_controlled_state = { limit = { radar_station < 5 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { SIL = { has_idea = EU_member } } SIL = { random_controlled_state = { limit = { radar_station < 5 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { POL = { has_idea = EU_member } } POL = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 116 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { SLO = { has_idea = EU_member } } SLO = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 120 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { HUN = { has_idea = EU_member } } HUN = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 122 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { BLR = { has_idea = EU_member } } BLR = { random_controlled_state = { limit = { anti_air_building < 3 } prioritize = { 703 704 } add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } } } if = { limit = { CZE = { has_idea = EU_member } } CZE = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } if = { limit = { SIL = { has_idea = EU_member } } SIL = { random_controlled_state = { limit = { radar_station < 3 } prioritize = { 118 } add_building_construction = { type = radar_station level = 2 instant_build = yes } } } } } } ai_will_do = { base = 1 } } ### Eastern Firewall ### shared_focus = { id = POTEF652 icon = eastern_european_defense x = 1 y = 1 #icon = POTEF652 relative_position_id = POTEF651 cost = 10 prerequisite = { focus = POTEF651 } prerequisite = { focus = POTEF701 } mutually_exclusive = { focus = POTEF752 } search_filters = { FOCUS_FILTER_INFLUENCE } available = { has_idea = EU_president EU_member_is_visegrad = yes NOT = { SOV = { has_idea = EU_member } } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF652 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF652" set_temp_variable = { percent_change = -5 } hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_visegrad = yes } #bonus effect if = { limit = { EST = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = EST } change_influence_percentage = yes } if = { limit = { LAT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LAT } change_influence_percentage = yes } if = { limit = { LIT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LIT } change_influence_percentage = yes } if = { limit = { POL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = POL } change_influence_percentage = yes } if = { limit = { SLO = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SLO } change_influence_percentage = yes } if = { limit = { CZE = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = CZE } change_influence_percentage = yes } if = { limit = { HUN = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = HUN } change_influence_percentage = yes } if = { limit = { BLR = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = BLR } change_influence_percentage = yes } if = { limit = { SIL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SIL } change_influence_percentage = yes } } } #basic effect if = { limit = { EST = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = EST } change_influence_percentage = yes } if = { limit = { LAT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LAT } change_influence_percentage = yes } if = { limit = { LIT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LIT } change_influence_percentage = yes } if = { limit = { POL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = POL } change_influence_percentage = yes } if = { limit = { SLO = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SLO } change_influence_percentage = yes } if = { limit = { CZE = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = CZE } change_influence_percentage = yes } if = { limit = { HUN = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = HUN } change_influence_percentage = yes } if = { limit = { BLR = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = BLR } change_influence_percentage = yes } if = { limit = { SIL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SIL } change_influence_percentage = yes } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { EST = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = EST } change_influence_percentage = yes } if = { limit = { LAT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LAT } change_influence_percentage = yes } if = { limit = { LIT = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = LIT } change_influence_percentage = yes } if = { limit = { POL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = POL } change_influence_percentage = yes } if = { limit = { SLO = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SLO } change_influence_percentage = yes } if = { limit = { CZE = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = CZE } change_influence_percentage = yes } if = { limit = { HUN = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = HUN } change_influence_percentage = yes } if = { limit = { BLR = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = BLR } change_influence_percentage = yes } if = { limit = { SIL = { has_idea = EU_member } } set_temp_variable = { tag_index = SOV.id } set_temp_variable = { influence_target = SIL } change_influence_percentage = yes } } } ai_will_do = { base = 1 } } ### Baltic Doctrine ### shared_focus = { id = POTEF700 #icon = align_to_baltic_states icon = POTEF700 x = 21 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_baltic = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF700 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF700" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_baltic = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_special_forces_attack_factor = 0.10 tooltip = special_forces_attack_factor_tt } add_to_variable = { POTEF_special_forces_defence_factor = 0.10 tooltip = special_forces_defence_factor_tt } add_to_variable = { POTEF_special_forces_min = 4 tooltip = special_forces_min_tt } add_to_variable = { POTEF_special_forces_cap = 0.25 tooltip = special_forces_cap_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_special_forces_attack_factor = 0.20 tooltip = special_forces_attack_factor_tt } add_to_variable = { POTEF_special_forces_defence_factor = 0.20 tooltip = special_forces_defence_factor_tt } add_to_variable = { POTEF_special_forces_min = 6 tooltip = special_forces_min_tt } add_to_variable = { POTEF_special_forces_cap = 0.5 tooltip = special_forces_cap_tt } } } } ai_will_do = { base = 1 } } ### Safeguard the Baltic Sea ### shared_focus = { id = POTEF701 icon = baltic_states x = 0 y = 1 #icon = POTEF701 relative_position_id = POTEF700 cost = 10 prerequisite = { focus = POTEF700 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_baltic = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF701 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF701" hidden_effect = { #POTEF bonus if = { limit = { POTEF_is_baltic = yes } #bonus effect if = { limit = { EST = { has_idea = EU_member } } EST = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 105 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LAT = { has_idea = EU_member } } LAT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 107 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LIT = { has_idea = EU_member } } LIT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 109 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } } #basic effect if = { limit = { EST = { has_idea = EU_member } } EST = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 105 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LAT = { has_idea = EU_member } } LAT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 107 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LIT = { has_idea = EU_member } } LIT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 9 } } prioritize = { 109 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } effect_tooltip = { #mockup bonus effect for tooltip if = { limit = { EST = { has_idea = EU_member } } EST = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 105 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LAT = { has_idea = EU_member } } LAT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 107 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } if = { limit = { LIT = { has_idea = EU_member } } LIT = { random_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } building = naval_base level < 7 } } prioritize = { 109 } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes limit_to_naval_base = yes } } } } } } } ai_will_do = { base = 1 } } ### Eastern Doctrine ### shared_focus = { id = POTEF750 icon = POTEF750 x = 23 y = 1 relative_position_id = POTEF001 cost = 10 prerequisite = { focus = POTEF001 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_eastern = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF750 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF750" if = { limit = { has_idea = EU_member NOT = { has_dynamic_modifier = { modifier = POTEF_dynmod_army } } } add_dynamic_modifier = { modifier = POTEF_dynmod_army } } if = { limit = { NOT = { POTEF_is_eastern = yes } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_infantry_attack_factor = 0.10 tooltip = army_infantry_attack_factor_tt } add_to_variable = { POTEF_army_speed_factor = 0.05 tooltip = army_speed_factor_tt } } } else = { for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_to_variable = { POTEF_army_infantry_attack_factor = 0.20 tooltip = army_infantry_attack_factor_tt } add_to_variable = { POTEF_army_speed_factor = 0.15 tooltip = army_speed_factor_tt } } } } ai_will_do = { base = 1 } } shared_focus = { id = POTEF751 icon = drone x = 0 y = 1 relative_position_id = POTEF750 cost = 10 prerequisite = { focus = POTEF750 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_eastern = yes } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF751 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF751" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_ideas = POTEF_mass_drone_production if = { limit = { POTEF_is_eastern = yes } add_ideas = POTEF_extensive_mass_drone_production } } } ai_will_do = { base = 1 } } shared_focus = { id = POTEF752 icon = inter_with_rus x = 0 y = 1 relative_position_id = POTEF751 cost = 10 prerequisite = { focus = POTEF751 } mutually_exclusive = { focus = POTEF652 } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_idea = EU_president EU_member_is_eastern = yes SOV = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF752 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF752" if = { limit = { POTEF_is_eastern = yes } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN every_owned_state = { limit = { any_neighbor_state = { is_owned_by = CHI } } add_building_construction = { type = bunker level = 3 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } } ai_will_do = { base = 1 } } shared_focus = { id = POTEF753 icon = rapprochement_with_russia x = 0 y = 1 relative_position_id = POTEF752 cost = 15 prerequisite = { focus = POTEF752 } mutually_exclusive = { focus = POTEF553 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president SOV = { has_idea = EU_member } } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF800 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF753" SOV = { every_controlled_state = { limit = { any_province_building_level = { province = { all_provinces = yes limit_to_coastal = yes } building = coastal_bunker level < 9 } } add_building_construction = { type = coastal_bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes } } } } } ai_will_do = { base = 1 } } ### Pax Europaea ### shared_focus = { id = POTEF800 icon = align_to_europe x = -2 y = 3 relative_position_id = POTEF504 cost = 10 prerequisite = { focus = POTEF204 focus = POTEF206 focus = POTEF207 focus = POTEF504 } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_idea = EU_president } bypass = { any_of_scopes = { array = global.EU_member has_completed_focus = POTEF800 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus POTEF800" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_ideas = POTEF_pax_europaea } } ai_will_do = { base = 1 } }