SIA_unit_production = { allowed = { original_tag = SIA } enable = { always = yes } abort = { always = no } ai_strategy = { type = role_ratio id = garrison value = 1 } ai_strategy = { type = role_ratio id = paratroopers value = 0 } ai_strategy = { type = role_ratio id = mountaineers value = 3 } ai_strategy = { type = role_ratio id = marines value = 0 } ai_strategy = { type = role_ratio id = cavalry value = 0 } ai_strategy = { type = role_ratio id = motorized value = 0 } ai_strategy = { type = role_ratio id = mechanized value = 0 } ai_strategy = { type = role_ratio id = armor value = 0 } ai_strategy = { type = role_ratio id = infantry value = 150 #because doctrine 70 } #Air unit factors ai_strategy = { type = unit_ratio id = fighter value = 20 } ai_strategy = { type = unit_ratio id = cas value = 2 #because doctrine this = 15 } ai_strategy = { type = unit_ratio id = tactical_bomber value = 0 } ai_strategy = { type = unit_ratio id = strategic_bomber value = 0 } ai_strategy = { type = unit_ratio id = naval_bomber value = 0 } # Naval unit factors ai_strategy = { type = unit_ratio id = capital_ship value = 0 } ai_strategy = { type = unit_ratio id = carrier value = 0 } ai_strategy = { type = unit_ratio id = submarine value = 30 } ai_strategy = { type = unit_ratio id = screen_ship value = 0 } ai_strategy = { type = unit_ratio id = convoy value = 20 } ai_strategy = { type = equipment_production_min_factories id = convoy value = 1 } ai_strategy = { type = equipment_production_factor id = tactical_bomber value = 0 } ai_strategy = { type = equipment_production_factor id = strategic_bomber value = -20 } ai_strategy = { type = equipment_production_factor id = naval_bomber value = 0 } ai_strategy = { type = equipment_production_factor id = infantry value = 40 } ai_strategy = { type = equipment_production_min_factories id = motorized value = 1 } ai_strategy = { type = equipment_production_min_factories id = train value = 1 } ai_strategy = { type = equipment_production_min_factories id = infantry value = 3 } ai_strategy = { type = equipment_production_min_factories id = anti_air value = 1 } ai_strategy = { type = equipment_production_min_factories id = support value = 1 } ai_strategy = { type = equipment_production_factor id = artillery value = 5 } ai_strategy = { type = equipment_production_factor id = support value = -10 } ai_strategy = { type = equipment_production_factor id = anti_tank value = -80 } ai_strategy = { type = equipment_production_min_factories_archetype id = artillery_equipment value = 2 } ai_strategy = { type = equipment_production_min_factories_archetype id = infantry_equipment value = 3 } ai_strategy = { type = equipment_production_factor id = armor value = 0 } ai_strategy = { type = build_army id = infantry_SIA value = 80 } ai_strategy = { type = build_army id = mountaineers_SIA value = 50 } ai_strategy = { type = force_build_armies value = 100 } ai_strategy = { type = min_wanted_supply_trains value = 8 } ai_strategy = { type = min_wanted_supply_trucks value = 300 } ai_strategy = { type = building_target id = industrial_complex value = 7 } ai_strategy = { type = added_military_to_civilian_factory_ratio value = 1.5 } } SIA_save_for_partial = { allowed = { original_tag = SIA } enable = { has_war_support > 0.25 OR = { NOT = { has_idea = partial_economic_mobilisation } NOT = { has_idea = war_economy } NOT = { has_idea = tot_economic_mobilisation } } } abort_when_not_enabled = yes ai_strategy = { type = pp_spend_amount id = idea value = 500 } } SIA_prep_uk_for_limited_war = { allowed = { has_dlc = "Thunder at Our Gates" OR = { original_tag = MAL original_tag = ENG original_tag = BRM } } enable = { SIA = { focus_progress = { focus = SIA_retake_lost_british_states progress > 0 } } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = SIA value = 200 } } SIA_prep_fra_for_limited_war = { allowed = { has_dlc = "Thunder at Our Gates" original_tag = FRA } enable = { SIA = { OR = { focus_progress = { focus = SIA_recover_indochina progress > 0 } focus_progress = { focus = SIA_demand_the_return_of_lost_territory progress > 0 } } } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = SIA value = 200 } } #Encourage siam to join japan's faction instead SIA_dont_join_axis_historical = { allowed = { original_tag = SIA } enable = { is_historical_focus_on = yes date < 1942.1.1 } abort_when_not_enabled = yes ai_strategy = { type = alliance id = GER value = -60 #a weak score so that players can still find a way around it if they want } } SIA_stay_independent = { allowed = { original_tag = SIA } enable = { is_historical_focus_on = yes NOT = { has_truce_with = JAP } } abort_when_not_enabled = yes ai_strategy = { type = alliance id = JAP value = -80 #Hold off on JAP alliance until we've fought and white-peaced them } } SIA_ger_dont_invite_siam_hisorical = { allowed = { original_tag = GER } enable = { is_historical_focus_on = yes date < 1944.1.1 } abort_when_not_enabled = yes ai_strategy = { type = alliance id = SIA value = -60 #a weak score so that players can still find a way around it if they want } } FRA_dont_get_involved_in_limited_war = { allowed = { original_tag = FRA } enable = { threat < 0.98 } abort_when_not_enabled = yes ai_strategy = { type = dont_join_wars_with id = ENG value = 500 #a weak score so that players can still find a way around it if they want target_country = SIA } ai_strategy = { type = dont_join_wars_with id = BRM value = 500 #a weak score so that players can still find a way around it if they want target_country = SIA } ai_strategy = { type = dont_join_wars_with id = MAL value = 500 #a weak score so that players can still find a way around it if they want target_country = SIA } } ENG_dont_get_involved_in_limited_war = { allowed = { original_tag = ENG } enable = { SIA = { is_in_faction = no } } abort_when_not_enabled = yes ai_strategy = { type = dont_join_wars_with id = FRA value = 500 #a weak score so that players can still find a way around it if they want target_country = SIA } } GER_dont_get_involved_in_limited_war = { allowed = { original_tag = ENG } enable = { country_exists = VIC SIA = { has_war_with = VIC } OR = { original_tag = GER original_tag = HUN original_tag = JAP original_tag = ROM original_tag = BUL original_tag = ITA is_in_faction_with = GER } } abort_when_not_enabled = yes ai_strategy = { type = dont_join_wars_with id = VIC value = 9999 target_country = SIA } } SIA_dont_get_involved_in_vic_limited_war = { enable = { country_exists = VIC VIC = { has_war_with = SIA } #SIA = { has_active_mission = SIA_limited_war_indochina } } abort_when_not_enabled = yes #ai_strategy = { # type = dont_join_wars_with # id = VIC # value = 500 # target_country = SIA #} ai_strategy = { type = dont_join_wars_with id = VIC value = 2000 target_country = SIA } } VIC_dont_call_allies_in_limited_war = { enable = { country_exists = VIC tag = VIC VIC = { has_war_with = SIA } SIA = { has_active_mission = SIA_limited_war_indochina } } abort_when_not_enabled = yes ai_strategy = { type = diplo_action_desire id = VIC value = -9999 target = call_allies } } VIC_prep_for_war_with_SIA = { enable = { country_exists = VIC tag = VIC SIA = { focus_progress = { focus = SIA_recover_indochina progress > 0 } } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = SIA value = 800 } } SIA_prep_for_war_with_VIC = { enable = { country_exists = VIC original_tag = SIA SIA = { focus_progress = { focus = SIA_recover_indochina progress > 0 } } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = VIC value = 800 } } SIA_chemical_imports_requirement = { allowed = { original_tag = SIA } enable = { focus_progress = { focus = SIA_railway_and_port_extensions progress > 0 } NOT = { has_completed_focus = SIA_chemical_imports } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = ENG value = 300 } ai_strategy = { type = befriend id = JAP value = 300 } ai_strategy = { type = befriend id = INS value = 300 } ai_strategy = { type = befriend id = MAL value = 300 } } SIA_mechanization_of_agriculture_prep = { allowed = { original_tag = SIA } enable = { focus_progress = { focus = SIA_the_bank_of_siam progress > 0 } NOT = { has_completed_focus = SIA_mechanization_of_agriculture } } abort_when_not_enabled = yes ai_strategy = { type = equipment_production_factor id = motorized value = 80 } ai_strategy = { type = equipment_production_min_factories id = motorized value = 2 } } SIA_reject_invitations_on_historical = { allowed = { original_tag = SIA } enable = { is_historical_focus_on = yes } abort_when_not_enabled = yes ai_strategy = { type = alliance id = GER value = -50 #a weak score so that players can still find a way around it if they want } } SIA_no_european_involvement = { allowed = { original_tag = SIA } enable = { is_historical_focus_on = yes } abort = { always = no } ai_strategy = { type = diplo_action_acceptance id = GER target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = ITA target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = ROM target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = HUN target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = BUL target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = SPR target = docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = GER target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = ITA target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = ROM target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = HUN target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = BUL target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_desire id = SPR target = offer_docking_rights value = -5000 } ai_strategy = { type = diplo_action_acceptance id = GER target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_acceptance id = ITA target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_acceptance id = ROM target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_acceptance id = HUN target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_acceptance id = BUL target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_acceptance id = SPR target = air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = GER target = offer_air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = ITA target = offer_air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = ROM target = offer_air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = HUN target = offer_air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = BUL target = offer_air_base_access value = -5000 } ai_strategy = { type = diplo_action_desire id = SPR target = offer_air_base_access value = -5000 } } SIA_chemical_imports_requirement = { allowed = { original_tag = SIA } enable = { focus_progress = { focus = SIA_secure_the_state progress > 0 } NOT = { has_completed_focus = SIA_achieve_foreign_legitimacy } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = ENG value = 300 } ai_strategy = { type = befriend id = JAP value = 300 } ai_strategy = { type = befriend id = FRA value = 300 } ai_strategy = { type = befriend id = USA value = 300 } ai_strategy = { type = befriend id = CHI value = 300 } ai_strategy = { type = befriend id = GER value = 300 } ai_strategy = { type = befriend id = ITA value = 300 } ai_strategy = { type = befriend id = SOV value = 300 } }