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

Build worker condition #31

Open
DelgadoPanadero opened this issue Sep 5, 2021 · 0 comments
Open

Build worker condition #31

DelgadoPanadero opened this issue Sep 5, 2021 · 0 comments
Labels
enhancement New feature or request task Modifying a tree task? This is the label

Comments

@DelgadoPanadero
Copy link
Member

Sometimes workers are made by old tiles far from the unexplored resources. To avoid this, cities should have a build worker condition based on:

1 - find the nearest worker and check if it is near to the city
2 - assign that worker to the city
2 - if there is no worker near unassigned build a worker

@DelgadoPanadero DelgadoPanadero added enhancement New feature or request task Modifying a tree task? This is the label labels Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task Modifying a tree task? This is the label
Projects
None yet
Development

No branches or pull requests

1 participant