====== OnCraftingNoRecipe hook callback function ======
This callback is called when a player places items in their crafting grid and MCServer cannot find a built-in recipe for the combination. Plugins may provide a recipe for the ingredients given.

===== Function signature =====
<code lua>
function OnCraftingNoRecipe(Player, Grid, Recipe)
</code>
Parameters:
| Player | [[API:cPlayer|cPlayer]] | The player for whom the recipe is being searched |
| Grid | [[API:cCraftingGrid|cCraftingGrid]] | The contents of the player's crafting grid |
| Recipe | [[ API:cCraftingRecipe|cCraftingRecipe]] | The recipe that will be used |

===== Return values =====
If the function returns "false" or no value, no recipe will be used.
If the function returns "true", no other plugin will have their callback called for this event and MCServer will use the crafting recipe in Recipe.

FIXME: To allow plugins give suggestions and overwrite other plugins' suggestions, we should change the behavior with returning "false", so that the recipe will still be used, but fill the recipe with empty values by default.

===== Registering the callback =====
To register your plugin to receive a callback through this function, use the hook [[api:plugin:hooks|HOOK_CRAFTING_NO_RECIPE]]
<code lua>
PluginManager = cPluginManager:GetPluginManager();
PluginManager:AddHook(Plugin, cPluginManager.HOOK_CRAFTING_NO_RECIPE);
</code>
