TAJ_forbidden_bazaar = { TAJ_high_security = { icon = generic_army_support available = { OR = { has_idea = police_04 has_idea = police_05 } } visible = { NOT = { has_country_flag = TAJ_high_security_flag } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_high_security" set_country_flag = TAJ_high_security_flag clr_country_flag = TAJ_medium_security_flag clr_country_flag = TAJ_negligible_security_flag } ai_will_do = { base = 10 } } TAJ_medium_security = { icon = generic_army_support available = { OR = { has_idea = police_02 has_idea = police_03 } } visible = { NOT = { has_country_flag = TAJ_medium_security_flag } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_medium_security" set_country_flag = TAJ_medium_security_flag clr_country_flag = TAJ_high_security_flag clr_country_flag = TAJ_negligible_security_flag } ai_will_do = { base = 10 } } TAJ_negligible_security = { icon = generic_army_support available = { has_idea = police_01 } visible = { NOT = { has_country_flag = TAJ_negligible_security_flag } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_negligible_security" set_country_flag = TAJ_negligible_security_flag clr_country_flag = TAJ_high_security_flag clr_country_flag = TAJ_medium_security_flag } ai_will_do = { base = 10 } } TAJ_flood_russian_market_with_drugs = { icon = attract_foreign_investor custom_cost_trigger = { check_variable = { treasury > 3.4 } } custom_cost_text = cost_3_5 days_remove = 50 fire_only_once = yes available = { country_exists = SOV } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_flood_russian_market_with_drugs" SOV = { country_event = tajik_corruption.20 } custom_effect_tooltip = TAJ_adds_tajik_drugs_TT set_country_flag = TAJ_drugs_into_russia hidden_effect = { set_temp_variable = { treasury_change = -3.50 } modify_treasury_effect = yes } } ai_will_do = { base = 10 } } TAJ_increase_drug_amount = { custom_cost_trigger = { check_variable = { treasury > 2.4 } } custom_cost_text = cost_2_5 days_remove = 40 days_re_enable = 25 visible = { has_country_flag = TAJ_drugs_into_russia } available = { custom_trigger_tooltip = { tooltip = TAJ_drugs_operation_undetected_tt NOT = { OR = { check_variable = { TAJ_drugs_police_modifier > 0.47 } check_variable = { TAJ_corruption_drugs_modifier > 0.47 } } } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_increase_drug_amount" custom_effect_tooltip = TAJ_increase_cost_by_2_TT SOV = { country_event = tajik_corruption.21 set_country_flag = { flag = TAJ_recently_pressured days = 60 value = 1 } } hidden_effect = { set_temp_variable = { treasury_change = -2.50 } modify_treasury_effect = yes } } ai_will_do = { base = 10 } } TAJ_threaten_russia = { custom_cost_trigger = { command_power > 14 } custom_cost_text = command_power_more_than_15 days_remove = 45 visible = { has_country_flag = TAJ_drugs_into_russia } fixed_random_seed = no available = { custom_trigger_tooltip = { tooltip = TAJ_drugs_operation_undetected_tt NOT = { OR = { check_variable = { TAJ_drugs_police_modifier > 0.47 } check_variable = { TAJ_corruption_drugs_modifier > 0.47 } } } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_threaten_russia" custom_effect_tooltip = TAJ_bonus_to_us_TT SOV = { country_event = tajik_corruption.23 } } ai_will_do = { base = 10 } } TAJ_distribute_monthly_bonus = { days_remove = 15 visible = { has_country_flag = TAJ_drugs_into_russia NOT = { has_country_flag = TAJ_monthly_distribution } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_distribute_monthly_bonus" custom_effect_tooltip = TAJ_no_drug_event_TT set_country_flag = TAJ_monthly_distribution } ai_will_do = { base = 10 } } TAJ_cancel_distribute_monthly_bonus = { days_remove = 15 visible = { has_country_flag = TAJ_monthly_distribution } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_cancel_distribute_monthly_bonus" custom_effect_tooltip = TAJ_drug_event_TT clr_country_flag = TAJ_monthly_distribution } ai_will_do = { base = 10 } } TAJ_end_the_drug_flow = { days_remove = 15 visible = { has_country_flag = TAJ_drugs_into_russia } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_end_the_drug_flow" set_country_flag = TAJ_ended_mechanic custom_effect_tooltip = TAJ_end_system_TT custom_effect_tooltip = TAJ_remove_negative_debuffs_sov_TT SOV = { country_event = tajik_corruption.22 } clr_country_flag = TAJ_drugs_into_russia } ai_will_do = { base = 10 } } TAJ_russian_demands = { activation = { always = no } fire_only_once = yes available = { has_country_flag = TAJ_ended_mechanic } days_mission_timeout = 90 is_good = yes timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_russian_demands" SOV = { country_event = tajik_corruption.29 } } } } TAJ_internal_policies = { TAJ_uzbekistan_puppet = { icon = generic_army_support fire_only_once = yes available = { UZB = { NOT = { has_war_with = UZI } } } visible = { country_exists = UZI } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_uzbekistan_puppet" if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } set_autonomy = { target = UZI autonomy_state = autonomy_autonomous_state_colored } } if = { limit = { NOT = { has_global_flag = GAME_RULE_allow_colored_puppets } } set_autonomy = { target = UZI autonomy_state = autonomy_autonomous_state } } } ai_will_do = { base = 10 } } # UTO Demands TAJ_communist_demand = { activation = { always = no } available = { OR = { has_idea = social_04 has_idea = social_05 has_idea = social_06 } } days_mission_timeout = 720 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_communist_demand" block_social_decrease = yes } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_communist_demand" add_stability = -0.10 add_political_power = -175 set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes } } # Islamist Demand TAJ_islamist_demand = { activation = { always = no } available = { has_idea = corruption_level_05 } days_mission_timeout = 720 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_islamist_demand" add_stability = 0.05 } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_islamist_demand" add_stability = -0.10 add_political_power = -175 set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes } } # Nationalist Demand TAJ_nationalist_demand = { activation = { always = no } available = { set_temp_variable = { temp_value = 34.99 } has_domestic_independence_greater_than = yes } days_mission_timeout = 720 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_nationalist_demand" set_temp_variable = { percent_change = 10 } change_domestic_influence_percentage = yes } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_nationalist_demand" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes add_stability = -0.10 add_political_power = -175 } } } TAJ_radicalism_system = { TAJ_deploy_national_guard = { icon = generic_army_support custom_cost_trigger = { command_power > 34 } custom_cost_text = command_power_more_than_35 available = { OR = { has_idea = defence_03 has_idea = defence_04 has_idea = defence_05 has_idea = defence_06 has_idea = defence_07 has_idea = defence_08 has_idea = defence_09 } hidden_trigger = { command_power > 34 } } visible = { NOT = { has_idea = TAJ_national_guard_deployed } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_deploy_national_guard" hidden_effect = { add_command_power = -35 } add_ideas = TAJ_national_guard_deployed newline = yes custom_effect_tooltip = TAJ_nat_guard_TT } ai_will_do = { base = 10 } } TAJ_recall_national_guard = { icon = generic_army_support visible = { has_idea = TAJ_national_guard_deployed } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_recall_national_guard" remove_ideas = TAJ_national_guard_deployed } ai_will_do = { base = 10 } } TAJ_ban_the_irp = { visible = { NOT = { has_idea = TAJ_flight_of_labor } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_ban_the_irp" custom_effect_tooltip = TAJ_irp_ended_TT set_country_flag = TAJ_radicalism_ended add_to_variable = { var = TAJ_radical_influence value = -100 } clamp_variable = { var = TAJ_radical_influence min = 0 max = 100 } newline = yes set_temp_variable = { party_popularity_increase = 0.1 } set_temp_variable = { temp_outlook_increase = 0.1 } change_relative_party_popularity = yes hidden_effect = { country_event = { id = tajik_radicalism.15 days = 160 } } } ai_will_do = { base = 10 } } } TAJ_radicalism_system_2 = { TAJ_arrest_iskp = { days_remove = 90 available = { has_stability > 0.74 50_percent_government_popularity = yes } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_arrest_iskp" remove_ideas = TAJ_isik hidden_effect = { country_event = tajik_focus.282 } } ai_will_do = { base = 10 } } } iranic_confederation = { IRN_delegates_to_iran = { allowed = { NOT = { original_tag = PER } } days_remove = 90 available = { NOT = { has_war_with = PER } PER = { nationalist_right_wing_populists_are_in_power = yes } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_summit_in_tehran } NOT = { OR = { original_tag = PER has_country_flag = TAJ_phase_1 } } is_ai = no } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_delegates_to_iran" PER = { country_event = iranic_confederation.1 } } ai_will_do = { base = 10 } } IRN_delegates_to_tajikistan = { allowed = { NOT = { original_tag = TAJ } } days_remove = 90 available = { NOT = { has_war_with = TAJ } TAJ = { nationalist_right_wing_populists_are_in_power = yes } } visible = { NOT = { OR = { original_tag = TAJ has_country_flag = TAJ_phase_1 } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_delegates_to_tajikistan" TAJ = { country_event = iranic_confederation.1 } } ai_will_do = { base = 10 } } IRN_delegates_to_afghanistan = { allowed = { NOT = { original_tag = AFG } } days_remove = 90 available = { NOT = { has_war_with = AFG } AFG = { nationalist_right_wing_populists_are_in_power = yes } } visible = { NOT = { OR = { original_tag = AFG has_country_flag = TAJ_phase_1 } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_delegates_to_afghanistan" AFG = { country_event = iranic_confederation.1 } } ai_will_do = { base = 10 } } IRN_delegates_to_kurdistan = { allowed = { NOT = { original_tag = KUR } } days_remove = 90 available = { NOT = { has_war_with = KUR } KUR = { nationalist_right_wing_populists_are_in_power = yes } } visible = { NOT = { OR = { original_tag = KUR has_country_flag = TAJ_phase_1 } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_delegates_to_kurdistan" KUR = { country_event = iranic_confederation.1 } } ai_will_do = { base = 10 } } IRN_delegates_to_south_ossetia = { allowed = { NOT = { original_tag = SOO } } days_remove = 90 available = { NOT = { has_war_with = SOO } SOO = { nationalist_right_wing_populists_are_in_power = yes } } visible = { NOT = { OR = { original_tag = SOO has_country_flag = TAJ_phase_1 } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_delegates_to_south_ossetia" SOO = { country_event = iranic_confederation.1 } } ai_will_do = { base = 10 } } IRN_announce_diplomatic_integration = { fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = TAJ_member_states_2_TT check_variable = { iranic_states > 2 } } } visible = { check_variable = { iranic_states > 1 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_announce_diplomatic_integration" set_country_flag = TAJ_phase_1 every_country = { limit = { has_country_flag = iranic_confederation_member } set_cosmetic_tag = IRN_confederation_early set_country_flag = disable_different_country_flag } } ai_will_do = { base = 10 } } IRN_elect_confederation_leader = { fire_only_once = yes days_remove = 25 visible = { check_variable = { iranic_states > 0 } has_country_flag = TAJ_phase_1 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_elect_confederation_leader" set_country_flag = TAJ_phase_2 every_country = { limit = { has_country_flag = iranic_confederation_member } country_event = iranic_confederation.4 } } ai_will_do = { base = 10 } } IRN_announce_iranic_integration = { fire_only_once = yes days_remove = 90 visible = { has_country_flag = iranic_confederation_leader has_country_flag = TAJ_phase_2 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_announce_iranic_integration" every_other_country = { limit = { has_country_flag = iranic_confederation_member } country_event = iranic_confederation.6 } } ai_will_do = { base = 10 } } IRN_announce_total_intergation = { days_remove = 90 visible = { has_country_flag = iranic_confederation_leader has_country_flag = TAJ_phase_3 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_announce_total_intergation" ROOT = { set_cosmetic_tag = PER_iranic_federation } mark_formed_country_formable = yes every_other_country = { limit = { has_country_flag = iranic_confederation_member } country_event = iranic_confederation.7 } } ai_will_do = { base = 10 } } IRN_relocation_of_iranic_capital = { days_remove = 35 visible = { has_country_flag = iranic_confederation_leader has_country_flag = TAJ_phase_3 has_cosmetic_tag = PER_iranic_federation OR = { 976 = { is_owned_and_controlled_by = ROOT } 409 = { is_owned_and_controlled_by = ROOT } } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_relocation_of_iranic_capital" country_event = iranic_confederation.9 } ai_will_do = { base = 10 } } IRN_ultimatum_to_pakistan = { days_remove = 35 available = { country_exists = PAK PAK = { NOT = { is_subject_of = ROOT } } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_greater_iranian_world } has_cosmetic_tag = PER_iranic_federation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_ultimatum_to_pakistan" PAK = { country_event = iranic_confederation.10 } } ai_will_do = { base = 10 } } IRN_ultimatum_to_turkey = { days_remove = 35 available = { country_exists = TUR TUR = { NOT = { is_subject_of = ROOT } } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_greater_iranian_world } has_cosmetic_tag = PER_iranic_federation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_ultimatum_to_turkey" TUR = { country_event = iranic_confederation.15 } } ai_will_do = { base = 10 } } IRN_ultimatum_to_turkmenistan = { days_remove = 35 available = { country_exists = TRK TRK = { NOT = { is_subject_of = ROOT } influence_higher_20 = yes } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_greater_iranian_world } has_cosmetic_tag = PER_iranic_federation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_ultimatum_to_turkmenistan" TRK = { country_event = iranic_confederation.18 } } ai_will_do = { base = 10 } } IRN_ultimatum_to_uzbekistan = { days_remove = 35 available = { country_exists = UZB UZB = { NOT = { is_subject_of = ROOT } influence_higher_20 = yes } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_greater_iranian_world } has_cosmetic_tag = PER_iranic_federation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_ultimatum_to_uzbekistan" UZB = { country_event = iranic_confederation.18 } } ai_will_do = { base = 10 } } IRN_ultimatum_to_armenia = { days_remove = 35 available = { country_exists = ARM ARM = { NOT = { is_subject_of = ROOT } influence_higher_20 = yes } } visible = { if = { limit = { ROOT = { original_tag = TAJ } } has_completed_focus = TAJ_greater_iranian_world } has_cosmetic_tag = PER_iranic_federation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision IRN_ultimatum_to_armenia" ARM = { country_event = iranic_confederation.18 } } ai_will_do = { base = 10 } } } TAJ_badakhshani_unrest = { TAJ_subsidies_in_badakhshan = { icon = generic_welfare highlight_states = { highlight_state_targets = { state = 722 } } days_remove = 30 available = { 722 = { is_owned_and_controlled_by = TAJ } } visible = { check_variable = { TAJ_badakhshan_unrest_var > 0 } 722 = { is_owned_and_controlled_by = TAJ } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_subsidies_in_badakhshan" custom_effect_tooltip = TAJ_decrease_bda_unrest_2_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -1 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } } modifier = { tax_gain_multiplier_modifier = -0.1 social_cost_multiplier_modifier = 0.1 health_cost_multiplier_modifier = 0.1 } ai_will_do = { base = 10 } } TAJ_settle_the_unrest = { highlight_states = { highlight_state_targets = { state = 722 } } days_remove = 30 available = { custom_trigger_tooltip = { tooltip = TAJ_BDA_unrest_less_20_TT check_variable = { TAJ_badakhshan_unrest_var < 21 } } 722 = { resistance < 5 compliance > 90 infrastructure > 4 } 50_percent_government_popularity = yes } visible = { has_country_flag = TAJ_against_reconciliation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_settle_the_unrest" set_country_flag = TAJ_badakhshani_unrest_solved custom_effect_tooltip = TAJ_ends_unrest_TT 722 = { if = { limit = { has_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } remove_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } add_core_of = TAJ force_disable_resistance = { clear = yes occupier = TAJ occupied = AFG } cancel_resistance = yes set_resistance = 0 set_compliance = 0 set_garrison_strength = 0 } clear_variable = badakhshan_resistance_cap clear_variable = badakhshan_resistance_garrison_requirement clear_variable = badakhshan_resistance_garrison_damage clear_variable = TAJ_badakhshan_unrest_var } modifier = { tax_gain_multiplier_modifier = -0.1 social_cost_multiplier_modifier = 0.1 health_cost_multiplier_modifier = 0.1 } ai_will_do = { base = 10 } } TAJ_monopolize_state_industries = { icon = generic_factory days_remove = 45 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } 722 = { infrastructure > 1 } } visible = { has_country_flag = TAJ_against_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_monopolize_state_industries" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_monopolize_state_industries" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_increase_bda_unrest_5_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = 5 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes 722 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 } } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes } ai_will_do = { base = 10 } } TAJ_sack_regional_governor = { icon = generic_civil_support days_remove = 30 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { 722 = { is_owned_and_controlled_by = TAJ } NOT = { has_country_flag = TAJ_for_reconciliation } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_sack_regional_governor" set_country_flag = TAJ_one_decision_at_a_time_BDA set_country_flag = TAJ_against_reconciliation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_sack_regional_governor" custom_effect_tooltip = TAJ_will_disable_peaceful_TT clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_increase_bda_unrest_3_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = 3 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 10 } } TAJ_visit_the_regional_governor = { icon = generic_political_rally days_remove = 30 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { 722 = { is_owned_and_controlled_by = TAJ } NOT = { has_country_flag = TAJ_against_reconciliation } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_visit_the_regional_governor" set_country_flag = TAJ_one_decision_at_a_time_BDA set_country_flag = TAJ_for_reconciliation } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_visit_the_regional_governor" custom_effect_tooltip = TAJ_peaceful_decentralization_TT clr_country_flag = TAJ_one_decision_at_a_time_BDA 722 = { if = { limit = { has_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } remove_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } } newline = yes add_ideas = TAJ_temp_negotiations custom_effect_tooltip = TAJ_if_delay_negotiations_TT } ai_will_do = { base = 10 } } TAJ_dig_for_badakhshani_resources = { icon = GFX_decision_generic_construction days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } has_tech = excavation1 } visible = { has_country_flag = TAJ_against_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_dig_for_badakhshani_resources" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_dig_for_badakhshani_resources" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_increase_bda_unrest_3_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = 3 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes 722 = { add_resource = { type = chromium amount = 7 } } } ai_will_do = { base = 10 } } TAJ_conscript_badakhshani_troops = { icon = generic_army_support days_remove = 30 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { has_country_flag = TAJ_against_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_conscript_badakhshani_troops" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_conscript_badakhshani_troops" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_increase_bda_unrest_1_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = 1 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes 722 = { add_manpower = -10000 } add_manpower = 10000 } ai_will_do = { base = 10 } } # Reconciliation TAJ_permit_religious_freedoms = { icon = bos_new_nation_button days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { has_country_flag = TAJ_for_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_permit_religious_freedoms" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_permit_religious_freedoms" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_3_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -3 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = PER } set_temp_variable = { influence_target = TAJ } change_influence_percentage = yes add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } TAJ_badakhshani_representation = { icon = generic_political_rally days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { has_country_flag = TAJ_for_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_badakhshani_representation" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_badakhshani_representation" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_3_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -3 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes custom_effect_tooltip = TAJ_lali_badakhshan_TT set_temp_variable = { party_index = 8 } set_temp_variable = { party_popularity_increase = 0.1 } change_relative_party_popularity = yes set_country_flag = TAJ_badakhshan_flag_form add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } TAJ_permit_pamiri_language = { icon = gre_investment_decisions days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { has_country_flag = TAJ_for_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_permit_pamiri_language" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_permit_pamiri_language" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_4_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -4 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes set_temp_variable = { temp_opinion = -15 } change_oligarchs_opinion = yes add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } TAJ_restrict_troop_movement = { icon = generic_police_action days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { has_country_flag = TAJ_for_reconciliation 722 = { is_owned_and_controlled_by = TAJ } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_restrict_troop_movement" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_restrict_troop_movement" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_5_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -5 } clamp_variable = { var = TAJ_badakhshan_unrest_var min = 0 } newline = yes set_temp_variable = { temp_opinion = -15 } change_the_military_opinion = yes add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } # Granting wishes TAJ_infrastructure_of_badakhshan = { days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } 722 = { infrastructure > 2 internet_station > 0 } } visible = { 722 = { is_owned_and_controlled_by = TAJ } check_variable = { TAJ_badakhshan_unrest_var = 4 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_infrastructure_of_badakhshan" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_infrastructure_of_badakhshan" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_5_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -5 } add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } TAJ_form_badakhshani_armed_forces = { days_remove = 50 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } } visible = { 722 = { is_owned_and_controlled_by = TAJ } check_variable = { TAJ_badakhshan_unrest_var = 5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_form_badakhshani_armed_forces" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_form_badakhshani_armed_forces" clr_country_flag = TAJ_one_decision_at_a_time_BDA custom_effect_tooltip = TAJ_decrease_bda_unrest_5_TT add_to_variable = { var = TAJ_badakhshan_unrest_var value = -5 } newline = yes add_manpower = -15000 custom_effect_tooltip = TAJ_BDA_army_TT add_to_variable = { var = TAJ_badakhshan_reconciliation value = 1 } } ai_will_do = { base = 10 } } TAJ_khorugh_accord = { days_remove = 90 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_BDA } custom_trigger_tooltip = { tooltip = TAJ_BDA_unrest_less_20_TT check_variable = { TAJ_badakhshan_unrest_var < 21 } } } visible = { 722 = { is_owned_and_controlled_by = TAJ } check_variable = { TAJ_badakhshan_unrest_var < 6 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_khorugh_accord" set_country_flag = TAJ_one_decision_at_a_time_BDA } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_khorugh_accord" clr_country_flag = TAJ_one_decision_at_a_time_BDA remove_ideas = TAJ_temp_negotiations 722 = { transfer_state_to = BDA remove_core_of = TAJ if = { limit = { has_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } remove_dynamic_modifier = { modifier = TAJ_badakhshan_resistance_dynamic_modifier } } } TAJ = { set_country_flag = TAJ_phase_3 set_autonomy = { target = BDA autonomy_state = TAJ_autonomy_administrative_region } } set_country_flag = TAJ_badakhshani_unrest_solved BDA = { set_temp_variable = { party_index = 8 } set_temp_variable = { party_popularity_increase = 0.8 } set_temp_variable = { temp_outlook_increase = 0.2 } change_relative_party_popularity = yes hidden_effect = { set_temp_variable = { rul_party_temp = 8 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes ingame_startup_nations_effect = yes } } } ai_will_do = { base = 0 } } } TAJ_situation_in_pamirs = { # Tajik TAJ_attack_batken = { icon = generic_army_support highlight_states = { highlight_state_targets = { state = 1170 } } available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_PAM } has_army_manpower = { size > 9999 } 1170 = { NOT = { has_border_war = yes } } OR = { 723 = { NOT = { has_border_war = yes } } 721 = { NOT = { has_border_war = yes } } } OR = { divisions_in_state = { size > 0 state = 723 } divisions_in_state = { size > 0 state = 721 } } } visible = { OR = { controls_state = 723 controls_state = 721 } NOT = { controls_state = 1170 } NOT = { 1170 = { is_core_of = TAJ } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_attack_batken" set_country_flag = TAJ_one_decision_at_a_time_PAM } days_remove = 7 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_attack_batken" clr_country_flag = TAJ_one_decision_at_a_time_PAM if = { limit = { ROOT = { original_tag = TAJ } controls_state = 723 NOT = { controls_state = 1170 } 723 = { NOT = { has_border_war = yes } } 1170 = { NOT = { has_border_war = yes } } divisions_in_state = { size > 0 state = 723 } } start_border_war = { change_state_after_war = no attacker = { state = 723 num_provinces = 2 on_win = pamir_conflict.1 on_lose = pamir_conflict.2 on_cancel = pamir_conflict.3 } defender = { state = 1170 num_provinces = 2 on_win = pamir_conflict.2 on_lose = pamir_conflict.4 on_cancel = pamir_conflict.3 } } } else_if = { limit = { ROOT = { original_tag = KYR } controls_state = 721 NOT = { controls_state = 1170 } 721 = { NOT = { has_border_war = yes } } 1170 = { NOT = { has_border_war = yes } } divisions_in_state = { size > 0 state = 721 } } start_border_war = { change_state_after_war = no attacker = { state = 721 num_provinces = 2 on_win = pamir_conflict.1 on_lose = pamir_conflict.2 on_cancel = pamir_conflict.3 } defender = { state = 1170 num_provinces = 2 on_win = pamir_conflict.2 on_lose = pamir_conflict.4 on_cancel = pamir_conflict.3 } } } else = { country_event = border_war_operation_blocked.1 } } ai_will_do = { base = 10 } } # Hold Batken for 9 Months TAJ_batken_occupation = { activation = { always = no } available = { NOT = { has_idea = TAJ_occupying_batken } } days_mission_timeout = 270 is_good = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_batken_occupation" add_stability = -0.05 } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_batken_occupation" 1170 = { add_core_of = TAJ } } } # Pamir TAJ_attack_pamir = { icon = generic_army_support highlight_states = { highlight_state_targets = { state = 721 } } available = { NOT = { has_country_flag = TAJ_one_decision_at_a_time_PAM } has_army_manpower = { size > 9999 } 721 = { NOT = { has_border_war = yes } } OR = { 724 = { NOT = { has_border_war = yes } } 720 = { NOT = { has_border_war = yes } } } OR = { divisions_in_state = { size > 0 state = 724 } divisions_in_state = { size > 0 state = 720 } } } visible = { OR = { controls_state = 720 controls_state = 724 } NOT = { controls_state = 721 } NOT = { 721 = { is_core_of = TAJ } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_attack_pamir" set_country_flag = TAJ_one_decision_at_a_time_PAM } days_remove = 7 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_attack_pamir" clr_country_flag = TAJ_one_decision_at_a_time_PAM if = { limit = { ROOT = { original_tag = TAJ } controls_state = 724 NOT = { controls_state = 721 } 724 = { NOT = { has_border_war = yes } } 721 = { NOT = { has_border_war = yes } } divisions_in_state = { size > 0 state = 724 } } start_border_war = { change_state_after_war = no attacker = { state = 724 num_provinces = 2 on_win = pamir_conflict.5 on_lose = pamir_conflict.2 on_cancel = pamir_conflict.3 } defender = { state = 721 num_provinces = 2 on_win = pamir_conflict.2 on_lose = pamir_conflict.4 on_cancel = pamir_conflict.3 } } } else_if = { limit = { ROOT = { original_tag = KYR } controls_state = 720 NOT = { controls_state = 721 } 720 = { NOT = { has_border_war = yes } } 721 = { NOT = { has_border_war = yes } } divisions_in_state = { size > 0 state = 720 } } start_border_war = { change_state_after_war = no attacker = { state = 720 num_provinces = 2 on_win = pamir_conflict.5 on_lose = pamir_conflict.2 on_cancel = pamir_conflict.3 } defender = { state = 721 num_provinces = 2 on_win = pamir_conflict.2 on_lose = pamir_conflict.4 on_cancel = pamir_conflict.3 } } } else = { country_event = border_war_operation_blocked.1 } } ai_will_do = { base = 10 } } # Hold Batken for 9 Months TAJ_pamir_occupation = { activation = { always = no } available = { NOT = { has_idea = TAJ_occupying_pamir } } days_mission_timeout = 270 is_good = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_pamir_occupation" add_stability = -0.05 } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision timeout TAJ_pamir_occupation" 721 = { add_core_of = TAJ } } } } TAJ_soviet_onion = { TAJ_workers_council_of_central_asia = { icon = generic_civil_support days_remove = 50 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = TAJ_own_central_asia_TT KAZ = { OR = { AND = { is_subject_of = ROOT has_war = no } all_core_state = { is_owned_and_controlled_by = ROOT } } } UZB = { OR = { AND = { is_subject_of = ROOT has_war = no } all_core_state = { is_owned_and_controlled_by = ROOT } } } KYR = { OR = { AND = { is_subject_of = ROOT has_war = no } all_core_state = { is_owned_and_controlled_by = ROOT } } } TAJ = { OR = { AND = { is_subject_of = ROOT has_war = no } all_core_state = { is_owned_and_controlled_by = ROOT } } } TRK = { OR = { AND = { is_subject_of = ROOT has_war = no } all_core_state = { is_owned_and_controlled_by = ROOT } } } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_workers_council_of_central_asia" KAZ = { every_core_state = { add_core_of = TAJ } } newline = yes UZB = { every_core_state = { add_core_of = TAJ } } newline = yes KYR = { every_core_state = { add_core_of = TAJ } } newline = yes TRK = { every_core_state = { add_core_of = TAJ } } newline = yes set_cosmetic_tag = SCA_soviet_onion mark_formed_country_formable = yes } ai_will_do = { base = 10 } } } TAJ_tajik_revolution_mech = { TAJ_launch_the_revolt = { icon = generic_civil_support days_remove = 12 fire_only_once = yes available = { has_completed_focus = TAJ_tajik_revolution } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_launch_the_revolt" set_country_flag = TAJ_civil_war_started country_event = tajik_focus.29 } ai_will_do = { base = 10 } } TAJ_tap_into_uto_funds = { icon = generic_welfare days_remove = 20 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_uto_decision } custom_trigger_tooltip = { tooltip = TAJ_uto_unity_lt_100_tt check_variable = { TAJ_uto_unity < 100 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_tap_into_uto_funds" set_country_flag = TAJ_uto_decision } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_tap_into_uto_funds" clr_country_flag = TAJ_uto_decision set_temp_variable = { treasury_change = 15.00 } modify_treasury_effect = yes add_to_variable = { var = TAJ_uto_unity value = -10 } clamp_variable = { var = TAJ_uto_unity min = 0 max = 100 } newline = yes custom_effect_tooltip = TAJ_decrease_uto_unity_10_TT } ai_will_do = { base = 10 } } TAJ_discredit_uto_leadership = { icon = generic_army_support days_remove = 20 fire_only_once = yes available = { NOT = { has_country_flag = TAJ_uto_decision } custom_trigger_tooltip = { tooltip = TAJ_uto_unity_lt_100_tt check_variable = { TAJ_uto_unity < 100 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_discredit_uto_leadership" set_country_flag = TAJ_uto_decision } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_discredit_uto_leadership" clr_country_flag = TAJ_uto_decision add_political_power = 200 decrease_corruption = yes add_to_variable = { var = TAJ_uto_unity value = -10 } clamp_variable = { var = TAJ_uto_unity min = 0 max = 100 } newline = yes custom_effect_tooltip = TAJ_decrease_uto_unity_10_TT } ai_will_do = { base = 10 } } TAJ_disinformation_campaign = { icon = generic_police_action days_remove = 20 cost = 100 available = { NOT = { has_country_flag = TAJ_uto_decision } custom_trigger_tooltip = { tooltip = TAJ_uto_unity_lt_100_tt check_variable = { TAJ_uto_unity < 100 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_disinformation_campaign" set_country_flag = TAJ_uto_decision } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_disinformation_campaign" clr_country_flag = TAJ_uto_decision add_to_variable = { var = TAJ_uto_unity value = -5 } clamp_variable = { var = TAJ_uto_unity min = 0 max = 100 } custom_effect_tooltip = TAJ_decrease_uto_unity_5_TT } ai_will_do = { base = 10 } } TAJ_propaganda_campaign = { icon = generic_political_rally days_remove = 20 cost = 100 available = { NOT = { has_country_flag = TAJ_uto_decision } custom_trigger_tooltip = { tooltip = TAJ_uto_unity_lt_100_tt check_variable = { TAJ_uto_unity < 100 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_propaganda_campaign" set_country_flag = TAJ_uto_decision } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_propaganda_campaign" clr_country_flag = TAJ_uto_decision add_to_variable = { var = TAJ_uto_unity value = 5 } clamp_variable = { var = TAJ_uto_unity min = 0 max = 100 } custom_effect_tooltip = TAJ_increase_uto_unity_5_TT } ai_will_do = { base = 10 } } TAJ_the_crackdown = { fire_only_once = yes activation = { has_country_flag = TAJ_uto_path } available = { has_country_flag = TAJ_civil_war_started } icon = zsr_unrest days_mission_timeout = 360 is_good = yes timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_the_crackdown" country_event = tajik_focus.29 } } } TAJ_The_Undeclared_Cold_War = { TAJ_Nadyrov_s_Funding_Proposal = { icon = eng_trade_unions_support cost = 100 available = { has_country_flag = TAJ_tajik_lore.1 } visible = { NOT = { has_country_flag = TAJ_tajik_lore.1 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_Nadyrov_s_Funding_Proposal" effect_tooltip = { country_event = tajik_lore.2 } } ai_will_do = { base = 10 } } TAJ_Nadyrov_s_Funding_Proposal_mission = { fire_only_once = yes activation = { has_country_flag = TAJ_tajik_lore.1 } available = { has_completed_focus = TAJ_armed_forces OR = { has_completed_focus = TAJ_nationwide_airbase_upgrades has_completed_focus = TAJ_lucrative_weapons_procurements } } icon = eng_trade_unions_support days_mission_timeout = 145 is_good = yes timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_Nadyrov_s_Funding_Proposal_mission" country_event = tajik_lore.1 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_Nadyrov_s_Funding_Proposal_mission Fail" country_event = tajik_lore.2 } } TAJ_Crisis_hotline_talks = { icon = generic_decision cost = 10 available = { has_country_flag = TAJ_tajik_lore.11 } visible = { NOT = { has_country_flag = TAJ_Crisis_hotline } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_Crisis_hotline_talks" country_event = tajik_lore.11 set_country_flag = TAJ_Crisis_hotline } ai_will_do = { base = 100 } } TAJ_Uzbek_war = { fire_only_once = yes activation = { has_country_flag = TAJ_tajik_lore.11 is_ai = no } war_with_target_on_complete = yes available = { has_country_flag = TAJ_Crisis_hotline } icon = infiltrate_state days_mission_timeout = 145 is_good = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision TAJ_Uzbek_war" leave_faction = yes set_country_flag = TAJ_Crisis_hotline UZB = { declare_war_on = { target = ROOT type = annex_everything } } news_event = { id = tajik_lore.14 days = 1 } hidden_effect = { create_dynamic_country = { original_tag = UZB set_country_flag = PER_UZK_GOV_TAJ copy_tag = UZB set_state_owner = 723 TAJ = { set_state_controller = 723 } ingame_startup_nations_effect = yes declare_war_on = { target = TAJ type = annex_everything } country_event = tajik_flavor.3 mark_formed_country_formable = yes set_country_flag = PER_UZK_GOV_TAJ clr_country_flag = dynamic_flag clr_country_flag = dynamic_rebel_flag set_cosmetic_tag = UZB_REB_S_nationalist set_variable = { dynamic_flag_variant = 8 } } } } } }