AsherGlick / ResourceCalculator

A Video Game Resource Calculator
https://resourcecalculator.com
GNU General Public License v3.0
56 stars 30 forks source link

If amount of already owned base ingredient is less than required but non zero, missing ingredient doesn't show the difference #105

Open tzmanish opened 10 months ago

tzmanish commented 10 months ago

In below image, all is good

no already owned base ingredients image

However, as soon as I add any number of slime balls to already owned, the count get's messed up

1 slime ball already owned In the diagram it looks like 1 slimeball is being crafted into 10 slimeballs

AsherGlick commented 10 months ago

I think I see what is happening When there is a Slimeball [from Inventory] item is is taking up that first column, the second column then has this magic new quantity of Slimeball which should have originally been in the first column.

This seems to only effect raw resources in the first column, testing this out with 4 Oak Planks in the inventory created an expected result. Screenshot Screenshot

That first column is also what is used to determine what resources you will need, which explains why it is missing from the list of base ingredients.