summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_entity.cpp
Commit message (Collapse)AuthorAge
* [CSM] Add event on_place_node API lua (#5548)Vincent Glize2017-04-29
| | | | * [CSM] Add event on_place_node API lua
* Hardware coloring for itemstacksDániel Juhász2017-04-08
| | | | | | | | | | Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
* Tell on_punch to expect a return valueDuane Robertson2017-02-01
| | | | | The return value should be interpreted as a boolean saying whether the lua on_punch function handled damage or the system needs to.
* Make entity on_punch have same signature and behaviour as player on_punchsapier2017-01-28
|
* 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
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-15
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Add an option to disable object <-> object collision for Lua entitiesPilzAdam2013-07-20
|
* 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)