Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix item duplication if player dies during interact callback (alternative) ↵ | sfan5 | 2021-10-25 | 1 | -6/+15 |
| | | | | (#11662) | ||||
* | Clean up/improve some scriptapi error handling code | sfan5 | 2021-09-10 | 1 | -6/+9 |
| | |||||
* | Call on_secondary_use when object is right-clicked | sfan5 | 2019-11-10 | 1 | -3/+2 |
| | |||||
* | Raycast: export exact pointing location (#6304) | Dániel Juhász | 2018-08-16 | 1 | -2/+2 |
| | | | | | * Return intersection point in node coordinates. * Clarify 'intersection_point' documentation | ||||
* | Fix builtin inventory list crash when size = 0 (#7297) | SmallJoker | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | Unkown nodes: Provide position on interact (#6505) | SmallJoker | 2017-10-07 | 1 | -4/+7 |
| | | | | * Unkown nodes: Provide position on interact | ||||
* | Set placer to nil instead of a non-functional one in item_OnPlace (#6449) | DTA7 | 2017-09-21 | 1 | -1/+6 |
| | | | | | | * 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 Blot | 2017-08-20 | 1 | -4/+6 |
| | | | | | | | | | | | * 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 Glize | 2017-04-29 | 1 | -22/+1 |
| | | | | * [CSM] Add event on_place_node API lua | ||||
* | Add `get_wielded_item` | red-001 | 2017-03-13 | 1 | -6/+6 |
| | |||||
* | Add on_secondary_use when right clicking an item in the air | Alex Ford | 2015-12-02 | 1 | -0/+26 |
| | |||||
* | Push error handler afresh each time lua_pcall is used | Kahrl | 2015-08-27 | 1 | -10/+20 |
| | | | | | 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 messages | kwolekr | 2015-08-12 | 1 | -0/+3 |
| | |||||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 | 1 | -11/+6 |
| | |||||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 | 1 | -6/+6 |
| | |||||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 | 1 | -8/+8 |
| | |||||
* | Only push the Lua error handler once | ShadowNinja | 2014-04-27 | 1 | -36/+22 |
| | |||||
* | Add more informative error messages for inventory and item method errors | ShadowNinja | 2014-03-15 | 1 | -10/+35 |
| | |||||
* | Pass a errfunc to lua_pcall to get a traceback | ShadowNinja | 2013-11-15 | 1 | -29/+41 |
| | |||||
* | Add a callback: minetest.register_on_craft(itemstack, player, | Novatux | 2013-11-01 | 1 | -0/+51 |
| | | | | | | 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 mainmenu | Kahrl | 2013-08-14 | 1 | -0/+3 |
| | |||||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 | 1 | -0/+164 |
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) |