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

Rework Bots Get Ingredient flow #4

Closed
Farfi55 opened this issue Aug 13, 2023 · 1 comment
Closed

Rework Bots Get Ingredient flow #4

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

Comments

@Farfi55
Copy link
Owner

Farfi55 commented Aug 13, 2023

  1. select final ingredient to add to plate
    1. if final ingredient is directly available then skip to step 7
  2. get base ingredient to transform into final ingredient
  3. select an available work counter to work on base ingredient
    1. if no work counter is available then trash base ingredient and restart
  4. place base ingredient on work counter
    1. if work counter is occupied then go to step 3
  5. work on base ingredient
    1. if base ingredient is not available then restart
  6. pick up final ingredient
    1. if final ingredient is not available then restart
  7. place final ingredient on plate
    1. if plate is occupied then place final ingredient on a clear counter
    2. else if no clear counter is available then thrash final ingredient
  8. repeat from step 1 until plate has all final ingredients required
@Farfi55
Copy link
Owner Author

Farfi55 commented Aug 17, 2023

Get Ingredient has been reworked and seems to be functioning pretty good, it is not as rigid as the first implementation.

example: if the player already has a final ingredient in hands, it will only add that ingredient to the plate, without executing the whole sequence from the start.

This applies to every point of the sequence.

I've also used distance to chose the 'best' counters to interact with

@Farfi55 Farfi55 closed this as completed Aug 17, 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