### No-suicide guards ### TAJ_no_suicide_afg = { allowed = { original_tag = TAJ } enable = { country_exists = AFG OR = { has_wargoal_against = AFG AFG = { has_wargoal_against = TAJ } } strength_ratio = { tag = AFG ratio < 1 } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = "AFG" value = -100 } ai_strategy = { type = prepare_for_war id = "AFG" value = 50 } } TAJ_no_suicide_kyr = { allowed = { original_tag = TAJ } enable = { country_exists = KYR OR = { has_wargoal_against = KYR KYR = { has_wargoal_against = TAJ } } strength_ratio = { tag = KYR ratio < 1 } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = "KYR" value = -100 } ai_strategy = { type = prepare_for_war id = "KYR" value = 50 } } TAJ_no_suicide_uzb = { allowed = { original_tag = TAJ } enable = { country_exists = UZB OR = { has_wargoal_against = UZB UZB = { has_wargoal_against = TAJ } } strength_ratio = { tag = UZB ratio < 1 } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = "UZB" value = -100 } ai_strategy = { type = prepare_for_war id = "UZB" value = 50 } } ### Neighbourly relations ### TAJ_regional_neighbours = { allowed = { original_tag = TAJ } enable = { has_war = no } abort_when_not_enabled = yes # Landlocked and CSTO-transit-dependent, so keeping every neighbour on side matters more than ideology ai_strategy = { type = befriend id = "KYR" value = 60 } ai_strategy = { type = befriend id = "UZB" value = 60 } ai_strategy = { type = befriend id = "AFG" value = 60 } ai_strategy = { type = befriend id = "CHI" value = 40 } ai_strategy = { type = avoid_starting_wars value = 50 } } ### Ideological alignment ### TAJ_csto_alignment = { allowed = { original_tag = TAJ } enable = { country_exists = SOV OR = { has_idea = CSTO_member has_completed_focus = TAJ_csto_defense_agreement } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SOV" value = 150 } ai_strategy = { type = alliance id = "SOV" value = 100 } ai_strategy = { type = send_volunteers_desire id = "SOV" value = 300 } } TAJ_iranic_confederation_alignment = { allowed = { original_tag = TAJ } enable = { country_exists = PER has_completed_focus = TAJ_iranic_confederation } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "PER" value = 200 } ai_strategy = { type = alliance id = "PER" value = 100 } ai_strategy = { type = befriend id = "AFG" value = 80 } } TAJ_taj_pact_alignment = { allowed = { original_tag = TAJ } enable = { has_completed_focus = TAJ_taj_pact } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "AFG" value = 150 } ai_strategy = { type = alliance id = "AFG" value = 100 } ai_strategy = { type = befriend id = "PAK" value = 80 } ai_strategy = { type = alliance id = "PAK" value = 50 } } TAJ_islamist_solidarity = { allowed = { original_tag = TAJ } enable = { has_completed_focus = TAJ_power_of_prayer } abort_when_not_enabled = yes # Post-Rahmon Islamist government seeks fellow Brotherhood-aligned states over CSTO patrons ai_strategy = { type = befriend id = "TUR" value = 60 } ai_strategy = { type = befriend id = "PER" value = 40 } ai_strategy = { type = antagonize id = "SOV" value = 40 } } TAJ_appease_china = { allowed = { original_tag = TAJ } enable = { country_exists = CHI OR = { has_completed_focus = TAJ_cave_to_chinese_demands has_completed_focus = TAJ_negotiate_chinese_presence } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CHI" value = 150 } ai_strategy = { type = antagonize id = "CHI" value = -100 } } TAJ_resist_china = { allowed = { original_tag = TAJ } enable = { country_exists = CHI OR = { has_completed_focus = TAJ_drive_out_the_chinese has_completed_focus = TAJ_nationalize_chinese_assets has_completed_focus = TAJ_reinforce_claims_on_pamir } } abort_when_not_enabled = yes ai_strategy = { type = antagonize id = "CHI" value = 100 } ai_strategy = { type = contain id = "CHI" value = 100 } ai_strategy = { type = befriend id = "CHI" value = -100 } ai_strategy = { type = befriend id = "SOV" value = 60 } } ### Wartime conduct ### TAJ_pamir_war_footing = { allowed = { original_tag = TAJ } enable = { has_war_with = KYR } abort_when_not_enabled = yes # High-altitude Pamir front favours light infantry and militia over mechanized formations ai_strategy = { type = role_ratio id = L_Inf value = 60 } ai_strategy = { type = role_ratio id = Militia value = 40 } ai_strategy = { type = role_ratio id = armor value = -50 } ai_strategy = { type = front_unit_request tag = KYR value = 100 } } TAJ_islamic_renaissance_war_footing = { allowed = { original_tag = TAJ } enable = { OR = { has_war_with = UZB has_completed_focus = TAJ_islamic_renaissance } } abort_when_not_enabled = yes ai_strategy = { type = force_build_armies value = 100 } ai_strategy = { type = role_ratio id = infantry value = 50 } ai_strategy = { type = role_ratio id = L_Inf value = 40 } ai_strategy = { type = front_unit_request tag = UZB value = 100 } } TAJ_civil_war_mobilisation = { allowed = { original_tag = TAJ } enable = { has_civil_war = yes } abort_when_not_enabled = yes # Survival war: build whatever can hold a line, and buy the guns rather than wait on industry ai_strategy = { type = force_build_armies value = 150 } ai_strategy = { type = role_ratio id = Militia value = 60 } ai_strategy = { type = role_ratio id = L_Inf value = 60 } ai_strategy = { type = build_army id = infantry value = 200 } ai_strategy = { type = equipment_market_buying_threshold id = infantry_weapons_type value = -100 } ai_strategy = { type = equipment_market_buying_threshold id = artillery_equipment value = -50 } }