Crafting System Update v1.06


I have updated the Crafting System Plugin to version 1.06 with the following fixes:

  • Identified several issues with ingredient categories and recipes containing them:
    • Recipes containing multiple 'category' requirements didn't work. They would always return a total failure, as the logic for checking for item categories did not support checking against multiple categories in the same recipe.
    • Similarly, a quirk in that same logic caused total crafting failure of recipes that contained only a single category item, but only if there was another ingredient in the ingredients provided that had a lower ID in the database than the provided category item. 
    • Partial recipe checking did not look at category items at all, meaning a known working recipe that contained one category item (the Cooked Meat item in the demo, for example) would total fail if an extra item was provided in the interface, when it should cause a partial match, and provide the cooked meat item (and toss the extra ingredient).
    • A partial recipe match that contained a category item would always report that item as being lost in the loss report window, even if it was used in the partial recipe. This wasn't something that would've been possible to notice, as the above issue would've prevented a partial match from succeeding in the first place.

Unfortunately, I was unable to completely resolve the first issue listed above. As a workaround, recipes can now only have one 'category' item, and it can only be the first item in the recipe. Previously, you were able to define recipes that contained up to four 'category items' but, as noted above, recipes using more than one were never processed correctly, and as a result, never worked.

I have reworked the logic that checks for category items, such that their database position has no effect on their success, and partial recipe checks now take category items into account, so adding erroneous extra ingredients to a recipe that has a category item in it will now properly cause a partial match instead of a total failure.

I will work on bringing back multiple category item support in a future release, so if this was something you were interested in keep your eyes peeled for further updates. Sorry for any inconvenience caused by the removal of this function in the meantime. 

As always, thanks for your support, and if you have any bugs or issues to report, or require assistance in setting this plugin up, feel free to reach out to me on the RPGMakerweb forums, here, on the Lunatic Coders Discord server, or DM me on discord (Ramza#3215).

Files

Plugin Download 173 kB
Aug 18, 2019

Get MV - Crafting System

Buy Now$18.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.