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

Bot won't use its best plate for a recipe, keeping the last used instead #9

Closed
Farfi55 opened this issue Aug 18, 2023 · 1 comment
Closed
Labels
AI related to Artificial Intelligence enhancement New feature or request

Comments

@Farfi55
Copy link
Owner

Farfi55 commented Aug 18, 2023

Strategic AI assigns recipes to bots based on the estimated time it takes to complete the recipe, which is calculated using the 'best' plate owned by the bot (if it has any).

But the bot currently has no way to change its 'current' plate to the best one.

We could create a new state (or extend an existing one) to pick up a better owned plate if he has any.

@Farfi55
Copy link
Owner Author

Farfi55 commented Aug 20, 2023

Fixed by adding a second case to PickUp plate state, which is:

when there is a better plate for the current recipe
pick that one instead

This sets the Bot's plate to this new one.

It would be more elegant to handle this without having to pickup the plate (and usualy dropping it off immediately), but it works for now, and it could play nicely once the place plate gets expanded to place the plate in a more central location

@Farfi55 Farfi55 closed this as completed Aug 20, 2023
@Farfi55 Farfi55 added AI related to Artificial Intelligence enhancement New feature or request labels Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI related to Artificial Intelligence enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant