on_player_crafted_item: add recipe
Posted: Sat Sep 24, 2016 9:04 pm
i would require a way to find out what recipe was used on crafting an item (one that is much more efficient then searching through all recipes, even more since the the possibility to have more then one recipe for a certain item exists - due mods adding recipes for example ),
It would be really nice to have this added. (unless there is already a way, and i completely overlooked it after searching through it for an hour)
from:
to
It would be really nice to have this added. (unless there is already a way, and i completely overlooked it after searching through it for an hour)
from:
Code: Select all
on_player_crafted_item
<...>
Contains
item_stack :: LuaItemStack: The crafted item
Code: Select all
Contains
item_stack :: LuaItemStack: The crafted item
used_recipe :: LuaRecipe: Used Recipe