summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_craft.cpp
Commit message (Collapse)AuthorAge
* Fix various points reported by cppcheck (#5656)Loïc Blot2017-04-25
| | | | | | | | | | | | * Fix various performance issues reported by cppcheck + code style (CI) * Make CI happy with code style on master * guiFileSelectMenu: remove useless includes * some performance fixes pointed by cppcheck * remove some useless casts * TextDest: remove unused setFormSpec function * Fix various iterator post-increment reported by cppcheck
* Script API: Make the craft recipe field 'method' consistentSmallJoker2016-08-18
|
* Adding minetest.clear_craftFoghrye42016-07-05
| | | | | 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-25
| | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
* Fix bug when craft input isn't replacedTeTpaAka2015-06-22
|
* Fix minetest.get_craft_recipe functionest312015-03-23
| | | | Previously, calling it resulted in a crash.
* Optimize minetest.get_(all)_craft_recipe(s)gregorycu2015-03-20
| | | | Signed off by: ShadowNinja, kwolekr
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-15
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-15
| | | | | | | | 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-15
|
* Bugfix to get_all_craft_recipes.RealBadAngel2013-12-21
| | | | Indexes for empty slots shall not be skipped.
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-18
|
* Optimize table creationShadowNinja2013-11-30
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-15
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
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)