aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_item.cpp
AgeCommit message (Collapse)Author
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-05-20Fix missing ignore textures (#7326)you
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2017-08-19Code modernization: subfolders (#6283)Loïc Blot
* 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
2017-04-19Fix various copy instead of const ref reported by cppcheck (#5615)Loïc Blot
* Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck
2017-04-12Fix inability to change metadata using stack:to_table() (#5547)numberZero
2017-04-08Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot
(#5541) We are bundling Lua5.1 which has same macro
2017-03-13Add `get_wielded_item`red-001
2017-02-07Fix incompatibility of ItemStack.to_table() introduced by stack metarubenwardy
2017-02-04Add ItemStack key-value meta storagerubenwardy
2016-09-08Add minetest.unregister_item and minetest.register_alias_forcepaly2
2016-01-15Make ItemStack:set_count(0) clear the item stacksfan5
fixes minetest/minetest_game#786
2014-12-28LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵kwolekr
set_metadata
2014-05-08Use "core" namespace internallyShadowNinja
2014-03-15Remove lua_State parameter from LuaError::LuaErrorShadowNinja
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-09-28Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStackPilzAdam
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-07-14Change ContentFeatures array to a vectorKahrl
2013-06-27Add minetest.get_mapgen_object to APIkwolekr
2013-06-27Add LuaVoxelManipkwolekr
2013-05-25Fix itemstack:add item not working correctsapier
2013-05-25Move scriptapi to separate folder (by sapier)sapier
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)