aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_item.h
Commit message (Collapse)AuthorAge
* Fix item duplication if player dies during interact callback (alternative) ↵sfan52021-10-25
| | | | (#11662)
* [CSM] Expose more env functionssfan52019-11-11
|
* Call on_secondary_use when object is right-clickedsfan52019-11-10
|
* Raycast: export exact pointing location (#6304)Dániel Juhász2018-08-16
| | | | | * Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
* Unkown nodes: Provide position on interact (#6505)SmallJoker2017-10-07
| | | | * Unkown nodes: Provide position on interact
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
| | | | * Migrate cpp headers to pragma once
* Expose getPointedThing to LuaDániel Juhász2017-07-07
| | | | | | This commit introduces Raycast, a Lua user object, which can be used to perform a raycast on the map. The ray is continuable, so one can also get hidden nodes (for example to see trough glass).
* Add on_secondary_use when right clicking an item in the airAlex Ford2015-12-02
|
* Fix all warnings reported by clangSfan52014-04-15
|
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-23
|
* 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)
* Fix class/struct forward declaration inconsistencies (good on ya, MSVC)Kahrl2013-06-06
|
* 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)