diff options
author | Zefram <zefram@fysh.org> | 2014-04-22 20:12:49 +0100 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-04-22 16:52:04 -0400 |
commit | fa0142c2c005ba8bf1bc44a2e0c9d34fbd2f1cf4 (patch) | |
tree | 00a58de431690a70f8273038ea5918852bf29277 /internal.lua | |
parent | 34a52a4c0fa6cf9c060b8076202278de30d1004c (diff) |
Look for recipes under an item's aliases
get_all_craft_recipes() returns the recipes that were registered under the
specified name, so asking about an item's canonical name won't see recipes
registered under an alias, and vice versa. Several mods register recipes
under aliases, so the craft guide was missing that handful of recipes.
To work around it, invert the aliases table and ask explicitly about
each alias.
Diffstat (limited to 'internal.lua')
0 files changed, 0 insertions, 0 deletions