ETH_ai_historical_path = { OR = { is_historical_focus_on = yes has_global_flag = ETH_HISTORICAL_FOCUS_PATH } } ETH_ai_not_historical_path = { OR = { has_global_flag = ETH_MONARCHIST_FOCUS_PATH has_global_flag = ETH_COMMUNIST_FOCUS_PATH } } ETH_ai_not_monarchist_path = { NOT = { has_global_flag = ETH_MONARCHIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = ETH_HISTORICAL_FOCUS_PATH has_global_flag = ETH_COMMUNIST_FOCUS_PATH } } ETH_ai_not_communist_path = { NOT = { has_global_flag = ETH_COMMUNIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = ETH_HISTORICAL_FOCUS_PATH has_global_flag = ETH_MONARCHIST_FOCUS_PATH } } ETH_ai_can_attack_eri_trigger = { country_exists = ERI has_wargoal_against = ERI NOT = { is_in_faction_with = ERI } ERI = { is_in_faction = no is_subject = no has_war = no NOT = { any_of_scopes = { array = ERI.guaranteeing_nations exists = yes has_guaranteed = ERI } } } strength_ratio = { tag = ERI ratio > 1.5 } }