Lua Events/OnMakeItem
Event
OBSOLETE
OnMakeItem
Description
Triggered when a player is crafting an item.
Parameters
- InventoryItem The item used to make the item.
- InventoryItem The resulting item that is being created from applying the recipe.
- Recipe The recipe to make the resulting item.
Examples
local function OnMakeItem(item, resultItem, recipe) -- Your code here end Events.OnMakeItem.Add(OnMakeItem)
See also
No related event.