Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic ai_strategy variable false positive #176

Open
Zankoas opened this issue Jul 3, 2022 · 0 comments
Open

Dynamic ai_strategy variable false positive #176

Zankoas opened this issue Jul 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Zankoas
Copy link
Contributor

Zankoas commented Jul 3, 2022

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

Full screenshot:
image

@Zankoas Zankoas added the bug Something isn't working label Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant