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

Task Manager #2

Open
kira0x1 opened this issue Jun 26, 2024 · 0 comments
Open

Task Manager #2

kira0x1 opened this issue Jun 26, 2024 · 0 comments

Comments

@kira0x1
Copy link
Owner

kira0x1 commented Jun 26, 2024

Have a task manager that will manage a list of tasks, and their priorities.
Also manages finding suitable villager to do the task, and when a villager has stopped or is doing something else,
we check tasks and their priorities and see if we can find another villager to do the job or reassign villagers to other more
urgent tasks.

After a task manager picks a villager for a task the task manager then produces a list of subtasks that needs to be completed to finish the task.
I.E: to build wood wall
1. Find wood in stockpiles or whoever's closest to stockpile.
2. Bring Wood to build area.
3. start building.

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

No branches or pull requests

1 participant