Open
Description
Dynamic ai_strategy
variables throw a lot of errors, such as here:
modifier = {
NOT = { has_war_with = FROM }
OR = {
check_variable = { FROM.ai_strategy_conquer@THIS > 0 }
check_variable = { FROM.ai_strategy_antagonize@THIS > 0 }
check_variable = { FROM.ai_strategy_declare_war@THIS > 0 }
check_variable = { FROM.ai_strategy_prepare_for_war@THIS > 0 }
any_owned_state = { is_claim_or_core_of_FROM = yes }
}
factor = 1.5
}
Seems the issue is with with multiple links at the same time; if you remove FROM part the error will disappear.
Similar too this issue: #34