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

Allow forbidding parallel AI queues for specific TechnoTypes #1301

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Starkku
Copy link
Contributor

@Starkku Starkku commented Jul 7, 2024

Forbid parallel AI queues

  • You can also exclude specific TechnoTypes from being built in parallel by AI by setting ForbidParallelAIQueues to true on a TechnoType.

In rulesmd.ini

[SOMETECHNO]                  ; TechnoType
ForbidParallelAIQueues=false  ; boolean

In addition, ForbidParallelAIQueues seemed to have some problems working, particularly with VehicleTypes. Resetting the current factory after unit is kicked out seemed to fix this but I am unsure if there are any unforeseen consequences. I have not noticed any so far myself.

@Starkku Starkku force-pushed the feature/techno-disallowparallel branch from 7384c77 to e28b6d5 Compare July 11, 2024 13:49
Copy link

github-actions bot commented Jul 11, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Starkku Starkku force-pushed the feature/techno-disallowparallel branch from e28b6d5 to c5753ae Compare July 12, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant