CheckCraftArea

CheckCraftArea
int CheckCraftArea ( void )

Function is located within Inventory/script/CRAFT_Funcs.dh

Description:
CheckCraftArea is called on every successfully placed item in the Crafting inventory. It runs through each array position and places origin item indexes into a list, checking that list against the RecipeList[], which points to the ItemList[n].RECIPE[i] struct property.

If the ingredient list matches any RecipeList recipe, the item index of that recipe will be returned.