cartels_decision_category = { # Anti Cartel Propaganda Decision # Purpose: This decision is a short event that focuses on reducing the political influence of Cartels in the nation anti_cartel_propaganda_decision = { icon = GFX_decision_eng_propaganda_campaigns available = { has_cartels_penalties = yes } modifier = { political_power_factor = -0.05 stability_weekly = 0.002 } days_remove = 60 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision anti_cartel_propaganda_decision" set_temp_variable = { additional_expense_change = gdp_total } multiply_temp_variable = { additional_expense_change = 0.002 } custom_effect_tooltip = additional_expense_rate_percent_tt hidden_effect = { set_country_flag = { flag = anti_cartel_propaganda_flag value = 1 days = 60 } ingame_update_setup = yes } } remove_effect = { log = "[GetDateText]: [This.GetName]: decision remove anti_cartel_propaganda_decision executed" set_temp_variable = { cart_influence_change = -3 } modify_cartel_variables_effect = yes add_stability = 0.03 } ai_will_do = { base = 10 modifier = { factor = 5 check_variable = { treasury_rate > 0.99 } } } } # Police Investments # Purpose: Similar to Counter Terror Training this increases the strength of the police for the time being to make them more effective at fighting cartels. However, this is only useful when it is currently running police_investments_decision = { icon = GFX_decision_generic_police_action available = { has_cartels_penalties = yes NOT = { has_decision = utilize_the_military_decisions } command_power > 24 NOT = { has_idea = police_01 } } cost = 50 modifier = { political_power_factor = -0.05 police_cost_multiplier_modifier = 0.15 max_command_power = -25 } days_remove = 60 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision police_investments_decision" add_command_power = -25 custom_effect_tooltip = investigating_decisions_police_tt hidden_effect = { ingame_update_setup = yes } } ai_will_do = { base = 1 modifier = { factor = 2.5 check_variable = { strength_of_cartels > 49 } } modifier = { factor = 2.5 check_variable = { cartel_political_influence > 49 } } modifier = { factor = 0 has_political_power < 100 } } } # Utilize the Military # Purpose: Mobilizes the military and uses it in place of the police forces. People do not like this but it has a higher success rate than it's counterpart police investments utilize_the_military_decisions = { icon = GFX_decision_generic_army_support available = { has_cartels_penalties = yes NOT = { has_decision = police_investments_decision } command_power > 49 NOT = { has_idea = no_military } } cost = 50 modifier = { political_power_factor = -0.05 personnel_cost_multiplier_modifier = 0.15 max_command_power = -50 } days_remove = 60 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision utilize_the_military_decisions" add_command_power = -50 custom_effect_tooltip = investigating_decisions_military_tt hidden_effect = { ingame_update_setup = yes } } # AI shouldn't use the military. It's very expensive for the AI ai_will_do = { base = 0 } } # Target Cartel Money Laundering # Purpose: Strike businesses that support the Cartel's money laundering scheme. You can get some money from the seized assets and it reduces the strength if successful. # If it fails then you lose some strength and it pushes the likelihood of the cartel to revolt against the government. This unlocks the below three decisions for the time this decision is available. # While the decision is active you can select and choose one of the following options target_cartel_money_laundering_decision = { icon = GFX_decision_recruit_operative available = { has_cartels_penalties = yes NOT = { has_decision = target_cartel_drug_running_decision } } cost = 50 days_remove = 180 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision target_cartel_money_laundering_decision" custom_effect_tooltip = while_cartel_money_laundering_active_tt unlock_decision_tooltip = investigate_the_casinos unlock_decision_tooltip = investigates_the_banks unlock_decision_tooltip = investigate_shell_companies } ai_will_do = { base = 10 modifier = { factor = 0 has_political_power < 100 } } } # Investigate The Casinos # Purpose: The casinos are a prime source of money laundering. Medium potential money and reduces strength of cartels if successful investigate_the_casinos = { icon = GFX_decision_generic_welfare visible = { has_decision = target_cartel_money_laundering_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_money_laundering_decision NOT = { OR = { has_decision = investigates_the_banks has_decision = investigate_shell_companies } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove investigate_the_casinos" # The Small Medium Business Owners do not like investigating companies set_temp_variable = { temp_opinion = -5 } change_landowners_opinion = yes random_list = { 20 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_investigation_casino custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 1 } set_temp_variable = { political_modifier = ROOT.cartel_political_influence } multiply_temp_variable = { political_modifier = 0.01 } add_to_temp_variable = { political_modifier = 1 } # Effect Ported from events/cartel_events.txt set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.006 } multiply_temp_variable = { treasury_change = strength_modifier } modify_treasury_effect = yes set_temp_variable = { cart_strength_change = -4 } modify_cartel_variables_effect = yes } } 80 = { modifier = { set_temp_variable = { temp_political_modifier = cartel_political_influence } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_investigation_casino custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } modify_cartel_variables_effect = yes } } } hidden_effect = { country_event = { id = cartel_event.50 days = 1 random_hours = 24 } } } ai_will_do = { base = 4 } } # Investigate the Banks # Purpose: high potential money seizure, medium political influence and medium strength loss investigates_the_banks = { icon = GFX_decision_gre_investment_decisions visible = { has_decision = target_cartel_money_laundering_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_money_laundering_decision NOT = { OR = { has_decision = investigate_the_casinos has_decision = investigate_shell_companies } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove investigates_the_banks" # The International Bankers do not like investigating the banks. set_temp_variable = { temp_opinion = -5 } change_international_bankers_opinion = yes random_list = { 30 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_investigation_banks custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 1 } set_temp_variable = { political_modifier = ROOT.cartel_political_influence } multiply_temp_variable = { political_modifier = 0.01 } add_to_temp_variable = { political_modifier = 1 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.012 } multiply_temp_variable = { treasury_change = strength_modifier } modify_treasury_effect = yes set_temp_variable = { cart_strength_change = -7 } set_temp_variable = { cart_influence_change = -6 } modify_cartel_variables_effect = yes } hidden_effect = { # CREAMY: Set your custom shit here } } 70 = { modifier = { set_temp_variable = { temp_political_modifier = cartel_political_influence } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_investigation_banks custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 2 } modify_cartel_variables_effect = yes } } } hidden_effect = { country_event = { id = cartel_event.50 days = 1 random_hours = 24 } } } ai_will_do = { base = 8 } } # Investigate the Shell Companies # Purpose: Smallest money seizure, highest strength reduction investigate_shell_companies = { icon = GFX_decision_oppression visible = { has_decision = target_cartel_money_laundering_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_money_laundering_decision NOT = { OR = { has_decision = investigate_the_casinos has_decision = investigates_the_banks } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove investigate_shell_companies" # The Small Medium Business Owners do not like investigating companies set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes random_list = { 25 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_investigation_shell_companies custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 1 } set_temp_variable = { political_modifier = ROOT.cartel_political_influence } multiply_temp_variable = { political_modifier = 0.01 } add_to_temp_variable = { political_modifier = 1 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.003 } multiply_temp_variable = { treasury_change = strength_modifier } modify_treasury_effect = yes set_temp_variable = { cart_strength_change = -12 } modify_cartel_variables_effect = yes } } 75 = { modifier = { set_temp_variable = { temp_political_modifier = cartel_political_influence } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_investigation_shell_companies custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 3 } set_temp_variable = { cart_influence_change = 6 } modify_cartel_variables_effect = yes change_international_bankers_opinion = yes } hidden_effect = { # CREAMY: Set your custom shit here } } } hidden_effect = { country_event = { id = cartel_event.50 days = 1 random_hours = 24 } } } ai_will_do = { base = 5 } } # Target Cartel Drug Trades # Purpose: Strike along the Cartel's drug supply chain. Mainly used for reducing strength but can also gain military equipment. # If it fails then you lose some strength and it pushes the likelihood of the cartel to revolt against the government. This unlocks the below four decisions for the time this decision is available. # While the decision is active you can select and choose one of the following options target_cartel_drug_running_decision = { icon = GFX_decision_oppression available = { has_cartels_penalties = yes NOT = { has_decision = target_cartel_money_laundering_decision } } cost = 50 days_remove = 180 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision target_cartel_drug_running_decision" custom_effect_tooltip = while_cartel_drug_attacking_active_tt unlock_decision_tooltip = raid_drug_convoys_decision unlock_decision_tooltip = raid_cartel_hideouts_decision unlock_decision_tooltip = raid_distribution_centres_decision unlock_decision_tooltip = raid_refinement_centres_decision } ai_will_do = { base = 5 modifier = { factor = 0 has_political_power < 100 } } } # Raid Drug Convoys # Purpose: Low strength attack, low political influence hit, more effective against weaker cartels raid_drug_convoys_decision = { icon = GFX_decision_infiltrate_state visible = { has_decision = target_cartel_drug_running_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_drug_running_decision NOT = { OR = { has_decision = raid_cartel_hideouts_decision has_decision = raid_distribution_centres_decision has_decision = raid_refinement_centres_decision } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove raid_drug_convoys_decision" random_list = { 60 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_raid_drug_convoys custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { cart_strength_change = -2 } set_temp_variable = { cart_influence_change = -3 } modify_cartel_variables_effect = yes } } 40 = { modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { check_variable = { strength_of_cartels < 20 } factor = 2 } modifier = { factor = 1.75 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.50 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_raid_drug_convoys custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 4 } modify_cartel_variables_effect = yes } } } hidden_effect = { country_event = { id = cartel_event.51 days = 1 random_hours = 24 } } } ai_will_do = { base = 5 } } # Raid Cartel Hideouts # Purpose: Highest strength attack, low political influence hit, High Potential of Seizing Military Equipment raid_cartel_hideouts_decision = { icon = GFX_decision_generic_arrest visible = { has_decision = target_cartel_drug_running_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_drug_running_decision NOT = { OR = { has_decision = raid_drug_convoys_decision has_decision = raid_distribution_centres_decision has_decision = raid_refinement_centres_decision } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove raid_cartel_hideouts_decision" random_list = { 35 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_raid_cartel_hideouts custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 2 } set_temp_variable = { cart_strength_change = -2 } multiply_temp_variable = { cart_strength_change = strength_modifier } set_temp_variable = { cart_influence_change = -4 } modify_cartel_variables_effect = yes } set_temp_variable = { equipment_change = 10 } multiply_temp_variable = { equipment_change = strength_modifier } random_list = { 20 = { effect_tooltip = { add_equipment_to_stockpile = { type = infantry_weapons_1 amount = var:equipment_change } } set_country_flag = INF_seized } 10 = { set_temp_variable = { equipment_change = 5 } multiply_temp_variable = { equipment_change = strength_modifier } effect_tooltip = { add_equipment_to_stockpile = { type = util_vehicle_1 amount = var:equipment_change } } set_country_flag = UTIL_seized } 70 = { } } } 65 = { modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { check_variable = { strength_of_cartels < 20 } factor = 2 } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_raid_cartel_hideouts custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 4 } modify_cartel_variables_effect = yes } } } hidden_effect = { country_event = { id = cartel_event.51 days = 1 random_hours = 24 } } } ai_will_do = { base = 5 } } # Raid Distribution Centres # Purpose: Highest strength attack, low political influence hit, Money Seizures raid_distribution_centres_decision = { icon = GFX_decision_generic_scorched_earth visible = { has_decision = target_cartel_drug_running_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_drug_running_decision NOT = { OR = { has_decision = raid_drug_convoys_decision has_decision = raid_cartel_hideouts_decision has_decision = raid_refinement_centres_decision } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove raid_distribution_centres_decision" random_list = { 40 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_raid_distribution_centres custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 3 } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.009 } multiply_temp_variable = { treasury_change = strength_modifier } modify_treasury_effect = yes set_temp_variable = { cart_influence_change = -4 } set_temp_variable = { cart_strength_change = -12 } modify_cartel_variables_effect = yes } hidden_effect = { # CREAMY: Set your custom shit here } } 60 = { modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_country_flag = failed_raid_distribution_centres custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } modify_cartel_variables_effect = yes } hidden_effect = { # CREAMY: Set your custom shit here } } } hidden_effect = { country_event = { id = cartel_event.51 days = 1 random_hours = 24 } } } ai_will_do = { base = 5 } } # Raid Refinement Centres # Purpose: Medium strength attack, low political influence hit raid_refinement_centres_decision = { icon = GFX_decision_generic_operation visible = { has_decision = target_cartel_drug_running_decision } available = { has_cartels_penalties = yes has_decision = target_cartel_drug_running_decision NOT = { OR = { has_decision = raid_drug_convoys_decision has_decision = raid_cartel_hideouts_decision has_decision = raid_distribution_centres_decision } } } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove raid_refinement_centres_decision" random_list = { 40 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_country_flag = successful_raid_refinement_centres custom_effect_tooltip = investigate_good_results_tt effect_tooltip = { set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 3 } set_temp_variable = { cart_strength_change = -2 } multiply_temp_variable = { cart_strength_change = strength_modifier } set_temp_variable = { cart_influence_change = -4 } modify_cartel_variables_effect = yes } } 60 = { modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } set_country_flag = failed_raid_refinement_centres custom_effect_tooltip = investigate_bad_results_tt effect_tooltip = { set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } modify_cartel_variables_effect = yes } } } hidden_effect = { country_event = { id = cartel_event.51 days = 1 random_hours = 24 } } } ai_will_do = { base = 5 } } # Target Local Cartel Leaders # Purpose: Medium political influence strike, Medium strength loss, stability and popularity gain here target_local_cartel_leaders_decision = { icon = GFX_decision_generic_arrest available = { has_cartels_penalties = yes } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove target_local_cartel_leaders_decision" random_list = { 30 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes add_stability = 0.03 set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 2 } set_temp_variable = { cart_strength_change = -2 } multiply_temp_variable = { cart_strength_change = strength_modifier } set_temp_variable = { cart_influence_change = -4 } modify_cartel_variables_effect = yes } 70 = { modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_temp_variable = { party_popularity_increase = -0.04 } set_temp_variable = { temp_outlook_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 4 } modify_cartel_variables_effect = yes } } } ai_will_do = { base = 5 } } # Mass Arrests mass_arrests_of_cartel_members_decision = { icon = GFX_decision_generic_police_action available = { has_cartels_penalties = yes has_autocratic_government = yes } cost = 50 fixed_random_seed = no days_remove = 90 days_re_enable = 30 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision Remove mass_arrests_of_cartel_members_decision" random_list = { 30 = { modifier = { has_decision = utilize_the_military_decisions factor = 1.25 } modifier = { has_decision = police_investments_decision factor = 1.15 } modifier = { OR = { has_idea = police_03 has_idea = police_04 has_idea = police_05 } factor = 2.0 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes add_stability = 0.03 set_temp_variable = { strength_modifier = ROOT.strength_of_cartels } multiply_temp_variable = { strength_modifier = 0.01 } add_to_temp_variable = { strength_modifier = 2 } set_temp_variable = { cart_strength_change = -5 } multiply_temp_variable = { cart_strength_change = strength_modifier } set_temp_variable = { cart_influence_change = -3 } modify_cartel_variables_effect = yes } 70 = { modifier = { set_temp_variable = { temp_political_modifier = strength_of_cartels } subtract_from_temp_variable = { temp_political_modifier = 50 } multiply_temp_variable = { temp_political_modifier = 0.01 } add_to_temp_variable = { temp_political_modifier = 1 } always = yes factor = temp_political_modifier } modifier = { factor = 1.50 OR = { has_idea = corruption_level_10 has_idea = corruption_level_09 has_idea = corruption_level_08 } } modifier = { factor = 1.25 OR = { has_idea = corruption_level_07 has_idea = corruption_level_06 has_idea = corruption_level_05 } } modifier = { factor = 1.40 difficulty > 3 } modifier = { factor = 1.20 difficulty > 2 } modifier = { factor = 1.10 difficulty > 1 } set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 5 } modify_cartel_variables_effect = yes } } } ai_will_do = { base = 5 } } # # Assist Neighbours in Combating Cartels # send_neighbor_assistance_against_cartel = { # } # # Finance Support in Our Neighbours # send_neighbor_financial_assistance_against_cartel = { # } # ### - Narco State Content - ### # narco_skim_it_off_the_top = { # } # narco_steal_assets = { # } # narco_arm_the_men = { # } # narco_outreach_campaigns = { # } # narco_extortion_campaigns = { # } # Narcos Crisis # Purpose: This is the start of the Narco state crisis. Essentially here is where we start to get a little itchy narcos_crisis = { allowed = { NOT = { original_tag = MEX } # Custom Cartel Content } #Disables Narco States icon = GFX_decision_zsr_unrest activation = { has_cartels_penalties = yes OR = { custom_trigger_tooltip = { tooltip = political_influence_over_80_tt check_variable = { cartel_political_influence > 79 } } custom_trigger_tooltip = { tooltip = strength_over_80_tt check_variable = { strength_of_cartels > 79 } } } NOT = { has_country_flag = CARTEL_narco_wars_triggered } } available = { has_cartels_penalties = yes OR = { custom_trigger_tooltip = { tooltip = political_influence_over_80_tt check_variable = { cartel_political_influence > 79 } } custom_trigger_tooltip = { tooltip = strength_over_80_tt check_variable = { strength_of_cartels > 79 } } } NOT = { has_country_flag = CARTEL_narco_wars_triggered } } selectable_mission = yes days_mission_timeout = 180 # Select the Button timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision narcos_crisis narcos_crisis" set_temp_variable = { strength_of_cartels_strength = strength_of_cartels } multiply_temp_variable = { strength_of_cartels_strength = 0.01 } clamp_variable = { var = strength_of_cartels_strength min = 0.2 max = 0.75 } start_civil_war = { ideology = neutrality size = strength_of_cartels_strength } random_other_country = { limit = { original_tag = ROOT } set_temp_variable = { rul_party_temp = 15 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes hidden_effect = { set_variable = { cartel_political_influence = ROOT.cartel_political_influence } set_variable = { strength_of_cartels = ROOT.strength_of_cartels } set_temp_variable = { party_index = 15 } set_temp_variable = { party_popularity_increase = cartel_political_influence } multiply_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = party_popularity_increase } change_relative_party_popularity = yes } calculate_cartel_bonuses = yes hidden_effect = { division_template = { name = "Cartel Division" regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } Militia_Bat = { x = 0 y = 3 } } } capital_scope = { create_unit = { division = "name = \"1st Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"2nd Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"3rd Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"4th Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"5th Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } } } } set_country_flag = CARTEL_narco_wars_triggered } complete_effect = { #if chosen the narcos take over log = "[GetDateText]: [Root.GetName]: Decision narcos_crisis narcos_crisis" # Peaceful Takeover if you concede to the cartels if = { limit = { check_variable = { cartel_political_influence < 98 } } start_civil_war = { ruling_party = democratic ideology = ROOT size = 0.4 } hidden_effect = { random_other_country = { limit = { original_tag = ROOT } hidden_effect = { division_template = { name = "Cartel Division" regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } Militia_Bat = { x = 0 y = 3 } } } capital_scope = { create_unit = { division = "name = \"1st Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"2nd Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"3rd Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"4th Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } create_unit = { division = "name = \"5th Militia Brigade\" division_template = \"Cartel Division\" start_experience_factor = 1" owner = PREV } } } } } } newline = yes set_temp_variable = { rul_party_temp = 15 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes hidden_effect = { set_temp_variable = { party_index = 15 } set_temp_variable = { party_popularity_increase = cartel_political_influence } multiply_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = party_popularity_increase } change_relative_party_popularity = yes removed_cartel_cleanup = yes } calculate_cartel_bonuses = yes increase_corruption = yes every_neighbor_country = { #every neighbor's cartel level goes up by one limit = { has_cartels_penalties = yes NOT = { has_dynamic_modifier = { modifier = narco_state_bonuses } } } set_temp_variable = { cart_strength_change = 2 } set_temp_variable = { cart_influence_change = 4 } modify_cartel_variables_effect = yes } set_country_flag = CARTEL_narco_wars_triggered } ai_will_do = { base = 0 } } # Mexican Cartel War Content mexican_cartel_war = { allowed = { original_tag = MEX } icon = GFX_decision_zsr_unrest activation = { has_cartels_penalties = yes OR = { custom_trigger_tooltip = { tooltip = political_influence_over_80_tt check_variable = { cartel_political_influence > 79 } } custom_trigger_tooltip = { tooltip = strength_over_80_tt check_variable = { strength_of_cartels > 79 } } } NOT = { has_country_flag = CARTEL_narco_wars_triggered } } available = { has_cartels_penalties = yes OR = { custom_trigger_tooltip = { tooltip = political_influence_over_80_tt check_variable = { cartel_political_influence > 79 } } custom_trigger_tooltip = { tooltip = strength_over_80_tt check_variable = { strength_of_cartels > 79 } } } NOT = { has_country_flag = CARTEL_narco_wars_triggered } } selectable_mission = yes days_mission_timeout = 180 timeout_effect = { # Momento of truth log = "[GetDateText]: [Root.GetName]: Decision mexican_cartel_war mexican_cartel_war" country_event = cartel_event.1 set_country_flag = CARTEL_narco_wars_triggered } ai_will_do = { base = 0 } } #Baja California MEX_baja_california_sinaloa_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_sinaloa_high trigger = { 828 = { check_variable = { var = MEX_sinola_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_sinaloa_medium trigger = { 828 = { check_variable = { var = MEX_sinola_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_sinaloa_low trigger = { 828 = { check_variable = { var = MEX_sinola_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_sinaloa_none trigger = { 828 = { check_variable = { var = MEX_sinola_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 828 828 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_states_trigger = { state = 828 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { NOT = { has_global_flag = flag_mexico_cartel_war } 828 = { check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_baja_california_sinaloa_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_baja_california_sinaloa_cartel" random_list = { 25 = { # No Effect } 25 = { 828 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 828 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 828 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_sinola_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_sinola_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } MEX_baja_california_tierra_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tierra_caliente_high trigger = { 828 = { check_variable = { var = MEX_tierra_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_medium trigger = { 828 = { check_variable = { var = MEX_tierra_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_low trigger = { 828 = { check_variable = { var = MEX_tierra_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_none trigger = { 828 = { check_variable = { var = MEX_tierra_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 828 828 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 828 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 828 = { check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_baja_california_tierra_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_baja_california_tierra_cartel" random_list = { 25 = { # No Effect } 25 = { 828 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 828 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 828 = { add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tierra_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tierra_TT MEX = { country_event = cartel_event.12 } } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Sonora MEX_sonora_sinaloa_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_sinaloa_high trigger = { 829 = { check_variable = { var = MEX_sinola_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_sinaloa_medium trigger = { 829 = { check_variable = { var = MEX_sinola_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_sinaloa_low trigger = { 829 = { check_variable = { var = MEX_sinola_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_sinaloa_none trigger = { 829 = { check_variable = { var = MEX_sinola_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 829 829 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 829 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 829 = { check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_sonora_sinaloa_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_sonora_sinaloa_cartel" random_list = { 25 = { # No Effect } 25 = { 829 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 829 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 829 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_sinola_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_sinola_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Chihuahua MEX_chihuahua_sinola_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_sinaloa_high trigger = { 830 = { check_variable = { var = MEX_sinola_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_sinaloa_medium trigger = { 830 = { check_variable = { var = MEX_sinola_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_sinaloa_low trigger = { 830 = { check_variable = { var = MEX_sinola_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_sinaloa_none trigger = { 830 = { check_variable = { var = MEX_sinola_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 830 830 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 830 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 830 = { check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_chihuahua_sinola_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_chihuahua_sinola_cartel" random_list = { 25 = { # No Effect } 25 = { 830 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 830 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 830 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_sinola_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_sinola_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Sinola-Durango MEX_sinola_durango_sinola_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_sinaloa_high trigger = { 831 = { check_variable = { var = MEX_sinola_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_sinaloa_medium trigger = { 831 = { check_variable = { var = MEX_sinola_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_sinaloa_low trigger = { 831 = { check_variable = { var = MEX_sinola_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_sinaloa_none trigger = { 831 = { check_variable = { var = MEX_sinola_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 831 831 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 831 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 831 = { check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_sinola_durango_sinola_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_sinola_durango_sinola_cartel" random_list = { 25 = { # No Effect } 25 = { 831 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 831 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 831 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_sinola_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_sinola_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Coahuila MEX_coahuila_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 833 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 833 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 833 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 833 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 833 833 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 833 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 833 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_coahuila_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_coahuila_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 833 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 833 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 833 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Guanajuato MEX_guanajuato_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 834 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 834 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 834 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 834 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 834 834 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 834 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 834 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_guanajuato_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_guanajuato_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 834 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 834 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 834 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Nuevo Leon MEX_nuevo_leon_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 832 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 832 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 832 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 832 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 832 832 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 832 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { NOT = { has_global_flag = flag_mexico_cartel_war } 832 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_nuevo_leon_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_nuevo_leon_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 832 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 832 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 832 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Jalisco MEX_jalisco_tierra_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tierra_caliente_high trigger = { 836 = { check_variable = { var = MEX_tierra_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_medium trigger = { 836 = { check_variable = { var = MEX_tierra_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_low trigger = { 836 = { check_variable = { var = MEX_tierra_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_none trigger = { 836 = { check_variable = { var = MEX_tierra_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 836 836 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 836 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 836 = { check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_jalisco_tierra_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_jalisco_tierra_cartel" random_list = { 25 = { # No Effect } 25 = { 836 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 836 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 836 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tierra_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tierra_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } #Guerrero-Oaxaco MEX_guerrero_oaxaco_tierra_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tierra_caliente_high trigger = { 837 = { check_variable = { var = MEX_tierra_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_medium trigger = { 837 = { check_variable = { var = MEX_tierra_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_low trigger = { 837 = { check_variable = { var = MEX_tierra_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_none trigger = { 837 = { check_variable = { var = MEX_tierra_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 837 837 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 837 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 837 = { check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_guerrero_oaxaco_tierra_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_guerrero_oaxaco_tierra_cartel" random_list = { 25 = { # No Effect } 25 = { 837 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 837 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 837 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tierra_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tierra_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Mexico MEX_mexico_tierra_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tierra_caliente_high trigger = { 835 = { check_variable = { var = MEX_tierra_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_medium trigger = { 835 = { check_variable = { var = MEX_tierra_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_low trigger = { 835 = { check_variable = { var = MEX_tierra_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_none trigger = { 835 = { check_variable = { var = MEX_tierra_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 835 835 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 835 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 835 = { check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_tierra_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_tierra_cartel" random_list = { 25 = { # No Effect } 25 = { 835 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 835 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 835 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tierra_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tierra_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } MEX_mexico_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 835 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 835 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 835 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 835 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 835 835 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 835 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 835 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 835 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 835 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 835 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } MEX_mexico_sinaloa_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_sinaloa_high trigger = { 835 = { check_variable = { var = MEX_sinola_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_sinaloa_medium trigger = { 835 = { check_variable = { var = MEX_sinola_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_sinaloa_low trigger = { 835 = { check_variable = { var = MEX_sinola_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_sinaloa_none trigger = { 835 = { check_variable = { var = MEX_sinola_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 835 835 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 835 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 835 = { check_variable = { var = MEX_sinola_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_sinaloa_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_mexico_sinaloa_cartel" random_list = { 25 = { # No Effect } 25 = { 835 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 835 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 835 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_sinola_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_sinola_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Veracruz MEX_veracruz_tierra_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tierra_caliente_high trigger = { 838 = { check_variable = { var = MEX_tierra_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_medium trigger = { 838 = { check_variable = { var = MEX_tierra_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_low trigger = { 838 = { check_variable = { var = MEX_tierra_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tierra_caliente_none trigger = { 838 = { check_variable = { var = MEX_tierra_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 838 838 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 838 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 838 = { check_variable = { var = MEX_tierra_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_veracruz_tierra_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_veracruz_tierra_cartel" random_list = { 25 = { # No Effect } 25 = { 838 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 838 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 838 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tierra_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tierra_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } MEX_veracruz_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 838 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 838 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 838 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 838 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 838 838 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 838 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 838 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_veracruz_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_veracruz_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 838 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 838 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 838 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Chiapas MEX_chiapas_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 839 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 839 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 839 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 839 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 839 839 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 839 } } on_map_mode = map_and_decisions_view cost = 100 fixed_random_seed = no fire_only_once = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 839 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_chiapas_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_chiapas_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 839 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 839 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 839 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } # Yucatan MEX_yucatan_tamaulipas_cartel = { allowed = { original_tag = MEX } icon = { key = GFX_decision_tamaulpas_high trigger = { 840 = { check_variable = { var = MEX_tamaulipas_state_control value = 4 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_medium trigger = { 840 = { check_variable = { var = MEX_tamaulipas_state_control value = 3 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_low trigger = { 840 = { check_variable = { var = MEX_tamaulipas_state_control value = 2 compare = equals } } } } icon = { key = GFX_decision_tamaulpas_none trigger = { 840 = { check_variable = { var = MEX_tamaulipas_state_control value = 1 compare = equals } } } } available = { has_full_control_of_state = 840 840 = { custom_trigger_tooltip = { tooltip = cartel_state_influence_tt check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } NOT = { has_country_flag = MEX_already_attacking_cartels_flag } NOT = { has_global_flag = flag_mexico_cartel_war } } highlight_states = { highlight_state_targets = { state = 840 } } on_map_mode = map_and_decisions_view cost = 100 fire_only_once = no fixed_random_seed = no days_remove = 14 visible = { TAG = MEX NOT = { has_global_flag = flag_mexico_cartel_war } 840 = { check_variable = { var = MEX_tamaulipas_state_control value = 0 compare = greater_than } } } cancel_if_not_visible = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_yucatan_tamaulipas_cartel" set_country_flag = MEX_already_attacking_cartels_flag } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision MEX_yucatan_tamaulipas_cartel" random_list = { 25 = { # No Effect } 25 = { 840 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1 } } } } 25 = { 840 = { if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1 } } } } 25 = { add_manpower = -50 } } 840 = { MEX = { country_event = cartel_event.12 } add_to_variable = { var = MEX_state_control value = 0.5 } add_to_variable = { var = MEX_tamaulipas_state_control value = -1 } custom_effect_tooltip = reduce_cartel_influece_tamaulipas_TT } clr_country_flag = MEX_already_attacking_cartels_flag } ai_will_do = { base = 10 } } }