While playing around with the standard assets of my newly installed RPG Maker MZ, I noticed about ItemCombineScene plugin of Sasuke KANNAZUKI which comes with the maker itself and enables users to do some basic (but very nice!) crafting.
I find this really nice and easy to add to games, but encountered an error and another point which I'd liked to change. So i created a (very little) mod.
1) When users are setting up the plugin at first time, most users (at lead I did) will maybe not set up everything correct in the first place. When you do not specify an Item as a "material" at all, an error will pop up telling you "candidates[this._category] is not iterable". Baaam. If you do not programm, you may be stuck here. So. It was clear that something was missing and I already described that it was because I did not specify any Item with the <material:xxxx> tag. This results in no "candidate" being able to present in the menu and forces this error to appear. I changed a line of code to catch this and now it does not even matter, if some "material" is spefified or not. If not, the menu for item combination will just be empty.
2) I noticed that with an item specified as "material", this material will be present in the menu even if it is not currently owned by the player. So EVERY Item specified als material will be visible in the menu from the beginning. This is kind of a big spoiler in my eyes, but may be useful for some of you. So I added a parameter which let u choose to display such items or to just display items that the player currently possesses.