focus_tree = { id = generic_focus country = { factor = 2 } continuous_focus_position = { x = 5 y = 830 } default = no reset_on_civilwar = yes # GCC Shared tree shared_focus = GCC_the_gcc # EU shared tree shared_focus = USoE001 shared_focus = POTEF001 # Gagauzia mini tree shared_focus = GGZ_mutlu_erim #African shared tree shared_focus = AFRICAN_UNION_shared_focus # Czechoslovakian shared tree shared_focus = CZE_SLO_open_political_court # Sahrawi Mini Tree shared_focus = SHA_cross_the_sand_wall # Commonwealth Tree # shared_focus = CMW_Aso_Rock_Declaration # MERCOSUR Tree shared_focus = BRA_americas_unity # Benelux shared tree shared_focus = BNL_benelux_union_treaty # Focus Shortcut shortcut = { name = GENERIC_political_reform target = GENERIC_political_reform scroll_wheel_factor = 0.80 } shortcut = { name = GENERIC_international_diplomacy target = GENERIC_international_diplomacy scroll_wheel_factor = 0.80 } shortcut = { name = GENERIC_ease_of_business_reforms target = GENERIC_ease_of_business_reforms scroll_wheel_factor = 0.80 } shortcut = { name = GENERIC_army_reform target = GENERIC_army_reform scroll_wheel_factor = 0.80 } # Focus Section focus = { id = GENERIC_political_reform icon = Election_graphics x = -7 y = 0 cost = 8.6 search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_political_reform" add_political_power = 200 } ai_will_do = { base = 1 # Grab if we need political power modifier = { factor = 1.5 check_variable = { interest_rate > 5 } } } } focus = { id = GENERIC_cabinet_reform icon = government_beu x = -4 y = 1 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_political_reform } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_cabinet_reform" add_political_power = 150 } ai_will_do = { base = 1 # Grab if we need political power modifier = { factor = 1.5 check_variable = { interest_rate > 5 } } } } focus = { id = GENERIC_strengthen_government icon = propaganda x = -2 y = 1 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_political_reform } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_strengthen_government" add_ideas = political_power_bonus } ai_will_do = { base = 1 # Grab if we need political power modifier = { factor = 1.5 check_variable = { interest_rate > 5 } } } } focus = { id = GENERIC_political_games icon = self_management x = -3 y = 2 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_cabinet_reform } prerequisite = { focus = GENERIC_strengthen_government } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_political_games" swap_ideas = { remove_idea = political_power_bonus add_idea = political_power_bonus2 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_public_service_announcement icon = propaganda x = -4 y = 3 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_political_games } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_public_service_announcement" add_stability = 0.05 add_war_support = 0.05 } ai_will_do = { base = 1 modifier = { factor = 2 has_stability < 0.65 } modifier = { factor = 2 has_war_support < 0.65 } } } focus = { id = GENERIC_the_establishment icon = home_defense x = -2 y = 3 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_political_games } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_establishment" swap_ideas = { remove_idea = political_power_bonus2 add_idea = political_power_bonus3 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_state icon = democracy3 x = -3 y = 4 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_public_service_announcement } prerequisite = { focus = GENERIC_the_establishment } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_state" add_timed_idea = { idea = idea_focus_generic_national_heritage days = 365 } # Agricultural economy effects if = { limit = { is_agrarian_economy = yes } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.015 } } modify_treasury_effect = yes set_temp_variable = { AGRI_protections_change = 2 } AGRI_protection_update = yes AGRI_update_math_variables = yes } if = { limit = { has_idea = large_refugee_population } remove_ideas = large_refugee_population } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } # Secret Service Path focus = { id = GENERIC_expand_the_secret_service icon = espionage x = -6 y = 1 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_political_reform } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_expand_the_secret_service" add_tech_bonus = { name = GENERIC_expand_the_secret_service category = CAT_nvg uses = 1 bonus = 0.25 } set_temp_variable = { temp_opinion = 10 } change_intelligence_community_opinion = yes change_the_military_opinion = yes if = { limit = { has_dlc = "La Resistance" } add_ideas = idea_focus_expanded_secret_services_lar } else = { add_ideas = idea_focus_expanded_secret_services } } ai_will_do = { base = 1 } } focus = { id = GENERIC_build_intelligence_stations icon = espionage2 x = -6 y = 2 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_expand_the_secret_service } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } available = { any_owned_state = { radar_station < 6 } } bypass_if_unavailable = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_intelligence_stations" set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes random_owned_state = { limit = { free_building_slots = { building = radar_station size > 0 include_locked = no } } add_building_construction = { type = radar_station level = 1 instant_build = yes } } random_owned_state = { limit = { free_building_slots = { building = radar_station size > 0 include_locked = no } } add_building_construction = { type = radar_station level = 1 instant_build = yes } } set_temp_variable = { temp_opinion = 10 } change_intelligence_community_opinion = yes change_the_military_opinion = yes } ai_will_do = { base = 1 modifier = { add = 5 OR = { AND = { has_idea = the_military check_variable = { the_military_opinion < 75 } } AND = { has_idea = intelligence_community check_variable = { intelligence_community_opinion < 75 } } } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_counter_terrorism_operations icon = generic_counter_insurgency_icon x = -6 y = 3 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_build_intelligence_stations } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_FACTION } available = { has_at_least_regional_power_status = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_counter_terrorism_operations" add_timed_idea = { idea = idea_focus_generic_counter_terrorism days = 730 } set_temp_variable = { temp_opinion = 10 } change_intelligence_community_opinion = yes } ai_will_do = { base = 1 modifier = { add = 15 has_idea = intelligence_community check_variable = { intelligence_community_opinion < 75 } } modifier = { factor = 3 threat > 0.15 } } } focus = { id = GENERIC_cyber_warfare_program icon = cyberwarfare x = -6 y = 4 relative_position_id = GENERIC_political_reform cost = 10 allow_branch = { has_dlc = "La Resistance" } prerequisite = { focus = GENERIC_counter_terrorism_operations } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INTERNAL_FACTION } available = { has_intelligence_agency = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_cyber_warfare_program" add_timed_idea = { idea = idea_focus_generic_cyber_warfare days = 730 } add_tech_bonus = { name = GENERIC_cyber_warfare_program uses = 1 bonus = 0.25 category = CAT_internet_tech } set_temp_variable = { temp_opinion = 5 } change_intelligence_community_opinion = yes } ai_will_do = { base = 1 modifier = { add = 5 has_idea = intelligence_community check_variable = { intelligence_community_opinion < 75 } } modifier = { factor = 2 has_at_least_major_power_status = yes } } } #Diplomatic Ties/Outlook Alignment - Temp Ideas to give player a boost# focus = { id = GENERIC_diplomatic_positions icon = treaty2 x = 3 y = 1 relative_position_id = GENERIC_political_reform cost = 5 prerequisite = { focus = GENERIC_international_diplomacy } prerequisite = { focus = GENERIC_political_reform } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_diplomatic_positions" set_temp_variable = { percent_change = 0.5 } set_temp_variable = { tag_index = THIS.id } every_neighbor_country = { limit = { NOT = { has_war_with = ROOT } } add_opinion_modifier = { target = PREV modifier = supports_us_2 } reverse_add_opinion_modifier = { target = PREV modifier = supports_us_2 } change_influence_percentage = yes } custom_effect_tooltip = influence_on_neighbors_tt set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.03 } } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_our_place icon = improve_relations x = 5 y = 1 relative_position_id = GENERIC_political_reform cost = 8.6 prerequisite = { focus = GENERIC_international_diplomacy } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_our_place" set_temp_variable = { percent_change = 8 } change_domestic_influence_percentage = yes } ai_will_do = { base = 1 modifier = { factor = 2 check_variable = { domestic_influence_amount < 60 } } modifier = { factor = 2 check_variable = { domestic_influence_amount < 40 } } modifier = { factor = 2 check_variable = { domestic_influence_amount < 20 } } } } focus = { id = GENERIC_anti_corruption_reforms icon = government_beu x = 8 y = 1 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_international_diplomacy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_anti_corruption_reforms" decrease_corruption = yes } ai_will_do = { base = 1 modifier = { factor = 5 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } } } focus = { id = GENERIC_network_infrastructure icon = construction x = 10 y = 1 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_international_diplomacy } prerequisite = { focus = GENERIC_build_roads } search_filters = { FOCUS_FILTER_INDUSTRY } available = { has_tech = internet1 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_network_infrastructure" two_random_network_infrastructure = yes add_tech_bonus = { name = GENERIC_network_infrastructure uses = 1 bonus = 0.25 category = CAT_internet_tech } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_decentralization icon = decentralized_economy x = 9 y = 2 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_anti_corruption_reforms } mutually_exclusive = { focus = GENERIC_centralization } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_decentralization" add_ideas = generic_decentralization # Agricultural economy effects if = { limit = { is_agrarian_economy = yes } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.005 } } modify_treasury_effect = yes set_temp_variable = { AGRI_protections_change = 1 } AGRI_protection_update = yes AGRI_update_math_variables = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_centralization icon = centralization x = 7 y = 2 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_anti_corruption_reforms } mutually_exclusive = { focus = GENERIC_decentralization } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_centralization" add_ideas = generic_centralization } ai_will_do = { base = 1 } } focus = { id = GENERIC_station_in_the_world icon = military_sphere x = 4 y = 2 relative_position_id = GENERIC_political_reform cost = 5 prerequisite = { focus = GENERIC_diplomatic_positions } prerequisite = { focus = GENERIC_our_place } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_station_in_the_world" add_political_power = 100 } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_west icon = nato3 x = 0.5 y = 3 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_station_in_the_world } mutually_exclusive = { focus = GENERIC_eastern_emergence } mutually_exclusive = { focus = GENERIC_the_nationalist_rise } mutually_exclusive = { focus = GENERIC_the_salafist_rise } mutually_exclusive = { focus = GENERIC_non_aligned } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_west" add_timed_idea = { idea = generic_western_boost_idea2 days = 365 } add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 modifier = { factor = 1.25 OR = { var:influence_array^0 = { has_government = democratic } var:influence_array^1 = { has_government = democratic } var:influence_array^2 = { has_government = democratic } var:influence_array^3 = { has_government = democratic } } } modifier = { factor = 1.25 has_idea = EU_member } } } focus = { id = GENERIC_eastern_emergence icon = demand_territory2 x = 2.5 y = 3 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_station_in_the_world } mutually_exclusive = { focus = GENERIC_the_nationalist_rise } mutually_exclusive = { focus = GENERIC_the_west } mutually_exclusive = { focus = GENERIC_the_salafist_rise } mutually_exclusive = { focus = GENERIC_non_aligned } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_eastern_emergence" add_timed_idea = { idea = generic_emerging_boost_idea2 days = 365 } add_popularity = { ideology = communism popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 modifier = { factor = 1.25 OR = { var:influence_array^0 = { has_government = communism } var:influence_array^1 = { has_government = communism } var:influence_array^2 = { has_government = communism } var:influence_array^3 = { has_government = communism } } } } } focus = { id = GENERIC_non_aligned icon = neutrality x = 4 y = 3 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_station_in_the_world } mutually_exclusive = { focus = GENERIC_eastern_emergence } mutually_exclusive = { focus = GENERIC_the_west } mutually_exclusive = { focus = GENERIC_the_salafist_rise } mutually_exclusive = { focus = GENERIC_the_nationalist_rise } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_non_aligned" add_timed_idea = { idea = generic_non_aligned_boost_idea2 days = 365 } add_popularity = { ideology = neutrality popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_nationalist_rise icon = fascism x = 6 y = 3 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_station_in_the_world } mutually_exclusive = { focus = GENERIC_eastern_emergence } mutually_exclusive = { focus = GENERIC_the_west } mutually_exclusive = { focus = GENERIC_the_salafist_rise } mutually_exclusive = { focus = GENERIC_non_aligned } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_nationalist_rise" add_timed_idea = { idea = generic_nationalist_boost_idea2 days = 365 } add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 modifier = { factor = 0 OR = { NOT = { has_government = nationalist } is_historical_focus_on = yes } } } } focus = { id = GENERIC_the_salafist_rise icon = isis_allegiance x = 8 y = 3 relative_position_id = GENERIC_political_reform cost = 10 allow_branch = { OR = { has_idea = sunni has_global_flag = GAME_RULE_salafist_branch_enabled } } prerequisite = { focus = GENERIC_station_in_the_world } mutually_exclusive = { focus = GENERIC_eastern_emergence } mutually_exclusive = { focus = GENERIC_the_west } mutually_exclusive = { focus = GENERIC_the_nationalist_rise } mutually_exclusive = { focus = GENERIC_non_aligned } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_salafist_rise" if = { limit = { NOT = { has_idea = sunni } has_global_flag = GAME_RULE_salafist_branch_enabled } add_popularity = { ideology = fascism popularity = 0.05 } if = { limit = { has_government = democratic } start_civil_war = { ideology = democratic ruling_party = fascism } } else_if = { limit = { has_government = communism } start_civil_war = { ideology = communism ruling_party = fascism } } else_if = { limit = { has_government = neutrality } start_civil_war = { ideology = neutrality ruling_party = fascism } } else_if = { limit = { has_government = nationalist } start_civil_war = { ideology = nationalist ruling_party = fascism } } if = { limit = { has_idea = shia } swap_ideas = { remove_idea = shia add_idea = sunni } } else_if = { limit = { has_idea = sufi_islam } swap_ideas = { remove_idea = sufi_islam add_idea = sunni } } else_if = { limit = { has_idea = ibadi } swap_ideas = { remove_idea = ibadi add_idea = sunni } } else_if = { limit = { has_idea = christian } swap_ideas = { remove_idea = christian add_idea = sunni } } else_if = { limit = { has_idea = orthodox_christian } swap_ideas = { remove_idea = orthodox_christian add_idea = sunni } } else_if = { limit = { has_idea = pluralist } swap_ideas = { remove_idea = pluralist add_idea = sunni } } else_if = { limit = { has_idea = buddism } swap_ideas = { remove_idea = buddism add_idea = sunni } } else_if = { limit = { has_idea = hindu } swap_ideas = { remove_idea = hindu add_idea = sunni } } else_if = { limit = { has_idea = judaism } swap_ideas = { remove_idea = judaism add_idea = sunni } } else_if = { limit = { has_idea = shinto } swap_ideas = { remove_idea = shinto add_idea = sunni } } else_if = { limit = { has_idea = cheondo } swap_ideas = { remove_idea = cheondo add_idea = sunni } } else_if = { limit = { has_idea = fifty_fifty_divide } swap_ideas = { remove_idea = fifty_fifty_divide add_idea = sunni } } } add_timed_idea = { idea = generic_salafist_boost_idea2 days = 365 } add_popularity = { ideology = fascism popularity = 0.025 } recalculate_party = yes } ai_will_do = { base = 1 modifier = { factor = 0 OR = { NOT = { has_government = fascism } is_historical_focus_on = yes } } } } focus = { id = GENERIC_western_ideas icon = democracy x = 0.5 y = 4 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_the_west } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_western_ideas" if = { limit = { has_idea = generic_western_boost_idea2 } modify_timed_idea = { idea = generic_western_boost_idea2 days = 365 } } else = { add_timed_idea = { idea = generic_western_boost_idea2 days = 365 } } add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_rising_powers icon = ultimatum2 x = 2.5 y = 4 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_eastern_emergence } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_rising_powers" if = { limit = { has_idea = generic_emerging_boost_idea2 } modify_timed_idea = { idea = generic_emerging_boost_idea2 days = 365 } } else = { add_timed_idea = { idea = generic_emerging_boost_idea2 days = 365 } } add_popularity = { ideology = communism popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_conservative_approach icon = improve_relations x = 4 y = 4 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_non_aligned } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_conservative_approach" if = { limit = { has_idea = generic_non_aligned_boost_idea2 } modify_timed_idea = { idea = generic_non_aligned_boost_idea2 days = 365 } } else = { add_timed_idea = { idea = generic_non_aligned_boost_idea2 days = 365 } } add_popularity = { ideology = neutrality popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_us_above_all icon = fascism3 x = 6 y = 4 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_the_nationalist_rise } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_us_above_all" if = { limit = { has_idea = generic_nationalist_boost_idea2 } modify_timed_idea = { idea = generic_nationalist_boost_idea2 days = 365 } } else = { add_timed_idea = { idea = generic_nationalist_boost_idea2 days = 365 } } add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_jihad icon = jihad x = 8 y = 4 relative_position_id = GENERIC_political_reform cost = 10 prerequisite = { focus = GENERIC_the_salafist_rise } search_filters = { FOCUS_FILTER_POLITICAL } available = { fascism > 0.39 has_government = fascism } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_jihad" if = { limit = { has_idea = generic_salafist_boost_idea2 } modify_timed_idea = { idea = generic_salafist_boost_idea2 days = 365 } } else = { add_timed_idea = { idea = generic_salafist_boost_idea2 days = 365 } } add_popularity = { ideology = fascism popularity = 0.05 } recalculate_party = yes add_timed_idea = { idea = idea_focus_generic_jihad days = 730 } } ai_will_do = { base = 1 modifier = { factor = 0 OR = { NOT = { has_government = fascism } is_historical_focus_on = yes } } } } #International Diplomacy focus = { id = GENERIC_international_diplomacy icon = global_community x = 4 y = 0 cost = 5 search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_international_diplomacy" if = { limit = { has_government = democratic } every_country = { limit = { NOT = { has_government = fascism } NOT = { has_government = nationalist } NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -25 } OR = { is_neighbor_of = ROOT has_government = democratic } } add_opinion_modifier = { target = ROOT modifier = political_outreach } } } else_if = { limit = { has_government = fascism } every_country = { limit = { NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -25 } OR = { is_neighbor_of = ROOT has_government = fascism } } add_opinion_modifier = { target = ROOT modifier = political_outreach } } } else_if = { limit = { has_government = neutrality } every_country = { limit = { NOT = { has_government = fascism } NOT = { has_government = nationalist } NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -25 } OR = { is_neighbor_of = ROOT has_government = neutrality } } add_opinion_modifier = { target = ROOT modifier = political_outreach } } } else_if = { limit = { has_government = communism } every_country = { limit = { NOT = { has_government = fascism } NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -25 } OR = { is_neighbor_of = ROOT has_government = communism } } add_opinion_modifier = { target = ROOT modifier = political_outreach } } } else_if = { limit = { has_government = nationalist } every_country = { limit = { NOT = { has_government = fascism } NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -25 } OR = { is_neighbor_of = ROOT has_government = nationalist } } add_opinion_modifier = { target = ROOT modifier = political_outreach } } } add_political_power = 75 } ai_will_do = { base = 1 } } focus = { id = GENERIC_trade_with_the_neighbors icon = liberalization x = 1 y = 1 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_international_diplomacy } prerequisite = { focus = GENERIC_build_roads } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_trade_with_the_neighbors" set_temp_variable = { percent_change = 0.5 } set_temp_variable = { tag_index = THIS.id } every_neighbor_country = { limit = { NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > -50 } } add_opinion_modifier = { target = ROOT modifier = improve_trade } change_influence_percentage = yes } custom_effect_tooltip = influence_on_neighbors_tt set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_the_donju_opinion = yes change_chaebols_opinion = yes change_wall_street_opinion = yes if = { limit = { is_agrarian_economy = yes } set_temp_variable = { price_change = 3 } AGRI_price_change_all_crops = yes AGRI_update_math_variables = yes } } ai_will_do = { base = 1 } } focus = { id = GENERIC_alignment_debate icon = diplomacy x = 0 y = 2 relative_position_id = GENERIC_international_diplomacy cost = 8.6 prerequisite = { focus = GENERIC_international_diplomacy } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_alignment_debate" set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes every_neighbor_country = { limit = { NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > 9 } } change_relative_party_popularity = yes } } ai_will_do = { base = 3 } } focus = { id = GENERIC_neutrality icon = neutrality x = -1 y = 3 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_alignment_debate } mutually_exclusive = { focus = GENERIC_interventionism } search_filters = { FOCUS_FILTER_POLITICAL } available = { NOT = { has_idea = NATO_member } is_in_faction = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_neutrality" set_temp_variable = { temp_opinion = -10 } change_the_military_opinion = yes change_foreign_jihadis_opinion = yes change_defense_industry_opinion = yes add_popularity = { ideology = neutrality popularity = 0.05 } recalculate_party = yes add_ideas = neutrality_idea if = { limit = { NOT = { has_idea = the_military } has_idea = intervention_local_security } decrease_intervention_law_effect = yes } else = { add_political_power = 50 } } ai_will_do = { base = 1 modifier = { add = 5 has_government = neutrality } modifier = { add = 5 OR = { has_idea = non_power has_idea = minor_power } } modifier = { add = 5 OR = { original_tag = BHU original_tag = NEP original_tag = PAR original_tag = URG original_tag = SOL original_tag = MIC original_tag = HLS original_tag = MNC original_tag = ADO } } } } focus = { id = GENERIC_interventionism icon = political_pressure x = 1 y = 3 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_alignment_debate } mutually_exclusive = { focus = GENERIC_neutrality } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_MILITARY_LAWS } available = { NOT = { has_idea = neutrality_idea } OR = { has_government = nationalist has_government = fascism AND = { threat > 0.2 has_war_support > 0.8 } AND = { threat > 0.4 has_war_support > 0.6 } AND = { threat > 0.6 has_war_support > 0.4 } AND = { threat > 0.8 has_war_support > 0.2 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_interventionism" add_war_support = 0.05 set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes change_foreign_jihadis_opinion = yes increase_intervention_law_effect = yes } ai_will_do = { base = 1 modifier = { add = 5 has_government = nationalist } modifier = { add = 5 has_government = fascism } modifier = { add = 5 threat > 0.15 } } } focus = { id = GENERIC_build_fortifications icon = city_fort x = -1 y = 4 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_neutrality } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_fortifications" add_ideas = defensive_constructions2 } ai_will_do = { base = 1 modifier = { has_government = neutrality add = 5 } } } focus = { id = GENERIC_militarism icon = conscription x = 1 y = 4 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_interventionism } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_MANPOWER } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_militarism" add_ideas = militarism set_rule = { can_send_volunteers = yes } set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes change_foreign_jihadis_opinion = yes } ai_will_do = { base = 1 modifier = { add = 5 has_government = nationalist } } } focus = { id = GENERIC_peaceful_emergence icon = construction x = -1 y = 5 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_build_fortifications } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_peaceful_emergence" add_ideas = peaceful_emergence set_temp_variable = { temp_opinion = -10 } change_the_military_opinion = yes change_foreign_jihadis_opinion = yes change_defense_industry_opinion = yes } ai_will_do = { base = 1 modifier = { has_government = neutrality add = 5 } } } focus = { id = GENERIC_revanchism icon = fallen_soldiers x = 1 y = 5 relative_position_id = GENERIC_international_diplomacy cost = 10 prerequisite = { focus = GENERIC_militarism } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_revanchism" add_ideas = revanchism set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes change_foreign_jihadis_opinion = yes } ai_will_do = { base = 1 modifier = { has_government = nationalist add = 5 } } } #Build Roads focus = { id = GENERIC_build_roads icon = infrastructure1 x = 6 y = 0 cost = 5 search_filters = { FOCUS_FILTER_INDUSTRY } available = { any_owned_state = { infrastructure < 5 } } bypass_if_unavailable = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_roads" one_random_infrastructure = yes } ai_will_do = { base = 1 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_build_railways icon = Generic_Railroads x = 1 y = 1 relative_position_id = GENERIC_build_roads cost = 8.6 prerequisite = { focus = GENERIC_build_roads } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_railways" add_ideas = railway_construction_effort } ai_will_do = { base = 1 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } } } focus = { id = GENERIC_build_highways icon = highway_repairs x = 0 y = 2 relative_position_id = GENERIC_build_roads cost = 5 prerequisite = { focus = GENERIC_build_roads } search_filters = { FOCUS_FILTER_INDUSTRY } available = { any_owned_state = { infrastructure < 5 } } bypass_if_unavailable = yes completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_highways" one_random_infrastructure = yes } ai_will_do = { base = 1 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_expand_urban_areas icon = construction_engineering x = 2 y = 2 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_build_railways } prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_expand_urban_areas" set_temp_variable = { treasury_change = 0 } random_owned_state = { limit = { state_population > 1000000 } add_extra_state_shared_building_slots = 2 add_to_temp_variable = { treasury_change = -2 } } if = { limit = { all_owned_state = { state_population < 1000000 } } capital_scope = { add_extra_state_shared_building_slots = 2 add_to_temp_variable = { treasury_change = -2 } } } modify_treasury_effect = yes if = { limit = { is_agrarian_economy = yes } set_temp_variable = { price_change = -7 } AGRI_price_change_all_crops = yes set_temp_variable = { temp_opinion = -12 } change_farmers_opinion = yes AGRI_update_math_variables = yes } else = { set_temp_variable = { temp_opinion = -10 } change_farmers_opinion = yes } set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes change_international_bankers_opinion = yes change_oligarchs_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_developmentalism icon = brick_laying x = 1 y = 3 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_build_highways } prerequisite = { focus = GENERIC_expand_urban_areas } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_developmentalism" add_ideas = developmentalism set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_the_donju_opinion = yes change_chaebols_opinion = yes change_wall_street_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_increase_resource_production icon = resource_extraction x = 1 y = 4 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_developmentalism } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_increase_resource_production" if = { limit = { OR = { has_idea = non_power has_idea = minor_power } } if = { limit = { any_owned_state = { has_resources_amount = { resource = oil amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = oil amount > 0 } } add_resource = { type = oil amount = 4 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = steel amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = steel amount > 0 } } add_resource = { type = steel amount = 4 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = aluminium amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = aluminium amount > 0 } } add_resource = { type = aluminium amount = 4 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = tungsten amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = tungsten amount > 0 } } add_resource = { type = tungsten amount = 4 } } } if = { limit = { all_owned_state = { has_resources_amount = { resource = oil amount < 1 } } all_owned_state = { has_resources_amount = { resource = steel amount < 1 } } all_owned_state = { has_resources_amount = { resource = aluminium amount < 1 } } all_owned_state = { has_resources_amount = { resource = tungsten amount < 1 } } } capital_scope = { add_resource = { type = steel amount = 6 } } } } else_if = { limit = { OR = { has_idea = regional_power has_idea = large_power } } if = { limit = { any_owned_state = { has_resources_amount = { resource = oil amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = oil amount > 0 } } add_resource = { type = oil amount = 6 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = steel amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = steel amount > 0 } } add_resource = { type = steel amount = 6 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = aluminium amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = aluminium amount > 0 } } add_resource = { type = aluminium amount = 6 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = tungsten amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = tungsten amount > 0 } } add_resource = { type = tungsten amount = 6 } } } if = { limit = { all_owned_state = { has_resources_amount = { resource = oil amount < 1 } } all_owned_state = { has_resources_amount = { resource = steel amount < 1 } } all_owned_state = { has_resources_amount = { resource = aluminium amount < 1 } } all_owned_state = { has_resources_amount = { resource = tungsten amount < 1 } } } capital_scope = { add_resource = { type = steel amount = 10 } } } } else_if = { limit = { OR = { has_idea = great_power has_idea = super_power } } if = { limit = { any_owned_state = { has_resources_amount = { resource = oil amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = oil amount > 0 } } add_resource = { type = oil amount = 10 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = steel amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = steel amount > 0 } } add_resource = { type = steel amount = 10 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = aluminium amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = aluminium amount > 0 } } add_resource = { type = aluminium amount = 10 } } } if = { limit = { any_owned_state = { has_resources_amount = { resource = tungsten amount > 0 } } } random_owned_state = { limit = { has_resources_amount = { resource = tungsten amount > 0 } } add_resource = { type = tungsten amount = 10 } } } if = { limit = { all_owned_state = { has_resources_amount = { resource = oil amount < 1 } } all_owned_state = { has_resources_amount = { resource = steel amount < 1 } } all_owned_state = { has_resources_amount = { resource = aluminium amount < 1 } } all_owned_state = { has_resources_amount = { resource = tungsten amount < 1 } } } capital_scope = { add_resource = { type = steel amount = 15 } } } } # Agricultural economy effects if = { limit = { is_agrarian_economy = yes } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.005 } } modify_treasury_effect = yes set_temp_variable = { AGRI_protections_change = 1 } AGRI_protection_update = yes set_temp_variable = { allocation_change = -0.05 } AGRI_shift_crop_allocation = yes set_temp_variable = { temp_opinion = 2 } change_farmers_opinion = yes AGRI_update_math_variables = yes } set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_the_donju_opinion = yes change_chaebols_opinion = yes change_wall_street_opinion = yes change_fossil_fuel_industry_opinion = yes change_oligarchs_opinion = yes change_defense_industry_opinion = yes change_landowners_opinion = yes set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.001 } } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_economic_autonomy icon = gold_standard x = 3 y = 3 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_expand_urban_areas } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_economic_autonomy" add_ideas = economic_autonomy } ai_will_do = { base = 1 } } focus = { id = GENERIC_autarky icon = GENERIC_austerity_measures x = 3 y = 4 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_economic_autonomy } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_autarky" swap_ideas = { remove_idea = economic_autonomy add_idea = economic_autonomy2 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_economic_measures icon = economic_prosperity x = 3 y = 5 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_increase_resource_production } prerequisite = { focus = GENERIC_autarky } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_economic_measures" if = { limit = { NOT = { OR = { has_idea = economic_boom has_idea = fast_growth has_idea = stable_growth } } } increase_economic_growth = yes } swap_ideas = { remove_idea = economic_autonomy2 add_idea = economic_autonomy3 } set_temp_variable = { debt_change = { value = debt multiply = -0.03 } } modify_debt_effect = yes # Agricultural economy effects if = { limit = { is_agrarian_economy = yes } set_temp_variable = { price_change = 5 } AGRI_price_change_all_crops = yes set_temp_variable = { temp_opinion = 1 } change_farmers_opinion = yes AGRI_update_math_variables = yes } } ai_will_do = { base = 1 modifier = { factor = 5 gdp_debt_ratio_higher_50 = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_productivity_measures icon = focus_generic_industrialists x = 1 y = 5 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_autarky } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_productivity_measures" set_temp_variable = { temp_productivity_change = 25 } flat_productivity_change_effect = yes set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.03 } } modify_treasury_effect = yes } ai_will_do = { base = 10 modifier = { factor = 3 check_variable = { overall_productivity < 1000 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_improved_worker_productivity icon = construct_factory x = 3 y = 6 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_economic_measures } mutually_exclusive = { focus = GENERIC_the_manpower_solution } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_improved_worker_productivity" add_ideas = idea_generic_worker_productivity } ai_will_do = { base = 1 } } focus = { id = GENERIC_the_manpower_solution icon = union_negotiations x = 1 y = 6 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_economic_measures } mutually_exclusive = { focus = GENERIC_improved_worker_productivity } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_the_manpower_solution" add_ideas = idea_generic_the_manpower_solution } ai_will_do = { base = 1 } } focus = { id = GENERIC_emphasize_autarkic_measures icon = protectionism x = 1 y = 7 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_improved_worker_productivity focus = GENERIC_the_manpower_solution } mutually_exclusive = { focus = GENERIC_reaching_to_the_global_market } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_emphasize_autarkic_measures" swap_ideas = { remove_idea = economic_autonomy3 add_idea = economic_autonomy4 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_reaching_to_the_global_market icon = liberalization_policies x = 3 y = 7 relative_position_id = GENERIC_build_roads cost = 7.86 prerequisite = { focus = GENERIC_improved_worker_productivity focus = GENERIC_the_manpower_solution } mutually_exclusive = { focus = GENERIC_emphasize_autarkic_measures } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_reaching_to_the_global_market" add_ideas = idea_generic_reaching_to_the_global_market set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_assure_the_national_fuel_reserve icon = barrels x = 9 y = 2 relative_position_id = GENERIC_build_roads cost = 10 prerequisite = { focus = GENERIC_build_railways } prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_assure_the_national_fuel_reserve" set_temp_variable = { treasury_change = -3.0 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fuel_silo instant_build = yes level = 1 } } add_fuel = 200000 add_ideas = fuel_structure_building_efforts set_temp_variable = { temp_opinion = 10 } change_fossil_fuel_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_expand_the_strategic_reserves icon = raw_materials x = 9 y = 3 relative_position_id = GENERIC_build_roads cost = 10 prerequisite = { focus = GENERIC_assure_the_national_fuel_reserve } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_expand_the_strategic_reserves" one_fuel_reserve = yes set_temp_variable = { temp_opinion = 10 } change_fossil_fuel_industry_opinion = yes newline = yes swap_ideas = { remove_idea = fuel_structure_building_efforts add_idea = fuel_structure_building_efforts2 } } ai_will_do = { base = 1 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } #Ease of Business Reforms focus = { id = GENERIC_ease_of_business_reforms icon = consumer_goods x = 14 y = 0 cost = 7.2 search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_ease_of_business_reforms" add_political_power = 150 set_temp_variable = { temp_productivity_change = 50 } random_owned_controlled_state = { state_flat_productivity_change_effect = yes } } ai_will_do = { base = 3 modifier = { check_variable = { interest_rate > 5 } factor = 10 } } } focus = { id = GENERIC_attract_foreign_investors icon = union_representation_act x = -1 y = 1 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_ease_of_business_reforms } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_attract_foreign_investors" add_ideas = idea_focus_generic_public_service_investment } ai_will_do = { base = 1 } } focus = { id = GENERIC_debt_refactoring icon = money x = -3 y = 1 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_ease_of_business_reforms } search_filters = { FOCUS_FILTER_INDUSTRY } available = { gdp_debt_ratio_higher_50 = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_debt_refactoring" set_temp_variable = { debt_change = { value = debt multiply = 0.05 } } clamp_temp_variable = { var = debt_change min = 0 max = 100 } modify_debt_effect = yes add_timed_idea = { idea = idea_generic_temporary_debt_refactoring days = 730 } } ai_will_do = { base = 1 modifier = { factor = 10 check_variable = { interest_rate > 5 } } modifier = { factor = 5 gdp_debt_ratio_higher_50 = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_agricultural_district_subsidization icon = focus_generic_agricultural_subsidies x = 8 y = 1 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_ease_of_business_reforms } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_agricultural_district_subsidization" one_random_agriculture_district = yes add_ideas = agricultural_investments set_temp_variable = { temp_opinion = 10 } change_farmers_opinion = yes set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_agriculture_district = no } modifier = { factor = 0 check_variable = { total_unemployed_percentage_display < 0.01 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_subsistence_agriculture_investments icon = farming_sector x = 7 y = 2 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_agricultural_district_subsidization } mutually_exclusive = { focus = GENERIC_commercialized_agriculture_investments } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_subsistence_agriculture_investments" set_temp_variable = { temp_change = 3 } change_farmers_opinion = yes swap_ideas = { remove_idea = agricultural_investments add_idea = agricultural_investments2 } } ai_will_do = { base = 1 modifier = { factor = 2 is_agrarian_economy = yes } } } focus = { id = GENERIC_focus_towards_the_subsistence icon = wheat_field x = 7 y = 3 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_subsistence_agriculture_investments } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_focus_towards_the_subsistence" set_temp_variable = { temp_change = 3 } change_farmers_opinion = yes swap_ideas = { remove_idea = agricultural_investments2 add_idea = agricultural_investments3 } } ai_will_do = { base = 1 modifier = { factor = 2 is_agrarian_economy = yes } } } focus = { id = GENERIC_commercialized_agriculture_investments icon = mechanized_agriculture x = 9 y = 2 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_agricultural_district_subsidization } mutually_exclusive = { focus = GENERIC_subsistence_agriculture_investments } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_commercialized_agriculture_investments" set_temp_variable = { temp_change = 3 } change_farmers_opinion = yes two_random_agriculture_district = yes } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_agriculture_district = no } modifier = { factor = 2 is_agrarian_economy = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_encourage_more_commercial_agriculture icon = focus_generic_modernize_agriculture_2 x = 9 y = 3 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_commercialized_agriculture_investments } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_encourage_more_commercial_agriculture" set_temp_variable = { temp_change = 3 } change_farmers_opinion = yes swap_ideas = { remove_idea = agricultural_investments add_idea = commercialized_agricultural_investments } } ai_will_do = { base = 1 modifier = { factor = 2 is_agrarian_economy = yes } } } focus = { id = GENERIC_a_new_breadbasket icon = Wheat_Industry x = 8 y = 4 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_focus_towards_the_subsistence focus = GENERIC_encourage_more_commercial_agriculture } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_a_new_breadbasket" set_temp_variable = { temp_change = 5 } change_farmers_opinion = yes set_temp_variable = { skip_payment = 1 } one_random_agriculture_district = yes } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_agriculture_district = no } modifier = { factor = 2 is_agrarian_economy = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_mobilize_the_working_class icon = industry_communism x = 1 y = 1 relative_position_id = GENERIC_ease_of_business_reforms cost = 6.8 prerequisite = { focus = GENERIC_ease_of_business_reforms } prerequisite = { focus = GENERIC_light_industry_investments } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT } available = { if = { limit = { is_ai = no } gdp_total_greater_than_50 = yes has_war = no has_offensive_war = no } else = { interest_rate_lower_than_15 = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_mobilize_the_working_class" add_war_support = 0.05 set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } ai_will_do = { base = 3 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } # Microchip RND focus = { id = GENERIC_microchip_research_and_development icon = economic_it x = 5 y = 2 relative_position_id = GENERIC_ease_of_business_reforms cost = 6.8 prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT } available = { nuclear_facility > 0 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_microchip_research_and_development" add_breakthrough_points = { specialization = specialization_nuclear value = 1 } if = { limit = { NOT = { is_special_project_completed = sp:sp_microchip_production } } sp:sp_microchip_production = { add_project_progress_ratio = 0.15 } } } ai_will_do = { base = 5 modifier = { add = 5 check_variable = { resource_imported@microchips > 0 } } } } # Domestic Microchip Production focus = { id = GENERIC_microchip_domestic_production icon = economic_robots x = 5 y = 3 relative_position_id = GENERIC_ease_of_business_reforms cost = 6.8 prerequisite = { focus = GENERIC_microchip_research_and_development } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT } available = { is_special_project_completed = sp:sp_microchip_production } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_microchip_domestic_production" one_random_microchip_plant = yes } ai_will_do = { base = 3 modifier = { factor = 0 can_staff_an_microchip_plant = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } #Light Industry Investments focus = { id = GENERIC_light_industry_investments icon = construction_development x = 17 y = 0 cost = 10 search_filters = { FOCUS_FILTER_INDUSTRY } available = { if = { limit = { is_ai = no } has_war = no } else = { interest_rate_lower_than_15 = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_light_industry_investments" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = fossil_powerplant level = 1 } } } ai_will_do = { base = 25 modifier = { factor = 0.5 check_variable = { interest_rate > 14.99 } } modifier = { factor = 2 num_of_civilian_factories < 5 } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_heavy_industry_investments icon = tank_production x = 7 y = 1 relative_position_id = GENERIC_light_industry_investments cost = 10 prerequisite = { focus = GENERIC_light_industry_investments } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { gdp_total_greater_than_95 = yes has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_heavy_industry_investments" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { num_of_factories > 20 num_of_factories < 45 } one_random_arms_factory = yes } else_if = { limit = { num_of_factories > 44 } two_random_arms_factory = yes } set_temp_variable = { temp_opinion = 5 } change_defense_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 disabled_ai_unit_list = yes } modifier = { factor = 0 can_staff_an_arms_industry = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_synthetic_refinery_expansion icon = rubber_production x = 0 y = 3 relative_position_id = GENERIC_heavy_industry_investments cost = 5 prerequisite = { focus = GENERIC_heavy_industry_investments } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_synthetic_refinery_expansion" one_random_synthetic_refinery = yes } ai_will_do = { base = 1 modifier = { factor = 2 check_variable = { resource_imported@rubber > 0 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_refitting_the_military_industry icon = factory_facto x = 8 y = 2 relative_position_id = GENERIC_light_industry_investments cost = 10 prerequisite = { focus = GENERIC_heavy_industry_investments } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { gdp_total_greater_than_150 = yes has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_refitting_the_military_industry" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { num_of_factories > 20 num_of_factories < 45 } one_random_arms_factory = yes } else_if = { limit = { num_of_factories > 44 } two_random_arms_factory = yes } set_temp_variable = { temp_opinion = 5 } change_defense_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 disabled_ai_unit_list = yes } modifier = { factor = 0 can_staff_an_arms_industry = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_military_industry_investment_projects icon = money x = 8 y = 3 relative_position_id = GENERIC_light_industry_investments cost = 10 prerequisite = { focus = GENERIC_heavy_industry_investments } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { gdp_total_greater_than_200 = yes has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_military_industry_investment_projects" add_timed_idea = { idea = military_industry_project days = 730 } if = { limit = { NOT = { is_special_project_completed = sp:sp_composite_production } } sp:sp_composite_production = { add_project_progress_ratio = 0.15 } } } ai_will_do = { base = 1 modifier = { factor = 0 disabled_ai_unit_list = yes } modifier = { add = 5 threat > 0.10 } } } # ENERGY SECTOR focus = { id = GENERIC_energy_sector icon = national_grid x = -2 y = 3 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_POWER_INFRASTRUCTURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_energy_sector" set_temp_variable = { treasury_change = -10.5 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 } add_building_construction = { type = renewable_energy_infra level = 1 } } } ai_will_do = { base = 1 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_fossil_powerplant icon = oil_red x = -1 y = 4 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_energy_sector } mutually_exclusive = { focus = GENERIC_renewable_retooling } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_POWER_INFRASTRUCTURE FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_fossil_powerplant" set_temp_variable = { treasury_change = -2.0 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = fossil_powerplant level = 1 } } set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_improved_energy_cycling icon = oil_companies x = -1 y = 5 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_fossil_powerplant } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_improved_energy_cycling" add_ideas = idea_focus_energy_preferred_fossil set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes change_oligarchs_opinion = yes } ai_will_do = { base = 5 modifier = { factor = 2 num_of_civilian_factories < 5 } modifier = { factor = 5 has_an_energy_deficit = yes } } } focus = { id = GENERIC_renewable_retooling icon = generic_solar x = -3 y = 4 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_energy_sector } mutually_exclusive = { focus = GENERIC_fossil_powerplant } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_renewable_retooling" add_ideas = idea_focus_energy_preferred_renewable } ai_will_do = { base = 1 modifier = { factor = 2.5 any_controlled_state = { check_variable = { state_renewable_capacity_factor_modifier_var > 0 } } } modifier = { factor = 5 has_an_energy_deficit = yes } } } focus = { id = GENERIC_renewable_infrastructure icon = BRA_renewable_energy_funds x = -3 y = 5 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_renewable_retooling } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_renewable_infrastructure" set_temp_variable = { treasury_change = -8.0 } modify_treasury_effect = yes capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = renewable_energy_infra level = 1 } } } ai_will_do = { base = 1 modifier = { factor = 2.5 any_controlled_state = { check_variable = { state_renewable_capacity_factor_modifier_var > 0 } } } modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_hydroelectric_energy_expansion icon = hydroelectric2 x = 1 y = 4 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_energy_sector } search_filters = { FOCUS_FILTER_POWER_INFRASTRUCTURE } available = { controls_a_state_with_hydroelectric = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_hydroelectric_energy_expansion" add_timed_idea = { idea = hydroelectric_energy_production_idea days = 1095 } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.007 } } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 5 controls_a_state_with_hydroelectric = yes } modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_geothermal_energy_expansion icon = oil_production2 x = 2 y = 5 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_energy_sector } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } available = { controls_a_state_with_geothermal = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_geothermal_energy_expansion" add_timed_idea = { idea = geothermal_energy_production_idea days = 1095 } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.007 } } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 5 controls_a_state_with_geothermal = yes } modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_battery_park_investments icon = electricity x = 2 y = 6 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_renewable_infrastructure focus = GENERIC_improved_energy_cycling } search_filters = { FOCUS_FILTER_POWER_INFRASTRUCTURE } available = { has_tech = utility_scale_battery_storage } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_battery_park_investments" add_timed_idea = { idea = battery_park_expansion_idea days = 730 } set_temp_variable = { temp_change = 1 } set_temp_variable = { skip_payment = 1 } build_battery_park_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_nuclear_energy_expansions icon = nuclear_energy x = -3 y = 7 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_renewable_infrastructure focus = GENERIC_improved_energy_cycling } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } available = { has_tech = reactor1 has_at_least_regional_power_status = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_nuclear_energy_expansions" one_random_nuclear_reactor = yes if = { limit = { has_idea = non_nuclear_power } swap_ideas = { remove_idea = non_nuclear_power add_idea = nuclear_energy } } } ai_will_do = { base = 5 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_nuclear_energy_expansions_two icon = focus_generic_nuclear_development x = -3 y = 8 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_nuclear_energy_expansions } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } available = { has_tech = reactor1 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_nuclear_energy_expansions_two" one_random_nuclear_reactor = yes if = { limit = { has_idea = non_nuclear_power } swap_ideas = { remove_idea = non_nuclear_power add_idea = nuclear_energy } } } ai_will_do = { base = 1 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_reinforced_electric_grid icon = national_grid x = -2 y = 6 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_renewable_infrastructure focus = GENERIC_improved_energy_cycling } mutually_exclusive = { focus = GENERIC_high_capacity_electric_grid } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_reinforced_electric_grid" one_random_energy_infrastructure = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_high_capacity_electric_grid icon = focus_generic_electrification x = 0 y = 6 relative_position_id = GENERIC_ease_of_business_reforms cost = 7.86 prerequisite = { focus = GENERIC_renewable_infrastructure focus = GENERIC_improved_energy_cycling } mutually_exclusive = { focus = GENERIC_reinforced_electric_grid } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_high_capacity_electric_grid" one_random_industrial_infrastructure = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } # UNEMPLOYMENT PROGRAMS focus = { id = GENERIC_unemployment_program icon = welfare x = 3 y = 2 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_unemployment_program" add_ideas = idea_focus_unemployment_program set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_targeted_pension_fund_investments icon = pensions_increase x = 0 y = 1 relative_position_id = GENERIC_unemployment_program cost = 10 prerequisite = { focus = GENERIC_unemployment_program } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_targeted_pension_fund_investments" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes swap_ideas = { remove_idea = idea_focus_unemployment_program add_idea = idea_focus_social_spending_expansions } } ai_will_do = { base = 1 } } # SATISFY THE MIDDLE CLASS focus = { id = GENERIC_satisfy_the_middle_class icon = decentralized_economy x = 6 y = 4 relative_position_id = GENERIC_ease_of_business_reforms cost = 10 prerequisite = { focus = GENERIC_mobilize_the_working_class } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY } available = { gdp_total_greater_than_95 = yes has_civil_war = no has_offensive_war = no } cancel = { OR = { has_civil_war = yes has_offensive_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_satisfy_the_middle_class" add_stability = 0.05 one_office_construction = yes set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_the_donju_opinion = yes change_chaebols_opinion = yes change_wall_street_opinion = yes newline = yes if = { limit = { is_agrarian_economy = yes } set_temp_variable = { price_change = 2 } AGRI_price_change_all_crops = yes AGRI_update_math_variables = yes } } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_offices = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_build_churches icon = religious_unity x = -2 y = 1 relative_position_id = GENERIC_satisfy_the_middle_class cost = 7.86 prerequisite = { focus = GENERIC_satisfy_the_middle_class } mutually_exclusive = { focus = GENERIC_emphasize_separation_of_church_and_state } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_FACTION } available = { OR = { has_idea = the_priesthood has_idea = the_ulema has_idea = the_clergy } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_churches" add_stability = 0.05 set_temp_variable = { temp_opinion = 10 } change_the_priesthood_opinion = yes change_the_ulema_opinion = yes change_the_wahabi_ulema_opinion = yes change_the_clergy_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_emphasize_separation_of_church_and_state icon = focus_secular x = 0 y = 1 relative_position_id = GENERIC_satisfy_the_middle_class cost = 7.86 prerequisite = { focus = GENERIC_satisfy_the_middle_class } mutually_exclusive = { focus = GENERIC_build_churches } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_emphasize_separation_of_church_and_state" set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes newline = yes set_temp_variable = { temp_opinion = -5 } change_the_priesthood_opinion = yes change_the_ulema_opinion = yes change_the_wahabi_ulema_opinion = yes change_the_clergy_opinion = yes newline = yes set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.01 } } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_please_the_upper_class icon = champagne_green x = 3 y = 1 relative_position_id = GENERIC_satisfy_the_middle_class cost = 7.86 prerequisite = { focus = GENERIC_satisfy_the_middle_class } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_STABILITY } available = { has_civil_war = no has_offensive_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_please_the_upper_class" add_stability = 0.05 set_temp_variable = { temp_opinion = 10 } change_oligarchs_opinion = yes change_landowners_opinion = yes change_international_bankers_opinion = yes change_wall_street_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_assure_intellectual_freedoms icon = examine_foreign_science x = 2 y = 2 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_please_the_upper_class } search_filters = { FOCUS_FILTER_RESEARCH } available = { NOT = { has_idea = police_05 } has_not_repressive_government = yes has_civil_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_assure_intellectual_freedoms" generic_research_buff = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_invest_in_biofuels icon = green_biomass_plant x = 4 y = 2 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_please_the_upper_class } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_invest_in_biofuels" set_temp_variable = { treasury_change = -4.25 } modify_treasury_effect = yes capital_scope = { add_building_construction = { type = renewable_energy_infra instant_build = yes level = 1 } } # Agricultural economy effects if = { limit = { is_agrarian_economy = yes } set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.005 } } modify_treasury_effect = yes set_temp_variable = { AGRI_protections_change = 1 } AGRI_protection_update = yes set_temp_variable = { allocation_change = 0.075 } AGRI_shift_crop_allocation = yes set_temp_variable = { temp_opinion = 7 } change_farmers_opinion = yes AGRI_update_math_variables = yes } else = { set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } } ai_will_do = { base = 1 modifier = { factor = 2 has_idea = farmers check_variable = { farmers_opinion < 50 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_import_foreign_automobiles icon = bmw_car x = 3 y = 3 relative_position_id = GENERIC_satisfy_the_middle_class cost = 7.86 prerequisite = { focus = GENERIC_please_the_upper_class } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_import_foreign_automobiles" add_political_power = 100 add_tech_bonus = { name = GENERIC_import_foreign_automobiles category = CAT_util category = CAT_afv category = CAT_ifv bonus = 0.25 uses = 2 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_create_an_automotive_industry icon = industry x = 3 y = 4 relative_position_id = GENERIC_satisfy_the_middle_class cost = 7.86 prerequisite = { focus = GENERIC_import_foreign_automobiles } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { gdp_total_greater_than_135 = yes has_war = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_create_an_automotive_industry" if = { limit = { num_of_factories < 60 } one_random_industrial_complex = yes } else = { two_random_industrial_complex = yes } set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 2 OR = { AND = { has_idea = labour_unions check_variable = { labour_unions_opinion < 50 } } AND = { has_idea = industrial_conglomerates check_variable = { industrial_conglomerates_opinion < 50 } } AND = { has_idea = small_medium_business_owners check_variable = { small_medium_business_owners_opinion < 50 } } } } modifier = { add = 5 check_variable = { total_unemployed_percentage_display > 0.02 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } # Build Primary Schools focus = { id = GENERIC_build_primary_schools icon = research x = -1 y = 2 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_build_primary_schools" generic_research_buff = yes if = { limit = { has_variable = literacy_rate } set_temp_variable = { LR_change = 0.025 } update_literacy_rate = yes } } ai_will_do = { base = 1 modifier = { factor = 2 has_variable = literacy_rate check_variable = { literacy_rate < 0.7 } } } } focus = { id = GENERIC_assure_access_to_education icon = scientific_exchange x = -1 y = 3 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_build_primary_schools } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_135 = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_assure_access_to_education" generic_research_buff = yes if = { limit = { has_variable = literacy_rate } set_temp_variable = { LR_change = 0.05 } update_literacy_rate = yes } } ai_will_do = { base = 1 modifier = { factor = 2 has_variable = literacy_rate check_variable = { literacy_rate < 0.7 } } } } focus = { id = GENERIC_expand_the_universities icon = economic_sciencer x = 1 y = 4 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_satisfy_the_middle_class } prerequisite = { focus = GENERIC_assure_access_to_education } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_160 = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_expand_the_universities" generic_research_buff = yes if = { limit = { has_variable = literacy_rate } set_temp_variable = { LR_change = 0.1 } update_literacy_rate = yes } } ai_will_do = { base = 1 } } focus = { id = GENERIC_artificial_intelligence_investments icon = economic_tech x = -2 y = 4 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_assure_access_to_education } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes has_tech = artificial_intelligence_5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_artificial_intelligence_investments" generic_research_buff = yes add_tech_bonus = { name = GENERIC_artificial_intelligence_investments uses = 2 bonus = 0.5 category = CAT_ai } } ai_will_do = { base = 1 modifier = { add = 5 check_variable = { total_unemployed_percentage_display < 0.02 } } } } focus = { id = GENERIC_industrial_research_task_forces icon = tech_sharing x = 2 y = 5 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_expand_the_universities } prerequisite = { focus = GENERIC_assure_intellectual_freedoms } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_industrial_research_task_forces" generic_research_buff = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_domestic_vehicle_research icon = Tank_sheep x = -2 y = 6 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_industrial_research_task_forces } mutually_exclusive = { focus = GENERIC_domestic_naval_research focus = GENERIC_domestic_aircraft_research focus = GENERIC_secret_weapons_program } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes NOT = { has_facility_specialization = specialization_land } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_vehicle_research" one_random_land_facility = yes newline = yes generate_scientist_character = { skills = { specialization_land = 1 } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_domestic_naval_research icon = naval_upgrade x = 0 y = 6 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_industrial_research_task_forces } mutually_exclusive = { focus = GENERIC_domestic_vehicle_research focus = GENERIC_domestic_aircraft_research focus = GENERIC_secret_weapons_program } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes any_owned_state = { is_coastal = yes } NOT = { has_facility_specialization = specialization_naval } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_naval_research" one_random_naval_facility = yes newline = yes generate_scientist_character = { skills = { specialization_naval = 1 } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_domestic_aircraft_research icon = jet_engine x = 2 y = 6 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_industrial_research_task_forces } mutually_exclusive = { focus = GENERIC_domestic_vehicle_research focus = GENERIC_domestic_naval_research focus = GENERIC_secret_weapons_program } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes NOT = { has_facility_specialization = specialization_air } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_aircraft_research" one_random_air_facility = yes newline = yes generate_scientist_character = { skills = { specialization_air = 1 } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_secret_weapons_program icon = nuclear_science x = 4 y = 6 relative_position_id = GENERIC_satisfy_the_middle_class cost = 10 prerequisite = { focus = GENERIC_industrial_research_task_forces } mutually_exclusive = { focus = GENERIC_domestic_vehicle_research focus = GENERIC_domestic_naval_research focus = GENERIC_domestic_aircraft_research } search_filters = { FOCUS_FILTER_RESEARCH } available = { gdp_total_greater_than_200 = yes NOT = { has_facility_specialization = specialization_nuclear } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_secret_weapons_program" one_random_nuclear_facility = yes newline = yes generate_scientist_character = { skills = { specialization_nuclear = 1 } } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } #Naval Reform focus = { id = GENERIC_naval_reform icon = navy x = 31 y = 0 cost = 10 search_filters = { FOCUS_FILTER_INTERNAL_FACTION } available = { controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_naval_reform" navy_experience = 75 if = { limit = { has_selected_naval_grand_doctrine = yes } add_mastery = { amount = 30 folder = naval } } newline = yes if = { limit = { NOT = { is_special_project_completed = sp:sp_naval_vessel_project } } sp:sp_naval_vessel_project = { add_project_progress_ratio = 0.15 } } newline = yes set_temp_variable = { temp_opinion = 10 } change_maritime_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 2 has_idea = maritime_industry check_variable = { maritime_industry_opinion < 75 } } } } focus = { id = GENERIC_combined_military_defense_industries icon = factory_complex x = -4 y = 3 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_dockyards } prerequisite = { focus = GENERIC_refitting_the_military_industry } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_combined_military_defense_industries" add_ideas = combined_defense_industries_idea set_temp_variable = { temp_opinion = 5 } change_defense_industry_opinion = yes change_maritime_industry_opinion = yes set_temp_variable = { skip_payment = 1 } one_random_arms_factory = yes } ai_will_do = { base = 5 modifier = { factor = 0 OR = { num_of_civilian_factories < 10 disabled_ai_unit_list = yes can_staff_an_arms_industry = no } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_arms_industry = no } } } focus = { id = GENERIC_naval_bases icon = navy2 x = -3 y = 1 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_reform } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_naval_bases" random_owned_controlled_state = { limit = { can_construct_building = naval_base } construct_building_in_random_province = { naval_base = 1 } } set_temp_variable = { treasury_change = -0.5 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_maritime_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 disabled_ai_unit_list = yes } modifier = { factor = 0 num_of_civilian_factories < 10 } modifier = { factor = 0 check_variable = { total_unemployed_percentage_display < 0.02 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_submarines icon = submarines x = -1 y = 1 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_reform } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes num_of_naval_factories > 4 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_submarines" add_tech_bonus = { name = GENERIC_submarines uses = 2 bonus = 0.5 category = CAT_sub } } ai_will_do = { base = 1 } } focus = { id = GENERIC_surface_ships icon = frigates x = 1 y = 1 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_reform } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes is_special_project_completed = sp:sp_naval_vessel_project num_of_naval_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_surface_ships" add_tech_bonus = { name = GENERIC_surface_ships uses = 2 bonus = 0.5 category = CAT_surface_ship } } ai_will_do = { base = 1 } } focus = { id = GENERIC_dockyards icon = naval_dockyard x = -4 y = 2 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_bases } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } available = { controls_a_coastal_state = yes num_of_factories > 0 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_dockyards" if = { limit = { num_of_factories < 15 } one_random_dockyard = yes } else = { two_random_dockyards = yes } set_temp_variable = { temp_opinion = 5 } change_maritime_industry_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 0 OR = { disabled_ai_unit_list = yes num_of_civilian_factories < 15 can_staff_an_dockyard = no } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_dockyard = no } } } focus = { id = GENERIC_nuclear_submarines icon = Generic_Submarine1 x = -2 y = 2 relative_position_id = GENERIC_naval_reform cost = 7.1 prerequisite = { focus = GENERIC_submarines } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_naval_factories > 7 controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_nuclear_submarines" add_tech_bonus = { name = GENERIC_nuclear_submarines uses = 2 bonus = 0.5 category = CAT_sub } if = { limit = { has_doctrine = escort_attack_subs } add_mastery = { amount = 50 sub_doctrine = escort_attack_subs } } if = { limit = { has_doctrine = hunter_killer_subs } add_mastery = { amount = 50 sub_doctrine = hunter_killer_subs } } if = { limit = { has_doctrine = missile_boats } add_mastery = { amount = 50 sub_doctrine = missile_boats } } } ai_will_do = { base = 1 } } focus = { id = GENERIC_naval_doctrine_innovations icon = naval_upgrade x = 0 y = 2 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_reform } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes has_selected_naval_grand_doctrine = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_naval_doctrine_innovations" navy_experience = 50 add_mastery = { amount = 50 folder = naval } } ai_will_do = { base = 1 modifier = { add = 5 threat > 0.25 } } } focus = { id = GENERIC_aircraft_carriers icon = carriers2 x = 4 y = 2 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_surface_ships } prerequisite = { focus = GENERIC_fighter_planes } mutually_exclusive = { focus = GENERIC_light_helicopter_operators } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes is_special_project_completed = sp:sp_naval_vessel_project has_at_least_major_power_status = yes num_of_naval_factories > 10 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_aircraft_carriers" add_tech_bonus = { name = GENERIC_aircraft_carriers uses = 2 bonus = 0.5 category = CAT_carrier } } ai_will_do = { base = 1 modifier = { add = 5 has_war = yes num_of_naval_factories < 10 } modifier = { factor = 0 OR = { has_idea = minor_power has_idea = non_power has_idea = regional_power } } } } focus = { id = GENERIC_light_helicopter_operators icon = Generic_Naval_Helicopter x = 2 y = 2 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_surface_ships } prerequisite = { focus = GENERIC_fighter_planes } mutually_exclusive = { focus = GENERIC_aircraft_carriers } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes is_special_project_completed = sp:sp_naval_vessel_project has_at_least_regional_power_status = yes num_of_naval_factories > 5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_light_helicopter_operators" add_tech_bonus = { name = GENERIC_light_helicopter_operators uses = 2 bonus = 0.5 category = CAT_helicopter_operators } } ai_will_do = { base = 1 modifier = { factor = 0 OR = { has_idea = non_power has_idea = minor_power } } } } focus = { id = GENERIC_large_ship_drydocks icon = focus_generic_refit_civilian_ships x = 3 y = 3 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_aircraft_carriers focus = GENERIC_light_helicopter_operators } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes has_at_least_major_power_status = yes num_of_naval_factories > 5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_large_ship_drydocks" one_random_dockyard = yes } ai_will_do = { base = 1 modifier = { add = 5 OR = { has_war = yes threat > 0.50 } } modifier = { factor = 0 OR = { has_idea = non_power has_idea = minor_power } } modifier = { factor = 0 can_staff_an_dockyard = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_improved_repair_facilities icon = generic_ship_fix x = 3 y = 4 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_large_ship_drydocks } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes has_at_least_major_power_status = yes num_of_naval_factories > 5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_improved_repair_facilities" add_timed_idea = { idea = repair_yard_focus days = 365 } } ai_will_do = { base = 1 modifier = { factor = 0 OR = { has_idea = non_power has_idea = minor_power } } } } focus = { id = GENERIC_vessel_production icon = naval_industry x = -2 y = 3 relative_position_id = GENERIC_naval_reform cost = 5 prerequisite = { focus = GENERIC_nuclear_submarines } prerequisite = { focus = GENERIC_dockyards } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_vessel_production" add_timed_idea = { idea = naval_production_bonus4 days = 730 } set_temp_variable = { temp_opinion = 5 } change_maritime_industry_opinion = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_composite_industrial_expansion icon = naval_industry x = -5 y = 4 relative_position_id = GENERIC_naval_reform cost = 5 prerequisite = { focus = GENERIC_combined_military_defense_industries } prerequisite = { focus = GENERIC_military_industry_investment_projects } search_filters = { FOCUS_FILTER_RESEARCH } available = { is_special_project_completed = sp:sp_composite_production } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_composite_industrial_expansion" one_random_composite_plant = yes } ai_will_do = { base = 1 modifier = { factor = 0 can_staff_an_composite_plant = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_weapon_conversion_packages icon = Generic_Refit_Tanks x = -3 y = 4 relative_position_id = GENERIC_naval_reform cost = 5 prerequisite = { focus = GENERIC_combined_military_defense_industries } prerequisite = { focus = GENERIC_military_industry_investment_projects } search_filters = { FOCUS_FILTER_EQUIPMENT FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_weapon_conversion_packages" add_timed_idea = { idea = equipment_conversion_efforts_idea days = 730 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_naval_doctrine_expertise icon = naval_doctrine x = 0 y = 3 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_doctrine_innovations } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_naval_doctrine_expertise" navy_experience = 25 add_mastery = { amount = 50 folder = naval } } ai_will_do = { base = 1 modifier = { add = 5 threat > 0.25 } } } focus = { id = GENERIC_convoy_and_freighter_production icon = generic_convoy x = -5 y = 1 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_reform } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes num_of_naval_factories > 0 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_convoy_and_freighter_production" add_ideas = convoy_production_bonus } ai_will_do = { base = 1 } } focus = { id = GENERIC_establish_a_marine_corps icon = generic_landing_ship x = 0 y = 5 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_naval_doctrine_expertise } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_establish_a_marine_corps" add_ideas = establishing_a_marine_corps_idea } ai_will_do = { base = 1 modifier = { factor = 0 num_of_naval_factories < 5 } modifier = { add = 5 any_enemy_country = { NOT = { is_on_same_continent_as = ROOT } } } modifier = { add = 5 threat > 0.25 } } } focus = { id = GENERIC_submarine_expansion_project icon = Generic_Submarine2 x = -1 y = 4 relative_position_id = GENERIC_naval_reform cost = 7.1 prerequisite = { focus = GENERIC_vessel_production } prerequisite = { focus = GENERIC_naval_doctrine_expertise } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes is_special_project_completed = sp:sp_naval_vessel_project } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_submarine_expansion_project" add_tech_bonus = { name = GENERIC_submarine_expansion_project uses = 2 bonus = 0.5 category = CAT_sub } if = { limit = { has_doctrine = escort_attack_subs } add_mastery = { amount = 50 sub_doctrine = escort_attack_subs } } if = { limit = { has_doctrine = hunter_killer_subs } add_mastery = { amount = 50 sub_doctrine = hunter_killer_subs } } if = { limit = { has_doctrine = missile_boats } add_mastery = { amount = 50 sub_doctrine = missile_boats } } } ai_will_do = { base = 1 modifier = { factor = 0 num_of_naval_factories < 5 } } } focus = { id = GENERIC_stealth_ships icon = generic_ship1 x = 1 y = 4 relative_position_id = GENERIC_naval_reform cost = 10 prerequisite = { focus = GENERIC_surface_ships } prerequisite = { focus = GENERIC_naval_doctrine_expertise } search_filters = { FOCUS_FILTER_RESEARCH } available = { controls_a_coastal_state = yes is_special_project_completed = sp:sp_naval_vessel_project } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_stealth_ships" if = { limit = { NOT = { is_special_project_completed = sp:sp_stealth_corvette } } sp:sp_stealth_corvette = { add_project_progress_ratio = 0.10 } } if = { limit = { NOT = { is_special_project_completed = sp:sp_stealth_frigate } } sp:sp_stealth_frigate = { add_project_progress_ratio = 0.10 } } if = { limit = { NOT = { is_special_project_completed = sp:sp_stealth_destroyer } } sp:sp_stealth_destroyer = { add_project_progress_ratio = 0.10 } } } ai_will_do = { base = 1 modifier = { factor = 0 num_of_naval_factories < 5 } } } #Air Force Reform focus = { id = GENERIC_air_force_reform icon = air_force x = 38 y = 0 cost = 10 search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_air_force_reform" air_experience = 50 add_tech_bonus = { name = GENERIC_air_force_reform uses = 1 bonus = 0.25 category = CAT_air_eqp } add_mastery = { amount = 25 folder = air } if = { limit = { NOT = { is_special_project_completed = sp:sp_aircraft_project } } sp:sp_aircraft_project = { add_project_progress_ratio = 0.10 } } } ai_will_do = { base = 1 } } focus = { id = GENERIC_fighter_planes icon = fighter_plane x = -1 y = 1 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_force_reform } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_fighter_planes" add_tech_bonus = { name = GENERIC_fighter_planes uses = 2 bonus = 0.5 category = CAT_air_eqp } } ai_will_do = { base = 1 modifier = { factor = 0 num_of_military_factories < 5 } } } focus = { id = GENERIC_air_base icon = fighter_plane x = -2 y = 3 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_fighter_planes } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_air_base" add_timed_idea = { idea = aircraft_investments days = 730 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_air_doctrine_innovations icon = air_doctrine x = 1 y = 1 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_force_reform focus = GENERIC_military_emergency } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_air_doctrine_innovations" air_experience = 75 add_mastery = { amount = 50 folder = air } } ai_will_do = { base = 1 } } focus = { id = GENERIC_satellite_programs icon = weaponized_satellites x = 3 y = 1 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_force_reform focus = GENERIC_army_reform } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_satellite_programs" add_space_program_progress = yes add_tech_bonus = { name = GENERIC_satellite_programs uses = 2 bonus = 0.50 category = CAT_satellite } } ai_will_do = { base = 1 } } focus = { id = GENERIC_capital_defense_scheme icon = army_anti_missles x = 5 y = 1 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_force_reform focus = GENERIC_military_emergency } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT } available = { if = { limit = { has_dlc = "Gotterdammerung" } has_tech = air_defense } else = { has_tech = air_defense_non_got } } completion_reward = { log = "[GetDateText]: [ROOT.GetName]: Focus GENERIC_capital_defense_scheme" if = { limit = { capital_scope = { free_building_slots = { building = anti_air_building size > 0 } } } capital_scope = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -3.25 } modify_treasury_effect = yes } else = { one_anti_air = yes } if = { limit = { OR = { AND = { has_dlc = "Gotterdammerung" NOT = { has_tech = air_defense } } NOT = { has_tech = air_defense_non_got } } } custom_effect_tooltip = GENERIC_capital_defense_scheme_tt } if = { limit = { has_dlc = "Gotterdammerung" } add_tech_bonus = { name = GENERIC_capital_defense_scheme uses = 1 bonus = 0.25 category = CAT_sam } } } ai_will_do = { base = 1 modifier = { add = 5 threat > 0.5 } modifier = { add = 5 has_war = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_defense_scheme_beta icon = mlw_sam_sites x = 5 y = 2 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_capital_defense_scheme } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT } available = { if = { limit = { has_dlc = "Gotterdammerung" } has_tech = air_defense } else = { has_tech = air_defense_non_got } } completion_reward = { log = "[GetDateText]: [ROOT.GetName]: Focus GENERIC_defense_scheme_beta" one_anti_air = yes if = { limit = { OR = { AND = { has_dlc = "Gotterdammerung" NOT = { has_tech = air_defense } } NOT = { has_tech = air_defense_non_got } } } custom_effect_tooltip = GENERIC_defense_scheme_beta_tt } } ai_will_do = { base = 1 modifier = { add = 5 threat > 0.5 } modifier = { add = 5 has_war = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_countermeasures_against_aircraft icon = air_defense x = 0 y = 2 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_fighter_planes focus = GENERIC_air_doctrine_innovations } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRCRAFT } available = { OR = { num_of_military_factories > 4 has_war = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_countermeasures_against_aircraft" add_tech_bonus = { name = GENERIC_countermeasures_against_aircraft uses = 1 bonus = 0.75 category = CAT_aa } if = { limit = { OR = { AND = { has_dlc = "Gotterdammerung" has_tech = air_defense } has_tech = air_defense_non_got } } one_anti_air = yes } } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_air_base_expansion_plan icon = generic_airport_icon x = 2 y = 2 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_doctrine_innovations } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_air_base_expansion_plan" one_air_base = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_bomber_planes icon = modern_bomber x = -1 y = 4 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_fighter_planes } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 5 if = { limit = { has_dlc = "By Blood Alone" } is_special_project_completed = sp:sp_aircraft_project } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_bomber_planes" add_tech_bonus = { name = GENERIC_bomber_planes uses = 1 bonus = 0.35 category = CAT_large_plane } } ai_will_do = { base = 1 modifier = { factor = 0 num_of_military_factories < 15 } } } focus = { id = GENERIC_drones icon = drone2 x = 1 y = 3 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_doctrine_innovations } prerequisite = { focus = GENERIC_infantry_equipment_development } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_drones" add_tech_bonus = { name = GENERIC_drones uses = 2 bonus = 0.5 category = CAT_l_drone category = CAT_a_uav } } ai_will_do = { base = 1 } } focus = { id = GENERIC_domestic_drone_production icon = drone x = 1 y = 4 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_drones } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_drone_production" add_timed_idea = { idea = drone_production_idea days = 730 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_air_base_expansion_plan_two icon = build_new_airports x = 2 y = 5 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_base_expansion_plan } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT } completion_reward = { log = "[GetDateText]: [ROOT.GetName]: Focus GENERIC_air_base_expansion_plan_two" one_air_base = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = GENERIC_domestic_helicopter_production icon = Generic_Transport_Helicopter x = 3 y = 3 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_infantry_equipment_development } prerequisite = { focus = GENERIC_air_base_expansion_plan } search_filters = { FOCUS_FILTER_RESEARCH } available = { air_facility > 0 num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_helicopter_production" add_breakthrough_points = { specialization = specialization_air value = 1 } if = { limit = { NOT = { is_special_project_completed = sp:sp_helicopter_project } } sp:sp_helicopter_project = { add_project_progress_ratio = 0.15 } } add_tech_bonus = { name = GENERIC_domestic_helicopter_production uses = 1 bonus = 0.25 category = CAT_heli } } ai_will_do = { base = 1 } } focus = { id = GENERIC_domestic_attack_helicopter_production icon = Generic_Attack_Helicopter x = 4 y = 4 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_domestic_helicopter_production } prerequisite = { focus = GENERIC_manpads } search_filters = { FOCUS_FILTER_RESEARCH } available = { air_facility > 0 is_special_project_completed = sp:sp_helicopter_project num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_domestic_attack_helicopter_production" add_tech_bonus = { name = GENERIC_domestic_attack_helicopter_production uses = 2 bonus = 0.35 category = CAT_atk_heli } } ai_will_do = { base = 1 } } focus = { id = GENERIC_develop_air_cavalry_doctrines icon = helicopter_sheep x = 4 y = 5 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_domestic_attack_helicopter_production } search_filters = { FOCUS_FILTER_RESEARCH } available = { is_special_project_completed = sp:sp_helicopter_project num_of_military_factories > 9 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_develop_air_cavalry_doctrines" add_tech_bonus = { name = GENERIC_develop_air_cavalry_doctrines uses = 1 bonus = 0.35 category = CAT_heli } random_army_leader = { limit = { NOT = { has_trait = air_cavalry_leader } } add_trait = { trait = air_cavalry_leader } } } ai_will_do = { base = 1 } } focus = { id = GENERIC_manpads icon = generic_manpads x = 5 y = 3 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_infantry_equipment_development } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_manpads" add_tech_bonus = { name = GENERIC_manpads uses = 2 bonus = 0.5 category = CAT_l_aa } } ai_will_do = { base = 1 } } focus = { id = GENERIC_air_doctrine_expertise icon = air_doctrine x = 0 y = 5 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_countermeasures_against_aircraft } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_air_doctrine_expertise" air_experience = 75 add_mastery = { amount = 50 folder = air } } ai_will_do = { base = 1 } } focus = { id = GENERIC_paratrooper_corps icon = paratroopers x = 1 y = 6 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_air_doctrine_expertise } prerequisite = { focus = GENERIC_air_base_expansion_plan_two } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_paratrooper_corps" add_ideas = establishing_a_paratrooper_corps_idea } ai_will_do = { base = 1 } } #Army Reform focus = { id = GENERIC_army_reform icon = infantry_allies x = 49 y = 0 cost = 10 search_filters = { FOCUS_FILTER_EXPENDITURE } available = { NOT = { has_idea = no_military } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_army_reform" army_experience = 50 add_command_power = 20 increase_military_spending = yes } ai_will_do = { base = 1 } } focus = { id = GENERIC_military_emergency icon = tanks2 x = -3 y = 0 relative_position_id = GENERIC_army_reform cost = 2 search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { OR = { has_defensive_war = yes surrender_progress > 0.05 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_military_emergency" army_experience = 50 air_experience = 50 if = { limit = { has_war_support < 0.75 } add_war_support = 0.05 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_military_equipment_procurement icon = lend_lease x = 7 y = 1 relative_position_id = GENERIC_air_force_reform cost = 10 prerequisite = { focus = GENERIC_military_emergency focus = GENERIC_army_reform } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_EQUIPMENT } available = { OR = { has_government = nationalist has_government = fascism has_war = yes threat > 0.20 } } completion_reward = { log = "[GetDateText]: [ROOT.GetName]: Focus GENERIC_military_equipment_procurement" add_timed_idea = { idea = idea_focus_import_additional_military_equipment days = 365 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_land_doctrine_innovations icon = soliger_plain x = -2 y = 1 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_army_reform focus = GENERIC_military_emergency } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_land_doctrine_innovations" add_mastery = { amount = 10 folder = land } } ai_will_do = { base = 1 } } focus = { id = GENERIC_military_exercises icon = military_mission x = 0 y = 1 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_army_reform } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_military_exercises" army_experience = 75 add_war_support = 0.05 } ai_will_do = { base = 1 } } focus = { id = GENERIC_military_education_reform icon = recruitment x = 2 y = 1 relative_position_id = GENERIC_army_reform cost = 7.86 prerequisite = { focus = GENERIC_army_reform } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_military_education_reform" increase_officer_training_level = yes every_character = { limit = { is_army_leader = yes } add_skill_level = 1 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_infantry_equipment_development icon = small_arms2 x = -3 y = 2 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_land_doctrine_innovations } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 2 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_infantry_equipment_development" add_tech_bonus = { name = GENERIC_infantry_equipment_development uses = 2 bonus = 0.5 category = CAT_inf_wep } add_timed_idea = { days = 365 idea = rifle_production_bonus2 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_land_doctrine_expertise icon = army_doctrine x = -1 y = 2 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_land_doctrine_innovations } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_land_doctrine_expertise" army_experience = 75 add_mastery = { amount = 35 folder = land } add_mastery = { amount = 35 folder = equipment } } ai_will_do = { base = 1 modifier = { factor = 0.25 has_selected_land_equipment_grand_doctrine = no } modifier = { factor = 0.25 has_selected_land_grand_doctrine = no } modifier = { factor = 2 OR = { has_war = yes threat > 0.15 } } } } focus = { id = GENERIC_artillery_experiments icon = artillery x = 1 y = 2 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_military_exercises } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_artillery_experiments" add_tech_bonus = { name = GENERIC_artillery_experiments uses = 2 bonus = 0.5 category = CAT_arty } } ai_will_do = { base = 1 modifier = { factor = 2 OR = { has_war = yes threat > 0.15 } } } } focus = { id = GENERIC_uniform_improvements icon = general_staff x = -4 y = 3 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_infantry_equipment_development } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_uniform_improvements" add_tech_bonus = { name = GENERIC_uniform_improvements uses = 2 bonus = 0.5 technology = body_armor_1 technology = body_armor_2 technology = body_armor_3 technology = body_armor_4 technology = camouflage_1 technology = camouflage_2 technology = camouflage_3 technology = camouflage_4 technology = camouflage_5 } } ai_will_do = { base = 1 } } focus = { id = GENERIC_utility_vehicles icon = generic_utility_vehice x = -2 y = 3 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_infantry_equipment_development } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_utility_vehicles" add_tech_bonus = { name = GENERIC_utility_vehicles uses = 2 bonus = 0.5 category = CAT_util } } ai_will_do = { base = 1 } } focus = { id = GENERIC_special_forces_training_programmes icon = special_forces x = -3 y = 4 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_uniform_improvements } prerequisite = { focus = GENERIC_utility_vehicles } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_special_forces_training_programmes" army_experience = 25 navy_experience = 25 air_experience = 25 add_mastery = { amount = 35 folder = special_forces } } ai_will_do = { base = 1 modifier = { factor = 0 NOT = { has_doctrine = special_forces_mixed } } } } focus = { id = GENERIC_rangers_and_light_infantry icon = army_recruting x = -4 y = 5 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_special_forces_training_programmes } mutually_exclusive = { focus = GENERIC_specialized_mechanized_battalions } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_rangers_and_light_infantry" add_ideas = light_infantry_special_forces_idea if = { limit = { has_doctrine = forest_ranger_doctrine } add_mastery = { amount = 35 sub_doctrine = forest_ranger_doctrine } } if = { limit = { has_doctrine = jungle_ranger_doctrine } add_mastery = { amount = 35 sub_doctrine = jungle_ranger_doctrine } } } ai_will_do = { base = 1 modifier = { factor = 0 NOT = { has_doctrine = special_forces_mixed } } } } focus = { id = GENERIC_specialized_mechanized_battalions icon = ifv x = -2 y = 5 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_special_forces_training_programmes } mutually_exclusive = { focus = GENERIC_rangers_and_light_infantry } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_specialized_mechanized_battalions" add_ideas = mechanized_special_forces_idea } ai_will_do = { base = 1 modifier = { factor = 0 NOT = { has_doctrine = special_forces_mixed } } } } focus = { id = GENERIC_self_propelled_artillery icon = Generic_SPG x = 0 y = 3 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_land_doctrine_expertise } prerequisite = { focus = GENERIC_artillery_experiments } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 4 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_self_propelled_artillery" add_tech_bonus = { name = GENERIC_self_propelled_artillery uses = 2 bonus = 0.5 category = CAT_sp_r_arty } } ai_will_do = { base = 1 modifier = { factor = 2 OR = { has_war = yes threat > 0.15 } } } } focus = { id = GENERIC_self_propelled_anti_air icon = army_antiair x = 0 y = 4 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_self_propelled_artillery } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 4 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_self_propelled_anti_air" add_tech_bonus = { name = GENERIC_self_propelled_anti_air uses = 2 bonus = 0.5 category = CAT_aa } } ai_will_do = { base = 1 } } focus = { id = GENERIC_develop_armor_prototypes icon = tanks4 x = 2 y = 3 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_artillery_experiments } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_develop_armor_prototypes" add_tech_bonus = { name = GENERIC_develop_armor_prototypes uses = 2 bonus = 0.5 category = CAT_armor } if = { limit = { has_dlc = "No Step Back" NOT = { is_special_project_completed = sp:sp_armoured_vehicle_project } } add_breakthrough_points = { specialization = specialization_land value = 1 } } } ai_will_do = { base = 1 modifier = { factor = 2 OR = { has_war = yes threat > 0.15 } } } } focus = { id = GENERIC_countermeasures_against_armored_units icon = generic_atgm x = 2 y = 4 relative_position_id = GENERIC_army_reform cost = 10 prerequisite = { focus = GENERIC_develop_armor_prototypes } search_filters = { FOCUS_FILTER_RESEARCH } available = { num_of_military_factories > 5 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus GENERIC_countermeasures_against_armored_units" add_tech_bonus = { name = GENERIC_countermeasures_against_armored_units uses = 2 bonus = 0.5 category = CAT_at } } ai_will_do = { base = 1 } } }