COM_avoid_unready_war_with_FRA = { allowed = { original_tag = COM } enable = { has_wargoal_against = FRA NOT = { has_war_with = FRA } NOT = { strength_ratio = { tag = FRA ratio > 1.2 } } } abort_when_not_enabled = yes ai_strategy = { type = declare_war id = FRA value = -4000 } ai_strategy = { type = conquer id = FRA value = -4000 } } COM_prepare_war_with_FRA = { allowed = { original_tag = COM } enable = { has_wargoal_against = FRA NOT = { has_war_with = FRA } strength_ratio = { tag = FRA ratio > 1.2 } } abort_when_not_enabled = yes ai_strategy = { type = prepare_for_war id = FRA value = 200 } ai_strategy = { type = declare_war id = FRA value = 200 } ai_strategy = { type = conquer id = FRA value = 200 } }