add_namespace = brazil add_namespace = brazil_news add_namespace = brazil_flavour_events add_namespace = brazil_amazon # Amazonian Development Project country_event = { id = brazil.3 title = brazil.3.t desc = brazil.3.d picture = GFX_mining is_triggered_only = yes trigger = { original_tag = BRA NOT = { OR = { has_country_flag = amazonian_development_project has_country_flag = denied_amazonian_development_project } } } # The Tree will Go Back Anyways option = { name = brazil.3.a log = "[GetDateText]: [This.GetName]: brazil.3.a executed" add_stability = -0.05 set_country_flag = amazonian_development_project add_ideas = BRA_idea_amazonian_development_project set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_fossil_fuel_industry_opinion = yes 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 ai_chance = { base = 1 modifier = { add = 5 check_variable = { industrial_conglomerates_opinion < 50 } has_idea = industrial_conglomerates } modifier = { add = 5 check_variable = { small_medium_business_owners_opinion < 50 } has_idea = small_medium_business_owners } modifier = { add = 5 check_variable = { fossil_fuel_industry_opinion < 50 } has_idea = fossil_fuel_industry } modifier = { add = 5 has_stability > 0.50 } } } # The Environment is Not for Sale option = { name = brazil.3.b log = "[GetDateText]: [This.GetName]: brazil.3.b executed" add_stability = 0.05 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 set_country_flag = denied_amazonian_development_project set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 modifier = { add = 5 has_stability < 0.30 } modifier = { add = 5 has_active_mission = bankruptcy_incoming_collapse } modifier = { add = 15 is_historical_focus_on = yes } } } } # Project Devastate the Amazon country_event = { id = brazil.6 title = brazil.6.t desc = brazil.6.d picture = GFX_country_event_amazon_rainforest_devastation is_triggered_only = yes trigger = { original_tag = BRA } # Business is more important than some silly trees option = { name = brazil.6.a log = "[GetDateText]: [This.GetName]: brazil.6.a executed" add_political_power = 75 add_stability = -0.05 set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes change_small_medium_business_owners_opinion = yes change_landowners_opinion = yes set_temp_variable = { temp_change = -50 } BRA_wild_acreage_effect = yes BRA_acres_conserved_change_effect = yes ai_chance = { base = 0 } } # We must preserve our national treasure for future generations option = { name = brazil.6.b log = "[GetDateText]: [This.GetName]: brazil.6.b executed" add_stability = 0.05 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 set_temp_variable = { temp_change = 50 } BRA_conserv_acreage_effect = yes set_temp_variable = { temp_change = -50 } BRA_wild_acreage_effect = yes # Take the stability here and get the conservation lands on lock ai_chance = { base = 10 } } } # Lula is Elected country_event = { id = brazil.4 title = brazil.4.t desc = brazil.4.d picture = GFX_country_event_lula is_triggered_only = yes trigger = { original_tag = BRA NOT = { has_idea = BRA_idea_well_balanced } } option = { name = brazil.4.a log = "[GetDateText]: [This.GetName]: brazil.4.a executed" add_political_power = 50 add_ideas = BRA_idea_well_balanced } } # Workers Alignment Scripted Variable Events Neo Comunista country_event = { id = brazil.7 title = brazil.7.t desc = brazil.7.d picture = GFX_politics_communism_lenin is_triggered_only = yes fire_only_once = yes trigger = { original_tag = BRA has_idea = BRA_idea_radical_leftist check_variable = { var = BRA_brazilian_party_alignment value = 10 compare = less_than_or_equals } } option = { name = brazil.7.a log = "[GetDateText]: [This.GetName]: brazil.7.a executed" swap_ideas = { add_idea = BRA_idea_neo_comunista remove_idea = BRA_idea_radical_leftist } } } # Party - Aligned - Radical Leftist country_event = { id = brazil.8 title = brazil.8.t desc = brazil.8.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { original_tag = BRA OR = { has_idea = BRA_idea_neo_comunista has_idea = BRA_idea_slightly_radical } check_variable = { var = BRA_brazilian_party_alignment value = 10 compare = greater_than_or_equals } check_variable = { var = BRA_brazilian_party_alignment value = 30 compare = less_than_or_equals } } option = { name = brazil.8.a log = "[GetDateText]: [This.GetName]: brazil.8.a executed" if = { limit = { has_idea = BRA_idea_slightly_radical } swap_ideas = { add_idea = BRA_idea_radical_leftist remove_idea = BRA_idea_slightly_radical } } if = { limit = { has_idea = BRA_idea_neo_comunista } swap_ideas = { add_idea = BRA_idea_radical_leftist remove_idea = BRA_idea_neo_comunista } } } } #Party - Slightly Radicalized Government country_event = { id = brazil.9 title = brazil.9.t desc = brazil.9.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { tag = BRA OR = { has_idea = BRA_idea_radical_leftist has_idea = BRA_idea_well_balanced } check_variable = { var = BRA_brazilian_party_alignment value = 30 compare = greater_than_or_equals } check_variable = { var = BRA_brazilian_party_alignment value = 45 compare = less_than_or_equals } } option = { name = brazil.9.a log = "[GetDateText]: [This.GetName]: brazil.9.a executed" if = { limit = { has_idea = BRA_idea_well_balanced } swap_ideas = { add_idea = BRA_idea_slightly_radical remove_idea = BRA_idea_well_balanced } } if = { limit = { has_idea = BRA_idea_radical_leftist } swap_ideas = { add_idea = BRA_idea_slightly_radical remove_idea = BRA_idea_radical_leftist } } } } #Well Balanced country_event = { id = brazil.10 title = brazil.10.t desc = brazil.10.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { tag = BRA OR = { has_idea = BRA_idea_slightly_radical has_idea = BRA_idea_slightly_reformist } check_variable = { var = BRA_brazilian_party_alignment value = 45 compare = greater_than_or_equals } check_variable = { var = BRA_brazilian_party_alignment value = 55 compare = less_than_or_equals } } option = { name = brazil.10.a log = "[GetDateText]: [This.GetName]: brazil.10.a executed" if = { limit = { has_idea = BRA_idea_slightly_radical } swap_ideas = { add_idea = BRA_idea_well_balanced remove_idea = BRA_idea_slightly_radical } } if = { limit = { has_idea = BRA_idea_slightly_reformist } swap_ideas = { add_idea = BRA_idea_well_balanced remove_idea = BRA_idea_slightly_reformist } } } } # Party Slightly Reformist Government country_event = { id = brazil.11 title = brazil.11.t desc = brazil.11.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { tag = BRA OR = { has_idea = BRA_idea_well_balanced has_idea = BRA_idea_modern_reformist } check_variable = { var = BRA_brazilian_party_alignment value = 55 compare = greater_than_or_equals } check_variable = { var = BRA_brazilian_party_alignment value = 70 compare = less_than_or_equals } } option = { name = brazil.11.a log = "[GetDateText]: [This.GetName]: brazil.11.a executed" if = { limit = { has_idea = BRA_idea_well_balanced } swap_ideas = { add_idea = BRA_idea_slightly_reformist remove_idea = BRA_idea_well_balanced } } if = { limit = { has_idea = BRA_idea_modern_reformist } swap_ideas = { add_idea = BRA_idea_slightly_reformist remove_idea = BRA_idea_modern_reformist } } } } # Party Reformist Government country_event = { id = brazil.12 title = brazil.12.t desc = brazil.12.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { tag = BRA OR = { has_idea = BRA_idea_slightly_reformist has_idea = BRA_idea_party_of_progress } check_variable = { var = BRA_brazilian_party_alignment value = 70 compare = greater_than_or_equals } check_variable = { var = BRA_brazilian_party_alignment value = 90 compare = less_than_or_equals } } option = { name = brazil.12.a log = "[GetDateText]: [This.GetName]: brazil.12.a executed" if = { limit = { has_idea = BRA_idea_slightly_reformist } swap_ideas = { add_idea = BRA_idea_modern_reformist remove_idea = BRA_idea_slightly_reformist } } if = { limit = { has_idea = BRA_idea_party_of_progress } swap_ideas = { add_idea = BRA_idea_modern_reformist remove_idea = BRA_idea_party_of_progress } } } } #Party Party of Progress country_event = { id = brazil.13 title = brazil.13.t desc = brazil.13.d picture = GFX_politics_left_wing is_triggered_only = yes fire_only_once = yes trigger = { tag = BRA has_idea = BRA_idea_modern_reformist check_variable = { var = BRA_brazilian_party_alignment value = 90 compare = greater_than_or_equals } } option = { name = brazil.13.a log = "[GetDateText]: [This.GetName]: brazil.13.a executed" swap_ideas = { add_idea = BRA_idea_party_of_progress remove_idea = BRA_idea_modern_reformist } } } # March of the Excluded country_event = { id = brazil.14 title = brazil.14.t desc = brazil.14.d picture = GFX_politics_protest is_triggered_only = yes trigger = { original_tag = BRA } # Allow the Protest option = { name = brazil.14.a log = "[GetDateText]: [This.GetName]: brazil.14.a executed" add_stability = -0.01 ai_chance = { base = 1 } } # Crackdown on the March option = { name = brazil.14.b log = "[GetDateText]: [This.GetName]: brazil.14.b executed" add_stability = -0.04 add_political_power = 75 ai_chance = { base = 0 } } } # French Naval Studies country_event = { id = brazil.15 title = brazil.15.t desc = brazil.15.d picture = GFX_country_event_french_navy is_triggered_only = yes trigger = { original_tag = FRA country_exists = BRA NOT = { has_war_with = BRA } } option = { name = brazil.15.a log = "[GetDateText]: [This.GetName]: brazil.15.a executed" BRA = { add_ideas = BRA_idea_french_naval_studies add_opinion_modifier = { target = ROOT modifier = french_naval_studies } country_event = diplomatic_response.1 } add_opinion_modifier = { target = BRA modifier = french_naval_studies } ai_chance = { base = 1 modifier = { add = 5 OR = { AND = { FRA = { has_government = democratic } BRA = { has_government = democratic } } AND = { FRA = { has_government = neutrality } BRA = { has_government = neutrality } } AND = { FRA = { has_government = communism } BRA = { has_government = communism } } } } modifier = { add = 5 OR = { AND = { check_variable = { influence_array^0 = BRA } check_variable = { influence_array_val^0 = 9.99 } } AND = { check_variable = { influence_array^1 = BRA } check_variable = { influence_array_val^1 = 9.99 } } AND = { check_variable = { influence_array^2 = BRA } check_variable = { influence_array_val^2 = 9.99 } } AND = { check_variable = { influence_array^3 = BRA } check_variable = { influence_array_val^3 = 9.99 } } AND = { check_variable = { influence_array^4 = BRA } check_variable = { influence_array_val^4 = 9.99 } } AND = { check_variable = { influence_array^5 = BRA } check_variable = { influence_array_val^5 = 9.99 } } } } modifier = { add = 5 BRA = { OR = { AND = { check_variable = { influence_array^0 = FRA } check_variable = { influence_array_val^0 = 9.99 } } AND = { check_variable = { influence_array^1 = FRA } check_variable = { influence_array_val^1 = 9.99 } } AND = { check_variable = { influence_array^2 = FRA } check_variable = { influence_array_val^2 = 9.99 } } AND = { check_variable = { influence_array^3 = FRA } check_variable = { influence_array_val^3 = 9.99 } } AND = { check_variable = { influence_array^4 = FRA } check_variable = { influence_array_val^4 = 9.99 } } AND = { check_variable = { influence_array^5 = FRA } check_variable = { influence_array_val^5 = 9.99 } } } } } } } option = { name = brazil.15.b log = "[GetDateText]: [This.GetName]: brazil.15.b executed" BRA = { add_political_power = -25 add_opinion_modifier = { target = ROOT modifier = france_denies_studies } country_event = diplomatic_response.2 } ai_chance = { base = 1 modifier = { add = 5 OR = { BRA = { has_government = nationalist } BRA = { has_government = fascism } } } } } } ################################################################################################ #The new elections country_event = { id = brazil.18 title = brazil.18.t desc = brazil.18.d picture = GFX_BRA_generic is_triggered_only = yes option = { name = brazil.18.a log = "[GetDateText]: [This.GetName]: brazil.18.a executed" hidden_effect = { set_temp_variable = { rul_party_temp = 20 } change_ruling_party_effect = yes set_country_flag = BRA_psl_win } add_popularity = { ideology = nationalist popularity = 0.10 } ai_chance = { base = 1 modifier = { factor = 20 OR = { has_global_flag = BRA_HISTORICAL_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_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 } } } } option = { name = brazil.18.b log = "[GetDateText]: [This.GetName]: brazil.18.b executed" hidden_effect = { set_temp_variable = { rul_party_temp = 5 } change_ruling_party_effect = yes set_country_flag = BRA_pt_win } add_popularity = { ideology = communism popularity = 0.10 } create_country_leader = { name = "Fernando Haddad" picture = "fernando_haddad.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } ai_chance = { base = 1 modifier = { factor = 20 OR = { has_global_flag = BRA_BROAD_FRONT_FOCUS_PATH has_global_flag = BRA_SOCIALIST_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = BRA_HISTORICAL_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 } } } } option = { name = brazil.18.c log = "[GetDateText]: [This.GetName]: brazil.18.c executed" hidden_effect = { set_temp_variable = { rul_party_temp = 2 } change_ruling_party_effect = yes set_country_flag = BRA_psdb_win } add_popularity = { ideology = democratic popularity = 0.10 } ai_chance = { base = 1 modifier = { factor = 20 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 } } } } } #Operation Car Wash country_event = { id = brazil.19 title = brazil.19.t desc = brazil.19.d picture = GFX_court is_triggered_only = yes option = { name = brazil.19.a log = "[GetDateText]: [This.GetName]: brazil.19.a executed" add_ideas = BRA_idea_car_wash1 } } country_event = { id = brazil.45 title = brazil.45.t desc = brazil.45.d picture = GFX_BRA_op_car_wash_event is_triggered_only = yes option = { name = brazil.45.a log = "[GetDateText]: [This.GetName]: brazil.45.a executed" add_stability = -0.08 add_ideas = BRA_idea_nationalism_rise } } #Media for the opposition country_event = { id = brazil.20 title = brazil.20.t desc = brazil.20.d picture = GFX_treaty_rejected is_triggered_only = yes # picture = - option = { name = brazil.20.a log = "[GetDateText]: [This.GetName]: brazil.20.a executed" add_ideas = BRA_idea_opposition_media } } #Evangelical Judge brings results country_event = { id = brazil.21 title = brazil.21.t desc = brazil.21.d picture = GFX_BRA_generic is_triggered_only = yes option = { name = brazil.21.a log = "[GetDateText]: [This.GetName]: brazil.21.a executed" add_stability = 0.08 add_political_power = 150 } } #Aliança do Brasil country_event = { id = brazil.22 title = brazil.22.t desc = brazil.22.d picture = GFX_politics_negotiations is_triggered_only = yes option = { name = brazil.22.a } } #Rise of Nationalist Movements country_event = { id = brazil.23 title = brazil.23.t desc = brazil.23.d picture = GFX_BRA_generic is_triggered_only = yes fire_only_once = yes trigger = { original_tag = BRA has_government = nationalist nationalist > 0.5 } option = { name = brazil.23.a log = "[GetDateText]: [This.GetName]: brazil.23.a executed" custom_effect_tooltip = BRA_nationalism_rise_TT hidden_effect = { swap_ideas = { remove_idea = BRA_idea_nationalism_rise add_idea = BRA_idea_nationalism_rise2 } } } } # A New Way country_event = { id = brazil.24 title = brazil.24.t desc = brazil.24.d picture = GFX_country_event_brazil_empire_restauration is_triggered_only = yes option = { name = brazil.24.a log = "[GetDateText]: [This.GetName]: brazil.24.a executed" add_ideas = BRA_idea_monarchism1 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 } } #Government Influences globo country_event = { id = brazil.25 title = brazil.25.t desc = brazil.25.d picture = GFX_political_deal is_triggered_only = yes # picture = - option = { name = brazil.25.a log = "[GetDateText]: [This.GetName]: brazil.25.a executed" add_ideas = BRA_idea_globo_influence remove_ideas = BRA_idea_opposition_media } } #Alliance with Centrão country_event = { id = brazil.26 title = brazil.26.t desc = brazil.26.d picture = GFX_treaty is_triggered_only = yes # picture = - option = { name = brazil.26.a log = "[GetDateText]: [This.GetName]: brazil.26.a executed" custom_effect_tooltip = BRA_coalition_dem_psdb_tt add_political_power = 100 hidden_effect = { set_temp_variable = { rul_party_temp = 20 } set_temp_variable = { col_one = 1 } set_temp_variable = { col_two = 2 } change_ruling_party_effect = yes set_temp_variable = { party_index = 1 } #DEM set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes set_temp_variable = { party_index = 2 } #PSDB set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_chance = { base = 10 } } option = { name = brazil.26.b log = "[GetDateText]: [This.GetName]: brazil.26.b executed" custom_effect_tooltip = BRA_coalition_dem_tt add_political_power = 200 hidden_effect = { set_temp_variable = { rul_party_temp = 20 } set_temp_variable = { col_one = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 1 } #DEM set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_chance = { base = 3 } } option = { name = brazil.26.c log = "[GetDateText]: [This.GetName]: brazil.26.c executed" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.08 } set_temp_variable = { temp_outlook_increase = 0.08 } change_relative_party_popularity = yes add_political_power = 300 ai_chance = { base = 2 modifier = { factor = 5 OR = { has_global_flag = BRA_MILITARY_RULE_FOCUS_PATH has_global_flag = BRA_MONARCHY_FOCUS_PATH } } } } option = { name = brazil.26.dd log = "[GetDateText]: [This.GetName]: brazil.26.dd executed" custom_effect_tooltip = BRA_coalition_prtb_tt add_political_power = 10 hidden_effect = { set_temp_variable = { rul_party_temp = 20 } set_temp_variable = { col_one = 6 } change_ruling_party_effect = yes set_temp_variable = { party_index = 6 } #PRTB set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_chance = { base = 1 } } } #Press Censorship country_event = { id = brazil.27 title = brazil.27.t desc = brazil.27.d picture = GFX_politics_dictatorship is_triggered_only = yes option = { name = brazil.27.a log = "[GetDateText]: [This.GetName]: brazil.27.a executed" trigger = { NOT = { has_idea = BRA_idea_opposition_media } } add_ideas = censored_nation_01 } option = { name = brazil.27.b log = "[GetDateText]: [This.GetName]: brazil.27.b executed" trigger = { has_idea = BRA_idea_opposition_media } swap_ideas = { remove_idea = BRA_idea_opposition_media add_idea = BRA_idea_nationalised_globo } add_ideas = censored_nation_02 add_stability = -0.05 } option = { name = brazil.27.c log = "[GetDateText]: [This.GetName]: brazil.27.c executed" trigger = { has_idea = BRA_idea_opposition_media } swap_ideas = { remove_idea = BRA_idea_opposition_media add_idea = BRA_idea_globo_disbanded } add_ideas = censored_nation_03 } } #Trucker's Strike country_event = { id = brazil.28 title = brazil.28.t desc = brazil.28.d picture = GFX_country_event_greve_caminhoneiros is_triggered_only = yes fire_only_once = yes trigger = { original_tag = BRA } option = { name = brazil.28.a log = "[GetDateText]: [This.GetName]: brazil.28.a executed" add_timed_idea = { idea = BRA_idea_trucker_strike days = 15 } set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes } option = { name = brazil.28.b log = "[GetDateText]: [This.GetName]: brazil.28.b executed" add_timed_idea = { idea = BRA_idea_trucker_strike days = 30 } } } #Eduardo Bolsonaro as Embassador country_event = { id = brazil.29 title = brazil.29.t desc = brazil.29.d picture = GFX_BRA_ambassador_selection is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.29.a log = "[GetDateText]: [This.GetName]: brazil.29.a executed" add_opinion_modifier = { target = USA modifier = eduardo_bolsonaro_embassador } add_political_power = 50 } option = { name = brazil.29.b log = "[GetDateText]: [This.GetName]: brazil.29.b executed" add_opinion_modifier = { target = USA modifier = nestor_forster_embassador } } } # Far-Right Leaders to Brazil country_event = { id = brazil.30 title = brazil.30.t desc = brazil.30.d picture = GFX_BRA_nationalist_summit is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.30.a log = "[GetDateText]: [This.GetName]: brazil.30.a executed" every_country = { limit = { has_government = nationalist } add_opinion_modifier = { target = ROOT modifier = friendship } } } } # Logging Reforms country_event = { id = brazil.31 title = brazil.31.t desc = brazil.31.d picture = GFX_mining is_triggered_only = yes trigger = { original_tag = BRA } # Begin the Logging Reforms option = { name = brazil.31.a log = "[GetDateText]: [This.GetName]: brazil.31.a executed" add_stability = 0.075 set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes 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 } } # Align with other parties country_event = { id = brazil.35 title = brazil.35.t desc = brazil.35.d picture = GFX_political_deal is_triggered_only = yes # picture = - option = { log = "[GetDateText]: [This.GetName]: brazil.35.a executed" custom_effect_tooltip = BRA_coalition_dem_one_tt name = brazil.35.a add_political_power = 200 hidden_effect = { set_temp_variable = { rul_party_temp = 2 } set_temp_variable = { col_one = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 1 } #DEM set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_chance = { base = 2 } } option = { log = "[GetDateText]: [This.GetName]: brazil.35.b executed" add_ideas = BRA_idea_mbl name = brazil.35.b add_political_power = 100 add_stability = 0.1 add_popularity = { ideology = democratic popularity = 0.1 } ai_chance = { base = 1 } } option = { log = "[GetDateText]: [This.GetName]: brazil.35.c executed" add_ideas = BRA_idea_mbl name = brazil.35.c add_political_power = 100 add_stability = 0.1 custom_effect_tooltip = BRA_coalition_dem_tt hidden_effect = { set_temp_variable = { rul_party_temp = 2 } set_temp_variable = { col_one = 1 } change_ruling_party_effect = yes set_temp_variable = { party_index = 1 } #DEM set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes } ai_chance = { base = 5 } } } # Dilma's Impeachment country_event = { id = brazil.37 title = brazil.37.t desc = brazil.37.d picture = GFX_country_event_brazilian_impeachment_dilma is_triggered_only = yes trigger = { original_tag = BRA date > 2016.9.05 } option = { name = brazil.37.a log = "[GetDateText]: [This.GetName]: brazil.37.a executed" create_country_leader = { name = "Michel Temer" picture = "Michel_Temer.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } } } # Lula Arrested country_event = { id = brazil.38 title = brazil.38.t desc = brazil.38.d picture = GFX_country_event_brazilian_lula_arrested is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.38.a log = "[GetDateText]: [This.GetName]: brazil.38.a executed" add_stability = -0.03 add_popularity = { ideology = communism popularity = 0.02 } recalculate_party = yes } } country_event = { id = brazil.39 title = brazil.39.t desc = brazil.39.d picture = GFX_political_activist is_triggered_only = yes fire_only_once = yes trigger = { original_tag = BRA date > 2002.3.1 date < 2002.5.1 NOT = { has_country_flag = BRA_election_2002 } has_country_flag = generic_election_killswitch } immediate = { set_country_flag = BRA_election_2002 complete_national_focus = BRA_2002_elections } option = { name = brazil.39.a log = "[GetDateText]: [This.GetName]: brazil.39.a executed" retire_country_leader = yes complete_national_focus = BRA_serra hidden_effect = { set_temp_variable = { rul_party_temp = 2 } change_ruling_party_effect = yes } create_country_leader = { name = "José Serra" picture = "Jose_Serra.dds" ideology = liberalism traits = { western_liberalism pro_american } } add_popularity = { ideology = democratic popularity = 0.1 } recalculate_party = yes add_political_power = 150 clr_country_flag = generic_election_killswitch ai_chance = { base = 3 modifier = { factor = 20 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 } } modifier = { factor = 1.5 democratic > 0.2 } } } option = { name = brazil.39.b log = "[GetDateText]: [This.GetName]: brazil.39.b executed" retire_country_leader = yes complete_national_focus = BRA_lula hidden_effect = { set_temp_variable = { rul_party_temp = 5 } change_ruling_party_effect = yes } create_country_leader = { name = "Luiz Inácio Lula da Silva" picture = "luiz_inacio_lula_da_silva.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism union_man } } add_popularity = { ideology = communism popularity = 0.1 } recalculate_party = yes add_political_power = 150 # Unlocks the custom mechanic for Lula and co. unlock_decision_category_tooltip = BRA_workers_party_alignment_decision_category clr_country_flag = generic_election_killswitch ai_chance = { base = 5 modifier = { factor = 20 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 } } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 1.5 communism > 0.2 } } } } #Dilma's Impeachment Protests country_event = { id = brazil.40 title = brazil.40.t desc = brazil.40.d picture = GFX_country_event_brazilian_impeachment_protests is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.40.a log = "[GetDateText]: [This.GetName]: brazil.40.a executed" add_popularity = { ideology = nationalist popularity = 0.075 } country_event = { id = brazil.37 days = 30 } } } # Bolsonaro Stabbed country_event = { id = brazil.41 title = brazil.41.t desc = brazil.41.d picture = GFX_country_event_brazilian_bolsonaro_stabbed is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.41.a log = "[GetDateText]: [This.GetName]: brazil.41.a executed" add_popularity = { ideology = nationalist popularity = 0.02 } recalculate_party = yes add_stability = -0.01 ai_chance = { base = 1 } } option = { name = brazil.41.b log = "[GetDateText]: [This.GetName]: brazil.41.b executed" add_popularity = { ideology = communism popularity = 0.02 } recalculate_party = yes add_stability = -0.01 ai_chance = { base = 1 } } } # United States - Seek Foreign Assistance country_event = { id = brazil.42 title = brazil.42.t desc = brazil.42.d picture = GFX_BRA_debt_negotiations is_triggered_only = yes trigger = { original_tag = USA } option = { name = brazil.42.a log = "[GetDateText]: [This.GetName]: brazil.42.a executed" effect_tooltip = { set_temp_variable = { treasury_change = -75 } modify_treasury_effect = yes BRA = { 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 } } } set_country_flag = BRA_USA_accepted_the_foreign_debt_assistance hidden_effect = { BRA = { country_event = { id = brazil.43 days = 3 } } } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = BRA value > 50 } } modifier = { add = 3 has_opinion = { target = BRA value > 75 } } modifier = { add = 5 has_opinion = { target = BRA value > 100 } } modifier = { add = 5 OR = { AND = { USA = { has_government = democratic } BRA = { has_government = democratic } } AND = { USA = { has_government = neutrality } BRA = { has_government = neutrality } } AND = { USA = { has_government = communism } BRA = { has_government = communism } } } } } } option = { name = brazil.42.b log = "[GetDateText]: [This.GetName]: brazil.42.b executed" 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 } } hidden_effect = { BRA = { country_event = { id = brazil.43 days = 3 } } } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = BRA value < 5 } } } } } country_event = { id = brazil.43 title = { text = brazil.43.t1 trigger = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } } title = { text = brazil.43.t2 trigger = { NOT = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } } } desc = { text = brazil.43.d1 trigger = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } } desc = { text = brazil.43.d2 trigger = { NOT = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } } } picture = GFX_BRA_debt_negotiations is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil.43.a log = "[GetDateText]: [This.GetName]: brazil.43.a executed" trigger = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } USA = { set_temp_variable = { treasury_change = -75 } modify_treasury_effect = yes } BRA = { 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 } } ai_chance = { base = 1 } } option = { name = brazil.43.b log = "[GetDateText]: [This.GetName]: brazil.43.b executed" trigger = { NOT = { USA = { has_country_flag = BRA_USA_accepted_the_foreign_debt_assistance } } } BRA = { 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_chance = { base = 1 } } } # Belém Requests to Slash & Burn for Agriculture Districts country_event = { id = brazil.44 title = brazil.44.t desc = brazil.44.d picture = GFX_country_event_brazilian_impeachment_protests is_triggered_only = yes trigger = { original_tag = BRA } # Allow the Slash-n-Burn option = { name = brazil.44.a log = "[GetDateText]: [This.GetName]: brazil.44.a executed" set_temp_variable = { temp_change = -25 } BRA_wild_acreage_effect = yes 891 = { add_building_construction = { type = agriculture_district level = 1 instant_build = yes } } ai_chance = { base = 1 } } # Deny the Slash-n-Burn option = { name = brazil.44.b ai_chance = { base = 0 } } } ###Flavour Events # Kidnapping of Patricia Abravanel country_event = { id = brazil_flavour_events.1 title = brazil_flavour_events.1.t desc = brazil_flavour_events.1.d picture = GFX_court is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.1.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.1.a executed" add_political_power = 15 hidden_effect = { random_list = { 65 = { country_event = { id = brazil_flavour_events.2 #Kidnapping of Silvio Santos days = 7 } } 35 = { country_event = { id = brazil_flavour_events.3 #Murder of Silvio Santos days = 7 } } } } } option = { name = brazil_flavour_events.1.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.1.b executed" add_political_power = -50 custom_effect_tooltip = BRA_flavour_event.1_tt hidden_effect = { random_list = { 85 = { country_event = { id = brazil_flavour_events.2 #Kidnapping of Silvio Santos days = 7 } } 15 = { country_event = { id = brazil_flavour_events.3 #Murder of Silvio Santos days = 7 } } } } } } # Kidnapping of Silvio Santos country_event = { id = brazil_flavour_events.2 title = brazil_flavour_events.2.t desc = brazil_flavour_events.2.d picture = GFX_court is_triggered_only = yes option = { name = brazil_flavour_events.2.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.2.a executed" add_stability = 0.02 } } ##Murder of Silvio Santos country_event = { id = brazil_flavour_events.3 title = brazil_flavour_events.3.t desc = brazil_flavour_events.3.d picture = GFX_court is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.3.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.3.a executed" add_stability = -0.02 } } #The Assassination of Antonio da Costa Santos country_event = { id = brazil_flavour_events.4 title = brazil_flavour_events.4.t desc = brazil_flavour_events.4.d picture = GFX_BRA_event_toninho_pt is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.4.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.4.a executed" add_political_power = -25 add_stability = -0.03 add_popularity = { ideology = communism popularity = 0.02 } recalculate_party = yes } option = { name = brazil_flavour_events.4.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.4.b executed" add_political_power = -50 add_stability = -0.02 } } # Brazil’s 5th Fifa World Cup country_event = { id = brazil_flavour_events.5 title = brazil_flavour_events.5.t desc = brazil_flavour_events.5.d picture = GFX_BRA_event_copa_2002 is_triggered_only = yes trigger = { tag = BRA } option = { name = brazil_flavour_events.5.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.5.a executed" add_stability = 0.01 } option = { name = brazil_flavour_events.5.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.5.b executed" add_stability = 0.01 } } # Canal Hotel Bombing country_event = { id = brazil_flavour_events.6 title = brazil_flavour_events.6.t desc = brazil_flavour_events.6.d picture = GFX_BRA_event_canal_hotel_bomb is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.6.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.6.a executed" add_political_power = 25 add_stability = -0.01 add_manpower = -1 hidden_effect = { country_event = { id = brazil_flavour_events.10 #Sérgio Vieira de Mello Medal days = 2200 random_days = 360 } } } option = { name = brazil_flavour_events.6.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.6.b executed" add_political_power = 10 add_stability = -0.02 add_war_support = 0.01 add_manpower = -1 } } #Cyclone Catarina country_event = { id = brazil_flavour_events.7 title = brazil_flavour_events.7.t desc = brazil_flavour_events.7.d picture = GFX_BRA_event_cyclone_catarina is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.7.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.7.a executed" add_political_power = -50 add_stability = -0.01 set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes 953 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } 879 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } option = { name = brazil_flavour_events.7.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.7.b executed" add_political_power = -10 add_stability = -0.02 953 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 2 } } } 879 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 2 } } } } } # Aftermath of the Putim Prison Jailbreak country_event = { id = brazil_flavour_events.8 title = brazil_flavour_events.8.t desc = brazil_flavour_events.8.d picture = GFX_BRA_event_putim_prison is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.8.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.8.a executed" add_stability = 0.02 add_political_power = -75 } option = { name = brazil_flavour_events.8.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.8.b executed" add_stability = -0.01 add_political_power = 50 } } # Banco Central Burglary country_event = { id = brazil_flavour_events.9 title = brazil_flavour_events.9.t desc = brazil_flavour_events.9.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.9.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.9.a executed" add_stability = -0.02 set_temp_variable = { treasury_change = -0.716 } modify_treasury_effect = yes add_political_power = -50 increase_policing_budget = yes ai_chance = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = brazil_flavour_events.9.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.9.b executed" add_stability = -0.02 set_temp_variable = { treasury_change = -0.716 } modify_treasury_effect = yes ai_chance = { base = 1 } } } # Sérgio Vieira de Mello Medal country_event = { id = brazil_flavour_events.10 title = brazil_flavour_events.10.t desc = brazil_flavour_events.10.d picture = GFX_BRA_event_canal_hotel_bomb is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.10.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.10.a executed" add_political_power = 50 add_stability = 0.01 } } # TAM Airlines Flight 3054 Disaster country_event = { id = brazil_flavour_events.11 title = brazil_flavour_events.11.t desc = brazil_flavour_events.11.d picture = GFX_plane_crash is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.11.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.11.a executed" add_stability = -0.02 add_manpower = -199 ai_chance = { base = 1 } } option = { name = brazil_flavour_events.11.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.11.b executed" add_stability = 0.01 add_manpower = -199 set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes ai_chance = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } # 2017 Carnaval country_event = { id = brazil_flavour_events.12 title = brazil_flavour_events.12.t desc = brazil_flavour_events.12.d picture = GFX_country_event_brazilian_carnaval is_triggered_only = yes trigger = { original_tag = BRA } option = { name = brazil_flavour_events.12.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.12.a executed" add_political_power = 25 ai_chance = { base = 1 } } } # Cristo Redentor, Wonder of the World country_event = { id = brazil_flavour_events.13 title = brazil_flavour_events.13.t desc = brazil_flavour_events.13.d picture = GFX_country_event_brazilian_new_year is_triggered_only = yes trigger = { tag = BRA } option = { name = brazil_flavour_events.13.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.13.a executed" add_political_power = 10 add_stability = 0.02 } option = { name = brazil_flavour_events.13.b log = "[GetDateText]: [This.GetName]: brazil_flavour_events.13.b executed" add_political_power = 10 add_stability = 0.02 } } # The Liberal Front Party Changes Names country_event = { id = brazil_flavour_events.14 title = brazil_flavour_events.14.t desc = brazil_flavour_events.14.d picture = GFX_BRA_democratas_founded is_triggered_only = yes trigger = { original_tag = BRA } # The Democrats have Formed option = { name = brazil_flavour_events.14.a log = "[GetDateText]: [This.GetName]: brazil_flavour_events.14.a executed" set_country_flag = BRA_democrats_party_formed set_temp_variable = { party_index = 1 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } # Brazilian Amazon Rainforest Conservation System # Rampant Wildfires country_event = { id = brazil_amazon.1 title = brazil_amazon.1.t desc = brazil_amazon.1.d picture = GFX_amazon_wildforest is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1500 } } modifier = { factor = 0.60 has_country_flag = BRA_established_amazon_park_service } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_amazon_rampant_wildfires } } immediate = { set_country_flag = { flag = BRA_amazon_rampant_wildfires value = 1 days = 90 } } # Do What We Can with What We Have option = { name = brazil_amazon.1.a log = "[GetDateText]: [This.GetName]: brazil_amazon.1.a executed" if = { limit = { NOT = { has_country_flag = BRA_established_amazon_park_service } } random_owned_state = { limit = { is_brazilian_amazon_state = yes } random_list = { 10 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } 10 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } 10 = { if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1 } } } 10 = { if = { limit = { offices > 0 } damage_building = { type = offices damage = 1 } } } 10 = { } } } set_temp_variable = { temp_change = -25 } BRA_wild_acreage_effect = yes } else = { random_owned_state = { limit = { is_brazilian_amazon_state = yes } random_list = { 10 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } } 10 = { modifier = { factor = 0 check_variable = { building_level@industrial_complex > 0 } } damage_building = { type = industrial_complex damage = 0.5 } } 10 = { modifier = { factor = 0 check_variable = { building_level@arms_factory > 0 } } damage_building = { type = arms_factory damage = 0.5 } } 10 = { modifier = { factor = 0 check_variable = { building_level@offices > 0 } } damage_building = { type = offices damage = 0.5 } } 10 = { modifier = { factor = 2 BRA = { has_country_flag = BRA_established_amazon_park_service } } } } } set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes } } # Deploy the Army option = { name = brazil_amazon.1.b log = "[GetDateText]: [This.GetName]: brazil_amazon.1.b executed" trigger = { has_country_flag = BRA_amazon_military_high_command } add_command_power = -30 set_temp_variable = { temp_change = -10 } BRA_wild_acreage_effect = yes } } # Amazon River Flooding country_event = { id = brazil_amazon.2 title = brazil_amazon.2.t desc = brazil_amazon.2.d picture = GFX_amazon_rainforest_flooding is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1500 } } modifier = { factor = 0.60 has_country_flag = BRA_established_amazon_park_service } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_amazon_river_flooded } } immediate = { set_country_flag = { flag = BRA_amazon_river_flooded value = 1 days = 90 } } # Do What We Can with What We have option = { name = brazil_amazon.2.a log = "[GetDateText]: [This.GetName]: brazil_amazon.2.a executed" set_temp_variable = { temp_change = -20 } BRA_wild_acreage_effect = yes ai_chance = { base = 1 } } # Deploy the army to assist with search and rescue, quickly! option = { name = brazil_amazon.2.b log = "[GetDateText]: [This.GetName]: brazil_amazon.2.b executed" trigger = { has_country_flag = BRA_amazon_military_high_command } add_command_power = -25 set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes ai_chance = { base = 1 } } } # Drought in Amazon Border Regions country_event = { id = brazil_amazon.3 title = brazil_amazon.3.t desc = brazil_amazon.3.d picture = GFX_amazon_rainforest_drought is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1500 } } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_drought_in_amazon_border_regions } } immediate = { set_country_flag = { flag = BRA_drought_in_amazon_border_regions value = 1 days = 120 } } # They Should Manage Their Water Better option = { name = brazil_amazon.3.a log = "[GetDateText]: [This.GetName]: brazil_amazon.3.a executed" set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes set_temp_variable = { temp_change = -40 } BRA_wild_acreage_effect = yes ai_chance = { base = 1 } } # Deploy as Much Disaster Relief as We Can Spare, quickly! option = { name = brazil_amazon.3.b log = "[GetDateText]: [This.GetName]: brazil_amazon.3.b executed" trigger = { has_country_flag = BRA_amazon_military_high_command } add_political_power = -25 set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes ai_chance = { base = 1 } } } # Tropical Storm Strikes Amazon Regions country_event = { id = brazil_amazon.4 title = brazil_amazon.4.t desc = brazil_amazon.4.d picture = GFX_amazon_rainforest_tropical_storm is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1500 } } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_tropical_storm_strikes_amazon_regions } } immediate = { set_country_flag = { flag = BRA_tropical_storm_strikes_amazon_regions value = 1 days = 280 } } # They Should Build Things Sturdier option = { name = brazil_amazon.4.a log = "[GetDateText]: [This.GetName]: brazil_amazon.4.a executed" set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { temp_change = -60 } BRA_wild_acreage_effect = yes } # Deploy as Much Disaster Relief as We Can Spare, Quickly! option = { name = brazil_amazon.4.b log = "[GetDateText]: [This.GetName]: brazil_amazon.4.b executed" add_political_power = -50 set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.003 } modify_treasury_effect = yes set_temp_variable = { temp_change = -40 } BRA_wild_acreage_effect = yes } } # Illegal Clear Cutting country_event = { id = brazil_amazon.5 title = brazil_amazon.5.t desc = brazil_amazon.5.d picture = GFX_amazon_rainforest_logging is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1500 } } modifier = { factor = 2 has_idea = depression } modifier = { factor = 1.75 has_idea = recession } modifier = { factor = 1.5 has_idea = stagnation } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_illegal_clear_cutting } } immediate = { set_country_flag = { flag = BRA_illegal_clear_cutting value = 1 days = 120 } } # Do what little we can at this point. option = { name = brazil_amazon.5.a log = "[GetDateText]: [This.GetName]: brazil_amazon.5.a executed" set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes } # They know the deal, where’s our cut? option = { name = brazil_amazon.5.b log = "[GetDateText]: [This.GetName]: brazil_amazon.5.b executed" trigger = { has_dynamic_modifier = { modifier = narco_state_bonuses } } set_temp_variable = { temp_change = -20 } BRA_wild_acreage_effect = yes set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.008 } modify_treasury_effect = yes } } # Illegal Slash-n-Burn country_event = { id = brazil_amazon.6 title = brazil_amazon.6.t desc = brazil_amazon.6.d picture = GFX_amazon_slash_n_burn is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1500 } } modifier = { factor = 2 has_idea = depression } modifier = { factor = 1.75 has_idea = recession } modifier = { factor = 1.5 has_idea = stagnation } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_illegal_slash_n_burn } } immediate = { set_country_flag = { flag = BRA_illegal_slash_n_burn value = 1 days = 120 } } # Do what little we can at this point. option = { name = brazil_amazon.6.a log = "[GetDateText]: [This.GetName]: brazil_amazon.6.a executed" set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes hidden_effect = { random = { chance = 5 country_event = { id = brazil_amazon.8 days = 7 } } } ai_chance = { base = 1 } } # They know the deal, where’s our cut? option = { name = brazil_amazon.6.b log = "[GetDateText]: [This.GetName]: brazil_amazon.6.b executed" trigger = { has_dynamic_modifier = { modifier = narco_state_bonuses } } set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes hidden_effect = { random = { chance = 15 country_event = { id = brazil_amazon.8 days = 7 } } } ai_chance = { base = 5 } } } # Legal Developments - Company Purchases Local Amazonian Conservation Land Rights # Restarted on brazil_amazon.21 country_event = { id = brazil_amazon.7 title = brazil_amazon.7.t desc = brazil_amazon.7.d picture = GFX_court is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current > 1500 } } modifier = { factor = 2 has_completed_focus = BRA_legalize_independent_amazonian_development } modifier = { factor = 0.25 NOT = { has_completed_focus = BRA_legalize_independent_amazonian_development } } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_local_company_purchases_conservation_land } } immediate = { set_country_flag = { flag = BRA_local_company_purchases_conservation_land value = 1 days = 120 } } # Do what little we can at this point. option = { name = brazil_amazon.7.a log = "[GetDateText]: [This.GetName]: brazil_amazon.7.a executed" random_list = { 20 = { random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_resource = { type = chromium amount = 8 } } } 20 = { random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_resource = { type = oil amount = 8 } } } 20 = { random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_resource = { type = aluminium amount = 8 } } } 20 = { random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_resource = { type = rubber amount = 8 } } } } set_temp_variable = { temp_change = -20 } BRA_conserv_acreage_effect = yes ai_chance = { base = 1 } } } # Slash-n-Burn Triggers Wildfires country_event = { id = brazil_amazon.8 title = brazil_amazon.8.t desc = brazil_amazon.8.d picture = GFX_amazon_wildforest is_triggered_only = yes trigger = { original_tag = BRA NOT = { has_country_flag = BRA_slah_n_burn_triggers_wildfires } } immediate = { set_country_flag = { flag = BRA_slah_n_burn_triggers_wildfires value = 1 days = 120 } } # Those damn fools. option = { name = brazil_amazon.8.a log = "[GetDateText]: [This.GetName]: brazil_amazon.8.a executed" set_temp_variable = { temp_change = -20 } BRA_wild_acreage_effect = yes } # Luckily, we’ve prepared for such a possibility. option = { name = brazil_amazon.8.b log = "[GetDateText]: [This.GetName]: brazil_amazon.8.b executed" trigger = { has_country_flag = BRA_established_amazon_park_service } add_political_power = -15 set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes } } # Poaching Leads to Local Ecosystem Collapse country_event = { id = brazil_amazon.9 title = brazil_amazon.9.t desc = brazil_amazon.9.d picture = GFX_illegal_poaching is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_idea = depression } modifier = { factor = 1.75 has_idea = recession } modifier = { factor = 1.5 has_idea = stagnation } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_poaching_leads_to_local_ecosystem_collapse } } immediate = { set_country_flag = { flag = BRA_poaching_leads_to_local_ecosystem_collapse value = 1 days = 150 } } # Do what little we can at this point. option = { name = brazil_amazon.9.a log = "[GetDateText]: [This.GetName]: brazil_amazon.9.a executed" set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes } # Have the National Park Service reintroduce cornerstone species. option = { name = brazil_amazon.9.b log = "[GetDateText]: [This.GetName]: brazil_amazon.9.b executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes } # They know the deal, where’s our cut? option = { name = brazil_amazon.9.c log = "[GetDateText]: [This.GetName]: brazil_amazon.9.c executed" trigger = { has_dynamic_modifier = { modifier = narco_state_bonuses } } set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.003 } modify_treasury_effect = yes } } # Illegal Incursions onto Native Land country_event = { id = brazil_amazon.10 title = brazil_amazon.10.t desc = brazil_amazon.10.d picture = GFX_brazilian_nativers is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_idea = depression } modifier = { factor = 1.75 has_idea = recession } modifier = { factor = 1.5 has_idea = stagnation } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_illegal_incursions_onto_native_land } } immediate = { set_country_flag = { flag = BRA_illegal_incursions_onto_native_land value = 1 days = 180 } } # They say it’s their land, let them deal with it. option = { name = brazil_amazon.10.a log = "[GetDateText]: [This.GetName]: brazil_amazon.10.a executed" set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes hidden_effect = { random = { chance = 50 random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } set_variable = { BRA.incursion_state = THIS.id } } # Incursions Lead to Killings country_event = { id = brazil_amazon.11 days = 7 } } } ai_chance = { base = 1 } } # Find someone, anyone, to deal with this problem. option = { name = brazil_amazon.10.b log = "[GetDateText]: [This.GetName]: brazil_amazon.10.b executed" add_political_power = -50 hidden_effect = { random = { chance = 15 random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } set_variable = { BRA.incursion_state = THIS.id } } # Incursions Lead to Killings country_event = { id = brazil_amazon.11 days = 7 } } } ai_chance = { base = 1 } } # Send in the army to deal with this. option = { name = brazil_amazon.10.c log = "[GetDateText]: [This.GetName]: brazil_amazon.10.c executed" trigger = { has_country_flag = BRA_amazon_military_high_command } add_command_power = -25 # Natives Express Thanks country_event = { id = brazil_amazon.12 days = 7 } ai_chance = { base = 1 } } } # Incursions Lead to Killings country_event = { id = brazil_amazon.11 title = brazil_amazon.11.t desc = brazil_amazon.11.d picture = GFX_politics_protest is_triggered_only = yes trigger = { original_tag = BRA } # We can do to nothing about that, may God save their souls. option = { name = brazil_amazon.11.a log = "[GetDateText]: [This.GetName]: brazil_amazon.11.a executed" var:BRA.incursion_state = { add_dynamic_modifier = { modifier = BRA_native_violence_modifier days = 90 } } ai_chance = { base = 1 } } # A textbook case of criminals killing natives. option = { name = brazil_amazon.11.b log = "[GetDateText]: [This.GetName]: brazil_amazon.11.b executed" add_political_power = -50 hidden_effect = { random = { chance = 50 var:BRA.incursion_state = { add_dynamic_modifier = { modifier = BRA_native_violence_modifier days = 90 } } } } ai_chance = { base = 1 } } # Send in the army to break this up. option = { name = brazil_amazon.11.c log = "[GetDateText]: [This.GetName]: brazil_amazon.11.c executed" trigger = { has_country_flag = BRA_amazon_military_high_command } add_command_power = -35 hidden_effect = { random = { chance = 15 var:BRA.incursion_state = { add_dynamic_modifier = { modifier = BRA_native_violence_modifier days = 90 } } } } ai_chance = { base = 1 } } } # Natives Express Thanks country_event = { id = brazil_amazon.12 title = brazil_amazon.12.t desc = brazil_amazon.12.d picture = GFX_brazilian_nativers is_triggered_only = yes trigger = { original_tag = BRA } # They are law-abiding citizens, they deserve our protection option = { name = brazil_amazon.12.a log = "[GetDateText]: [This.GetName]: brazil_amazon.12.a executed" add_political_power = 75 } } # Jungle Narcotics Field Located country_event = { id = brazil_amazon.13 title = brazil_amazon.13.t desc = brazil_amazon.13.d picture = GFX_BRA_jungle_drug_lab is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 2 has_idea = depression } modifier = { factor = 1.75 has_idea = recession } modifier = { factor = 1.5 has_idea = stagnation } modifier = { factor = 1.05 has_dynamic_modifier = { modifier = narco_state_bonuses } } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_jungle_narcotics_field_located } OR = { has_dynamic_modifier = { modifier = cartel_penalties } has_dynamic_modifier = { modifier = narco_state_bonuses } } } immediate = { set_country_flag = { flag = BRA_jungle_narcotics_field_located value = 1 days = 180 } } # Try to get in there and do what we can option = { name = brazil_amazon.13.a log = "[GetDateText]: [This.GetName]: brazil_amazon.13.a executed" set_temp_variable = { temp_change = -25 } BRA_wild_acreage_effect = yes set_temp_variable = { cart_strength_change = -3 } modify_cartel_variables_effect = yes ai_chance = { base = 1 } } # Have our policing forces cooperate with the local army command option = { name = brazil_amazon.13.b log = "[GetDateText]: [This.GetName]: brazil_amazon.13.b executed" trigger = { has_country_flag = BRA_amazon_military_high_command } set_temp_variable = { temp_change = -15 } BRA_wild_acreage_effect = yes set_temp_variable = { cart_strength_change = -7 } modify_cartel_variables_effect = yes ai_chance = { base = 1 } } # Oh! That's where that field was, clever. option = { name = brazil_amazon.13.c log = "[GetDateText]: [This.GetName]: brazil_amazon.13.c executed" trigger = { has_dynamic_modifier = { modifier = narco_state_bonuses } } set_temp_variable = { temp_change = -30 } BRA_wild_acreage_effect = yes set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.03 } modify_treasury_effect = yes ai_chance = { base = 1 } } } # [?var:influence_array^0.GetName] Pressures for Conservation country_event = { id = brazil_amazon.14 title = brazil_amazon.14.t desc = brazil_amazon.14.d picture = GFX_BRA_amazon_conservation is_triggered_only = yes trigger = { original_tag = BRA NOT = { check_variable = { influence_array^0 = 0 } } } # We cannot sacrifice our values for short-term gains option = { name = brazil_amazon.14.a log = "[GetDateText]: [This.GetName]: brazil_amazon.14.a executed" add_political_power = -25 set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = influence_array^0 } change_influence_percentage = yes ai_chance = { base = 1 } } # Striking a Lucrative Deal is always beneficial option = { name = brazil_amazon.14.b log = "[GetDateText]: [This.GetName]: brazil_amazon.14.b executed" set_temp_variable = { temp_change = 50 } BRA_conserv_acreage_effect = yes set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = influence_array^0 } change_influence_percentage = yes ai_chance = { base = 1 } } } # Critical Amazon Dam Overflows country_event = { id = brazil_amazon.15 title = brazil_amazon.15.t desc = brazil_amazon.15.d picture = GFX_amazon_rainforest_dam is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 250 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 400 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 500 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 650 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 800 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1000 } } modifier = { factor = 1.05 check_variable = { BRA.BRA_acres_current < 1500 } } } trigger = { original_tag = BRA NOT = { has_country_flag = BRA_critical_amazon_dam_overflows } } immediate = { set_country_flag = { flag = BRA_critical_amazon_dam_overflows value = 1 days = 210 } } # The chances are slim, we should only deploy what is necessary now option = { name = brazil_amazon.15.a log = "[GetDateText]: [This.GetName]: brazil_amazon.15.a executed" random_list = { 25 = { country_event = { id = brazil_amazon.16 days = 7 } } 75 = { country_event = { id = brazil_amazon.18 days = 7 } } } ai_chance = { base = 1 } } # Plan for the worst, begin an evacuation of downstream regions option = { name = brazil_amazon.15.b log = "[GetDateText]: [This.GetName]: brazil_amazon.15.b executed" add_political_power = -50 set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.005 } modify_treasury_effect = yes random_list = { 25 = { country_event = { id = brazil_amazon.17 days = 7 } } 75 = { country_event = { id = brazil_amazon.19 days = 7 } } } ai_chance = { base = 1 } } } # Disastrous Dam Burst country_event = { id = brazil_amazon.16 title = brazil_amazon.16.t desc = brazil_amazon.16.d picture = GFX_amazon_rainforest_flooding_two is_triggered_only = yes trigger = { original_tag = BRA } # This-This Wasn't Supposed to Happen... option = { name = brazil_amazon.16.a log = "[GetDateText]: [This.GetName]: brazil_amazon.16.a executed" set_temp_variable = { temp_change = -30 } BRA_wild_acreage_effect = yes set_temp_variable = { party_popularity_increase = -0.08 } set_temp_variable = { temp_outlook_increase = -0.08 } change_relative_party_popularity = yes random_owned_controlled_state = { limit = { is_in_array = { BRA.amazon_states = THIS.id } } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 8.0 } } if = { limit = { check_variable = { building_level@industrial_complex > 0 } } damage_building = { type = industrial_complex damage = 8.0 } } if = { limit = { check_variable = { building_level@offices > 0 } } damage_building = { type = offices damage = 8.0 } } if = { limit = { check_variable = { building_level@arms_factory > 0 } } damage_building = { type = arms_factory damage = 8.0 } } if = { limit = { check_variable = { building_level@agriculture_district > 0 } } damage_building = { type = agriculture_district damage = 8.0 } } } ai_chance = { base = 1 } } # Hell on Earth, Deploy as Much as We Can to the Area option = { name = brazil_amazon.16.b log = "[GetDateText]: [This.GetName]: brazil_amazon.16.b executed" add_political_power = -100 add_command_power = -25 set_temp_variable = { temp_change = -20 } BRA_wild_acreage_effect = yes set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes random_owned_controlled_state = { limit = { is_in_array = { BRA.amazon_states = THIS.id } } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 5.0 } } if = { limit = { check_variable = { building_level@industrial_complex > 0 } } damage_building = { type = industrial_complex damage = 5.0 } } if = { limit = { check_variable = { building_level@offices > 0 } } damage_building = { type = offices damage = 5.0 } } if = { limit = { check_variable = { building_level@arms_factory > 0 } } damage_building = { type = arms_factory damage = 5.0 } } if = { limit = { check_variable = { building_level@agriculture_district > 0 } } damage_building = { type = agriculture_district damage = 5.0 } } } ai_chance = { base = 1 } } } # A Dam Bursts country_event = { id = brazil_amazon.17 title = brazil_amazon.17.t desc = brazil_amazon.17.d picture = GFX_amazon_rainforest_flooding_two is_triggered_only = yes trigger = { original_tag = BRA } # I can only imagine a world where we did nothing option = { name = brazil_amazon.17.a log = "[GetDateText]: [This.GetName]: brazil_amazon.17.a executed" set_temp_variable = { temp_change = -10 } BRA_wild_acreage_effect = yes set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes random_owned_state = { limit = { is_brazilian_amazon_state = yes } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 2 } } random_list = { 10 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 3 } } } 10 = { if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 3 } } } 10 = { if = { limit = { offices > 0 } damage_building = { type = offices damage = 3 } } } 10 = { } } } } } # Dam Overflow Subsidies country_event = { id = brazil_amazon.18 title = brazil_amazon.18.t desc = brazil_amazon.18.d picture = GFX_amazon_rainforest_flooding_two is_triggered_only = yes trigger = { original_tag = BRA } # And, we saved money by doing nothing option = { name = brazil_amazon.18.a log = "[GetDateText]: [This.GetName]: brazil_amazon.18.a executed" set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes random_owned_state = { limit = { is_brazilian_amazon_state = yes } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } random_list = { 10 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 4 } } } 10 = { if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 3 } } } 10 = { if = { limit = { offices > 0 } damage_building = { type = offices damage = 3 } } } 10 = { } } } } } # Dam Overflow Subsidies (Alternate) country_event = { id = brazil_amazon.19 title = brazil_amazon.19.t desc = brazil_amazon.19.d picture = GFX_amazon_rainforest_flooding_two is_triggered_only = yes trigger = { original_tag = BRA } # In moments like these, you almost enjoy being a public servant option = { name = brazil_amazon.19.a log = "[GetDateText]: [This.GetName]: brazil_amazon.19.a executed" set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes random_owned_state = { limit = { is_brazilian_amazon_state = yes } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } random_list = { 10 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } 10 = { if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1 } } } 10 = { if = { limit = { offices > 0 } damage_building = { type = offices damage = 1 } } } 10 = { } } } } } # Positive Events # Amazon Establishes Distribution Centre in Amazonas country_event = { id = brazil_amazon.20 title = brazil_amazon.20.t desc = brazil_amazon.20.d picture = GFX_amazon_logo is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_country_flag = BRA_banned_all_amazonian_private_development } modifier = { factor = 1.25 has_country_flag = BRA_legalized_independent_development } modifier = { factor = 2 892 = { set_temp_variable = { total_building = building_level@industrial_complex } add_to_temp_variable = { total_building = building_level@arms_factory } add_to_temp_variable = { total_building = building_level@agriculture_district } add_to_temp_variable = { total_building = building_level@offices } } check_variable = { total_building > 14 } } modifier = { factor = 2 892 = { set_temp_variable = { total_building = building_level@industrial_complex } add_to_temp_variable = { total_building = building_level@arms_factory } add_to_temp_variable = { total_building = building_level@agriculture_district } add_to_temp_variable = { total_building = building_level@offices } } check_variable = { total_building > 19 } } modifier = { factor = 2 892 = { set_temp_variable = { total_building = building_level@industrial_complex } add_to_temp_variable = { total_building = building_level@arms_factory } add_to_temp_variable = { total_building = building_level@agriculture_district } add_to_temp_variable = { total_building = building_level@offices } } check_variable = { total_building > 24 } } modifier = { factor = 2 892 = { set_temp_variable = { total_building = building_level@industrial_complex } add_to_temp_variable = { total_building = building_level@arms_factory } add_to_temp_variable = { total_building = building_level@agriculture_district } add_to_temp_variable = { total_building = building_level@offices } } check_variable = { total_building > 29 } } } trigger = { original_tag = BRA NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } # Check if the total buildings is over 10 892 = { set_temp_variable = { total_building = building_level@industrial_complex } add_to_temp_variable = { total_building = building_level@arms_factory } add_to_temp_variable = { total_building = building_level@agriculture_district } add_to_temp_variable = { total_building = building_level@offices } } check_variable = { total_building > 9 } } # This is getting out of hand, now there are two of them option = { name = brazil_amazon.20.a log = "[GetDateText]: [This.GetName]: brazil_amazon.20.a executed" set_country_flag = BRA_amazon_invested_in_the_amazon if = { limit = { 892 = { infrastructure < 5 } } 892 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } else = { add_political_power = 100 } ai_chance = { base = 1 } } } # The Amazon is Devastated country_event = { id = brazil_amazon.21 title = brazil_amazon.21.t desc = brazil_amazon.21.d picture = GFX_country_event_amazon_rainforest_devastation is_triggered_only = yes trigger = { original_tag = BRA check_variable = { BRA.BRA_acres_current < 50 } NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } } # The Very Last Truffala Tree of Them All option = { name = brazil_amazon.21.a log = "[GetDateText]: [This.GetName]: brazil_amazon.21.a executed" set_global_flag = BRA_amazon_rainforest_fully_devastated add_stability = -0.05 news_event = brazil_news.5 ai_chance = { base = 1 } } } # Agro-Industrial Company Invests in Fields country_event = { id = brazil_amazon.22 title = brazil_amazon.22.t desc = brazil_amazon.22.d picture = GFX_grain_silo_investments is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_idea = depression } modifier = { factor = 0.50 has_idea = recession } modifier = { factor = 0.80 has_idea = stagnation } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1500 } } } trigger = { original_tag = BRA has_country_flag = BRA_legalized_independent_development NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } NOT = { has_country_flag = BRA_private_company_clears_and_builds_new_fields } } immediate = { set_country_flag = { flag = BRA_private_company_clears_and_builds_new_fields value = 1 days = 180 } } # Awesome! option = { name = brazil_amazon.22.a log = "[GetDateText]: [This.GetName]: brazil_amazon.22.a executed" set_temp_variable = { temp_change = -12 } BRA_wild_acreage_effect = yes random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_building_construction = { type = agriculture_district level = 1 instant_build = yes } } } # Deny the Developments option = { name = brazil_amazon.22.b log = "[GetDateText]: [This.GetName]: brazil_amazon.22.b executed" set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } # Industrial Mining Companies Exploit Resource Reserves country_event = { id = brazil_amazon.23 title = brazil_amazon.23.t desc = brazil_amazon.23.d picture = GFX_amazon_rainforest_mining_two is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_idea = depression } modifier = { factor = 0.50 has_idea = recession } modifier = { factor = 0.80 has_idea = stagnation } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1500 } } } trigger = { original_tag = BRA has_country_flag = BRA_legalized_independent_development NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } NOT = { has_country_flag = BRA_private_company_exploits_resource_reserves } } immediate = { set_country_flag = { flag = BRA_private_company_exploits_resource_reserves value = 1 days = 180 } } # Awesome! option = { name = brazil_amazon.23.a log = "[GetDateText]: [This.GetName]: brazil_amazon.23.a executed" set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } random_list = { 20 = { add_resource = { type = chromium amount = 6 } } 20 = { add_resource = { type = oil amount = 6 } } 20 = { add_resource = { type = aluminium amount = 6 } } } } } # Deny the Developments option = { name = brazil_amazon.23.b log = "[GetDateText]: [This.GetName]: brazil_amazon.23.b executed" set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } # Private Company Develops Infrastructure in the Amazon country_event = { id = brazil_amazon.24 title = brazil_amazon.24.t desc = brazil_amazon.24.d picture = GFX_amazon_road_paving is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_idea = depression } modifier = { factor = 0.50 has_idea = recession } modifier = { factor = 0.80 has_idea = stagnation } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1500 } } } trigger = { original_tag = BRA has_country_flag = BRA_legalized_independent_development NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } NOT = { has_country_flag = BRA_private_company_invests_in_infrastructure } } immediate = { set_country_flag = { flag = BRA_private_company_invests_in_infrastructure value = 1 days = 180 } } # Awesome! option = { name = brazil_amazon.24.a log = "[GetDateText]: [This.GetName]: brazil_amazon.24.a executed" set_temp_variable = { temp_change = -5 } BRA_wild_acreage_effect = yes random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes infrastructure < 5 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } # Deny the Developments option = { name = brazil_amazon.24.b log = "[GetDateText]: [This.GetName]: brazil_amazon.24.b executed" set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } # Private Companies Create New Construction Company country_event = { id = brazil_amazon.25 title = brazil_amazon.25.t desc = brazil_amazon.25.d picture = GFX_amazon_road_paving is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_idea = depression } modifier = { factor = 0.50 has_idea = recession } modifier = { factor = 0.80 has_idea = stagnation } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1500 } } } trigger = { original_tag = BRA has_country_flag = BRA_legalized_independent_development NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } NOT = { has_country_flag = BRA_private_company_creates_new_construction_company } } immediate = { set_country_flag = { flag = BRA_private_company_creates_new_construction_company value = 1 days = 180 } } # Awesome! option = { name = brazil_amazon.25.a log = "[GetDateText]: [This.GetName]: brazil_amazon.25.a executed" set_temp_variable = { temp_change = -12 } BRA_wild_acreage_effect = yes random_owned_controlled_state = { limit = { is_brazilian_amazon_state = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } # Deny the Patent option = { name = brazil_amazon.25.b log = "[GetDateText]: [This.GetName]: brazil_amazon.25.b executed" set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } # Private Companies Replant Portions of the Amazon country_event = { id = brazil_amazon.26 title = brazil_amazon.26.t desc = brazil_amazon.26.d picture = GFX_amazon_rainforest_replanting is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 0.25 has_idea = depression } modifier = { factor = 0.50 has_idea = recession } modifier = { factor = 0.80 has_idea = stagnation } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 250 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 400 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 500 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 650 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 800 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1000 } } modifier = { factor = 1.15 check_variable = { BRA.BRA_acres_current > 1500 } } modifier = { factor = 1.5 check_variable = { BRA.BRA_acres_wild < 300 } } modifier = { factor = 1.5 check_variable = { BRA.BRA_acres_wild < 150 } } } trigger = { original_tag = BRA has_country_flag = BRA_legalized_independent_development NOT = { has_global_flag = BRA_amazon_rainforest_fully_devastated } NOT = { has_country_flag = BRA_no_conservation_land_for_me } } immediate = { set_country_flag = { flag = BRA_no_conservation_land_for_me value = 1 days = 180 } } # Awesome! option = { name = brazil_amazon.26.a log = "[GetDateText]: [This.GetName]: brazil_amazon.26.a executed" set_temp_variable = { temp_change = 75 } BRA_conserv_acreage_effect = yes set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = 0.01 } change_relative_party_popularity = yes ai_chance = { base = 1 } } # Deny the Patent option = { name = brazil_amazon.26.b log = "[GetDateText]: [This.GetName]: brazil_amazon.26.b executed" set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes change_industrial_conglomerates_opinion = yes } } # Johan Eliasch country_event = { id = brazil_amazon.27 title = brazil_amazon.27.t desc = brazil_amazon.27.d picture = GFX_BRA_generic is_triggered_only = yes trigger = { original_tag = BRA } # Awesome! Thank you Johan! option = { name = brazil_amazon.27.a log = "[GetDateText]: [This.GetName]: brazil_amazon.27.a executed" set_temp_variable = { temp_change = 50 } BRA_conserv_acreage_effect = yes set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } ### News events # Bolsonaro Coups Brazil news_event = { id = brazil_news.1 title = brazil_news.1.t desc = brazil_news.1.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = brazil_news.1.a trigger = { original_tag = BRA } } option = { name = brazil_news.1.b trigger = { NOT = { original_tag = BRA } } } } # Brazil Privatises Petrobras news_event = { id = brazil_news.2 title = brazil_news.2.t desc = brazil_news.2.d picture = GFX_BRA_Petrobras_news is_triggered_only = yes major = yes option = { name = brazil_news.2.a trigger = { original_tag = BRA } } option = { name = brazil_news.2.b trigger = { NOT = { original_tag = BRA } } } } # Luiz I bring back the empire news_event = { id = brazil_news.3 title = brazil_news.3.t desc = brazil_news.3.d picture = GFX_brazilian_flag is_triggered_only = yes major = yes option = { name = brazil_news.3.a trigger = { original_tag = BRA } } option = { name = brazil_news.3.b trigger = { NOT = { original_tag = BRA } } } } # The Amazon is Devastated news_event = { id = brazil_news.5 title = brazil_news.5.t desc = brazil_news.5.d picture = GFX_BRA_amazon_devastated_news is_triggered_only = yes option = { name = brazil_news.5.a } }