aboutsummaryrefslogtreecommitdiff
path: root/src/craftdef.h
AgeCommit message (Collapse)Author
2016-07-05Adding minetest.clear_craftFoghrye4
Modifications by est31: grammar fixes in doc + error messages and a little style fix, no functional change.
2015-06-22Fix bug when craft input isn't replacedTeTpaAka
2015-04-26Remove craftdef serialisationest31
It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted by protocol version 7.
2015-04-05Crafting speedupest31
This greatly increases crafting performance, especially in worlds with many mods. Approved by @kwolekr. Introduces a hash-type-layered fall-through mechanism, where every layer specifies one hash algorithm, and the "deeper the fall", the more collisions to expect for the algorithm. One Craft definition only resides at one layer, which improves speed for lower layers (and a complete fail), due to most craft definitions residing at high layers. Due to the fall-through design, the undocumented behaviour that later craft recipes override older ones had to be weaked up a bit, but craft recipes with the same hash and layer will still override.
2015-03-20Optimize minetest.get_(all)_craft_recipe(s)gregorycu
Signed off by: ShadowNinja, kwolekr
2013-03-05Added method to get all registered recipes for item(node)RealBadAngel
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-07-21Add minetest.get_craft_recipe()darkrose
2012-06-06Allow replacements in cooking and fuel recipesKahrl
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-01-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2011-11-29Crafting definition in scriptsPerttu Ahola