aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_craft.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Script API: Make the craft recipe field 'method' consistentSmallJoker2016-08-181-4/+12
|
* Adding minetest.clear_craftFoghrye42016-07-051-1/+75
| | | | | Modifications by est31: grammar fixes in doc + error messages and a little style fix, no functional change.
* Fix minetest.get_(all)_craft_recipe(s) regressionest312015-07-251-3/+3
| | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
* Fix bug when craft input isn't replacedTeTpaAka2015-06-221-2/+7
|
* Fix minetest.get_craft_recipe functionest312015-03-231-0/+2
| | | | Previously, calling it resulted in a crash.
* Optimize minetest.get_(all)_craft_recipe(s)gregorycu2015-03-201-97/+75
| | | | Signed off by: ShadowNinja, kwolekr
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-151-14/+14
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-151-14/+14
| | | | | | | | This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89. Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this caused a second, empty traceback in most cases. In cases where there wasn't annother traceback the stack had already unwound and the traceback was empty.
* Make sure we get a stacktrace for as many lua errors as possibleSfan52014-03-151-14/+14
|
* Bugfix to get_all_craft_recipes.RealBadAngel2013-12-211-2/+2
| | | | Indexes for empty slots shall not be skipped.
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-181-14/+14
|
* Optimize table creationShadowNinja2013-11-301-37/+22
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-151-1/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-22/+9
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-251-0/+477
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)