##Denmark unique AI for combat units DEN_default_naval_breakdown = { allowed = { original_tag = DEN } enable = { always = yes } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_corvettes value = 20 } ai_strategy = { type = role_ratio id = naval_frigate value = 22 } ai_strategy = { type = role_ratio id = naval_destroyer value = 20 } ai_strategy = { type = role_ratio id = naval_attack_submarine value = 24 } ai_strategy = { type = role_ratio id = naval_missile_submarine value = 2 } ai_strategy = { type = role_ratio id = naval_helicopter_operator value = 10 } ai_strategy = { type = role_ratio id = naval_carrier value = 2 } ai_strategy = { type = role_ratio id = naval_cruiser value = 2 } } DEN_like_scandinavians_nations = { allowed = { original_tag = DEN } enable = { NOT = { has_government = nationalist } } abort_when_not_enabled = yes ai_strategy = { type = befriend id = "NRY" value = 50 } ai_strategy = { type = befriend id = "ICE" value = 50 } ai_strategy = { type = befriend id = "SWE" value = 50 } ai_strategy = { type = befriend id = "FIN" value = 50 } ai_strategy = { type = protect id = "NRY" value = 50 } ai_strategy = { type = protect id = "ICE" value = 50 } ai_strategy = { type = protect id = "SWE" value = 50 } ai_strategy = { type = protect id = "FIN" value = 50 } ai_strategy = { type = support id = "NRY" value = 50 } ai_strategy = { type = support id = "ICE" value = 50 } ai_strategy = { type = support id = "SWE" value = 50 } ai_strategy = { type = support id = "FIN" value = 50 } } DEN_avoid_unready_war_with_SWE = { allowed = { original_tag = DEN } enable = { has_wargoal_against = SWE NOT = { has_war_with = SWE } NOT = { DEN_ai_ready_to_attack_SWE = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "SWE" value = -2000 } ai_strategy = { type = declare_war id = "SWE" value = -2000 } } DEN_prepare_war_with_SWE = { allowed = { original_tag = DEN } enable = { has_wargoal_against = SWE NOT = { has_war_with = SWE } DEN_ai_ready_to_attack_SWE = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "SWE" value = 200 } ai_strategy = { type = conquer id = "SWE" value = 200 } ai_strategy = { type = declare_war id = "SWE" value = 200 } } DEN_avoid_unready_war_with_NRY = { allowed = { original_tag = DEN } enable = { has_wargoal_against = NRY NOT = { has_war_with = NRY } NOT = { DEN_ai_ready_to_attack_NRY = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "NRY" value = -2000 } ai_strategy = { type = declare_war id = "NRY" value = -2000 } } DEN_prepare_war_with_NRY = { allowed = { original_tag = DEN } enable = { has_wargoal_against = NRY NOT = { has_war_with = NRY } DEN_ai_ready_to_attack_NRY = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "NRY" value = 200 } ai_strategy = { type = conquer id = "NRY" value = 200 } ai_strategy = { type = declare_war id = "NRY" value = 200 } } DEN_avoid_unready_war_with_ICE = { allowed = { original_tag = DEN } enable = { has_wargoal_against = ICE NOT = { has_war_with = ICE } NOT = { DEN_ai_ready_to_attack_ICE = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "ICE" value = -2000 } ai_strategy = { type = declare_war id = "ICE" value = -2000 } } DEN_prepare_war_with_ICE = { allowed = { original_tag = DEN } enable = { has_wargoal_against = ICE NOT = { has_war_with = ICE } DEN_ai_ready_to_attack_ICE = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "ICE" value = 200 } ai_strategy = { type = conquer id = "ICE" value = 200 } ai_strategy = { type = declare_war id = "ICE" value = 200 } } DEN_avoid_unready_war_with_FIN = { allowed = { original_tag = DEN } enable = { has_wargoal_against = FIN NOT = { has_war_with = FIN } NOT = { DEN_ai_ready_to_attack_FIN = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "FIN" value = -2000 } ai_strategy = { type = declare_war id = "FIN" value = -2000 } } DEN_prepare_war_with_FIN = { allowed = { original_tag = DEN } enable = { has_wargoal_against = FIN NOT = { has_war_with = FIN } DEN_ai_ready_to_attack_FIN = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "FIN" value = 200 } ai_strategy = { type = conquer id = "FIN" value = 200 } ai_strategy = { type = declare_war id = "FIN" value = 200 } } DEN_avoid_unready_war_with_EST = { allowed = { original_tag = DEN } enable = { has_wargoal_against = EST NOT = { has_war_with = EST } NOT = { DEN_ai_ready_to_attack_EST = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "EST" value = -2000 } ai_strategy = { type = declare_war id = "EST" value = -2000 } } DEN_prepare_war_with_EST = { allowed = { original_tag = DEN } enable = { has_wargoal_against = EST NOT = { has_war_with = EST } DEN_ai_ready_to_attack_EST = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "EST" value = 200 } ai_strategy = { type = conquer id = "EST" value = 200 } ai_strategy = { type = declare_war id = "EST" value = 200 } } DEN_avoid_unready_war_with_LAT = { allowed = { original_tag = DEN } enable = { has_wargoal_against = LAT NOT = { has_war_with = LAT } NOT = { DEN_ai_ready_to_attack_LAT = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "LAT" value = -2000 } ai_strategy = { type = declare_war id = "LAT" value = -2000 } } DEN_prepare_war_with_LAT = { allowed = { original_tag = DEN } enable = { has_wargoal_against = LAT NOT = { has_war_with = LAT } DEN_ai_ready_to_attack_LAT = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "LAT" value = 200 } ai_strategy = { type = conquer id = "LAT" value = 200 } ai_strategy = { type = declare_war id = "LAT" value = 200 } } DEN_avoid_unready_war_with_LIT = { allowed = { original_tag = DEN } enable = { has_wargoal_against = LIT NOT = { has_war_with = LIT } NOT = { DEN_ai_ready_to_attack_LIT = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "LIT" value = -2000 } ai_strategy = { type = declare_war id = "LIT" value = -2000 } } DEN_prepare_war_with_LIT = { allowed = { original_tag = DEN } enable = { has_wargoal_against = LIT NOT = { has_war_with = LIT } DEN_ai_ready_to_attack_LIT = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "LIT" value = 200 } ai_strategy = { type = conquer id = "LIT" value = 200 } ai_strategy = { type = declare_war id = "LIT" value = 200 } } DEN_avoid_unready_war_with_GER = { allowed = { original_tag = DEN } enable = { has_wargoal_against = GER NOT = { has_war_with = GER } NOT = { DEN_ai_ready_to_attack_GER = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "GER" value = -2000 } ai_strategy = { type = declare_war id = "GER" value = -2000 } } DEN_prepare_war_with_GER = { allowed = { original_tag = DEN } enable = { has_wargoal_against = GER NOT = { has_war_with = GER } DEN_ai_ready_to_attack_GER = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "GER" value = 200 } ai_strategy = { type = conquer id = "GER" value = 200 } ai_strategy = { type = declare_war id = "GER" value = 200 } } DEN_avoid_unready_war_with_ENG = { allowed = { original_tag = DEN } enable = { has_wargoal_against = ENG NOT = { has_war_with = ENG } NOT = { DEN_ai_ready_to_attack_ENG = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "ENG" value = -2000 } ai_strategy = { type = declare_war id = "ENG" value = -2000 } } DEN_prepare_war_with_ENG = { allowed = { original_tag = DEN } enable = { has_wargoal_against = ENG NOT = { has_war_with = ENG } DEN_ai_ready_to_attack_ENG = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "ENG" value = 200 } ai_strategy = { type = conquer id = "ENG" value = 200 } ai_strategy = { type = declare_war id = "ENG" value = 200 } } DEN_avoid_unready_war_with_SOV = { allowed = { original_tag = DEN } enable = { has_wargoal_against = SOV NOT = { has_war_with = SOV } NOT = { DEN_ai_ready_to_attack_SOV = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "SOV" value = -2000 } ai_strategy = { type = declare_war id = "SOV" value = -2000 } } DEN_prepare_war_with_SOV = { allowed = { original_tag = DEN } enable = { has_wargoal_against = SOV NOT = { has_war_with = SOV } DEN_ai_ready_to_attack_SOV = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "SOV" value = 200 } ai_strategy = { type = conquer id = "SOV" value = 200 } ai_strategy = { type = declare_war id = "SOV" value = 200 } } DEN_avoid_unready_war_with_UKR = { allowed = { original_tag = DEN } enable = { has_wargoal_against = UKR NOT = { has_war_with = UKR } NOT = { DEN_ai_ready_to_attack_UKR = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "UKR" value = -2000 } ai_strategy = { type = declare_war id = "UKR" value = -2000 } } DEN_prepare_war_with_UKR = { allowed = { original_tag = DEN } enable = { has_wargoal_against = UKR NOT = { has_war_with = UKR } DEN_ai_ready_to_attack_UKR = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "UKR" value = 200 } ai_strategy = { type = conquer id = "UKR" value = 200 } ai_strategy = { type = declare_war id = "UKR" value = 200 } } DEN_avoid_unready_war_with_BLR = { allowed = { original_tag = DEN } enable = { has_wargoal_against = BLR NOT = { has_war_with = BLR } NOT = { DEN_ai_ready_to_attack_BLR = yes } } abort_when_not_enabled = yes ai_strategy = { type = conquer id = "BLR" value = -2000 } ai_strategy = { type = declare_war id = "BLR" value = -2000 } } DEN_prepare_war_with_BLR = { allowed = { original_tag = DEN } enable = { has_wargoal_against = BLR NOT = { has_war_with = BLR } DEN_ai_ready_to_attack_BLR = yes } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = "BLR" value = 200 } ai_strategy = { type = conquer id = "BLR" value = 200 } ai_strategy = { type = declare_war id = "BLR" value = 200 } } #Armenia Content DEN_againts_armenian_expansion_poland_puppet = { allowed = { original_tag = DEN } 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 } }