summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_item.cpp
Commit message (Collapse)AuthorAge
* Code modernization: subfolders (#6283)Loïc Blot2017-08-19
| | | | | | | | | | | | | * Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo
* Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot2017-04-19
| | | | * Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
* Fix inability to change metadata using stack:to_table() (#5547)numberZero2017-04-12
|
* Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot2017-04-08
| | | | | (#5541) We are bundling Lua5.1 which has same macro
* Add `get_wielded_item`red-0012017-03-13
|
* Fix incompatibility of ItemStack.to_table() introduced by stack metarubenwardy2017-02-07
|
* Add ItemStack key-value meta storagerubenwardy2017-02-04
|
* Add minetest.unregister_item and minetest.register_alias_forcepaly22016-09-08
|
* Make ItemStack:set_count(0) clear the item stacksfan52016-01-15
| | | | fixes minetest/minetest_game#786
* LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr2014-12-28
| | | | set_metadata
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-15
|
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-18
|
* Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStackPilzAdam2013-09-28
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Change ContentFeatures array to a vectorKahrl2013-07-14
|
* Add minetest.get_mapgen_object to APIkwolekr2013-06-27
|
* Add LuaVoxelManipkwolekr2013-06-27
|
* Fix itemstack:add item not working correctsapier2013-05-25
|
* 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)