# Author(s): Angriest Bird/Tortoise, Rafael, Aranhabolt focus_tree = { id = BRA_focus_tree country = { factor = 0 modifier = { add = 10 tag = BRA } } continuous_focus_position = { x = 0 y = 1500 } shared_focus = BRA_americas_unity # Focus Shortcut shortcut = { name = BRA_nossa_economia target = BRA_nossa_economia scroll_wheel_factor = 0.80 } shortcut = { name = BRA_global_diplomacy target = BRA_global_diplomacy scroll_wheel_factor = 0.80 } shortcut = { name = BRA_2002_elections target = BRA_2002_elections scroll_wheel_factor = 0.80 } shortcut = { name = BRA_nosso_exercito target = BRA_nosso_exercito scroll_wheel_factor = 0.80 } shortcut = { name = BRA_op_car_wash target = BRA_op_car_wash scroll_wheel_factor = 0.80 } # Notes from Birdy: # The mercosur section needs an extreme improvement. The mercosur stuff should be array based and not using every_country # It is better optimized then using every_country. Furthermore, you will want to improve the logical actions in these focuses. # Nations who don't exist should not get free things, as well as you shouldn't be able to court america if you are at war with them. # 2002 Elections focus = { id = BRA_2002_elections icon = BRA_the_2018_elections x = 9 y = -1 cost = 5 search_filters = { FOCUS_FILTER_POLITICAL } available = { always = no } cancel = { date > 2002.12.31 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_2002_elections" } ai_will_do = { base = 90 } } focus = { id = BRA_nossa_economia icon = BRA_economic_growth x = -12 y = 0 cost = 6.5 search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_nossa_economia" add_ideas = BRA_idea_nossa_economia } ai_will_do = { base = 95 modifier = { factor = 3 has_completed_focus = BRA_crippled_currency } } } focus = { id = BRA_pay_back_the_imf icon = imf x = 2 y = 1 relative_position_id = BRA_nossa_economia cost = 6.5 prerequisite = { focus = BRA_nossa_economia } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_EXPENDITURE } available = { has_completed_focus = BRA_crippled_currency if = { limit = { has_idea = BRA_idea_crippled_currency_one } has_idea = BRA_idea_crippled_currency_one } else = { has_idea = BRA_idea_crippled_currency_two } OR = { has_idea = BRA_idea_imf_debts has_idea = BRA_idea_foreign_debt_assistance } } bypass = { has_completed_focus = BRA_crippled_currency NOT = { has_idea = BRA_idea_imf_debts } NOT = { has_idea = BRA_idea_foreign_debt_assistance } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pay_back_the_imf" if = { limit = { has_idea = BRA_idea_crippled_currency_two } remove_ideas = BRA_idea_crippled_currency_two } if = { limit = { has_idea = BRA_idea_crippled_currency_one } remove_ideas = BRA_idea_crippled_currency_one } if = { limit = { has_idea = BRA_idea_imf_debts } remove_ideas = BRA_idea_imf_debts } if = { limit = { has_idea = BRA_idea_foreign_debt_assistance } remove_ideas = BRA_idea_foreign_debt_assistance } set_temp_variable = { debt_change = { value = debt multiply = -0.15 } } clamp_temp_variable = { var = debt_change max = 0 min = -300 } modify_debt_effect = yes set_temp_variable = { treasury_change = { value = debt_change multiply = 0.50 } } modify_treasury_effect = yes } ai_will_do = { base = 95 modifier = { factor = 3 has_completed_focus = BRA_crippled_currency } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_brazilian_exports icon = focus_BRA_pro_business_taxes x = 1 y = 1 relative_position_id = BRA_pay_back_the_imf cost = 5.8 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_TRADE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_exports" add_ideas = BRA_idea_brazilian_exports_1 increase_exports = yes } ai_will_do = { base = 35 } } focus = { id = BRA_foreign_companies icon = brazil_foreign_companies x = 0 y = 1 relative_position_id = BRA_brazilian_exports cost = 5.8 prerequisite = { focus = BRA_brazilian_exports } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foreign_companies" set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes change_international_bankers_opinion = yes set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.05 } } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } # Lula's 2002 Tree focus = { id = BRA_lula icon = BRA_lulismo_colored x = 5 y = 0 cost = 1 prerequisite = { focus = BRA_2002_elections } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } bypass = { date > 2016.12.31 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_lula" unlock_decision_category_tooltip = BRA_workers_party_alignment_decision_category hidden_effect = { add_ideas = BRA_idea_well_balanced } } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_the_workers_party_political_path icon = workers_party x = 8 y = 1 relative_position_id = BRA_lula cost = 3 prerequisite = { focus = BRA_lula } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_workers_party_political_path" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_a_promise_to_keep icon = BRA_a_promise_to_keep x = -1 y = 1 relative_position_id = BRA_the_workers_party_political_path cost = 5 prerequisite = { focus = BRA_the_workers_party_political_path } mutually_exclusive = { focus = BRA_align_centrao } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_a_promise_to_keep" set_temp_variable = { temp_change = 5 } BRA_worker_party_alignment_effect = yes set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes custom_effect_tooltip = BRA_pdt_coalition_tt add_stability = 0.05 add_political_power = 150 hidden_effect = { set_temp_variable = { add_col_one = 3 } add_coalition_members_effect = yes if = { limit = { NOT = { has_government = democratic } } reset_democratic_coalition_ideas = yes } } decrease_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } modifier = { factor = 0 OR = { has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_align_centrao icon = improve_relations x = 1 y = 1 relative_position_id = BRA_the_workers_party_political_path cost = 5 prerequisite = { focus = BRA_the_workers_party_political_path } mutually_exclusive = { focus = BRA_a_promise_to_keep } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_centrao" set_temp_variable = { temp_change = -5 } BRA_worker_party_alignment_effect = yes set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes custom_effect_tooltip = BRA_mdb_coalition_tt add_stability = 0.05 add_political_power = 150 hidden_effect = { set_temp_variable = { add_col_one = 15 } add_coalition_members_effect = yes if = { limit = { NOT = { has_government = neutrality } } reset_neutrality_coalition_ideas = yes } } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_media_tatics icon = BRA_soc_dem_twitter x = 0 y = 1 relative_position_id = BRA_align_centrao cost = 5 prerequisite = { focus = BRA_align_centrao } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_media_tatics" set_temp_variable = { temp_change = -5 } BRA_worker_party_alignment_effect = yes set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_mensalao icon = BRA_mensalao_new x = 0 y = 1 relative_position_id = BRA_media_tatics cost = 5 prerequisite = { focus = BRA_media_tatics } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_mensalao" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes add_political_power = 200 add_ideas = BRA_idea_mensalao increase_corruption = yes } ai_will_do = { base = 0 } } focus = { id = BRA_crush_corruption icon = anti_establishment x = 0 y = 1 relative_position_id = BRA_a_promise_to_keep cost = 4 prerequisite = { focus = BRA_a_promise_to_keep } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_crush_corruption" decrease_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } } } focus = { id = BRA_push_for_an_agrarian_reform icon = land_reform x = 0 y = 1 relative_position_id = BRA_crush_corruption cost = 10 prerequisite = { focus = BRA_crush_corruption } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_push_for_an_agrarian_reform" add_ideas = BRA_idea_agrarian_reform set_temp_variable = { temp_opinion = -5 } change_farmers_opinion = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_an_example_of_honesty icon = BRA_lula_2002 x = 1 y = 1 relative_position_id = BRA_push_for_an_agrarian_reform cost = 3.2 prerequisite = { focus = BRA_push_for_an_agrarian_reform focus = BRA_mensalao } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_an_example_of_honesty" add_country_leader_trait = popular_figurehead } ai_will_do = { base = 90 } } focus = { id = BRA_lula_foreign_policy icon = diplomacy x = 12 y = 1 relative_position_id = BRA_lula cost = 5 prerequisite = { focus = BRA_lula } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_lula_foreign_policy" add_political_power = 150 } ai_will_do = { base = 90 } } focus = { id = BRA_align_to_cuba icon = align_to_cuba x = -1 y = 1 relative_position_id = BRA_lula_foreign_policy cost = 5 prerequisite = { focus = BRA_lula_foreign_policy } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } country_exists = CUB NOT = { has_war_with = CUB } } bypass = { OR = { NOT = { country_exists = CUB } CUB = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_to_cuba" CUB = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = CUB modifier = friendship } } ai_will_do = { base = 10 } } focus = { id = BRA_align_to_venezuela icon = align_to_venezuela x = 0 y = 1 relative_position_id = BRA_align_to_cuba cost = 5 prerequisite = { focus = BRA_align_to_cuba } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } VEN = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_to_venezuela" VEN = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = VEN modifier = friendship } } ai_will_do = { base = 10 } } focus = { id = BRA_align_to_bolivia icon = align_to_bolivia x = 0 y = 1 relative_position_id = BRA_align_to_venezuela cost = 5 prerequisite = { focus = BRA_align_to_venezuela } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } country_exists = BOL NOT = { has_war_with = BOL } } bypass = { OR = { NOT = { country_exists = BOL } BOL = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_to_bolivia" BOL = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = BOL modifier = friendship } } ai_will_do = { base = 10 } } focus = { id = BRA_chinese_alignment icon = align_to_china x = 1 y = 1 relative_position_id = BRA_lula_foreign_policy cost = 5 prerequisite = { focus = BRA_lula_foreign_policy } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } country_exists = CHI NOT = { has_war_with = CHI } } bypass = { OR = { NOT = { country_exists = CHI } CHI = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_chinese_alignment" add_opinion_modifier = { target = CHI modifier = friendship } reverse_add_opinion_modifier = { target = CHI modifier = friendship } } ai_will_do = { base = 10 } } focus = { id = BRA_chinese_trade icon = trade_with_china x = 0 y = 1 relative_position_id = BRA_chinese_alignment cost = 5 prerequisite = { focus = BRA_chinese_alignment } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_TRADE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } country_exists = CHI NOT = { has_war_with = CHI } } bypass = { CHI = { has_trade_agreement_with_PREV_nation = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_chinese_trade" set_temp_variable = { receiver_nation = BRA.id } set_temp_variable = { sender_nation = CHI.id } set_improved_trade_agreement = yes } ai_will_do = { base = 35 } } focus = { id = BRA_brics_investments icon = GFX_brics x = 0 y = 1 relative_position_id = BRA_chinese_trade cost = 10 prerequisite = { focus = BRA_chinese_trade } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INDUSTRY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brics_investments" set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes add_offsite_building = { type = industrial_complex level = 2 } add_offsite_building = { type = offices level = 2 } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_international_support icon = align_to_united_nations x = -1 y = 1 relative_position_id = BRA_brics_investments cost = 5 prerequisite = { focus = BRA_brics_investments } prerequisite = { focus = BRA_align_to_bolivia } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_international_support" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_improve_workers_rights icon = BRA_labor_laws x = -1 y = 1 relative_position_id = BRA_lula cost = 2 prerequisite = { focus = BRA_lula } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_improve_workers_rights" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes add_ideas = BRA_idea_pro_unions } ai_will_do = { base = 90 modifier = { factor = 2.5 check_variable = { labour_unions_opinion < 50 } } } } focus = { id = BRA_increase_taxes icon = economic_crisis x = 1 y = 1 relative_position_id = BRA_improve_workers_rights cost = 2 prerequisite = { focus = BRA_improve_workers_rights } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_increase_taxes" set_temp_variable = { temp_change = -3 } BRA_worker_party_alignment_effect = yes set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes change_international_bankers_opinion = yes set_temp_variable = { pop_change = 5 } modify_population_tax_rate_effect = yes } ai_will_do = { base = 90 } } focus = { id = BRA_improve_the_public_sector icon = consumer_goods x = -1 y = 1 relative_position_id = BRA_improve_workers_rights cost = 6.5 prerequisite = { focus = BRA_improve_workers_rights } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_improve_the_public_sector" add_ideas = idea_focus_generic_public_service_investment set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } ai_will_do = { base = 90 modifier = { factor = 2.5 check_variable = { labour_unions_opinion < 50 } } } } focus = { id = BRA_social_enterprises icon = industry_democratic3 x = -1 y = 1 relative_position_id = BRA_improve_the_public_sector cost = 10 prerequisite = { focus = BRA_improve_the_public_sector } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_social_enterprises" add_ideas = BRA_idea_social_enterprises set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_industrial_conglomerates_opinion = yes set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes 889 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_economic_interventionism icon = central_planned_economy x = 1 y = 1 relative_position_id = BRA_improve_the_public_sector cost = 10 prerequisite = { focus = BRA_improve_the_public_sector } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_economic_interventionism" set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes change_international_bankers_opinion = yes set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes 887 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_ideas = ITA_capital_flight increase_centralization = yes set_temp_variable = { desire_change = 0.5 } change_expected_bureaucracy_spending = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_expand_state_owned_companies icon = BRA_corruption_in_petrobras x = -1 y = 1 relative_position_id = BRA_social_enterprises cost = 10 prerequisite = { focus = BRA_social_enterprises } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_idea = industrial_conglomerates } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_expand_state_owned_companies" increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_industrial_conglomerates_opinion = yes change_fossil_fuel_industry_opinion = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes add_resource = { type = oil amount = 5 state = 883 } 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_introduce_new_regulations icon = central_planned_economy2 x = -1 y = 1 relative_position_id = BRA_economic_interventionism cost = 3 prerequisite = { focus = BRA_social_enterprises } prerequisite = { focus = BRA_economic_interventionism } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_introduce_new_regulations" add_ideas = ITA_rigid_labour_market set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_encourage_consumption icon = economic_prosperity x = 1 y = 1 relative_position_id = BRA_expand_state_owned_companies cost = 8 prerequisite = { focus = BRA_introduce_new_regulations } prerequisite = { focus = BRA_expand_state_owned_companies } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_ECONOMY } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_encourage_consumption" set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes increase_economic_growth = yes if = { limit = { has_idea = BRA_idea_crippled_currency_one } remove_ideas = BRA_idea_crippled_currency_one } if = { limit = { has_idea = BRA_idea_crippled_currency_two } remove_ideas = BRA_idea_crippled_currency_two } } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_national_developmentalism icon = construction2 x = 1 y = 1 relative_position_id = BRA_economic_interventionism cost = 6.4 prerequisite = { focus = BRA_economic_interventionism } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_national_developmentalism" increase_economic_growth = yes add_ideas = developmentalism set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes 887 = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = offices level = 1 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 can_staff_an_offices = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_social_programs_agenda_lula icon = BRA_brazsocdem x = 3 y = 1 relative_position_id = BRA_lula cost = 3 prerequisite = { focus = BRA_lula } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_social_programs_agenda_lula" add_stability = 0.08 add_popularity = { ideology = communism popularity = 0.02 } recalculate_party = yes set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_fome_zero icon = BRA_fome_zero_focus x = -1 y = 1 relative_position_id = BRA_social_programs_agenda_lula cost = 5 prerequisite = { focus = BRA_social_programs_agenda_lula } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fome_zero" increase_social_spending = yes set_temp_variable = { temp_change = 3 } BRA_worker_party_alignment_effect = yes set_temp_variable = { desire_change = 0.5 } change_expected_social_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_bolsa_familia icon = BRA_bolsa_familia x = 0 y = 1 relative_position_id = BRA_fome_zero cost = 5 prerequisite = { focus = BRA_fome_zero } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_bolsa_familia" increase_social_spending = yes set_temp_variable = { temp_change = 3 } BRA_worker_party_alignment_effect = yes } ai_will_do = { base = 90 } } focus = { id = BRA_expand_social_benefits icon = social_democracy_industry x = 0 y = 1 relative_position_id = BRA_bolsa_familia cost = 5 prerequisite = { focus = BRA_bolsa_familia } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_expand_social_benefits" increase_social_spending = yes set_temp_variable = { temp_change = 3 } BRA_worker_party_alignment_effect = yes } ai_will_do = { base = 90 } } focus = { id = BRA_education_funding icon = literacy_rate_improvment x = 1 y = 1 relative_position_id = BRA_social_programs_agenda_lula cost = 3 prerequisite = { focus = BRA_social_programs_agenda_lula } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_education_funding" increase_education_budget = yes set_temp_variable = { temp_change = 3 } BRA_worker_party_alignment_effect = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_university_funding icon = brain_power x = 0 y = 1 relative_position_id = BRA_education_funding cost = 3 prerequisite = { focus = BRA_education_funding } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_university_funding" increase_education_budget = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_gather_the_teachers_support icon = communist_scientists x = 0 y = 1 relative_position_id = BRA_university_funding cost = 3 prerequisite = { focus = BRA_university_funding } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_gather_the_teachers_support" add_popularity = { ideology = communism popularity = 0.02 } set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes add_ideas = BRA_idea_support_from_the_teachers } ai_will_do = { base = 90 } } focus = { id = BRA_increase_the_minimun_wage icon = money x = -1 y = 1 relative_position_id = BRA_gather_the_teachers_support cost = 6 prerequisite = { focus = BRA_gather_the_teachers_support } prerequisite = { focus = BRA_expand_social_benefits } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Luiz Inácio Lula da Silva" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_increase_the_minimun_wage" add_ideas = BRA_idea_higher_minimun_wage_1 } ai_will_do = { base = 90 } } # Serra's 2000 tree focus = { id = BRA_serra icon = BRA_serra_elected_colored x = 28 y = 0 cost = 1 prerequisite = { focus = BRA_2002_elections } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } bypass = { date > 2016.12.31 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_serra" } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_foreign_policy_serra icon = diplomacy x = -6 y = 1 relative_position_id = BRA_serra cost = 5 prerequisite = { focus = BRA_serra } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foreign_policy_serra" add_political_power = 100 } ai_will_do = { base = 10 } } focus = { id = BRA_american_diplomacy icon = align_to_america x = -1 y = 1 relative_position_id = BRA_foreign_policy_serra cost = 5 prerequisite = { focus = BRA_foreign_policy_serra } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } USA = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_american_diplomacy" USA = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = USA modifier = friendship } } ai_will_do = { base = 90 } } focus = { id = BRA_american_trade icon = trade_with_america x = 0 y = 1 relative_position_id = BRA_american_diplomacy cost = 5 prerequisite = { focus = BRA_american_diplomacy } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_TRADE } available = { has_country_leader = { name = "José Serra" } country_exists = USA NOT = { has_war_with = USA } } bypass = { USA = { has_trade_agreement_with_PREV_nation = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_american_trade" set_temp_variable = { receiver_nation = BRA.id } set_temp_variable = { sender_nation = USA.id } set_improved_trade_agreement = yes } ai_will_do = { base = 35 } } focus = { id = BRA_american_investments icon = usa_investments x = 0 y = 1 relative_position_id = BRA_american_trade cost = 5 prerequisite = { focus = BRA_american_trade } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INDUSTRY } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_american_investments" set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes add_offsite_building = { type = industrial_complex level = 1 } add_offsite_building = { type = offices level = 1 } set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_looking_to_europe icon = align_to_europe x = 1 y = 1 relative_position_id = BRA_foreign_policy_serra cost = 5 prerequisite = { focus = BRA_foreign_policy_serra } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_INFLUENCE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_looking_to_europe" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = ROOT modifier = friendship } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } ai_will_do = { base = 10 } } focus = { id = BRA_european_trade icon = trade_with_europe x = 0 y = 1 relative_position_id = BRA_looking_to_europe cost = 5 prerequisite = { focus = BRA_looking_to_europe } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_TRADE FOCUS_FILTER_INFLUENCE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_european_trade" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = ROOT modifier = economic_mission } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } ai_will_do = { base = 35 } } focus = { id = BRA_european_investments_serra icon = eu_investments x = 0 y = 1 relative_position_id = BRA_european_trade cost = 5 prerequisite = { focus = BRA_european_trade } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INDUSTRY } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_european_investments_serra" set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes add_offsite_building = { type = industrial_complex level = 1 } add_offsite_building = { type = offices level = 1 } set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_global_alignment icon = align_to_united_nations x = 1 y = 1 relative_position_id = BRA_american_investments cost = 5 prerequisite = { focus = BRA_european_investments_serra } prerequisite = { focus = BRA_american_investments } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_global_alignment" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_fiscal_reform icon = money x = 1 y = 1 relative_position_id = BRA_serra cost = 6.4 prerequisite = { focus = BRA_serra } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fiscal_reform" increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_international_bankers_opinion = yes change_small_medium_business_owners_opinion = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_education_investment icon = literacy_rate_improvment2 x = 3 y = 1 relative_position_id = BRA_fiscal_reform cost = 5 prerequisite = { focus = BRA_fiscal_reform } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_education_investment" increase_education_budget = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_improve_healthcare_conditions icon = medicine x = 5 y = 1 relative_position_id = BRA_fiscal_reform cost = 5 prerequisite = { focus = BRA_fiscal_reform } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_improve_healthcare_conditions" increase_healthcare_budget = yes } ai_will_do = { base = 90 } } focus = { id = BRA_administrative_reform_serra icon = BRA_decentralization x = 1 y = 1 relative_position_id = BRA_education_investment cost = 10 prerequisite = { focus = BRA_education_investment } prerequisite = { focus = BRA_improve_healthcare_conditions } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_administrative_reform_serra" decrease_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } } } focus = { id = BRA_federalization_ethos icon = BRA_push_for_decentralisation x = -1 y = 1 relative_position_id = BRA_administrative_reform_serra cost = 8 prerequisite = { focus = BRA_administrative_reform_serra } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_federalization_ethos" add_ideas = BRA_idea_federalization_1 } ai_will_do = { base = 90 } } focus = { id = BRA_improve_the_real icon = coins x = 1 y = 1 relative_position_id = BRA_administrative_reform_serra cost = 5 prerequisite = { focus = BRA_administrative_reform_serra } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_improve_the_real" increase_economic_growth = yes if = { limit = { has_idea = BRA_idea_crippled_currency_one } remove_ideas = BRA_idea_crippled_currency_one } if = { limit = { has_idea = BRA_idea_crippled_currency_two } remove_ideas = BRA_idea_crippled_currency_two } } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = BRA_idea_crippled_currency_one has_idea = BRA_idea_crippled_currency_two } } modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_effective_public_sector icon = race_relations2 x = 1 y = 1 relative_position_id = BRA_federalization_ethos cost = 10 prerequisite = { focus = BRA_federalization_ethos } prerequisite = { focus = BRA_improve_the_real } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_effective_public_sector" add_ideas = NIG_efficient_government_spending_reform_idea } ai_will_do = { base = 90 } } focus = { id = BRA_pay_off_the_debt icon = imf x = 1 y = 1 relative_position_id = BRA_improve_the_real cost = 6 prerequisite = { focus = BRA_improve_the_real } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pay_off_the_debt" set_temp_variable = { debt_change = -100 } modify_debt_effect = yes } ai_will_do = { base = 35 modifier = { factor = 3 check_variable = { debt > 99 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_empower_the_states icon = BRA_federalism x = -1 y = 1 relative_position_id = BRA_federalization_ethos cost = 6 prerequisite = { focus = BRA_federalization_ethos } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_empower_the_states" swap_ideas = { remove_idea = BRA_idea_federalization_1 add_idea = BRA_idea_federalization_2 } } ai_will_do = { base = 90 } } focus = { id = BRA_scientific_efforts icon = science2 x = -1 y = 1 relative_position_id = BRA_education_investment cost = 5 prerequisite = { focus = BRA_education_investment } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_scientific_efforts" set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes add_ideas = BRA_idea_scientific_advances } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_weaken_economic_regulations icon = BRA_deregulation_new x = -1 y = 1 relative_position_id = BRA_fiscal_reform cost = 3 prerequisite = { focus = BRA_fiscal_reform } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_weaken_economic_regulations" set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_employment_projects icon = union_negotiations x = 1 y = 1 relative_position_id = BRA_fiscal_reform cost = 4 prerequisite = { focus = BRA_fiscal_reform } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_employment_projects" set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes 885 = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } add_building_construction = { type = offices level = 1 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 can_staff_an_offices = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_infrastructure_projects icon = infrastructure1 x = 1 y = 1 relative_position_id = BRA_weaken_economic_regulations cost = 5.5 prerequisite = { focus = BRA_weaken_economic_regulations } prerequisite = { focus = BRA_employment_projects } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_infrastructure_projects" set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes 1025 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 890 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_diversify_the_economy icon = resource_extraction x = 0 y = 1 relative_position_id = BRA_infrastructure_projects cost = 7 prerequisite = { focus = BRA_infrastructure_projects } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_diversify_the_economy" set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes 1022 = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = offices level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } } ai_will_do = { base = 90 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 can_staff_an_offices = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_increase_private_sector_role icon = business_man x = 0 y = 1 relative_position_id = BRA_diversify_the_economy cost = 3.5 prerequisite = { focus = BRA_diversify_the_economy } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_ECONOMY } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_increase_private_sector_role" increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes change_small_medium_business_owners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_guarantee_civil_liberties icon = BRA_brazneolib x = -2 y = 1 relative_position_id = BRA_serra cost = 4 prerequisite = { focus = BRA_serra } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_guarantee_civil_liberties" add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_protect_brazilian_democracy icon = BRA_democracy_triumphant x = 0 y = 1 relative_position_id = BRA_guarantee_civil_liberties cost = 4 prerequisite = { focus = BRA_guarantee_civil_liberties } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_protect_brazilian_democracy" add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_maintain_power icon = psdb_focus x = -1 y = 1 relative_position_id = BRA_protect_brazilian_democracy cost = 5 prerequisite = { focus = BRA_protect_brazilian_democracy } mutually_exclusive = { focus = BRA_crackdown_on_corruption } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_maintain_power" increase_corruption = yes set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.15 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_LIBERALS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_crackdown_on_corruption icon = anti_establishment x = 1 y = 1 relative_position_id = BRA_protect_brazilian_democracy cost = 5 prerequisite = { focus = BRA_protect_brazilian_democracy } mutually_exclusive = { focus = BRA_maintain_power } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_crackdown_on_corruption" decrease_corruption = yes set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_gather_the_popular_support icon = BRA_patriotism2 x = 0 y = 1 relative_position_id = BRA_crackdown_on_corruption cost = 10 prerequisite = { focus = BRA_crackdown_on_corruption } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_gather_the_popular_support" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_ensure_political_majority_psdb icon = parliament_box x = 0 y = 1 relative_position_id = BRA_maintain_power cost = 10 prerequisite = { focus = BRA_maintain_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ensure_political_majority_psdb" increase_corruption = yes set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.10 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_positivism icon = BRA_brazilian_liberalism2 x = 1 y = 1 relative_position_id = BRA_ensure_political_majority_psdb cost = 5 prerequisite = { focus = BRA_ensure_political_majority_psdb focus = BRA_gather_the_popular_support } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "José Serra" } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_positivism" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_global_diplomacy icon = BRA_Itamaraty x = 5 y = 6 cost = 5 search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_global_diplomacy" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_new_wave_ideas icon = BRA_coat_of_arms x = 0 y = 3 relative_position_id = BRA_global_diplomacy cost = 6.8 prerequisite = { focus = BRA_western_investments } prerequisite = { focus = BRA_eastern_investments } prerequisite = { focus = BRA_our_own_industry } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_wave_ideas" add_ideas = BRA_idea_new_wave_ideas } ai_will_do = { base = 90 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_align_to_nato icon = nato x = -2 y = 1 relative_position_id = BRA_global_diplomacy cost = 10 prerequisite = { focus = BRA_global_diplomacy } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_to_nato" for_each_scope_loop = { array = global.nato_members tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = BRA modifier = supports_nato } } } ai_will_do = { base = 10 } } focus = { id = BRA_western_investments icon = business_man x = 0 y = 1 relative_position_id = BRA_align_to_nato cost = 5 prerequisite = { focus = BRA_align_to_nato } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_western_investments" 953 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_political_power = 50 } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_non_aligned icon = christ_the_redeemer x = 0 y = 1 relative_position_id = BRA_global_diplomacy cost = 10 prerequisite = { focus = BRA_global_diplomacy } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_non_aligned" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_our_own_industry icon = Brazilian_investments2 x = 0 y = 1 relative_position_id = BRA_non_aligned cost = 5 prerequisite = { focus = BRA_non_aligned } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_our_own_industry" 885 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_political_power = 50 } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_eastern_alignment icon = GFX_brics x = 2 y = 1 relative_position_id = BRA_global_diplomacy cost = 10 prerequisite = { focus = BRA_global_diplomacy } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_eastern_alignment" if = { limit = { country_exists = SOV } add_opinion_modifier = { target = SOV modifier = supports_the_east } SOV = { add_opinion_modifier = { target = ROOT modifier = supports_the_east } add_political_power = 25 } } if = { limit = { country_exists = RAJ } add_opinion_modifier = { target = RAJ modifier = supports_the_east } RAJ = { add_opinion_modifier = { target = ROOT modifier = supports_the_east } add_political_power = 25 } } if = { limit = { country_exists = CHI } add_opinion_modifier = { target = CHI modifier = supports_the_east } CHI = { add_opinion_modifier = { target = ROOT modifier = supports_the_east } add_political_power = 25 } } if = { limit = { country_exists = SAF } add_opinion_modifier = { target = SAF modifier = supports_the_east } SAF = { add_opinion_modifier = { target = ROOT modifier = supports_the_east } add_political_power = 25 } } add_political_power = 50 } ai_will_do = { base = 10 } } focus = { id = BRA_eastern_investments icon = construction_engineering x = 0 y = 1 relative_position_id = BRA_eastern_alignment cost = 5 prerequisite = { focus = BRA_eastern_alignment } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_eastern_investments" 954 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_political_power = 50 } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } } } # Industrial focus = { id = BRA_growth_through_freedom icon = BRA_economic_liberalization x = -1 y = 1 relative_position_id = BRA_nossa_economia cost = 6.5 prerequisite = { focus = BRA_nossa_economia } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ECONOMY } available = { if = { limit = { has_idea = BRA_idea_crippled_currency_one } NOT = { has_idea = BRA_idea_crippled_currency_one } } else = { NOT = { has_idea = BRA_idea_crippled_currency_two } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_growth_through_freedom" add_timed_idea = { idea = BRA_idea_growth_through_freedom days = 730 } } ai_will_do = { base = 90 modifier = { factor = 3 NOT = { OR = { has_idea = BRA_idea_imf_debts has_idea = BRA_idea_foreign_debt_assistance has_idea = BRA_idea_oncoming_debt_crisis has_idea = BRA_idea_worsening_debt_crisis } } } } } focus = { id = BRA_legalize_independent_amazonian_development icon = focus_BRA_new_capital x = -8 y = 2 relative_position_id = BRA_nossa_economia cost = 6.8 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } available = { NOT = { has_country_flag = BRA_banned_all_amazonian_private_development } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_legalize_independent_amazonian_development" unlock_decision_tooltip = BRA_decision_halt_independent_developments unlock_decision_tooltip = BRA_decision_continue_independent_developments set_country_flag = BRA_legalized_independent_development custom_effect_tooltip = BRA_legalize_independent_amazonian_development_tt } ai_will_do = { base = 35 } } focus = { id = BRA_brazilian_research_and_development icon = focus_BRA_new_capital x = -3 y = 2 relative_position_id = BRA_nossa_economia cost = 6.8 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_RESEARCH } available = { OR = { has_idea = corruption_level_05 has_idea = corruption_level_04 has_idea = corruption_level_03 has_idea = corruption_level_02 has_idea = corruption_level_01 } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_research_and_development" add_ideas = BRA_idea_brazilian_research_and_development } ai_will_do = { base = 35 } } focus = { id = BRA_major_development_projects icon = brazil_development x = -3 y = 0 relative_position_id = BRA_brazilian_research_and_development cost = 10 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_major_development_projects" unlock_decision_category_tooltip = BRA_major_development_projects_decision_category } ai_will_do = { base = 35 } } focus = { id = BRA_presal icon = Rio_de_Janeiro_City x = 1 y = 1 relative_position_id = BRA_major_development_projects cost = 10 prerequisite = { focus = BRA_major_development_projects } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 883 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_presal" 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -15.25 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_develop_the_interior_and_amazon icon = lumber_industry x = 0 y = 1 relative_position_id = BRA_presal cost = 15 prerequisite = { focus = BRA_presal } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AMAZON_CONSERVATION FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 891 has_full_control_of_state = 954 has_full_control_of_state = 886 has_full_control_of_state = 885 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_develop_the_interior_and_amazon" 891 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 954 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 886 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 885 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -25.5 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_amazonian_el_dorado icon = BRA_manaus x = 0 y = 1 relative_position_id = BRA_develop_the_interior_and_amazon cost = 6.8 prerequisite = { focus = BRA_develop_the_interior_and_amazon } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AMAZON_CONSERVATION } available = { has_full_control_of_state = 892 set_temp_variable = { needed_acreage = 15 } BRA_has_conserved_acreage_x = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_amazonian_el_dorado" 892 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -8.5 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt set_temp_variable = { temp_change = -15 } BRA_conserv_acreage_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_canadian_vale_incorporation icon = align_to_canada x = 0 y = 1 relative_position_id = BRA_amazonian_el_dorado cost = 5 prerequisite = { focus = BRA_amazonian_el_dorado } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 884 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_canadian_vale_incorporation" CAN = { add_opinion_modifier = { target = BRA modifier = trade_mission } add_political_power = 20 } add_opinion_modifier = { target = CAN modifier = trade_mission } 884 = { add_resource = { type = steel amount = 12 } add_resource = { type = aluminium amount = 12 } add_resource = { type = oil amount = 5 } add_extra_state_shared_building_slots = 2 add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -25 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_expanded_brazilian_economy icon = brazil_flag_money x = -1 y = 1 relative_position_id = BRA_canadian_vale_incorporation cost = 6.4 # 45 Days prerequisite = { focus = BRA_canadian_vale_incorporation } prerequisite = { focus = BRA_build_fortaleza } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_expanded_brazilian_economy" increase_economic_growth = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_develop_sp_mg_and_the_south icon = Sao_Paulo_City x = -1 y = 1 relative_position_id = BRA_major_development_projects cost = 10 prerequisite = { focus = BRA_major_development_projects } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 882 has_full_control_of_state = 884 has_full_control_of_state = 880 has_full_control_of_state = 953 has_full_control_of_state = 879 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_develop_sp_mg_and_the_south" 882 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 884 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 880 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 953 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -29 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_develop_recife icon = BRA_recife x = 0 y = 1 relative_position_id = BRA_develop_sp_mg_and_the_south cost = 10 prerequisite = { focus = BRA_develop_sp_mg_and_the_south } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 888 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_develop_recife" 888 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } add_building_construction = { type = infrastructure level = 2 instant_build = yes } } set_temp_variable = { treasury_change = -22 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_northeastern_stimulus icon = BRA_nordeste x = 0 y = 1 relative_position_id = BRA_develop_recife cost = 10 prerequisite = { focus = BRA_develop_recife } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 890 has_full_control_of_state = 887 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_northeastern_stimulus" 890 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 887 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -15 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_build_fortaleza icon = BRA_fortaleza x = 0 y = 1 relative_position_id = BRA_northeastern_stimulus cost = 5 prerequisite = { focus = BRA_northeastern_stimulus } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 889 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_build_fortaleza" 889 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } # Treasury Effect set_temp_variable = { treasury_change = -15 } modify_treasury_effect_corruption = yes custom_effect_tooltip = BRA_economic_focuses_advice_tt } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_help_business_owners icon = focus_BRA_banco_do_brasil x = 0 y = 1 relative_position_id = BRA_growth_through_freedom cost = 6.8 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_help_business_owners" set_temp_variable = { temp_opinion = 10 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes change_landowners_opinion = yes change_international_bankers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2 OR = { check_variable = { farmers_opinion < 50 } check_variable = { landowners_opinion < 50 } check_variable = { small_medium_business_owners_opinion < 50 } check_variable = { industrial_conglomerates_opinion < 50 } } } } } focus = { id = BRA_support_international_bankers icon = focus_BRA_nationalize_banks x = 0 y = 1 relative_position_id = BRA_help_business_owners cost = 6.8 prerequisite = { focus = BRA_help_business_owners } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_support_international_bankers" set_temp_variable = { int_investment_change = { value = gdp_total multiply = 0.03 } } modify_international_investment_effect = yes set_temp_variable = { temp_opinion = 10 } change_international_bankers_opinion = yes set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes add_offsite_building = { type = industrial_complex level = 1 } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_foreign_research_methods icon = focus_BRA_university_of_sao_paulo x = 0 y = 1 relative_position_id = BRA_brazilian_research_and_development cost = 6.8 prerequisite = { focus = BRA_brazilian_research_and_development } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foreign_research_methods" swap_ideas = { remove_idea = BRA_idea_brazilian_research_and_development add_idea = BRA_idea_foreign_research_and_development } } ai_will_do = { base = 35 } } focus = { id = BRA_energy_mining_ministry icon = mining x = -9 y = 1 relative_position_id = BRA_growth_through_freedom cost = 2.5 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_energy_mining_ministry" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_santos_oilfields icon = barrels x = 0 y = 1 relative_position_id = BRA_energy_mining_ministry cost = 5 prerequisite = { focus = BRA_energy_mining_ministry } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_santos_oilfields" add_resource = { type = oil amount = 16 state = 882 } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_petrobras_tech icon = petrobras x = 0 y = 1 relative_position_id = BRA_santos_oilfields cost = 5 prerequisite = { focus = BRA_santos_oilfields } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_petrobras_tech" add_resource = { type = oil amount = 16 state = 882 } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_fossil_fuel_industry icon = oil_production2 x = 1 y = 1 relative_position_id = BRA_petrobras_tech cost = 6.8 prerequisite = { focus = BRA_petrobras_tech } mutually_exclusive = { focus = BRA_clean_energy_path } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fossil_fuel_industry" add_ideas = BRA_idea_fossil_fuel_industry set_temp_variable = { temp_opinion = 10 } change_fossil_fuel_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_clean_energy_path icon = sustainable_development x = -1 y = 1 relative_position_id = BRA_petrobras_tech cost = 6.8 prerequisite = { focus = BRA_petrobras_tech } mutually_exclusive = { focus = BRA_fossil_fuel_industry } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_clean_energy_path" BRA_update_brazil_energy_idea = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_comperj icon = oil x = 0 y = 1 relative_position_id = BRA_fossil_fuel_industry cost = 6.8 prerequisite = { focus = BRA_fossil_fuel_industry } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_comperj" set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes add_resource = { type = oil amount = 16 state = 883 } set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_develop_angra3 icon = powerplant x = 0 y = 1 relative_position_id = BRA_clean_energy_path cost = 6.8 prerequisite = { focus = BRA_clean_energy_path } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_develop_angra3" BRA_update_brazil_energy_idea = yes two_random_nuclear_reactor = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_presal_dev icon = oil_companies x = 0 y = 1 relative_position_id = BRA_comperj cost = 6.8 prerequisite = { focus = BRA_comperj } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_presal_dev" swap_ideas = { remove_idea = BRA_idea_fossil_fuel_industry add_idea = BRA_idea_fossil_fuel_industry_2 } add_resource = { type = oil amount = 16 state = 883 } set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_fossil_fuel_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_solar_power_sertao icon = generic_solar x = 0 y = 1 relative_position_id = BRA_develop_angra3 cost = 6.8 prerequisite = { focus = BRA_develop_angra3 } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_solar_power_sertao" BRA_update_brazil_energy_idea = yes three_random_renewable_energy_infra = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } # Industrial-internal factions focus = { id = BRA_help_the_farmers icon = agriculture x = 0 y = 1 relative_position_id = BRA_foreign_research_methods cost = 6.8 prerequisite = { focus = BRA_support_international_bankers } prerequisite = { focus = BRA_foreign_research_methods } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_help_the_farmers" set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 35 } } focus = { id = BRA_support_industries icon = industrialization x = 0 y = 1 relative_position_id = BRA_support_international_bankers cost = 6.8 prerequisite = { focus = BRA_support_international_bankers } prerequisite = { focus = BRA_foreign_research_methods } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_support_industries" swap_ideas = { remove_idea = labour_unions add_idea = industrial_conglomerates } set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_labour_unions_opinion = yes two_random_industrial_complex = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_further_industrialization icon = focus_BRA_us_of_south_america x = 0 y = 1 relative_position_id = BRA_support_industries cost = 6.8 prerequisite = { focus = BRA_support_industries } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_further_industrialization" add_ideas = BRA_idea_pro_industries set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes two_random_industrial_complex = yes } ai_will_do = { base = 35 modifier = { factor = 2 check_variable = { industrial_conglomerates_opinion < 50 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_agrarian_economy icon = wheat_field x = 0 y = 1 relative_position_id = BRA_help_the_farmers cost = 6.8 prerequisite = { focus = BRA_help_the_farmers } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_agrarian_economy" add_ideas = BRA_idea_pro_farmers set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 } } focus = { id = BRA_agrotech icon = mechanized_agriculture x = 1 y = 1 relative_position_id = BRA_agrarian_economy cost = 6.8 prerequisite = { focus = BRA_agrarian_economy } prerequisite = { focus = BRA_further_industrialization } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_agrotech" swap_ideas = { remove_idea = BRA_idea_pro_farmers add_idea = BRA_idea_pro_farmers_2 } set_temp_variable = { temp_opinion = 10 } change_farmers_opinion = yes } ai_will_do = { base = 35 } } focus = { id = BRA_agricultural_protectionism icon = farming x = -1 y = 1 relative_position_id = BRA_agrotech cost = 6.8 prerequisite = { focus = BRA_agrotech } mutually_exclusive = { focus = BRA_free_trade_agro_producs } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_agricultural_protectionism" 954 = { add_extra_state_shared_building_slots = 2 } add_stability = 0.02 set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH } } } } focus = { id = BRA_free_trade_agro_producs icon = ExpandTrade x = 1 y = 1 relative_position_id = BRA_agrotech cost = 6.8 prerequisite = { focus = BRA_agrotech } mutually_exclusive = { focus = BRA_agricultural_protectionism } search_filters = { FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_free_trade_agro_producs" 954 = { add_extra_state_shared_building_slots = 2 } add_political_power = 50 set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } # Agriculture Section focus = { id = BRA_the_countryside icon = farming_sector x = 1 y = 2 relative_position_id = BRA_nossa_economia cost = 5.8 prerequisite = { focus = BRA_growth_through_freedom } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_countryside" set_temp_variable = { temp_opinion = 8 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { check_variable = { farmers_opinion < 50 } check_variable = { landowners_opinion < 50 } } } } } focus = { id = BRA_expand_commercialized_sugar_cane icon = focus_BRA_support_sugar_barons x = 1 y = 3 relative_position_id = BRA_nossa_economia cost = 5.8 prerequisite = { focus = BRA_the_countryside } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_ECONOMY } available = { has_full_control_of_state = 888 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_expand_commercialized_sugar_cane" 888 = { add_building_construction = { type = agriculture_district level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -3.75 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 3 } change_farmers_opinion = yes change_landowners_opinion = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes hidden_effect = { country_event = { id = brazil.44 days = 21 random_days = 3 } } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_increase_grain_exports icon = mechanized_agriculture x = 2 y = 4 relative_position_id = BRA_nossa_economia cost = 5.8 prerequisite = { focus = BRA_foreign_companies } prerequisite = { focus = BRA_expand_commercialized_sugar_cane } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_increase_grain_exports" set_temp_variable = { temp_opinion = 3 } change_farmers_opinion = yes change_landowners_opinion = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes two_random_agriculture_district = yes swap_ideas = { remove_idea = BRA_idea_brazilian_exports_1 add_idea = BRA_idea_brazilian_exports_2 } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_coffee_plantations icon = coffee_plantation x = 1 y = 5 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_increase_grain_exports } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_coffee_plantations" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_apirary_expansions icon = apriary_bee x = 3 y = 5 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_increase_grain_exports } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_apirary_expansions" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_tobacco_plantations icon = Generic_Tobacco_Farming x = 1 y = 6 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_coffee_plantations } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_tobacco_plantations" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_expand_corn_production icon = corn x = 3 y = 6 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_apirary_expansions } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_expand_corn_production" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_tea_plantations icon = Generic_Tea_Farming x = 1 y = 7 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_tobacco_plantations } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_tea_plantations" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } focus = { id = BRA_vineyard_expansions icon = vineyard x = 3 y = 7 relative_position_id = BRA_nossa_economia cost = 5 prerequisite = { focus = BRA_expand_corn_production } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_vineyard_expansions" one_random_agriculture_district = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_landowners_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_agriculture_district = no } } } # Foreign Policy focus = { id = BRA_the_way_we_judge icon = improve_relations_cyan x = 0 y = 1 relative_position_id = BRA_new_wave_ideas cost = 5 prerequisite = { focus = BRA_new_wave_ideas } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_way_we_judge" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_isolationism icon = align_to_brazil x = -2 y = 1 relative_position_id = BRA_the_way_we_judge cost = 10 prerequisite = { focus = BRA_the_way_we_judge } mutually_exclusive = { focus = BRA_the_country_of_brotherly_love } search_filters = { FOCUS_FILTER_INFLUENCE FOCUS_FILTER_MILITARY_LAWS } available = { NOT = { has_idea = BRA_idea_party_of_progress } NOT = { has_idea = BRA_idea_modern_reformist } NOT = { has_government = democratic } NOT = { has_government = neutrality } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_isolationism" decrease_intervention_law_effect = yes set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_the_country_of_brotherly_love icon = race_relations2 x = 2 y = 1 relative_position_id = BRA_the_way_we_judge cost = 10 prerequisite = { focus = BRA_the_way_we_judge } mutually_exclusive = { focus = BRA_isolationism } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { NOT = { OR = { has_idea = BRA_idea_neo_comunista has_idea = BRA_idea_radical_leftist } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_country_of_brotherly_love" add_ideas = BRA_idea_diplomatic_powerhouse } ai_will_do = { base = 10 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_restrict_travelers icon = colonial_crackdown x = -1 y = 1 relative_position_id = BRA_isolationism cost = 10 prerequisite = { focus = BRA_isolationism } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_restrict_travelers" add_ideas = BRA_idea_restricted_travelers } ai_will_do = { base = 90 } } focus = { id = BRA_shut_down_the_borders icon = aggressive_diplomacy x = 0 y = 1 relative_position_id = BRA_restrict_travelers cost = 10 prerequisite = { focus = BRA_restrict_travelers } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_shut_down_the_borders" swap_ideas = { remove_idea = BRA_idea_restricted_travelers add_idea = BRA_idea_extensive_border_control } } ai_will_do = { base = 90 } } focus = { id = BRA_brazil_first icon = political_pressure x = 1 y = 1 relative_position_id = BRA_isolationism cost = 10 prerequisite = { focus = BRA_isolationism } search_filters = { FOCUS_FILTER_INFLUENCE FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazil_first" add_political_power = 100 set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } ai_will_do = { base = 90 } } focus = { id = BRA_gunboat_diplomacy icon = dangerous_deal2 x = 0 y = 1 relative_position_id = BRA_brazil_first cost = 10 prerequisite = { focus = BRA_brazil_first } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_gunboat_diplomacy" 893 = { add_claim_by = BRA } 894 = { add_claim_by = BRA } 895 = { add_claim_by = BRA } 896 = { add_claim_by = BRA } } ai_will_do = { base = 90 } } focus = { id = BRA_brazil_above_all icon = anti_democracy3 x = 0 y = 3 relative_position_id = BRA_isolationism cost = 10 prerequisite = { focus = BRA_brazil_first } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazil_above_all" if = { limit = { has_government = communism } add_popularity = { ideology = communism popularity = 0.05 } } if = { limit = { has_government = nationalist } add_popularity = { ideology = nationalist popularity = 0.05 } } recalculate_party = yes set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } ai_will_do = { base = 90 } } focus = { id = BRA_the_international_mediator icon = democracy x = -1 y = 1 relative_position_id = BRA_the_country_of_brotherly_love cost = 10 prerequisite = { focus = BRA_the_country_of_brotherly_love } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_international_mediator" swap_ideas = { remove_idea = BRA_idea_diplomatic_powerhouse add_idea = BRA_idea_the_international_mediator } } ai_will_do = { base = 10 } } focus = { id = BRA_strength_in_cooperation icon = treaty2 x = 1 y = 1 relative_position_id = BRA_the_country_of_brotherly_love cost = 10 prerequisite = { focus = BRA_the_country_of_brotherly_love } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_strength_in_cooperation" add_political_power = 100 } ai_will_do = { base = 90 } } focus = { id = BRA_visit_every_country icon = intelligence_exchange x = 0 y = 1 relative_position_id = BRA_the_international_mediator cost = 10 prerequisite = { focus = BRA_the_international_mediator } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_visit_every_country" add_stability = 0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_support_the_little_guys icon = military_mission x = 0 y = 1 relative_position_id = BRA_strength_in_cooperation cost = 10 prerequisite = { focus = BRA_strength_in_cooperation } search_filters = { FOCUS_FILTER_DIPLOMACY } bypass = { NOT = { country_exists = GUY } NOT = { country_exists = SUR } NOT = { country_exists = PAR } NOT = { country_exists = URG } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_support_the_little_guys" if = { limit = { country_exists = GUY NOT = { has_war_with = BRA } } GUY = { 877 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_opinion_modifier = { target = BRA modifier = brazilian_investments } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } if = { limit = { country_exists = SUR NOT = { has_war_with = BRA } } SUR = { 878 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_opinion_modifier = { target = BRA modifier = brazilian_investments } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } if = { limit = { country_exists = PAR NOT = { has_war_with = BRA } } PAR = { 895 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_opinion_modifier = { target = BRA modifier = brazilian_investments } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } if = { limit = { country_exists = URG NOT = { has_war_with = BRA } } URG = { 894 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_opinion_modifier = { target = BRA modifier = brazilian_investments } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes } } } ai_will_do = { base = 10 } } focus = { id = BRA_a_global_power icon = diplomacy x = -1 y = 1 relative_position_id = BRA_support_the_little_guys cost = 10 prerequisite = { focus = BRA_visit_every_country } prerequisite = { focus = BRA_support_the_little_guys } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_INFLUENCE } available = { has_at_least_great_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_a_global_power" add_ideas = BRA_idea_a_global_power set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes unlock_decision_category_tooltip = UNSC_permanent_seat_campaign } ai_will_do = { base = 10 } } # Military - Army focus = { id = BRA_nosso_exercito icon = Brazilian_Army_1 x = 39 y = 0 cost = 5 search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY FOCUS_FILTER_ARMY_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_nosso_exercito" army_experience = 75 } ai_will_do = { base = 35 modifier = { factor = 1.5 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_marinha_do_brasil icon = Brazilian_Navy_1 x = 49 y = 0 cost = 5 search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY FOCUS_FILTER_NAVY_XP } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_marinha_do_brasil" navy_experience = 75 } ai_will_do = { base = 35 modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_imbel icon = BRA_imbel_icon x = 0 y = 1 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_nosso_exercito } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_imbel" add_ideas = BRA_idea_imbel if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_imbel_materiel_manufacturer = { add_mio_size = 3 add_mio_funds = 500 add_to_variable = { free_trait_picks = 3 } } } } ai_will_do = { base = 35 modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_amazonian_high_command icon = Generic_Redraw_Borders x = -2 y = 1 relative_position_id = BRA_nosso_exercito cost = 6.8 prerequisite = { focus = BRA_nosso_exercito } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AMAZON_CONSERVATION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_amazonian_high_command" set_country_flag = BRA_amazon_military_high_command custom_effect_tooltip = BRA_amazonian_high_command_tt add_command_power = -25 } ai_will_do = { base = 35 modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_modern_artillery icon = artillery x = 0 y = 2 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_imbel } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_modern_artillery" add_ideas = BRA_idea_modern_artillery if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_avibras_tank_manufacturer = { add_mio_size = 2 add_mio_funds = 500 add_to_variable = { free_trait_picks = 2 } } } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_strength_on_land icon = focus_BRA_national_guard x = 0 y = 4 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_modern_artillery } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } available = { OR = { threat > 0.15 has_idea = intervention_global_interventionism has_idea = intervention_neo_imperialism } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_strength_on_land" add_ideas = BRA_idea_strength_on_land if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_imbel_materiel_manufacturer = { add_mio_size = 1 add_mio_funds = 250 add_to_variable = { free_trait_picks = 1 } } mio:BRA_avibras_tank_manufacturer = { add_mio_size = 1 add_mio_funds = 250 add_to_variable = { free_trait_picks = 1 } } mio:BRA_helibras_tank_manufacturer = { add_mio_size = 1 add_mio_funds = 250 add_to_variable = { free_trait_picks = 1 } } } } ai_will_do = { base = 35 modifier = { factor = 3 date > 2001.1.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_homemade_rifles icon = small_arms2 x = 2 y = 1 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_nosso_exercito } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_homemade_rifles" add_ideas = BRA_idea_homemade_rifles } ai_will_do = { base = 35 modifier = { factor = 3 has_equipment = { infantry_weapons_type < 1999 } } modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_western_military_factories icon = industry_military x = 0 y = 1 relative_position_id = BRA_homemade_rifles cost = 6.4 prerequisite = { focus = BRA_homemade_rifles } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_western_military_factories" if = { limit = { has_full_control_of_state = 886 } 886 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 3 } change_the_military_opinion = yes change_defense_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 has_equipment = { infantry_weapons_type < 1999 } } modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_arms_industry = no } } } focus = { id = BRA_northeastern_military_factories icon = industry_military x = 0 y = 2 relative_position_id = BRA_homemade_rifles cost = 6.4 prerequisite = { focus = BRA_western_military_factories } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_northeastern_military_factories" if = { limit = { has_full_control_of_state = 889 } 889 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } if = { limit = { has_full_control_of_state = 888 } 888 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 3 } change_the_military_opinion = yes change_defense_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 3 has_equipment = { infantry_weapons_type < 1999 } } modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_arms_industry = no } } } focus = { id = BRA_national_drydocks icon = navy x = -2 y = 1 relative_position_id = BRA_marinha_do_brasil cost = 6.4 prerequisite = { focus = BRA_marinha_do_brasil } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_national_drydocks" if = { limit = { has_full_control_of_state = 889 } 889 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 3 } change_maritime_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_dockyard = no } } } focus = { id = BRA_sao_paulo_naval_industries icon = naval_dockyard x = 0 y = 1 relative_position_id = BRA_national_drydocks cost = 6.4 prerequisite = { focus = BRA_national_drydocks } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_sao_paulo_naval_industries" if = { limit = { has_full_control_of_state = 882 } 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 3 } change_maritime_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_dockyard = no } } } focus = { id = BRA_rio_drydocks icon = naval_dockyard x = 0 y = 2 relative_position_id = BRA_national_drydocks cost = 6.4 prerequisite = { focus = BRA_sao_paulo_naval_industries } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_EXPENDITURE } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rio_drydocks" if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_arsenal_do_marinha_naval_manufacturer = { add_mio_size = 1 add_mio_funds = 150 add_to_variable = { free_trait_picks = 2 } } } if = { limit = { has_full_control_of_state = 883 } 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } set_temp_variable = { treasury_change = -10.50 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_maritime_industry_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_dockyard = no } } } focus = { id = BRA_behind_the_times icon = focus_BRA_corpo_navais x = 0 y = 1 relative_position_id = BRA_marinha_do_brasil cost = 5 prerequisite = { focus = BRA_marinha_do_brasil } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY FOCUS_FILTER_NAVY_XP } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_behind_the_times" navy_experience = 100 add_doctrine_cost_reduction = { name = BRA_behind_the_times category = CAT_naval_doctrine uses = 2 cost_reduction = 0.5 } } ai_will_do = { base = 35 modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_underwater_flotilla icon = submarines x = 0 y = 2 relative_position_id = BRA_marinha_do_brasil cost = 5 prerequisite = { focus = BRA_behind_the_times } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } available = { any_owned_state = { is_coastal = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_underwater_flotilla" add_ideas = BRA_idea_underwater_flotilla } ai_will_do = { base = 35 modifier = { factor = 3 date > 2000.6.1 } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_reform_the_navy icon = focus_BRA_navy x = 0 y = 4 relative_position_id = BRA_marinha_do_brasil cost = 5 prerequisite = { focus = BRA_underwater_flotilla } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } available = { any_owned_state = { is_coastal = yes } OR = { threat > 0.15 has_idea = intervention_global_interventionism has_idea = intervention_neo_imperialism } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_reform_the_navy" add_ideas = BRA_idea_reform_the_navy if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_arsenal_do_marinha_naval_manufacturer = { add_mio_size = 2 add_mio_funds = 500 add_to_variable = { free_trait_picks = 2 } } } } ai_will_do = { base = 35 modifier = { factor = 3 date > 2001.1.1 } modifier = { factor = 2 ai_is_threatened = yes } } } # Military - Army focus = { id = BRA_ee_11 icon = motorized x = -1 y = 5 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_strength_on_land } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ee_11" add_tech_bonus = { name = BRA_ee_11 bonus = 0.75 uses = 1 category = CAT_apc } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_acquire_new_equipment icon = army_logistics x = 1 y = 5 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_strength_on_land } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_acquire_new_equipment" add_tech_bonus = { name = BRA_acquire_new_equipment bonus = 0.50 uses = 2 category = CAT_inf } unlock_military_industrial_organization_tooltip = mio:BRA_engesa_tank_manufacturer } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_update_the_ifvs icon = apc x = -1 y = 6 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_ee_11 } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_update_the_ifvs" add_tech_bonus = { name = BRA_update_the_ifvs bonus = 0.75 uses = 1 category = CAT_ifv } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_decentralized_warfare icon = army_doctrine x = 1 y = 6 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_acquire_new_equipment } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_decentralized_warfare" add_doctrine_cost_reduction = { name = BRA_decentralized_warfare category = CAT_land_doctrine uses = 2 cost_reduction = 1.0 } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_modern_armor icon = tanks3 x = -1 y = 7 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_update_the_ifvs } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_modern_armor" add_ideas = BRA_idea_modern_armor add_tech_bonus = { name = BRA_modern_armor bonus = 1.0 uses = 1 category = CAT_mbt } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_larger_artillery icon = artillery2 x = 1 y = 7 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_decentralized_warfare } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_larger_artillery" add_tech_bonus = { name = BRA_larger_artillery bonus = 0.75 uses = 2 category = CAT_arty } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_braco_forte_mao_amiga icon = brazilian_armed_forces x = 0 y = 8 relative_position_id = BRA_nosso_exercito cost = 10 prerequisite = { focus = BRA_modern_armor } prerequisite = { focus = BRA_larger_artillery } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_ARMY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_braco_forte_mao_amiga" add_ideas = BRA_idea_braco_forte_mao_amiga set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } # Military - Navy focus = { id = BRA_french_naval_studies icon = navy x = -1 y = 5 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_reform_the_navy } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } available = { country_exists = FRA NOT = { has_war_with = FRA } } bypass = { OR = { NOT = { country_exists = FRA } has_war_with = FRA } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_french_naval_studies" FRA = { country_event = brazil.15 } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { FRA = { add_opinion_modifier = { target = BRA modifier = french_naval_studies } } add_ideas = BRA_idea_french_naval_studies add_opinion_modifier = { target = FRA modifier = french_naval_studies } } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { add_political_power = -25 add_opinion_modifier = { target = FRA modifier = france_denies_studies } } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_lets_go_nuclear icon = navy3 x = -1 y = 6 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_french_naval_studies } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_lets_go_nuclear" add_tech_bonus = { name = BRA_lets_go_nuclear bonus = 0.75 uses = 1 category = CAT_atk_sub } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_assault_carriers icon = battleships x = -1 y = 7 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_lets_go_nuclear } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_assault_carriers" add_tech_bonus = { name = BRA_assault_carriers bonus = 0.50 uses = 1 category = CAT_helicopter_operators } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_usn_carriers icon = carriers x = 1 y = 5 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_reform_the_navy } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_usn_carriers" add_tech_bonus = { name = BRA_usn_carriers bonus = 0.50 uses = 1 category = CAT_carrier } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_juruena_class icon = cruisers x = 1 y = 6 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_usn_carriers } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_juruena_class" add_tech_bonus = { name = BRA_juruena_class bonus = 0.50 uses = 1 category = CAT_destroyer } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_modern_frigate icon = destroyers x = 1 y = 7 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_juruena_class } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_modern_frigate" add_tech_bonus = { name = BRA_modern_frigate bonus = 0.75 uses = 1 category = CAT_frigate } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_protegendo_nossas_riquezas icon = brazil_navy x = 0 y = 8 relative_position_id = BRA_marinha_do_brasil cost = 10 prerequisite = { focus = BRA_modern_frigate } prerequisite = { focus = BRA_assault_carriers } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_NAVY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_protegendo_nossas_riquezas" add_ideas = BRA_idea_protegendo_nossas_riquezas } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } # Military - Air Force focus = { id = BRA_air_force_expansion icon = Brazilian_Air_Force_1 x = 5 y = 5 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_strength_on_land } prerequisite = { focus = BRA_reform_the_navy } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_air_force_expansion" army_experience = 50 if = { limit = { NOT = { any_owned_state = { air_base > 1 air_base < 3 } } } random_owned_controlled_state = { limit = { free_building_slots = { building = air_base size > 5 } } add_building_construction = { type = air_base level = 5 instant_build = yes } } } random_owned_controlled_state = { limit = { air_base > 1 air_base < 3 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_owned_controlled_state = { limit = { air_base > 1 air_base < 3 } add_building_construction = { type = air_base level = 2 instant_build = yes } } random_owned_controlled_state = { limit = { air_base > 1 air_base < 3 } add_building_construction = { type = air_base level = 1 instant_build = yes } } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:BRA_embraer_aircraft_manufacturer = { add_mio_size = 2 add_mio_funds = 500 add_to_variable = { free_trait_picks = 2 } } } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_invest_in_heli icon = close_air_support x = -1 y = 1 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_air_force_expansion } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_invest_in_heli" add_tech_bonus = { name = BRA_invest_in_heli bonus = 0.50 uses = 2 category = CAT_heli } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_carrier_planes icon = focus_BRA_converted_carriers x = 1 y = 1 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_air_force_expansion } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_carrier_planes" if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = BRA_carrier_planes bonus = 0.50 uses = 1 technology = gen_3_light technology = gen_4_light technology = gen_5_light technology = gen_6_light technology = gen_3_medium technology = gen_4_medium technology = gen_5_medium technology = gen_6_medium } } else = { add_tech_bonus = { name = BRA_carrier_planes bonus = 0.50 uses = 1 technology = CV_MR_Fighter1 technology = CV_MR_Fighter2 technology = CV_MR_Fighter3 technology = CV_MR_Fighter4 technology = CV_MR_Fighter5 technology = CV_MR_Fighter6 technology = CV_MR_Fighter7 technology = CV_L_Strike_fighter1 technology = CV_L_Strike_fighter2 technology = CV_L_Strike_fighter3 technology = CV_L_Strike_fighter4 technology = CV_L_Strike_fighter5 } } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_cas_research icon = flying_tigers x = -1 y = 2 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_invest_in_heli } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_cas_research" add_tech_bonus = { name = BRA_cas_research bonus = 0.50 uses = 1 category = CAT_cas } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_maritime_routine icon = naval_bombers x = 1 y = 2 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_carrier_planes } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_maritime_routine" add_tech_bonus = { name = BRA_maritime_routine bonus = 0.50 uses = 1 category = CAT_naval_plane } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_mr_fighters icon = fighters x = -1 y = 3 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_cas_research } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_mr_fighters" add_tech_bonus = { name = BRA_mr_fighters bonus = 0.50 uses = 1 category = CAT_mr_fighter } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_light_fighters icon = fighters2 x = 1 y = 3 relative_position_id = BRA_air_force_expansion cost = 10 prerequisite = { focus = BRA_maritime_routine } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_light_fighters" add_tech_bonus = { name = BRA_light_fighters bonus = 0.50 uses = 1 category = CAT_l_fighter } } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_air_trained_pilots icon = brazil_airforce x = 5 y = 9 relative_position_id = BRA_nosso_exercito cost = 5 prerequisite = { focus = BRA_light_fighters } prerequisite = { focus = BRA_mr_fighters } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_AIRCRAFT FOCUS_FILTER_AIR_XP } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_air_trained_pilots" army_experience = 25 add_ideas = BRA_idea_trained_pilots } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } } } # Brazilian Space Program focus = { id = BRA_brazilian_space_program icon = international_space_station x = 5 y = 0 relative_position_id = BRA_nosso_exercito cost = 10 search_filters = { FOCUS_FILTER_SPACE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_space_program" add_ideas = BRA_idea_space_2 } ai_will_do = { base = 35 } } focus = { id = BRA_cooperate_with_nasa icon = nasa x = 1 y = 1 relative_position_id = BRA_brazilian_space_program cost = 10 prerequisite = { focus = BRA_brazilian_space_program } search_filters = { FOCUS_FILTER_SPACE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_cooperate_with_nasa" add_tech_bonus = { name = BRA_cooperate_with_nasa bonus = 0.2 uses = 2 category = CAT_satellite } add_tech_bonus = { name = BRA_cooperate_with_nasa bonus = 0.2 uses = 2 category = CAT_gnss } } ai_will_do = { base = 35 } } focus = { id = BRA_create_launchpads icon = rocketry x = -1 y = 1 relative_position_id = BRA_brazilian_space_program cost = 10 prerequisite = { focus = BRA_brazilian_space_program } search_filters = { FOCUS_FILTER_SPACE FOCUS_FILTER_EXPENDITURE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_create_launchpads" 889 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -6.75 } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_first_time_in_the_moon icon = orbit_moon x = 0 y = 1 relative_position_id = BRA_cooperate_with_nasa cost = 10 prerequisite = { focus = BRA_cooperate_with_nasa } search_filters = { FOCUS_FILTER_SPACE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_first_time_in_the_moon" add_war_support = 0.15 add_political_power = 100 } ai_will_do = { base = 35 } } focus = { id = BRA_a_mission_to_mars icon = mars x = 0 y = 1 relative_position_id = BRA_create_launchpads cost = 10 prerequisite = { focus = BRA_create_launchpads } search_filters = { FOCUS_FILTER_SPACE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_a_mission_to_mars" add_war_support = 0.05 swap_ideas = { remove_idea = BRA_idea_space_2 add_idea = BRA_idea_space_4 } } ai_will_do = { base = 35 } } focus = { id = BRA_brazilian_space icon = generic_space x = 0 y = 1 relative_position_id = BRA_first_time_in_the_moon cost = 10 prerequisite = { focus = BRA_first_time_in_the_moon } search_filters = { FOCUS_FILTER_SPACE FOCUS_FILTER_EXPENDITURE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_space" add_ideas = BRA_idea_brazilian_space_force set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.02 } } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_mining_in_space icon = asteroid_mining x = 0 y = 1 relative_position_id = BRA_a_mission_to_mars cost = 10 prerequisite = { focus = BRA_a_mission_to_mars } search_filters = { FOCUS_FILTER_SPACE } available = { has_at_least_major_power_status = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_mining_in_space" 882 = { add_resource = { type = steel amount = 10 } add_resource = { type = aluminium amount = 10 } add_resource = { type = tungsten amount = 10 } } 889 = { add_resource = { type = steel amount = 10 } add_resource = { type = aluminium amount = 10 } add_resource = { type = tungsten amount = 10 } } } ai_will_do = { base = 35 } } # Cardoso final days focus = { id = BRA_cardosos_last_years icon = psdb_focus x = -3 y = 0 cost = 5 search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_leader = { name = "Fernando Henrique Cardoso" } } bypass = { NOT = { has_country_leader = { name = "Fernando Henrique Cardoso" } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_cardosos_last_years" add_political_power = 150 } ai_will_do = { base = 100 } } focus = { id = BRA_logging_reform icon = lumber_industry x = -4 y = 1 relative_position_id = BRA_cardosos_last_years cost = 7.2 prerequisite = { focus = BRA_cardosos_last_years focus = BRA_nossa_economia } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_logging_reform" country_event = brazil.31 } ai_will_do = { base = 35 } } focus = { id = BRA_preserve_amazon icon = BRA_protect_the_amazon x = 0 y = 1 relative_position_id = BRA_logging_reform cost = 7.2 prerequisite = { focus = BRA_logging_reform } prerequisite = { focus = BRA_amazonian_development_project } mutually_exclusive = { focus = BRA_project_devastate_the_amazon } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_preserve_amazon" add_stability = 0.05 add_political_power = 100 set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_amazonian_development_project icon = BRA_develop_manaus x = -2 y = 1 relative_position_id = BRA_cardosos_last_years cost = 7.2 prerequisite = { focus = BRA_cardosos_last_years focus = BRA_nossa_economia } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_amazonian_development_project" unlock_decision_tooltip = BRA_decision_initial_investment unlock_decision_tooltip = BRA_decision_the_road_to_el_dorado unlock_decision_tooltip = BRA_decision_expand_the_mining_industry unlock_decision_tooltip = BRA_decision_increase_the_oil_production unlock_decision_tooltip = BRA_decision_increase_military_production unlock_decision_tooltip = BRA_decision_tech_metal_industry_in_the_amazon country_event = brazil.3 } ai_will_do = { base = 35 } } focus = { id = BRA_project_devastate_the_amazon icon = money_on_fire x = 0 y = 1 relative_position_id = BRA_amazonian_development_project cost = 7.2 prerequisite = { focus = BRA_logging_reform } prerequisite = { focus = BRA_amazonian_development_project } mutually_exclusive = { focus = BRA_preserve_amazon } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } available = { has_country_flag = amazonian_development_project } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_project_devastate_the_amazon" country_event = brazil.6 } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_march_of_the_excluded icon = concessions x = 0 y = 1 relative_position_id = BRA_cardosos_last_years cost = 5 prerequisite = { focus = BRA_cardosos_last_years } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_march_of_the_excluded" country_event = brazil.14 } ai_will_do = { base = 90 modifier = { factor = 3 has_idea = BRA_idea_enraged_natives } } } focus = { id = BRA_native_protests icon = native_americans x = 0 y = 2 relative_position_id = BRA_cardosos_last_years cost = 6.4 prerequisite = { focus = BRA_march_of_the_excluded } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_native_protests" add_stability = -0.02 increase_policing_budget = yes add_popularity = { ideology = nationalist popularity = 0.03 } recalculate_party = yes set_temp_variable = { desire_change = 0.5 } change_expected_police_spending = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_idea = BRA_idea_enraged_natives } } } focus = { id = BRA_angry_natives icon = secret_weapons x = 0 y = 3 relative_position_id = BRA_cardosos_last_years cost = 6.4 prerequisite = { focus = BRA_native_protests } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ECONOMY } available = { has_idea = BRA_idea_enraged_natives } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_angry_natives" swap_ideas = { remove_idea = BRA_idea_enraged_natives add_idea = BRA_idea_angry_natives } } ai_will_do = { base = 90 modifier = { factor = 3 has_idea = BRA_idea_enraged_natives } } } focus = { id = BRA_reinstating_imf_debts icon = imf x = 2 y = 1 relative_position_id = BRA_cardosos_last_years cost = 7.2 prerequisite = { focus = BRA_cardosos_last_years } mutually_exclusive = { focus = BRA_foreign_assist } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_reinstating_imf_debts" swap_ideas = { remove_idea = BRA_idea_oncoming_debt_crisis add_idea = BRA_idea_imf_debts } set_temp_variable = { debt_change = 225 } modify_debt_effect = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = BRA_LIBERALS_FOCUS_PATH } } } focus = { id = BRA_foreign_assist icon = align_to_america x = 2 y = 0 relative_position_id = BRA_reinstating_imf_debts cost = 7.2 prerequisite = { focus = BRA_cardosos_last_years } mutually_exclusive = { focus = BRA_reinstating_imf_debts } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_DIPLOMACY } available = { country_exists = USA USA = { is_subject = no NOT = { has_active_mission = bankruptcy_incoming_collapse } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foreign_assist" USA = { country_event = { id = brazil.42 days = 3 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { USA = { set_temp_variable = { treasury_change = -75 } modify_treasury_effect = yes } set_temp_variable = { debt_change = -150 } modify_debt_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = USA.id } change_influence_percentage = yes swap_ideas = { remove_idea = BRA_idea_oncoming_debt_crisis add_idea = BRA_idea_foreign_debt_assistance } } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes swap_ideas = { remove_idea = BRA_idea_oncoming_debt_crisis add_idea = BRA_idea_worsening_debt_crisis } } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_LIBERALS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_a_modern_recession icon = economic_crisis x = 2 y = 2 relative_position_id = BRA_cardosos_last_years cost = 7.2 prerequisite = { focus = BRA_reinstating_imf_debts focus = BRA_foreign_assist } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_a_modern_recession" increase_economic_growth = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 2 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_deficit_spending icon = economic_collapse_plain x = 0 y = 1 relative_position_id = BRA_foreign_assist cost = 7.2 prerequisite = { focus = BRA_reinstating_imf_debts focus = BRA_foreign_assist } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_deficit_spending" set_temp_variable = { debt_change = 75 } modify_debt_effect = yes increase_economic_growth = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_crippled_currency icon = better_money x = 3 y = 3 relative_position_id = BRA_cardosos_last_years cost = 7.2 prerequisite = { focus = BRA_a_modern_recession focus = BRA_deficit_spending } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ECONOMY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_crippled_currency" swap_ideas = { remove_idea = BRA_idea_crippled_currency_one add_idea = BRA_idea_crippled_currency_two } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } # Operation Car-Wash Focus Tree. focus = { id = BRA_op_car_wash icon = BRA_car_wash_initial x = 70 y = 0 cost = 5 search_filters = { FOCUS_FILTER_OPERATION_CAR_WASH } available = { date < 2018.10.01 date > 2014.01.01 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_op_car_wash" country_event = { id = brazil.19 days = 0 } country_event = { id = brazil.45 days = 5 } custom_effect_tooltip = BRA_car_wash_TT } ai_will_do = { base = 90 } } focus = { id = BRA_odebrecht_corruption icon = anti_establishment x = -2 y = 1 relative_position_id = BRA_op_car_wash cost = 3 prerequisite = { focus = BRA_op_car_wash } search_filters = { FOCUS_FILTER_OPERATION_CAR_WASH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_odebrecht_corruption" BRA_operation_car_wash_switch = yes } ai_will_do = { base = 90 } } focus = { id = BRA_petrobras_indictment icon = BRA_corruption_in_petrobras x = 0 y = 1 relative_position_id = BRA_op_car_wash cost = 3 prerequisite = { focus = BRA_op_car_wash } search_filters = { FOCUS_FILTER_OPERATION_CAR_WASH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_petrobras_indictment" BRA_operation_car_wash_switch = yes } ai_will_do = { base = 90 } } focus = { id = BRA_searchandseizure icon = political_arrests2 x = 2 y = 1 relative_position_id = BRA_op_car_wash cost = 3 prerequisite = { focus = BRA_op_car_wash } search_filters = { FOCUS_FILTER_OPERATION_CAR_WASH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_searchandseizure" BRA_operation_car_wash_switch = yes } ai_will_do = { base = 90 } } focus = { id = BRA_anti_corruption_measures icon = BRA_seize_corruption x = 0 y = 1 relative_position_id = BRA_petrobras_indictment cost = 5.5 prerequisite = { focus = BRA_odebrecht_corruption } prerequisite = { focus = BRA_petrobras_indictment } prerequisite = { focus = BRA_searchandseizure } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_OPERATION_CAR_WASH } available = { OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 has_idea = corruption_level_04 } } bypass = { OR = { has_idea = corruption_level_03 has_idea = corruption_level_02 has_idea = corruption_level_01 } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_anti_corruption_measures" decrease_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } } } focus = { id = BRA_parties_of_the_left icon = national_unity_red x = 0 y = 2 relative_position_id = BRA_odebrecht_corruption cost = 4 prerequisite = { focus = BRA_anti_corruption_measures } prerequisite = { focus = BRA_odebrecht_corruption } prerequisite = { focus = BRA_petrobras_indictment } prerequisite = { focus = BRA_searchandseizure } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_parties_of_the_left" add_timed_idea = { idea = BRA_idea_parties_left days = 730 } } ai_will_do = { base = 90 } } focus = { id = BRA_psl_growth icon = BRA_psl_third x = 0 y = 2 relative_position_id = BRA_searchandseizure cost = 4 prerequisite = { focus = BRA_anti_corruption_measures } prerequisite = { focus = BRA_odebrecht_corruption } prerequisite = { focus = BRA_petrobras_indictment } prerequisite = { focus = BRA_searchandseizure } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_psl_growth" add_timed_idea = { idea = BRA_idea_psl_growth days = 730 } } ai_will_do = { base = 90 } } focus = { id = BRA_the_new_elections icon = BRA_the_2018_elections x = 0 y = 2 relative_position_id = BRA_anti_corruption_measures cost = 2.5 prerequisite = { focus = BRA_psl_growth focus = BRA_parties_of_the_left } search_filters = { FOCUS_FILTER_POLITICAL } available = { date < 2018.10.01 date > 2010.01.01 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_new_elections" country_event = brazil.18 } ai_will_do = { base = 90 } } focus = { id = BRA_acquit_pmdb icon = champagne_bribes2 x = -5 y = 0 relative_position_id = BRA_the_new_elections cost = 2.5 prerequisite = { focus = BRA_parties_of_the_left } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_acquit_pmdb" add_popularity = { ideology = communism popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_acquit_workers_party icon = workers_party x = -3 y = 0 relative_position_id = BRA_the_new_elections cost = 2.5 prerequisite = { focus = BRA_parties_of_the_left } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_acquit_workers_party" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_rw_populist icon = BRA_brazilian_populist_republic x = 4 y = 0 relative_position_id = BRA_the_new_elections cost = 2.5 prerequisite = { focus = BRA_psl_growth } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rw_populist" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_pt_pmdb_coop icon = legislation x = -1 y = 1 relative_position_id = BRA_acquit_workers_party cost = 5 prerequisite = { focus = BRA_acquit_pmdb } prerequisite = { focus = BRA_acquit_workers_party } prerequisite = { focus = BRA_the_new_elections } mutually_exclusive = { focus = BRA_pt_hegemony } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_pt_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pt_pmdb_coop" add_popularity = { ideology = communism popularity = 0.075 } recalculate_party = yes add_political_power = 100 } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_pt_hegemony icon = workers_party x = 4 y = 0 relative_position_id = BRA_pt_pmdb_coop cost = 5 prerequisite = { focus = BRA_acquit_pmdb } prerequisite = { focus = BRA_acquit_workers_party } prerequisite = { focus = BRA_the_new_elections } mutually_exclusive = { focus = BRA_pt_pmdb_coop } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_pt_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pt_hegemony" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_rise_electoral_media icon = social_media x = 0 y = 1 relative_position_id = BRA_rw_populist cost = 5 prerequisite = { focus = BRA_rw_populist } prerequisite = { focus = BRA_the_new_elections } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psl_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rise_electoral_media" add_ideas = BRA_idea_electoral_media1 } ai_will_do = { base = 90 } } ######THE NEW COALITION(continuation from PT-PMDB COOP FOCUS)###### focus = { id = BRA_new_coalition icon = BRA_dilma_colored x = 0 y = 1 relative_position_id = BRA_pt_pmdb_coop cost = 5 prerequisite = { focus = BRA_pt_pmdb_coop } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_coalition" custom_effect_tooltip = BRA_new_coalition_tt add_ideas = BRA_idea_new_coalition1 hidden_effect = { set_temp_variable = { rul_party_temp = 5 } set_temp_variable = { col_one = 4 } set_temp_variable = { col_two = 18 } set_temp_variable = { col_three = 19 } change_ruling_party_effect = yes add_popularity = { ideology = democratic popularity = 0.1 } set_temp_variable = { party_index = 18 } #PPS set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 19 } #PSTU set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 4 } #PCdoB set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } } ai_will_do = { base = 90 } } focus = { id = BRA_parties_of_the_people icon = communism9 x = -2 y = 1 relative_position_id = BRA_new_coalition cost = 5 prerequisite = { focus = BRA_new_coalition } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_parties_of_the_people" add_popularity = { ideology = communism popularity = 0.075 } recalculate_party = yes add_stability = 0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_anti_rw_rhetoric icon = anti_nationalism x = 0 y = 1 relative_position_id = BRA_new_coalition cost = 5 prerequisite = { focus = BRA_new_coalition } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_anti_rw_rhetoric" add_popularity = { ideology = nationalist popularity = -0.075 } recalculate_party = yes remove_ideas = BRA_idea_nationalism_rise } ai_will_do = { base = 90 } } focus = { id = BRA_strenghten_coalition icon = national_unity_red x = 2 y = 1 relative_position_id = BRA_new_coalition cost = 5 prerequisite = { focus = BRA_new_coalition } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_strenghten_coalition" add_stability = 0.05 add_popularity = { ideology = communism popularity = 0.10 } } ai_will_do = { base = 90 } } focus = { id = BRA_new_brazil icon = focus_BRA_jaguar_diplomacy x = 0 y = 1 relative_position_id = BRA_anti_rw_rhetoric cost = 5 prerequisite = { focus = BRA_parties_of_the_people } prerequisite = { focus = BRA_anti_rw_rhetoric } prerequisite = { focus = BRA_strenghten_coalition } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_brazil" swap_ideas = { remove_idea = BRA_idea_new_coalition1 add_idea = BRA_idea_new_coalition2 } } ai_will_do = { base = 90 } } #########PT HEGEMONY######### focus = { id = BRA_lulismo icon = BRA_lulismo_new_version x = -1 y = 1 relative_position_id = BRA_pt_hegemony cost = 5 prerequisite = { focus = BRA_pt_hegemony } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_lulismo" add_popularity = { ideology = communism popularity = 0.1 } add_ideas = BRA_idea_lulismo } ai_will_do = { base = 90 } } focus = { id = BRA_absorb_left_wing icon = communism2 x = 1 y = 1 relative_position_id = BRA_pt_hegemony cost = 5 prerequisite = { focus = BRA_pt_hegemony } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_absorb_left_wing" custom_effect_tooltip = BRA_add_pt_annex_parties_tt hidden_effect = { set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.25 } set_temp_variable = { temp_outlook_increase = 0.25 } change_relative_party_popularity = yes } remove_ideas = BRA_idea_nationalism_rise } ai_will_do = { base = 90 } } focus = { id = BRA_the_pheonix_reborn icon = BRA_Lula x = 0 y = 2 relative_position_id = BRA_pt_hegemony cost = 5 prerequisite = { focus = BRA_absorb_left_wing } prerequisite = { focus = BRA_lulismo } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_pheonix_reborn" country_event = { id = brazil.25 days = 15 } } ai_will_do = { base = 90 } } #########BRAZILIAN COMMUNIST TREE######### focus = { id = BRA_mst icon = land_reform x = 2 y = 1 relative_position_id = BRA_new_brazil cost = 5 prerequisite = { focus = BRA_the_pheonix_reborn focus = BRA_new_brazil } search_filters = { FOCUS_FILTER_POLITICAL } bypass = { has_idea = BRA_idea_agrarian_reform } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_mst" add_ideas = BRA_idea_agrarian_reform } ai_will_do = { base = 90 } } focus = { id = BRA_pro_workers icon = communism5 x = 4 y = 1 relative_position_id = BRA_new_brazil cost = 5 prerequisite = { focus = BRA_the_pheonix_reborn focus = BRA_new_brazil } search_filters = { FOCUS_FILTER_POLITICAL } bypass = { NOT = { has_idea = labour_unions } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pro_workers" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_popular_government icon = national_unity_red x = 0 y = 1 relative_position_id = BRA_new_brazil cost = 5 prerequisite = { focus = BRA_the_pheonix_reborn focus = BRA_new_brazil } search_filters = { FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_popular_government" add_political_power = 50 add_war_support = 0.075 decrease_corruption = yes add_country_leader_trait = popular_figurehead } ai_will_do = { base = 90 } } focus = { id = BRA_crush_psdb icon = BRA_banned_psdb x = -2 y = 1 relative_position_id = BRA_new_brazil cost = 5 prerequisite = { focus = BRA_the_pheonix_reborn focus = BRA_new_brazil } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_crush_psdb" add_popularity = { ideology = democratic popularity = -0.1 } } ai_will_do = { base = 90 } } focus = { id = BRA_bring_back_dilma icon = dilma_focus_leader_icon x = -1 y = 1 relative_position_id = BRA_popular_government cost = 5 prerequisite = { focus = BRA_popular_government } prerequisite = { focus = BRA_crush_psdb } prerequisite = { focus = BRA_mst } prerequisite = { focus = BRA_pro_workers } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_bring_back_dilma" add_popularity = { ideology = communism popularity = 0.075 } } ai_will_do = { base = 90 } } focus = { id = BRA_appease_south_american_socialists icon = align_to_venezuela x = 3 y = 1 relative_position_id = BRA_popular_government cost = 5 prerequisite = { focus = BRA_popular_government } prerequisite = { focus = BRA_crush_psdb } prerequisite = { focus = BRA_mst } prerequisite = { focus = BRA_pro_workers } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_appease_south_american_socialists" if = { limit = { country_exists = VEN } add_opinion_modifier = { target = VEN modifier = friendship } VEN = { add_opinion_modifier = { target = ROOT modifier = friendship } } } if = { limit = { country_exists = BOL } add_opinion_modifier = { target = BOL modifier = friendship } BOL = { add_opinion_modifier = { target = ROOT modifier = friendship } } } if = { limit = { country_exists = ECU } add_opinion_modifier = { target = ECU modifier = friendship } ECU = { add_opinion_modifier = { target = ROOT modifier = friendship } } } } ai_will_do = { base = 90 } } focus = { id = BRA_industrialization_help_from_china icon = align_to_china x = 1 y = 1 relative_position_id = BRA_popular_government cost = 5 prerequisite = { focus = BRA_popular_government } prerequisite = { focus = BRA_crush_psdb } prerequisite = { focus = BRA_mst } prerequisite = { focus = BRA_pro_workers } search_filters = { FOCUS_FILTER_ECONOMY FOCUS_FILTER_AMAZON_CONSERVATION } available = { set_temp_variable = { needed_acreage = 12 } BRA_has_conserved_acreage_x = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_industrialization_help_from_china" CHI = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = CHI modifier = friendship } set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_labour_unions_opinion = yes 884 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 892 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { temp_change = -12 } BRA_acres_conserved_change_effect = yes increase_economic_growth = yes } ai_will_do = { base = 35 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_new_communist_government icon = focus_BRA_for_the_fatherland x = 0 y = 1 relative_position_id = BRA_industrialization_help_from_china cost = 10 prerequisite = { focus = BRA_industrialization_help_from_china } prerequisite = { focus = BRA_appease_south_american_socialists } prerequisite = { focus = BRA_bring_back_dilma } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_communist_government" set_cosmetic_tag = BRA_AUTH_S set_variable = { dynamic_flag_variant = 3 } clr_country_flag = dynamic_flag if = { limit = { is_major = no } set_major = yes } if = { limit = { has_idea = BRA_idea_angry_natives } swap_ideas = { remove_idea = BRA_idea_angry_natives add_idea = BRA_idea_friendly_natives } } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH } modifier = { factor = 3 has_idea = BRA_idea_angry_natives } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_five_year_plan icon = five_year_plans2 x = 0 y = 1 relative_position_id = BRA_new_communist_government cost = 5 prerequisite = { focus = BRA_new_communist_government } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_five_year_plan" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_industrial_conglomerates_opinion = yes set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 884 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 888 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } increase_economic_growth = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_the_corruption_question icon = anti_establishment x = -2 y = 1 relative_position_id = BRA_new_communist_government cost = 5 prerequisite = { focus = BRA_new_communist_government } mutually_exclusive = { focus = BRA_empower_the_government } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_corruption_question" decrease_corruption = yes } ai_will_do = { base = 90 } } focus = { id = BRA_empower_the_government icon = champagne_bribes x = -4 y = 1 relative_position_id = BRA_new_communist_government cost = 5 prerequisite = { focus = BRA_new_communist_government } mutually_exclusive = { focus = BRA_the_corruption_question } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_empower_the_government" increase_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_better_sus icon = medicine x = 2 y = 1 relative_position_id = BRA_new_communist_government cost = 5 prerequisite = { focus = BRA_new_communist_government } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_better_sus" increase_healthcare_budget = yes } ai_will_do = { base = 35 } } focus = { id = BRA_align_unions icon = union_negotiations x = 4 y = 1 relative_position_id = BRA_new_communist_government cost = 5 prerequisite = { focus = BRA_new_communist_government } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_unions" set_temp_variable = { temp_opinion = 10 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes add_ideas = BRA_idea_pro_unions } ai_will_do = { base = 35 } } focus = { id = BRA_aid_the_poor icon = hammer_star x = 0 y = 1 relative_position_id = BRA_align_unions cost = 5 prerequisite = { focus = BRA_align_unions } prerequisite = { focus = BRA_better_sus } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_aid_the_poor" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes change_industrial_conglomerates_opinion = yes add_manpower = 20000 increase_social_spending = yes add_war_support = 0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_left_wing_education icon = communist_scientists x = 0 y = 1 relative_position_id = BRA_better_sus cost = 5 prerequisite = { focus = BRA_align_unions } prerequisite = { focus = BRA_better_sus } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_left_wing_education" increase_education_budget = yes add_popularity = { ideology = communism popularity = 0.075 } recalculate_party = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 35 } } focus = { id = BRA_ban_nationalists icon = anti_nationalism x = -1 y = 1 relative_position_id = BRA_the_corruption_question cost = 5 prerequisite = { focus = BRA_empower_the_government focus = BRA_the_corruption_question } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ban_nationalists" add_popularity = { ideology = nationalist popularity = -0.1 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_socialist_market icon = market_socialism x = 0 y = 1 relative_position_id = BRA_five_year_plan cost = 5 prerequisite = { focus = BRA_five_year_plan } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_socialist_market" add_popularity = { ideology = communism popularity = 0.1 } set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_communist_cadres_opinion = yes set_temp_variable = { debt_change = -25 } modify_debt_effect = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_state_industries icon = industry_communism x = 0 y = 1 relative_position_id = BRA_socialist_market cost = 5 prerequisite = { focus = BRA_socialist_market } prerequisite = { focus = BRA_aid_the_poor } prerequisite = { focus = BRA_left_wing_education } prerequisite = { focus = BRA_ban_nationalists } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_state_industries" set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_communist_cadres_opinion = yes set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 892 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_break_banks icon = communism3 x = 0 y = 1 relative_position_id = BRA_ban_nationalists cost = 5 prerequisite = { focus = BRA_socialist_market } prerequisite = { focus = BRA_aid_the_poor } prerequisite = { focus = BRA_left_wing_education } prerequisite = { focus = BRA_ban_nationalists } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_break_banks" add_stability = -0.05 add_popularity = { ideology = communism popularity = 0.05 } set_temp_variable = { temp_opinion = -5 } change_international_bankers_opinion = yes } ai_will_do = { base = 35 } } focus = { id = BRA_foro_de_sp icon = focus_BRA_ulasr x = 1 y = 1 relative_position_id = BRA_left_wing_education cost = 5 prerequisite = { focus = BRA_socialist_market } prerequisite = { focus = BRA_aid_the_poor } prerequisite = { focus = BRA_left_wing_education } prerequisite = { focus = BRA_ban_nationalists } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foro_de_sp" add_popularity = { ideology = communism popularity = 0.075 } set_rule = { can_create_factions = yes } } ai_will_do = { base = 35 } } focus = { id = BRA_influence_our_neighbors icon = focus_BRA_create_faction x = 0 y = 1 relative_position_id = BRA_state_industries cost = 5 prerequisite = { focus = BRA_state_industries } prerequisite = { focus = BRA_break_banks } prerequisite = { focus = BRA_foro_de_sp } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_influence_our_neighbors" if = { limit = { country_exists = ARG } ARG = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = BOL } BOL = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = CHL } CHL = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = COL } COL = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = ECU } ECU = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = GUY } GUY = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = PAR } PAR = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = SUR } SUR = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = URG } URG = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = VEN } VEN = { add_popularity = { ideology = communism popularity = 0.075 } } } if = { limit = { country_exists = PRU } PRU = { add_popularity = { ideology = communism popularity = 0.075 } } } } ai_will_do = { base = 35 } } # Rise of Electoral Media focus = { id = BRA_populist_wave icon = BRA_democracy_triumphant_empire x = -1 y = 1 relative_position_id = BRA_rise_electoral_media cost = 2.5 prerequisite = { focus = BRA_rise_electoral_media } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_populist_wave" swap_ideas = { remove_idea = BRA_idea_electoral_media1 add_idea = BRA_idea_electoral_media2 } } ai_will_do = { base = 90 } } focus = { id = BRA_christian_democracy icon = christianity x = 1 y = 1 relative_position_id = BRA_rise_electoral_media cost = 2.5 prerequisite = { focus = BRA_rise_electoral_media } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_christian_democracy" if = { limit = { has_idea = christian } add_stability = 0.06 } else = { add_stability = 0.03 } } ai_will_do = { base = 90 } } # Rise of Bolsonaro focus = { id = BRA_rise_of_bolsonaro icon = bolsonaro_focus_leader_icon x = 0 y = 2 relative_position_id = BRA_rise_electoral_media cost = 5 prerequisite = { focus = BRA_populist_wave } prerequisite = { focus = BRA_christian_democracy } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rise_of_bolsonaro" unlock_decision_category_tooltip = BRA_bolsonaro_alignment_decision_category custom_effect_tooltip = BRA_rise_of_bolsonaro_tt hidden_effect = { country_event = { id = brazil.20 days = 2 } } } ai_will_do = { base = 90 } } focus = { id = BRA_brazilian_diplomacy icon = diplomacy x = 17 y = 1 relative_position_id = BRA_rise_of_bolsonaro cost = 7 prerequisite = { focus = BRA_rise_of_bolsonaro } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_diplomacy" add_political_power = 200 set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } ai_will_do = { base = 90 } } focus = { id = BRA_ensure_military_support icon = grand_battleplan x = 0 y = 1 relative_position_id = BRA_rise_of_bolsonaro cost = 5 prerequisite = { focus = BRA_rise_of_bolsonaro } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ensure_military_support" add_war_support = 0.10 army_experience = 25 #custom_effect_tooltip = BRA_army_aproval_increase_tt } ai_will_do = { base = 90 } } focus = { id = BRA_allow_access_to_guns icon = espionage x = 3 y = 1 relative_position_id = BRA_rise_of_bolsonaro cost = 5 prerequisite = { focus = BRA_rise_of_bolsonaro } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_allow_access_to_guns" add_ideas = BRA_idea_guns_allowed } ai_will_do = { base = 90 } } focus = { id = BRA_bolsonarismo icon = Bolsonarismo x = 8 y = 1 relative_position_id = BRA_rise_of_bolsonaro cost = 5 prerequisite = { focus = BRA_rise_of_bolsonaro } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_bolsonarismo" add_popularity = { ideology = nationalist popularity = 0.1 } add_ideas = BRA_idea_bolsonarismo } ai_will_do = { base = 90 } } focus = { id = BRA_fight_foreign_influence icon = irredentism x = 4 y = 1 relative_position_id = BRA_brazilian_diplomacy cost = 5 prerequisite = { focus = BRA_brazilian_diplomacy } mutually_exclusive = { focus = BRA_no_ideology } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fight_foreign_influence" add_ideas = BRA_idea_fight_influence set_temp_variable = { percent_change = 3 } change_domestic_influence_percentage = yes } ai_will_do = { base = 10 modifier = { factor = 3 OR = { has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_no_ideology icon = neutrality x = -1 y = 1 relative_position_id = BRA_brazilian_diplomacy cost = 5 prerequisite = { focus = BRA_brazilian_diplomacy } mutually_exclusive = { focus = BRA_fight_foreign_influence } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_no_ideology" add_political_power = 50 set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_HISTORICAL_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_improve_mil_conditions icon = city_fort x = 0 y = 1 relative_position_id = BRA_ensure_military_support cost = 5 prerequisite = { focus = BRA_ensure_military_support } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_improve_mil_conditions" add_ideas = BRA_idea_improved_military_conditions } ai_will_do = { base = 90 } } focus = { id = BRA_increase_mil_budget icon = money x = 3 y = 1 relative_position_id = BRA_ensure_military_support cost = 5 prerequisite = { focus = BRA_ensure_military_support } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_increase_mil_budget" increase_military_spending = yes } ai_will_do = { base = 35 } } focus = { id = BRA_olavist_policies icon = conservative x = -1 y = 1 relative_position_id = BRA_bolsonarismo cost = 5 prerequisite = { focus = BRA_bolsonarismo } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_olavist_policies" add_stability = 0.05 add_popularity = { ideology = nationalist popularity = 0.05 } add_ideas = BRA_idea_olavo_de_carvalho1 } ai_will_do = { base = 90 } } focus = { id = BRA_court_evangelicals icon = christian_gov x = 2 y = 1 relative_position_id = BRA_bolsonarismo cost = 5 prerequisite = { focus = BRA_bolsonarismo } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_court_evangelicals" add_ideas = BRA_idea_christian_values } ai_will_do = { base = 90 } } focus = { id = BRA_call_paulo_guedes icon = BRA_guedes_recovery_plan x = 4 y = 1 relative_position_id = BRA_bolsonarismo cost = 5 prerequisite = { focus = BRA_bolsonarismo } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_call_paulo_guedes" add_stability = 0.03 add_political_power = 250 custom_effect_tooltip = BRA_paulo_guedes_tt } ai_will_do = { base = 90 } } focus = { id = BRA_insult_usa icon = attack_america x = -2 y = 1 relative_position_id = BRA_fight_foreign_influence cost = 5 prerequisite = { focus = BRA_fight_foreign_influence } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_insult_usa" USA = { add_opinion_modifier = { target = BRA modifier = broke_off_diplomatic_relations } } if = { limit = { NOT = { has_idea = NATO_member } has_idea = Major_Non_NATO_Ally } remove_ideas = Major_Non_NATO_Ally clr_country_flag = Major_Non_NATO_Ally remove_from_tech_sharing_group = Major_Non_NATO_Ally_Share USA = { add_opinion_modifier = { target = BRA modifier = left_alliance } } every_other_country = { limit = { has_opinion_modifier = Major_Non_NATO_Ally } remove_opinion_modifier = { target = BRA modifier = Major_Non_NATO_Ally } hidden_effect = { BRA = { remove_opinion_modifier = { target = PREV modifier = Major_Non_NATO_Ally } } } } } } ai_will_do = { base = 10 } } focus = { id = BRA_insult_china icon = attack_china x = 0 y = 1 relative_position_id = BRA_fight_foreign_influence cost = 5 prerequisite = { focus = BRA_fight_foreign_influence } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_insult_china" CHI = { add_opinion_modifier = { target = BRA modifier = broke_off_diplomatic_relations } } if = { limit = { has_full_control_of_state = 882 } 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -12 } modify_treasury_effect_corruption = yes } } ai_will_do = { base = 35 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_insult_europe icon = attack_europe x = 2 y = 1 relative_position_id = BRA_fight_foreign_influence cost = 5 prerequisite = { focus = BRA_fight_foreign_influence } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_insult_europe" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = BRA modifier = broke_off_diplomatic_relations } } } ai_will_do = { base = 10 } } focus = { id = BRA_new_domestic_identity icon = political_pressure_dark_green x = 0 y = 2 relative_position_id = BRA_insult_china cost = 5 prerequisite = { focus = BRA_crackdown_south_american_socialists } prerequisite = { focus = BRA_the_caribbean_menace } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_domestic_identity" set_rule = { can_create_factions = yes } } ai_will_do = { base = 10 } } focus = { id = BRA_crackdown_south_american_socialists icon = attack_venezuela x = -1 y = 1 relative_position_id = BRA_insult_china cost = 5 prerequisite = { focus = BRA_insult_china } prerequisite = { focus = BRA_insult_usa } prerequisite = { focus = BRA_insult_europe } will_lead_to_war_with = VEN will_lead_to_war_with = BOL search_filters = { FOCUS_FILTER_DIPLOMACY } available = { country_exists = VEN country_exists = BOL NOT = { has_war_with = VEN } NOT = { has_war_with = BOL } } bypass = { OR = { has_war_with = VEN has_war_with = BOL VEN = { is_subject_of = BRA } BOL = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_crackdown_south_american_socialists" set_temp_variable = { wargoal_on = VEN } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = VEN } set_temp_variable = { wargoal_on = BOL } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = BOL } } ai_will_do = { base = 10 modifier = { factor = 3 has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 has_war = yes } } } focus = { id = BRA_the_caribbean_menace icon = attack_cuba x = 1 y = 1 relative_position_id = BRA_insult_china cost = 5 prerequisite = { focus = BRA_insult_china } prerequisite = { focus = BRA_insult_usa } prerequisite = { focus = BRA_insult_europe } will_lead_to_war_with = CUB search_filters = { FOCUS_FILTER_DIPLOMACY } available = { country_exists = CUB NOT = { has_war_with = CUB } } bypass = { OR = { has_war_with = CUB CUB = { is_subject_of = BRA } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_caribbean_menace" set_temp_variable = { wargoal_on = CUB } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = CUB } } ai_will_do = { base = 10 modifier = { factor = 3 has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 has_war = yes } } } focus = { id = BRA_court_usa icon = align_to_america x = -1 y = 1 relative_position_id = BRA_no_ideology cost = 5 prerequisite = { focus = BRA_no_ideology } search_filters = { FOCUS_FILTER_DIPLOMACY } available = { country_exists = USA NOT = { has_war_with = USA } has_completed_focus = BRA_align_to_nato } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_court_usa" if = { limit = { USA = { has_opinion = { target = BRA value > 50 } } } if = { limit = { NOT = { has_idea = Major_Non_NATO_Ally } } NATO_major_non_nato_ally_join = yes } } USA = { add_opinion_modifier = { target = BRA modifier = friendship } add_political_power = 20 give_guarantee = BRA } add_opinion_modifier = { target = USA modifier = friendship } add_political_power = 50 } ai_will_do = { base = 10 } } focus = { id = BRA_court_israel icon = align_to_israel x = 1 y = 1 relative_position_id = BRA_no_ideology cost = 5 prerequisite = { focus = BRA_no_ideology } search_filters = { FOCUS_FILTER_DIPLOMACY FOCUS_FILTER_POLITICAL } available = { country_exists = ISR NOT = { has_war_with = ISR } } bypass = { OR = { NOT = { country_exists = ISR } has_war_with = ISR } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_court_israel" ISR = { add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 } add_opinion_modifier = { target = ISR modifier = friendship } add_political_power = 50 } ai_will_do = { base = 90 } } focus = { id = BRA_talks_with_china icon = GFX_brics x = 1 y = 2 relative_position_id = BRA_no_ideology cost = 5 prerequisite = { focus = BRA_court_usa } prerequisite = { focus = BRA_court_israel } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_talks_with_china" if = { limit = { country_exists = SOV } add_opinion_modifier = { target = SOV modifier = friendship } SOV = { add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 25 } } if = { limit = { country_exists = RAJ } add_opinion_modifier = { target = RAJ modifier = friendship } RAJ = { add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 25 } } if = { limit = { country_exists = CHI } add_opinion_modifier = { target = CHI modifier = friendship } CHI = { add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 25 } } if = { limit = { country_exists = SAF } add_opinion_modifier = { target = SAF modifier = friendship } SAF = { add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 25 } } add_political_power = 50 } ai_will_do = { base = 10 } } focus = { id = BRA_our_south_american_allies icon = align_to_argentina x = -1 y = 2 relative_position_id = BRA_no_ideology cost = 5 prerequisite = { focus = BRA_court_usa } prerequisite = { focus = BRA_court_israel } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_our_south_american_allies" set_temp_variable = { pp_gain = 0 } if = { limit = { country_exists = ARG NOT = { has_war_with = ARG } } ARG = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = PAR NOT = { has_war_with = PAR } } PAR = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = COL NOT = { has_war_with = COL } } COL = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = PRU NOT = { has_war_with = PRU } } PRU = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } add_political_power = var:pp_gain } ai_will_do = { base = 10 } } focus = { id = BRA_be_friend_european_conservatives icon = align_to_poland x = 0 y = 3 relative_position_id = BRA_no_ideology cost = 5 prerequisite = { focus = BRA_our_south_american_allies } prerequisite = { focus = BRA_talks_with_china } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_be_friend_european_conservatives" set_temp_variable = { pp_gain = 0 } if = { limit = { country_exists = POL NOT = { has_war_with = POL } } POL = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = GER NOT = { has_war_with = GER } } GER = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = SPR NOT = { has_war_with = SPR } } SPR = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } if = { limit = { country_exists = ENG NOT = { has_war_with = ENG } } ENG = { add_opinion_modifier = { target = ROOT modifier = friendship } reverse_add_opinion_modifier = { target = ROOT modifier = friendship } add_political_power = 15 add_to_temp_variable = { pp_gain = 15 } } } add_political_power = var:pp_gain } ai_will_do = { base = 10 } } focus = { id = BRA_invite_nationalists icon = internationalism x = 0 y = 1 relative_position_id = BRA_be_friend_european_conservatives cost = 5 prerequisite = { focus = BRA_be_friend_european_conservatives } search_filters = { FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_invite_nationalists" country_event = brazil.30 } ai_will_do = { base = 10 } } ###below is the rest of "ensure military support"#### focus = { id = BRA_modernization_equipment icon = examine_foreign_small_arms x = -1 y = 1 relative_position_id = BRA_improve_mil_conditions cost = 12.86 # 90 Days prerequisite = { focus = BRA_improve_mil_conditions } search_filters = { FOCUS_FILTER_NAVY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_modernization_equipment" add_tech_bonus = { name = BRA_modernization_equipment uses = 2 bonus = 0.75 category = CAT_naval_all } set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ai_will_do = { base = 35 modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_harsher_conscription icon = conscription x = 1 y = 1 relative_position_id = BRA_improve_mil_conditions cost = 5 prerequisite = { focus = BRA_improve_mil_conditions } mutually_exclusive = { focus = BRA_volunteer_reformation } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_harsher_conscription" add_ideas = BRA_idea_harsher_conscription } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } } } } focus = { id = BRA_volunteer_reformation icon = volunteers x = 0 y = 1 relative_position_id = BRA_increase_mil_budget cost = 5 prerequisite = { focus = BRA_increase_mil_budget } mutually_exclusive = { focus = BRA_harsher_conscription } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_volunteer_reformation" add_ideas = BRA_idea_volunteer_reformation } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_HISTORICAL_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_abundant_force icon = small_arms3 x = 2 y = 1 relative_position_id = BRA_increase_mil_budget cost = 5 prerequisite = { focus = BRA_increase_mil_budget } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_abundant_force" army_experience = 25 add_equipment_to_stockpile = { type = infantry_weapons_6 amount = 500 producer = BRA } set_temp_variable = { treasury_change = -25.0 } modify_treasury_effect = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_dealing_with_congress icon = BRA_appease_the_congress x = 0 y = 1 relative_position_id = BRA_olavist_policies cost = 5 prerequisite = { focus = BRA_olavist_policies } search_filters = { FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_dealing_with_congress" add_political_power = 50 swap_ideas = { remove_idea = BRA_idea_olavo_de_carvalho1 add_idea = BRA_idea_olavo_de_carvalho2 } decrease_corruption = yes } ai_will_do = { base = 90 } } focus = { id = BRA_appease_centrao icon = BRA_a_moderated_approach x = -3 y = 1 relative_position_id = BRA_dealing_with_congress cost = 5 prerequisite = { focus = BRA_dealing_with_congress } mutually_exclusive = { focus = BRA_rally_far_right } mutually_exclusive = { focus = BRA_a_new_way } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_appease_centrao" add_political_power = 200 } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_HISTORICAL_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_try_to_coup_psl icon = BRA_alianca_focus x = -1 y = 1 relative_position_id = BRA_appease_centrao cost = 5 prerequisite = { focus = BRA_appease_centrao } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_try_to_coup_psl" add_stability = -0.05 country_event = { id = brazil.22 days = 0 } } ai_will_do = { base = 90 } } focus = { id = BRA_bolsokids_position icon = pass_legislation x = 0 y = 1 relative_position_id = BRA_try_to_coup_psl cost = 5 prerequisite = { focus = BRA_try_to_coup_psl } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_bolsokids_position" add_popularity = { ideology = nationalist popularity = 0.05 } } ai_will_do = { base = 90 } } focus = { id = BRA_eduardobolsonaro icon = align_to_america2 x = 0 y = 1 relative_position_id = BRA_bolsokids_position cost = 5 prerequisite = { focus = BRA_bolsokids_position } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_eduardobolsonaro" country_event = { id = brazil.29 days = 0 } add_stability = 0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_the_brazilian_dream icon = BRA_patriotism2 x = 1 y = 1 relative_position_id = BRA_eduardobolsonaro cost = 5 prerequisite = { focus = BRA_eduardobolsonaro } prerequisite = { focus = BRA_push_for_economic_liberalisation } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_brazilian_dream" if = { limit = { has_idea = BRA_idea_opposition_media } remove_ideas = BRA_idea_opposition_media } if = { limit = { is_major = no } set_major = yes } if = { limit = { has_idea = BRA_idea_angry_natives } swap_ideas = { remove_idea = BRA_idea_angry_natives add_idea = BRA_idea_friendly_natives } } add_country_leader_trait = popular_figurehead } ai_will_do = { base = 90 modifier = { factor = 3 has_idea = BRA_idea_angry_natives } } } focus = { id = BRA_make_alliances_with_centrao icon = BRA_alliance_with_centrao_alianca x = 1 y = 1 relative_position_id = BRA_appease_centrao cost = 5 prerequisite = { focus = BRA_appease_centrao } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_make_alliances_with_centrao" country_event = brazil.26 #custom_effect_tooltip = BRA_congress_aproval_increase_much_tt } ai_will_do = { base = 90 } } focus = { id = BRA_new_ministries icon = focus_BRA_decree_number_37 x = 0 y = 1 relative_position_id = BRA_make_alliances_with_centrao cost = 5 prerequisite = { focus = BRA_make_alliances_with_centrao } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_ministries" increase_centralization = yes add_stability = -0.02 set_temp_variable = { desire_change = 0.5 } change_expected_bureaucracy_spending = yes } ai_will_do = { base = 35 } } focus = { id = BRA_push_for_economic_liberalisation icon = focus_BRA_department_of_propaganda x = 0 y = 2 relative_position_id = BRA_make_alliances_with_centrao cost = 5 prerequisite = { focus = BRA_new_ministries } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_push_for_economic_liberalisation" add_ideas = BRA_idea_liberal_economy increase_economic_growth = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_rally_far_right icon = anti_establishment2 x = 1 y = 1 relative_position_id = BRA_dealing_with_congress cost = 5 prerequisite = { focus = BRA_dealing_with_congress } mutually_exclusive = { focus = BRA_appease_centrao } mutually_exclusive = { focus = BRA_a_new_way } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rally_far_right" add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_assign_military_cabinet icon = recruitment x = 1 y = 1 relative_position_id = BRA_rally_far_right cost = 5 prerequisite = { focus = BRA_rally_far_right } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_assign_military_cabinet" add_political_power = 150 add_stability = -0.2 } ai_will_do = { base = 90 } } focus = { id = BRA_glorify_1964_coup icon = reactionary x = -1 y = 1 relative_position_id = BRA_rally_far_right cost = 5 prerequisite = { focus = BRA_rally_far_right } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_glorify_1964_coup" set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes add_stability = -0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_brazilian_hypernationalism icon = focus_BRA_estado_moderno x = 0 y = 1 relative_position_id = BRA_glorify_1964_coup cost = 5 prerequisite = { focus = BRA_glorify_1964_coup } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_hypernationalism" add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_absorb_right_wing icon = focus_BRA_work_with_the_integralists x = 0 y = 2 relative_position_id = BRA_glorify_1964_coup cost = 5 prerequisite = { focus = BRA_brazilian_hypernationalism } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_absorb_right_wing" add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes add_political_power = 50 } ai_will_do = { base = 90 } } focus = { id = BRA_attack_press icon = BRA_globo_question x = 0 y = 1 relative_position_id = BRA_assign_military_cabinet cost = 5 prerequisite = { focus = BRA_assign_military_cabinet } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_attack_press" country_event = brazil.27 } ai_will_do = { base = 90 } } focus = { id = BRA_rally_military icon = military_academy x = 0 y = 1 relative_position_id = BRA_attack_press cost = 5 prerequisite = { focus = BRA_attack_press } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rally_military" set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes add_political_power = 150 add_stability = -0.03 } ai_will_do = { base = 90 } } focus = { id = BRA_auto_coup icon = coat_of_arms_brazil x = -1 y = 1 relative_position_id = BRA_rally_military cost = 5 prerequisite = { focus = BRA_rally_military } prerequisite = { focus = BRA_absorb_right_wing } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_auto_coup" news_event = { id = brazil_news.1 days = 0 } if = { limit = { is_major = no } set_major = yes } hidden_effect = { set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes create_country_leader = { name = "Jair Bolsonaro" picture = "jair_bolsonaro.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy military_career } } } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } #EMPIRE PATH focus = { id = BRA_a_new_way icon = BRA_empire_elections x = -7 y = 1 relative_position_id = BRA_dealing_with_congress cost = 5 prerequisite = { focus = BRA_dealing_with_congress } mutually_exclusive = { focus = BRA_rally_far_right } mutually_exclusive = { focus = BRA_appease_centrao } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_a_new_way" country_event = { id = brazil.24 days = 0 } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MONARCHY_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } } } } focus = { id = BRA_old_values icon = focus_BRA_constitutional_monarchy x = 1 y = 1 relative_position_id = BRA_a_new_way cost = 5 prerequisite = { focus = BRA_a_new_way } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_old_values" add_political_power = 50 set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_side_with_psl icon = BRA_psl_third x = 0 y = 1 relative_position_id = BRA_old_values cost = 5 prerequisite = { focus = BRA_old_values } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_side_with_psl" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_monarchy_model icon = brazil_empire_large_flag x = 0 y = 1 relative_position_id = BRA_side_with_psl cost = 5 prerequisite = { focus = BRA_side_with_psl } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_monarchy_model" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes add_stability = 0.025 } ai_will_do = { base = 90 } } focus = { id = BRA_learnings_from_past icon = BRA_brazilian_empire_liberalism2 x = -1 y = 1 relative_position_id = BRA_a_new_way cost = 5 prerequisite = { focus = BRA_a_new_way } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_learnings_from_past" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_unite_the_people icon = focus_BRA_empire_of_brazil x = 0 y = 1 relative_position_id = BRA_learnings_from_past cost = 5 prerequisite = { focus = BRA_learnings_from_past } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_unite_the_people" add_stability = 0.05 swap_ideas = { remove_idea = BRA_idea_monarchism1 add_idea = BRA_idea_monarchism2 } } ai_will_do = { base = 90 } } focus = { id = BRA_monarchist_propaganda icon = focus_BRA_restore_brazilian_honor x = 0 y = 1 relative_position_id = BRA_unite_the_people cost = 5 prerequisite = { focus = BRA_unite_the_people } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_monarchist_propaganda" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes swap_ideas = { remove_idea = BRA_idea_monarchism2 add_idea = BRA_idea_monarchism3 } } ai_will_do = { base = 90 } } focus = { id = BRA_restauration icon = empire_of_brazil x = 1 y = 2 relative_position_id = BRA_unite_the_people cost = 5 prerequisite = { focus = BRA_monarchist_propaganda } prerequisite = { focus = BRA_monarchy_model } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_restauration" if = { limit = { is_major = no } set_major = yes } hidden_effect = { set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 1 } set_temp_variable = { col_one = 20 } change_ruling_party_effect = yes set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes create_country_leader = { name = "Luiz I" picture = "luiz_i.dds" ideology = Monarchist traits = { nationalist_Monarchist } } clr_country_flag = dynamic_flag set_cosmetic_tag = BRA_MON } if = { limit = { has_idea = BRA_idea_opposition_media } remove_ideas = BRA_idea_opposition_media } custom_effect_tooltip = BRA_restauration_empire_TT if = { limit = { has_idea = BRA_idea_angry_natives } swap_ideas = { remove_idea = BRA_idea_angry_natives add_idea = BRA_idea_friendly_natives } } news_event = { id = brazil_news.3 days = 0 } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MONARCHY_FOCUS_PATH } modifier = { factor = 3 has_idea = BRA_idea_angry_natives } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } } } } focus = { id = BRA_new_imperial_university icon = examine_foreign_science x = -2 y = 1 relative_position_id = BRA_restauration cost = 5 prerequisite = { focus = BRA_restauration } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_new_imperial_university" increase_education_budget = yes add_ideas = BRA_idea_imperial_university set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 35 } } focus = { id = BRA_government_reform icon = BRA_empire_brazneolib x = 0 y = 1 relative_position_id = BRA_restauration cost = 5 prerequisite = { focus = BRA_restauration } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_government_reform" decrease_corruption = yes decrease_centralization = yes increase_economic_growth = yes set_temp_variable = { desire_change = -0.5 } change_expected_bureaucracy_spending = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } focus = { id = BRA_brazilian_traditional_values icon = BRA_democratic_brazil_republic x = 2 y = 1 relative_position_id = BRA_restauration cost = 5 prerequisite = { focus = BRA_restauration focus = BRA_the_brazilian_dream focus = BRA_auto_coup } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_brazilian_traditional_values" add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_fight_crime icon = political_arrests x = 0 y = 1 relative_position_id = BRA_the_brazilian_dream cost = 5 prerequisite = { focus = BRA_the_brazilian_dream focus = BRA_restauration focus = BRA_auto_coup } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fight_crime" increase_policing_budget = yes set_temp_variable = { desire_change = 0.5 } change_expected_police_spending = yes } ai_will_do = { base = 35 } } focus = { id = BRA_the_cisplatina icon = align_to_uruguay x = -1 y = 1 relative_position_id = BRA_government_reform cost = 5 prerequisite = { focus = BRA_brazilian_traditional_values } prerequisite = { focus = BRA_government_reform } prerequisite = { focus = BRA_new_imperial_university } will_lead_to_war_with = URG search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = URG NOT = { has_war_with = URG } } bypass = { OR = { URG = { is_subject_of = BRA } AND = { 894 = { is_core_of = BRA } 893 = { is_core_of = BRA } } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_the_cisplatina" add_named_threat = { threat = 2 name = BRA_the_cisplatina } if = { limit = { 894 = { compliance > 75 } } add_state_core = 894 } else = { 894 = { add_claim_by = BRA } } if = { limit = { 893 = { compliance > 75 } } add_state_core = 893 } else = { 893 = { add_claim_by = BRA } } set_temp_variable = { wargoal_on = URG } add_threat_from_wargoal_effect = yes create_wargoal = { target = URG type = annex_everything } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MONARCHY_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } } modifier = { factor = 0 has_war = yes } } } focus = { id = BRA_modern_monarchies icon = align_to_britain x = 1 y = 1 relative_position_id = BRA_government_reform cost = 5 prerequisite = { focus = BRA_brazilian_traditional_values } prerequisite = { focus = BRA_government_reform } prerequisite = { focus = BRA_new_imperial_university } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_modern_monarchies" add_political_power = 100 if = { limit = { country_exists = ENG NOT = { has_war_with = ENG } NOT = { ENG = { is_subject_of = BRA } } } ENG = { add_opinion_modifier = { target = BRA modifier = friendship } reverse_add_opinion_modifier = { target = BRA modifier = friendship } } } if = { limit = { country_exists = SPR NOT = { has_war_with = SPR } NOT = { SPR = { is_subject_of = BRA } } } SPR = { add_opinion_modifier = { target = BRA modifier = friendship } reverse_add_opinion_modifier = { target = BRA modifier = friendship } } } } ai_will_do = { base = 90 } } focus = { id = BRA_empire_proud icon = BRA_luis_orleans_e_braganca x = 0 y = 2 relative_position_id = BRA_government_reform cost = 5 prerequisite = { focus = BRA_the_cisplatina } prerequisite = { focus = BRA_modern_monarchies } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_empire_proud" add_political_power = 50 add_popularity = { ideology = nationalist popularity = 0.075 } recalculate_party = yes add_war_support = 0.05 add_stability = 0.05 add_country_leader_trait = popular_figurehead } ai_will_do = { base = 90 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_appease_military icon = mass_assault x = 2 y = 1 relative_position_id = BRA_the_brazilian_dream cost = 5 prerequisite = { focus = BRA_the_brazilian_dream focus = BRA_auto_coup focus = BRA_restauration } mutually_exclusive = { focus = BRA_empower_militaries } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_appease_military" add_political_power = 100 add_stability = 0.05 add_popularity = { ideology = nationalist popularity = 0.075 } add_war_support = 0.05 } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } } } } focus = { id = BRA_acabar_isso icon = anti_communism x = 1 y = 1 relative_position_id = BRA_fight_crime cost = 5 prerequisite = { focus = BRA_appease_military } prerequisite = { focus = BRA_fight_crime } prerequisite = { focus = BRA_brazilian_traditional_values } search_filters = { FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_acabar_isso" decrease_corruption = yes } ai_will_do = { base = 90 } } focus = { id = BRA_pro_bolsonaro_parties icon = bolsonaro_focus_leader_icon x = -1 y = 1 relative_position_id = BRA_fight_crime cost = 5 prerequisite = { focus = BRA_appease_military } prerequisite = { focus = BRA_fight_crime } prerequisite = { focus = BRA_brazilian_traditional_values } search_filters = { FOCUS_FILTER_POLITICAL } available = { NOT = { has_country_leader = { name = "Jair Bolsonaro" } } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pro_bolsonaro_parties" custom_effect_tooltip = BRA_pro_bolsonaro_parties_tt hidden_effect = { set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } } ai_will_do = { base = 90 } } focus = { id = BRA_ending_mamata icon = judiciary x = 1 y = 1 relative_position_id = BRA_pro_bolsonaro_parties cost = 5 prerequisite = { focus = BRA_pro_bolsonaro_parties } prerequisite = { focus = BRA_acabar_isso } search_filters = { FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ending_mamata" decrease_corruption = yes } ai_will_do = { base = 90 } } focus = { id = BRA_empower_militaries icon = general_staff x = 0 y = 1 relative_position_id = BRA_auto_coup cost = 5 prerequisite = { focus = BRA_auto_coup } mutually_exclusive = { focus = BRA_appease_military } search_filters = { FOCUS_FILTER_CORRUPTION FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_empower_militaries" increase_corruption = yes add_war_support = 0.05 set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_eneas_legacy icon = nationalist_constiution x = 2 y = 1 relative_position_id = BRA_auto_coup cost = 5 prerequisite = { focus = BRA_auto_coup } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ECONOMY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_eneas_legacy" add_popularity = { ideology = nationalist popularity = 0.075 } recalculate_party = yes add_war_support = 0.05 increase_economic_growth = yes set_temp_variable = { treasury_change = 0 } if = { limit = { owns_state = 883 } add_to_temp_variable = { treasury_change = 8.5 } 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_resource = { type = oil amount = 5 } } } if = { limit = { owns_state = 884 } add_to_temp_variable = { treasury_change = 8.5 } 884 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_resource = { type = tungsten amount = 5 } } } if = { limit = { check_variable = { treasury_change > 0 } } multiply_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes } } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 2 ai_is_threatened = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_ending_communism icon = anti_communism2 x = -1 y = 1 relative_position_id = BRA_empower_militaries cost = 5 prerequisite = { focus = BRA_appease_military focus = BRA_empower_militaries } prerequisite = { focus = BRA_eneas_legacy } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ending_communism" add_popularity = { ideology = communism popularity = -0.075 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_intervention_in_south_america icon = colonial_crackdown x = 1 y = 1 relative_position_id = BRA_empower_militaries cost = 5 prerequisite = { focus = BRA_appease_military focus = BRA_empower_militaries } prerequisite = { focus = BRA_eneas_legacy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_intervention_in_south_america" increase_intervention_law_effect = yes } ai_will_do = { base = 90 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = BRA_pax_brasilis icon = christ_the_redeemer x = -1 y = 1 relative_position_id = BRA_intervention_in_south_america cost = 5 prerequisite = { focus = BRA_intervention_in_south_america } prerequisite = { focus = BRA_ending_communism } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pax_brasilis" add_popularity = { ideology = nationalist popularity = 0.075 } add_ideas = BRA_idea_pax_brasilis add_country_leader_trait = popular_figurehead if = { limit = { has_idea = BRA_idea_angry_natives } swap_ideas = { remove_idea = BRA_idea_angry_natives add_idea = BRA_idea_friendly_natives } } } ai_will_do = { base = 90 modifier = { factor = 3 has_idea = BRA_idea_angry_natives } } } ###court evangelicals branch##### focus = { id = BRA_defund_progressive_policies icon = continuous_restrict_freedom x = 0 y = 1 relative_position_id = BRA_court_evangelicals cost = 5 prerequisite = { focus = BRA_court_evangelicals } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_defund_progressive_policies" add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes add_stability = -0.05 } ai_will_do = { base = 90 } } focus = { id = BRA_assign_evangelical_judge icon = christian_faiths x = 0 y = 1 relative_position_id = BRA_defund_progressive_policies cost = 5 prerequisite = { focus = BRA_defund_progressive_policies } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_assign_evangelical_judge" add_stability = 0.02 add_political_power = 50 add_popularity = { ideology = nationalist popularity = 0.05 } recalculate_party = yes hidden_effect = { country_event = { id = brazil.21 days = 30 } } } ai_will_do = { base = 90 } } # Paulo guedes branch##### focus = { id = BRA_socialsecurity_reform icon = coins x = 0 y = 1 relative_position_id = BRA_call_paulo_guedes cost = 5 prerequisite = { focus = BRA_call_paulo_guedes } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_socialsecurity_reform" add_political_power = 50 add_stability = -0.02 set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes change_small_medium_business_owners_opinion = yes change_landowners_opinion = yes change_industrial_conglomerates_opinion = yes set_temp_variable = { temp_opinion = -5 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes decrease_social_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_tax_reform icon = radical_tax_reform x = 0 y = 1 relative_position_id = BRA_socialsecurity_reform cost = 5 prerequisite = { focus = BRA_socialsecurity_reform } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_tax_reform" add_ideas = BRA_idea_tax_reformation set_temp_variable = { debt_change = -25 } modify_debt_effect = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_international_bankers_opinion = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes set_temp_variable = { debt_change = -25 } modify_debt_effect = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_privatize_national_companies icon = market_economy x = 1 y = 1 relative_position_id = BRA_tax_reform cost = 5 prerequisite = { focus = BRA_tax_reform } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_privatize_national_companies" #882 = { # add_extra_state_shared_building_slots = 3 # add_building_construction = { # type = industrial_complex # level = 3 # instant_build = yes # } #} set_temp_variable = { treasury_change = -22.50 } modify_treasury_effect = yes add_offsite_building = { type = industrial_complex level = 3 } set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_privatize_petrobras icon = petrobras x = -1 y = 1 relative_position_id = BRA_tax_reform cost = 5 prerequisite = { focus = BRA_tax_reform } search_filters = { FOCUS_FILTER_RESOURCE FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_privatize_petrobras" set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes add_resource = { type = oil amount = 3 state = 883 } #883 = { # add_extra_state_shared_building_slots = 1 # add_building_construction = { # type = industrial_complex # level = 1 # instant_build = yes # } #} add_offsite_building = { type = industrial_complex level = 1 } set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes hidden_effect = { news_event = { id = brazil_news.2 days = 2 } } } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_mining_amazon icon = construction3 x = -1 y = 1 relative_position_id = BRA_privatize_national_companies cost = 5 prerequisite = { focus = BRA_privatize_national_companies } prerequisite = { focus = BRA_privatize_petrobras } search_filters = { FOCUS_FILTER_RESOURCE FOCUS_FILTER_AMAZON_CONSERVATION FOCUS_FILTER_EXPENDITURE } available = { set_temp_variable = { needed_acreage = 35 } BRA_has_conserved_acreage_x = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_mining_amazon" set_temp_variable = { treasury_change = -70 } modify_treasury_effect = yes 892 = { add_resource = { type = steel amount = 25 } add_resource = { type = aluminium amount = 25 } add_resource = { type = tungsten amount = 25 } add_resource = { type = oil amount = 5 } } 891 = { add_resource = { type = steel amount = 15 } add_resource = { type = aluminium amount = 15 } add_resource = { type = tungsten amount = 15 } add_resource = { type = oil amount = 5 } } set_temp_variable = { temp_change = -35 } BRA_acres_conserved_change_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_federal_pact icon = focus_BRA_centralization x = -1 y = 2 relative_position_id = BRA_privatize_national_companies cost = 5 prerequisite = { focus = BRA_mining_amazon } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_federal_pact" increase_economic_growth = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } } } # CONTINUATION OF CARDOSO IS GONE BRANCH///PSDB'S 2017 TREE focus = { id = BRA_cardoso_legacy icon = Cardoso_Legacy x = -5 y = 1 relative_position_id = BRA_acquit_pmdb cost = 5 prerequisite = { focus = BRA_the_new_elections } mutually_exclusive = { focus = BRA_psdb_pdt_coalition } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psdb_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_cardoso_legacy" add_stability = 0.03 add_political_power = 150 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_LIBERALS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_psdb_pdt_coalition icon = psdb_focus x = -11 y = 1 relative_position_id = BRA_acquit_pmdb cost = 5 prerequisite = { focus = BRA_the_new_elections } mutually_exclusive = { focus = BRA_cardoso_legacy } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psdb_win } bypass = { western_social_democrats_are_in_coalition = yes } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_psdb_pdt_coalition" custom_effect_tooltip = BRA_pdt_coalition_tt add_stability = 0.03 add_political_power = 150 hidden_effect = { set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes set_temp_variable = { rul_party_temp = 2 } set_temp_variable = { col_one = 3 } change_ruling_party_effect = yes } } ai_will_do = { base = 90 modifier = { factor = 3 has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_restoration_image icon = focus_BRA_secure_our_borders x = 3 y = 1 relative_position_id = BRA_psdb_pdt_coalition cost = 5 prerequisite = { focus = BRA_psdb_pdt_coalition focus = BRA_cardoso_legacy } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psdb_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_restoration_image" add_popularity = { ideology = democratic popularity = 0.05 } remove_ideas = BRA_idea_nationalism_rise } ai_will_do = { base = 90 } } focus = { id = BRA_social_democracy icon = social_democracy x = 0 y = 1 relative_position_id = BRA_psdb_pdt_coalition cost = 5 prerequisite = { focus = BRA_psdb_pdt_coalition } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION } available = { has_country_flag = BRA_psdb_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_social_democracy" add_ideas = BRA_idea_social_democracy set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes } ai_will_do = { base = 90 } } focus = { id = BRA_reduce_debts icon = generic_banks x = 0 y = 1 relative_position_id = BRA_restoration_image cost = 5 prerequisite = { focus = BRA_restoration_image } search_filters = { FOCUS_FILTER_EXPENDITURE } available = { gdp_debt_ratio_higher_5 = yes } bypass = { NOT = { gdp_debt_ratio_higher_5 = yes } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_reduce_debts" set_temp_variable = { debt_change = -125 } modify_debt_effect = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_underdog icon = focus_BRA_greater_federalism x = 0 y = 1 relative_position_id = BRA_reduce_debts cost = 5 prerequisite = { focus = BRA_reduce_debts } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psdb_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_underdog" add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } ai_will_do = { base = 90 } } focus = { id = BRA_ciro_gomes icon = ciro_gomes x = 0 y = 1 relative_position_id = BRA_social_democracy cost = 5 prerequisite = { focus = BRA_social_democracy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_ciro_gomes" set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes } ai_will_do = { base = 90 } } focus = { id = BRA_liberal_resurgence icon = focus_BRA_third_republic x = 0 y = 1 relative_position_id = BRA_cardoso_legacy cost = 5 prerequisite = { focus = BRA_cardoso_legacy } search_filters = { FOCUS_FILTER_POLITICAL } available = { has_country_flag = BRA_psdb_win } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_liberal_resurgence" add_ideas = BRA_idea_liberalism } ai_will_do = { base = 90 } } focus = { id = BRA_social_programs icon = social_democracy_industry x = 0 y = 1 relative_position_id = BRA_ciro_gomes cost = 5 prerequisite = { focus = BRA_ciro_gomes } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_social_programs" increase_social_spending = yes add_war_support = 0.075 set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } ai_will_do = { base = 35 } } focus = { id = BRA_foreign_buyouts icon = money x = -1 y = 1 relative_position_id = BRA_liberal_resurgence cost = 8.6 # 60 Days prerequisite = { focus = BRA_liberal_resurgence } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_foreign_buyouts" 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_rise_of_moderates icon = aristocratic_funding x = 1 y = 1 relative_position_id = BRA_liberal_resurgence cost = 5 prerequisite = { focus = BRA_liberal_resurgence } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_rise_of_moderates" add_popularity = { ideology = democratic popularity = 0.075 } set_rule = { can_create_factions = yes } } ai_will_do = { base = 90 } } focus = { id = BRA_align_with_other_parties icon = meeting x = 0 y = 1 relative_position_id = BRA_rise_of_moderates cost = 5 prerequisite = { focus = BRA_rise_of_moderates } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_align_with_other_parties" country_event = brazil.35 } ai_will_do = { base = 90 } } focus = { id = BRA_business_deregulation icon = business_man2 x = 0 y = 1 relative_position_id = BRA_foreign_buyouts cost = 5 prerequisite = { focus = BRA_foreign_buyouts } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_business_deregulation" decrease_centralization = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes change_international_bankers_opinion = yes set_temp_variable = { desire_change = -0.5 } change_expected_bureaucracy_spending = yes } ai_will_do = { base = 90 } } focus = { id = BRA_fight_corruption icon = anti_establishment x = 0 y = 1 relative_position_id = BRA_underdog cost = 5 prerequisite = { focus = BRA_underdog } search_filters = { FOCUS_FILTER_CORRUPTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_fight_corruption" decrease_corruption = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = corruption_level_06 has_idea = corruption_level_07 has_idea = corruption_level_08 has_idea = corruption_level_09 has_idea = corruption_level_10 } } } } focus = { id = BRA_seek_young_vote icon = election3 x = 0 y = 1 relative_position_id = BRA_fight_corruption cost = 5 prerequisite = { focus = BRA_fight_corruption } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_seek_young_vote" add_popularity = { ideology = democratic popularity = 0.10 } add_ideas = BRA_idea_pro_psdb_youth } ai_will_do = { base = 90 } } focus = { id = BRA_industrial_congolmerates icon = industry_democratic x = 0 y = 1 relative_position_id = BRA_business_deregulation cost = 10 prerequisite = { focus = BRA_business_deregulation } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { has_full_control_of_state = 883 has_full_control_of_state = 882 } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_industrial_congolmerates" 882 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } 883 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 90 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 can_staff_an_industrial_complex = no } } } focus = { id = BRA_pre_campaigning icon = focus_BRA_ban_communist_party x = 0 y = 1 relative_position_id = BRA_align_with_other_parties cost = 5 prerequisite = { focus = BRA_align_with_other_parties } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_pre_campaigning" add_popularity = { ideology = democratic popularity = 0.075 } recalculate_party = yes if = { limit = { NOT = { has_country_leader_with_trait = popular_figurehead } } add_country_leader_trait = popular_figurehead } } ai_will_do = { base = 90 modifier = { factor = 3 has_stability < 0.50 } modifier = { factor = 3 has_stability < 0.35 } modifier = { factor = 3 has_stability < 0.15 } } } focus = { id = BRA_revitalize_economy icon = focus_BRA_growth x = -1 y = 1 relative_position_id = BRA_pre_campaigning cost = 8.6 # 60 Days prerequisite = { focus = BRA_industrial_congolmerates } prerequisite = { focus = BRA_pre_campaigning } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_revitalize_economy" add_ideas = BRA_revitalize_economy increase_economic_growth = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes } ai_will_do = { base = 90 modifier = { factor = 3 OR = { has_idea = depression has_idea = recession has_idea = stagnation } } modifier = { factor = 3 check_variable = { small_medium_business_owners_opinion < 50 } } } } focus = { id = BRA_healthcare_reforms icon = generic_hospital x = 1 y = 1 relative_position_id = BRA_social_programs cost = 6.4 prerequisite = { focus = BRA_social_programs } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_healthcare_reforms" increase_healthcare_budget = yes } ai_will_do = { base = 35 } } focus = { id = BRA_education_reforms icon = free_higher_education x = 0 y = 1 relative_position_id = BRA_healthcare_reforms cost = 8.6 # 60 Days prerequisite = { focus = BRA_healthcare_reforms } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_education_reforms" increase_education_budget = yes add_ideas = BRA_idea_education_reforms set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes set_temp_variable = { desire_change = 0.5 } change_expected_education_spending = yes } ai_will_do = { base = 35 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = BRA_agrarian_reform icon = communism6 x = -2 y = 0 relative_position_id = BRA_education_reforms cost = 5 prerequisite = { focus = BRA_alliances_with_unions } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_agrarian_reform" add_ideas = BRA_idea_agrarian_reform } ai_will_do = { base = 90 } } focus = { id = BRA_support_from_the_us icon = focus_BRA_pact_of_silence_allies x = 0 y = 1 relative_position_id = BRA_revitalize_economy cost = 5 prerequisite = { focus = BRA_revitalize_economy } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_support_from_the_us" if = { limit = { USA = { has_opinion = { target = BRA value > 50 } } } if = { limit = { NOT = { has_idea = Major_Non_NATO_Ally } } NATO_major_non_nato_ally_join = yes } } USA = { add_opinion_modifier = { target = BRA modifier = friendship } add_political_power = 20 give_guarantee = BRA } add_opinion_modifier = { target = USA modifier = friendship } add_political_power = 100 } ai_will_do = { base = 90 modifier = { factor = 3 country_exists = USA USA = { has_government = democratic } } modifier = { factor = 3 has_global_flag = BRA_LIBERALS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_support_from_the_eu icon = GFX_focus_BRA_support_from_the_eu x = 1 y = 1 relative_position_id = BRA_agrarian_reform cost = 5 prerequisite = { focus = BRA_agrarian_reform } prerequisite = { focus = BRA_education_reforms } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = GER country_exists = FRA country_exists = ITA NOT = { has_war_with = GER } NOT = { has_war_with = FRA } NOT = { has_war_with = ITA } } bypass = { OR = { NOT = { country_exists = GER } NOT = { country_exists = FRA } NOT = { country_exists = ITA } has_war_with = GER has_war_with = FRA has_war_with = ITA } } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_support_from_the_eu" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_opinion_modifier = { target = PREV modifier = friendship } reverse_add_opinion_modifier = { target = PREV modifier = friendship } } add_political_power = 50 } ai_will_do = { base = 90 modifier = { factor = 3 country_exists = GER GER = { has_government = democratic } } modifier = { factor = 3 has_global_flag = BRA_SOCIAL_DEMOCRATS_FOCUS_PATH } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_FOCUS_PATH has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH has_global_flag = BRA_LIBERALS_FOCUS_PATH has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } focus = { id = BRA_embrace_free_market icon = liberalization x = 0 y = 1 relative_position_id = BRA_seek_young_vote cost = 5 prerequisite = { focus = BRA_seek_young_vote } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_embrace_free_market" add_offsite_building = { type = industrial_complex level = 2 } increase_economic_growth = yes } ai_will_do = { base = 90 modifier = { factor = 3 num_of_available_civilian_factories > 14 } modifier = { factor = 3 OR = { has_idea = depression has_idea = recession has_idea = stagnation } } } } focus = { id = BRA_bastion_of_liberty icon = BRA_democratic_brazil_republic x = 0 y = 1 relative_position_id = BRA_embrace_free_market cost = 5 prerequisite = { focus = BRA_embrace_free_market } prerequisite = { focus = BRA_support_from_the_eu focus = BRA_support_from_the_us } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_bastion_of_liberty" add_political_power = 100 add_popularity = { ideology = democratic popularity = 0.075 } recalculate_party = yes if = { limit = { is_major = no } set_major = yes } if = { limit = { has_idea = BRA_idea_angry_natives } swap_ideas = { remove_idea = BRA_idea_angry_natives add_idea = BRA_idea_friendly_natives } } } ai_will_do = { base = 90 modifier = { factor = 5 has_idea = BRA_idea_angry_natives } } } focus = { id = BRA_alliances_with_unions icon = union_negotiations x = -2 y = 0 relative_position_id = BRA_healthcare_reforms cost = 5 prerequisite = { focus = BRA_social_programs } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [THIS.GetName]: Focus BRA_alliances_with_unions" set_temp_variable = { temp_opinion = 10 } change_labour_unions_opinion = yes change_communist_cadres_opinion = yes } ai_will_do = { base = 35 modifier = { factor = 2.5 check_variable = { labour_unions_opinion < 50 } } modifier = { factor = 2.5 check_variable = { communist_cadres_opinion < 50 } } } } }