summaryrefslogtreecommitdiff
path: root/api.lua
AgeCommit message (Collapse)Author
2014-04-29Don't overwrite registered craftsZefram
The crafts_table was being initialised to contain only core-registered crafts, but this would overwrite any non-core craft types that had already been registered via unified_inventory.register_craft(). This was especially likely because the crafts_table initialisation runs on a delay, following all normal initialisation. Instead, feed the core-registered crafts into unified_inventory.register_craft().
2014-04-22Look for recipes under an item's aliasesZefram
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.
2014-01-19Remove unnecessary recipe table copyingShadowNinja
2014-01-19Remove trailing whitespaceShadowNinja
2013-10-07Fix the bug clearing other than default crafting methods.RealBadAngel
2013-09-28UpdateShadowNinja
2013-09-21Update modRealBadAngel