cecilbowen / pokemon-sandwich-simulator

Simulate making sandwiches for Pokemon Scarlet and Violet.
https://cecilbowen.github.io/pokemon-sandwich-simulator/
98 stars 35 forks source link

There are recipes that should fail #6

Closed leonluisgj closed 1 year ago

leonluisgj commented 1 year ago

For example, I was testing x6 chorizo x4 cream cheese, (no top bread, single player), and in the game this recipe is a complete failure, until I dial back to 4 chorizo and other 2 ingredients, while the calc says that is valid.

I see that on your tests you have 6x rice recipes, so it might not be a number of ingredients threshold but a flavour threshold?

leonluisgj commented 1 year ago

Maybe it is number of repeated portions instead of repeated ingredients, as 6x chorizo is actually 18 chorizo, so there is a number between 12 and 15 that causes the sandwich to become gross.

leonluisgj commented 1 year ago

After testing with both basil and watercress.

4x watercress (total 12) + mayo, succesful sandwich 5x watercress (totals 13 and 15) + mayo failure

4x basil (total 16) + mayo: failure 3x basil (total 12) + mayo: success

cecilbowen commented 1 year ago

Yes, if you have more than 12 of a single ingredient, your recipe will result in a one star (failure). This number varies slightly in multiplayer. The star level is stored in the program, it was just not displayed to the user. I have updated the program to display the star level to account for this.