LaDestitute
In a year time when you look at a recipe "365790" you'll have no idea what it means. So I would recommend having recipes as text keys, not numbers. Say "wood,coal,iron", or with quantities: "wood:2,coal:2,iron:1", or with the final product name: "dagger#wood:2,coal:2,iron:1"
Create a couple of functions that construct and parse these recipes using tokenat, tokencount expressions.
You can sort the ingredient names in ascending order to make parsing easier.
Another good option - create a table of all recipes in Excel, export it to a CSV file, use CSV plugin to search for recipes and ingredients.
coal wood iron bronze wool
dagger, 2, 2, 1, 0, 0
sword, 2, 3, 1, 1, 0
armor, 0, 0, 1, 0, 2
[/code:3djyyg95]