#AI Research GER_we_want_the_pumaifv = { #tell GER AI to research the 2015 IFV hull ahead of time allowed = { original_tag = GER } enable = { country_exists = GER NOT = { has_tech = mbt_tech_3 } } abort_when_not_enabled = yes ai_strategy = { type = research_tech id = mbt_tech_3 value = 100 } } ###GER spy strategy### GER_spy_on_SOV = { #Spy on SOV, infiltrate Russian army allowed = { original_tag = GER } enable = { NOT = { SOV = { is_subject_of = GER } } } abort_when_not_enabled = yes ai_strategy = { type = operative_mission value = 80 mission = build_intel_network mission_target = SOV } ai_strategy = { type = operative_operation value = 80 operation = operation_capture_cipher operation_target = SOV } } GER_spy_on_SER = { #Spy on SER allowed = { original_tag = GER } enable = { NOT = { SER = { is_subject_of = GER } } } abort_when_not_enabled = yes ai_strategy = { type = operative_mission value = 30 mission = build_intel_network mission_target = SER } ai_strategy = { type = operative_operation value = 30 operation = operation_capture_cipher operation_target = SER } } GER_spy_on_PER = { #Spy on SOV, infiltrate Russian army allowed = { original_tag = GER } enable = { NOT = { PER = { is_subject_of = GER } } } abort_when_not_enabled = yes ai_strategy = { type = operative_mission value = 30 mission = build_intel_network mission_target = PER } ai_strategy = { type = operative_operation value = 30 operation = operation_capture_cipher operation_target = PER } } ###Building### GER_office_target = { allowed = { original_tag = GER } enable = { num_of_available_civilian_factories > 35 check_variable = { office_park_total < 60 } } abort_when_not_enabled = yes ai_strategy = { type = building_target id = offices value = 60 } } GER_factory_target = { allowed = { original_tag = GER } enable = { num_of_civilian_factories < 70 } abort_when_not_enabled = yes ai_strategy = { type = building_target id = industrial_complex value = 70 } } ##Diplomacy GER_Transatlantic = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } OR = { western_conservatism_are_in_coalition = yes western_conservatism_are_in_power = yes neutrality_neutral_libertarians_are_in_coalition = yes neutrality_neutral_libertarians_are_in_power = yes neutrality_neutral_green_are_in_coalition = yes neutrality_neutral_green_are_in_power = yes } OR = { USA = { is_in_faction_with = GER } has_idea = NATO_member } country_exists = USA NOT = { has_war_with = USA } USA = { NOT = { has_government = fascism } has_idea = NATO_member } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "USA" value = 80 } ai_strategy = { type = support id = "USA" value = 90 } ai_strategy = { type = send_volunteers_desire id = "USA" value = 100 } } GER_support_baltics_LAT = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } has_idea = EU_member OR = { has_government = democratic has_government = neutrality } LAT = { OR = { has_government = democratic has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "LAT" value = 70 } ai_strategy = { type = influence id = "LAT" value = 60 } ai_strategy = { type = protect id = "LAT" value = 80 } ai_strategy = { type = support id = "LAT" value = 70 } } GER_support_baltics_EST = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } has_idea = EU_member OR = { has_government = democratic has_government = neutrality } EST = { OR = { has_government = democratic has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "EST" value = 70 } ai_strategy = { type = influence id = "EST" value = 60 } ai_strategy = { type = protect id = "EST" value = 80 } ai_strategy = { type = support id = "EST" value = 70 } } GER_support_baltics_LIT = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } has_idea = EU_member OR = { has_government = democratic has_government = neutrality } LIT = { OR = { has_government = democratic has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "LIT" value = 70 } ai_strategy = { type = influence id = "LIT" value = 60 } ai_strategy = { type = protect id = "LIT" value = 80 } ai_strategy = { type = support id = "LIT" value = 70 } } GER_stationate_baltics = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } OR = { has_government = democratic has_government = neutrality } LIT = { has_idea = NATO_member } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.1 states = { 109 } subtract_fronts_from_need = no subtract_invasions_from_need = no } } GER_support_ukraine_against_russia = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_republic_collapse_path = yes } OR = { has_government = democratic has_government = neutrality } NOT = { western_social_democrats_are_in_power = yes } UKR = { has_war_with = SOV has_government = democratic } } abort_when_not_enabled = yes ai_strategy = { type = protect id = "UKR" value = 50 } ai_strategy = { type = send_lend_lease_desire id = "UKR" value = 125 } } GER_support_afghanistan = { allowed = { original_tag = GER } enable = { country_exists = AFG AFG = { NOT = { has_country_flag = AFG_new_war } } NOT = { has_war_with = AFG } AFG = { NOT = { has_government = fascism } } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "AFG" value = 50 } ai_strategy = { type = support id = "AFG" value = 70 } ai_strategy = { type = send_volunteers_desire id = "AFG" value = 50 } } Bend_for_putin = { allowed = { original_tag = GER } enable = { OR = { western_social_democrats_are_in_power = yes emerging_anarchist_communism_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = SOV SOV = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "SOV" value = 80 } ai_strategy = { type = support id = "SOV" value = 90 } } GER_RAJ_relations = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = RAJ RAJ = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "RAJ" value = 40 } ai_strategy = { type = influence id = "RAJ" value = 30 } } GER_BRA_relations = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = BRA BRA = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "BRA" value = 40 } ai_strategy = { type = influence id = "BRA" value = 30 } } GER_CHI_relations = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = CHI CHI = { has_war = no } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "CHI" value = 60 } ai_strategy = { type = influence id = "CHI" value = 50 } } GER_ISR_relations = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = ISR } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ISR" value = 60 } ai_strategy = { type = support id = "ISR" value = 70 } } #Balkan Relations GER_support_kosovo_against_SER = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = KOS KOS = { has_war_with = SER } } abort_when_not_enabled = yes ai_strategy = { type = support id = "KOS" value = 60 } ai_strategy = { type = protect id = "KOS" value = 100 } ai_strategy = { type = send_volunteers_desire id = "KOS" value = 200 } } GER_support_bosnian_against_rsk = { allowed = { original_tag = GER } enable = { BOS = { has_country_flag = BOS_defeat_all_serbs OR = { has_idea = BOS_EUFOR has_idea = BOS_SFOR } } RSK = { has_war_with = BOS } has_idea = BOS_sfor_vol_troops } abort_when_not_enabled = yes ai_strategy = { type = protect id = BOS value = 50 } ai_strategy = { type = support id = BOS value = 30 } ai_strategy = { type = send_volunteers_desire id = BOS value = 200 } } GER_KOS_relations = { allowed = { original_tag = GER } enable = { OR = { has_government = democratic has_government = neutrality } country_exists = KOS KOS = { OR = { has_government = democratic has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = protect id = KOS value = 50 } ai_strategy = { type = befriend id = KOS value = 30 } ai_strategy = { type = support id = KOS value = 30 } } #Armenia Content GER_againts_armenian_expansion_italy_puppet = { allowed = { original_tag = GER } enable = { is_subject = no has_war = no ITA = { is_subject_of = ARM } NOT = { has_government = neutrality } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ARM" value = -100 } ai_strategy = { type = antagonize id = "ARM" value = 100 } ai_strategy = { type = contain id = "ARM" value = 100 } ai_strategy = { type = befriend id = "ITA" value = -100 } ai_strategy = { type = antagonize id = "ITA" value = 100 } ai_strategy = { type = contain id = "ITA" value = 100 } ai_strategy = { type = influence id = "ITA" value = 200 } } GER_againts_armenian_expansion_poland_puppet = { allowed = { original_tag = GER } enable = { is_subject = no has_war = no POL = { is_subject_of = ARM } NOT = { has_government = neutrality } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "ARM" value = -100 } ai_strategy = { type = antagonize id = "ARM" value = 100 } ai_strategy = { type = contain id = "ARM" value = 100 } ai_strategy = { type = befriend id = "POL" value = -100 } ai_strategy = { type = antagonize id = "POL" value = 100 } ai_strategy = { type = contain id = "POL" value = 100 } ai_strategy = { type = influence id = "POL" value = 200 } } #CIVIL WAR IN AMERICA - GERMANY GER_texas_help = { allowed = { original_tag = GER } enable = { country_exists = TEX GER = { has_war = no has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "TEX" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "TEX" value = 400 } } GER_lakota_help = { allowed = { original_tag = GER } enable = { country_exists = CAS GER = { has_war = no has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "CAS" value = 1000 } ai_strategy = { type = send_lend_lease_desire id = "CAS" value = 400 } } #reduce stupidity# GER_reduce_Swiss_border_garrison = { allowed = { original_tag = GER } enable = { OR = { SWI = { has_government = democratic } SWI = { has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = front_unit_request tag = SWI value = -200 } } GER_reduce_Austria_border_garrison = { allowed = { original_tag = GER } enable = { OR = { AUS = { has_government = democratic } AUS = { has_government = neutrality } } } abort_when_not_enabled = yes ai_strategy = { type = front_unit_request tag = AUS value = -200 } } # Foreign troops in BRD USA_german_bases = { allowed = { original_tag = USA } enable = { country_exists = GER tag = USA has_idea = NATO_member GER = { has_country_flag = GER_usa_bases } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.05 states = { 40 41 42 43 964 } subtract_fronts_from_need = no subtract_invasions_from_need = no } } ENG_german_bases = { allowed = { original_tag = ENG } enable = { has_idea = NATO_member GER = { has_country_flag = GER_eng_bases has_idea = NATO_member } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.1 states = { 38 } subtract_fronts_from_need = no subtract_invasions_from_need = no } } #german forces in peace# German_garrisons_in_peace = { allowed = { original_tag = GER } enable = { has_idea = NATO_member OR = { has_war = no threat < 0.3 } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.80 states = { 37 38 39 40 41 42 43 44 45 1080 539 972 545 964 967 966 } subtract_fronts_from_need = no subtract_invasions_from_need = no } } ##Germany unique AI for combat units GER_default_naval_breakdown = { allowed = { original_tag = GER } enable = { OR = { has_defensive_war = yes threat > 0.6 any_of_scopes = { array = potential_and_current_enemies is_justifying_wargoal_against = GER } } } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 25 } ai_strategy = { type = role_ratio id = naval_frigate value = 30 } ai_strategy = { type = role_ratio id = naval_destroyer value = 15 } ai_strategy = { type = role_ratio id = naval_stealth_destroyer value = 2 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 20 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 2 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 4 } ai_strategy = { type = role_ratio id = naval_carrier value = 1 } ai_strategy = { type = role_ratio id = naval_battlecruiser value = 2 } ai_strategy = { type = role_ratio id = naval_battleship value = 1 } ai_strategy = { type = role_ratio id = naval_cruiser value = 1 } } #German army GER_rebuild_army = { allowed = { original_tag = GER } enable = { OR = { has_defensive_war = yes threat > 0.6 any_of_scopes = { array = potential_and_current_enemies is_justifying_wargoal_against = GER } } } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = L_Inf value = 5 } ai_strategy = { type = role_ratio id = ifv_mechanized value = 20 } ai_strategy = { type = role_ratio id = apc_mechanized value = 10 } ai_strategy = { type = role_ratio id = armor value = 40 } ai_strategy = { type = role_ratio id = marines value = 5 } ai_strategy = { type = role_ratio id = Air_helicopters value = 5 } ai_strategy = { type = role_ratio id = Air_mech value = 5 } ai_strategy = { type = role_ratio id = Special_Forces value = 3 } } GER_air_force_breakdown = { allowed = { original_tag = GER } enable = { OR = { has_defensive_war = yes threat > 0.6 any_of_scopes = { array = potential_and_current_enemies is_justifying_wargoal_against = GER } } } abort_when_not_enabled = yes ##Air Unit Factors #unit ratios - set the base number of planes per airfield / cv slot that the nation wants ai_strategy = { type = unit_ratio id = cas value = 8 } ai_strategy = { type = unit_ratio id = naval_bomber value = 2 } ai_strategy = { type = unit_ratio id = interceptor value = 12 } ai_strategy = { type = unit_ratio id = scout_plane value = 2 } ai_strategy = { type = unit_ratio id = suicide value = 4 } ai_strategy = { type = equipment_variant_production_factor id = small_plane_airframe value = -100 } ai_strategy = { type = equipment_variant_production_factor id = small_plane_strike_airframe value = -100 } ai_strategy = { type = equipment_variant_production_factor id = small_plane_cas_airframe value = -100 } ai_strategy = { type = equipment_variant_production_factor id = small_plane_naval_bomber_airframe value = -100 } ai_strategy = { type = equipment_variant_production_factor id = small_plane_suicide_airframe value = -80 } ai_strategy = { type = equipment_variant_production_factor id = medium_plane_airframe value = -25 } ai_strategy = { type = equipment_variant_production_factor id = medium_plane_cas_airframe value = -25 } ai_strategy = { type = equipment_variant_production_factor id = medium_plane_maritime_patrol_airframe value = -80 } ai_strategy = { type = equipment_variant_production_factor id = medium_plane_suicide_airframe value = -75 } ai_strategy = { type = equipment_variant_production_factor id = medium_plane_air_transport_airframe value = -75 } ai_strategy = { type = equipment_variant_production_factor id = large_plane_airframe value = -70 } ai_strategy = { type = equipment_variant_production_factor id = large_plane_air_transport_airframe value = -70 } ai_strategy = { type = equipment_variant_production_factor id = large_plane_awacs_airframe value = -90 } ai_strategy = { type = equipment_variant_production_factor id = large_plane_cas_airframe value = -95 } ai_strategy = { type = equipment_variant_production_factor id = large_plane_maritime_patrol_airframe value = -80 } ai_strategy = { type = air_factory_balance value = 100 } } support_civil_war_swiss = { allowed = { original_tag = GER } enable = { country_exists = SWI NOT = { has_war_with = SWI } SWI = { has_civil_war = yes has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "SWI" value = 100 } ai_strategy = { type = support id = "SWI" value = 100 } } support_civil_war_austria = { allowed = { original_tag = GER } enable = { country_exists = AUS NOT = { has_war_with = AUS } AUS = { has_civil_war = yes has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "AUS" value = 100 } ai_strategy = { type = support id = "AUS" value = 100 } } support_civil_war_belgium = { allowed = { original_tag = GER } enable = { country_exists = BEL NOT = { has_war_with = BEL } BEL = { has_civil_war = yes has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "BEL" value = 100 } ai_strategy = { type = support id = "BEL" value = 100 } } support_civil_war_turkey = { allowed = { original_tag = GER } enable = { country_exists = TUR NOT = { has_war_with = TUR } TUR = { has_civil_war = yes has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "TUR" value = 100 } ai_strategy = { type = support id = "TUR" value = 100 } } support_civil_war_Italia = { allowed = { original_tag = GER } enable = { country_exists = ITA NOT = { has_war_with = ITA } ITA = { has_civil_war = yes has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = send_volunteers_desire id = "ITA" value = 100 } ai_strategy = { type = support id = "ITA" value = 100 } } GER_construct_additional_microchips = { allowed = { original_tag = GER } enable = { check_variable = { resource@microchips < 0 } check_variable = { microchip_plant_total < 50 } num_of_available_civilian_factories > 14 } abort_when_not_enabled = yes ai_strategy = { type = build_building id = microchip_plant value = 50 } ai_strategy = { type = building_target id = microchip_plant value = 50 } } GER_avoid_unready_wars = { allowed = { original_tag = GER } enable = { NOT = { GER_ai_war_ready = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "AUS" value = -4000 } ai_strategy = { type = declare_war id = "AUS" value = -4000 } ai_strategy = { type = conquer id = "BEL" value = -4000 } ai_strategy = { type = declare_war id = "BEL" value = -4000 } ai_strategy = { type = conquer id = "CAM" value = -4000 } ai_strategy = { type = declare_war id = "CAM" value = -4000 } ai_strategy = { type = conquer id = "CAN" value = -4000 } ai_strategy = { type = declare_war id = "CAN" value = -4000 } ai_strategy = { type = conquer id = "CHI" value = -4000 } ai_strategy = { type = declare_war id = "CHI" value = -4000 } ai_strategy = { type = conquer id = "CZE" value = -4000 } ai_strategy = { type = declare_war id = "CZE" value = -4000 } ai_strategy = { type = conquer id = "DEN" value = -4000 } ai_strategy = { type = declare_war id = "DEN" value = -4000 } ai_strategy = { type = conquer id = "DRC" value = -4000 } ai_strategy = { type = declare_war id = "DRC" value = -4000 } ai_strategy = { type = conquer id = "ENG" value = -4000 } ai_strategy = { type = declare_war id = "ENG" value = -4000 } ai_strategy = { type = conquer id = "FRA" value = -4000 } ai_strategy = { type = declare_war id = "FRA" value = -4000 } ai_strategy = { type = conquer id = "ITA" value = -4000 } ai_strategy = { type = declare_war id = "ITA" value = -4000 } ai_strategy = { type = conquer id = "LIC" value = -4000 } ai_strategy = { type = declare_war id = "LIC" value = -4000 } ai_strategy = { type = conquer id = "LUX" value = -4000 } ai_strategy = { type = declare_war id = "LUX" value = -4000 } ai_strategy = { type = conquer id = "MEX" value = -4000 } ai_strategy = { type = declare_war id = "MEX" value = -4000 } ai_strategy = { type = conquer id = "MIC" value = -4000 } ai_strategy = { type = declare_war id = "MIC" value = -4000 } ai_strategy = { type = conquer id = "NAM" value = -4000 } ai_strategy = { type = declare_war id = "NAM" value = -4000 } ai_strategy = { type = conquer id = "PAP" value = -4000 } ai_strategy = { type = declare_war id = "PAP" value = -4000 } ai_strategy = { type = conquer id = "POL" value = -4000 } ai_strategy = { type = declare_war id = "POL" value = -4000 } ai_strategy = { type = conquer id = "SOV" value = -4000 } ai_strategy = { type = declare_war id = "SOV" value = -4000 } ai_strategy = { type = conquer id = "SWE" value = -4000 } ai_strategy = { type = declare_war id = "SWE" value = -4000 } ai_strategy = { type = conquer id = "SWI" value = -4000 } ai_strategy = { type = declare_war id = "SWI" value = -4000 } ai_strategy = { type = conquer id = "TNZ" value = -4000 } ai_strategy = { type = declare_war id = "TNZ" value = -4000 } ai_strategy = { type = conquer id = "TOG" value = -4000 } ai_strategy = { type = declare_war id = "TOG" value = -4000 } ai_strategy = { type = conquer id = "UKR" value = -4000 } ai_strategy = { type = declare_war id = "UKR" value = -4000 } ai_strategy = { type = conquer id = "USA" value = -4000 } ai_strategy = { type = declare_war id = "USA" value = -4000 } }