summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_item.cpp
Commit message (Collapse)AuthorAge
* Fix builtin inventory list crash when size = 0 (#7297)SmallJoker2018-05-05
|
* Unkown nodes: Provide position on interact (#6505)SmallJoker2017-10-07
| | | | * Unkown nodes: Provide position on interact
* Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA72017-09-21
| | | | | | * Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
* Modernize source code: last part (#6285)Loïc Blot2017-08-20
| | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
* [CSM] Add event on_place_node API lua (#5548)Vincent Glize2017-04-29
| | | | * [CSM] Add event on_place_node API lua
* Add `get_wielded_item`red-0012017-03-13
|
* Add on_secondary_use when right clicking an item in the airAlex Ford2015-12-02
|
* Push error handler afresh each time lua_pcall is usedKahrl2015-08-27
| | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-12
|
* Improve Script CPP API diagnosticskwolekr2015-08-05
|
* Fix object reference pushing functions when called from coroutinesShadowNinja2014-10-07
|
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Only push the Lua error handler onceShadowNinja2014-04-27
|
* Add more informative error messages for inventory and item method errorsShadowNinja2014-03-15
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-15
|
* Add a callback: minetest.register_on_craft(itemstack, player,Novatux2013-11-01
| | | | | | old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv)
* 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)