aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_item.h
Commit message (Collapse)AuthorAge
* Fix potential use-after-free with item metadata (#12729)Jude Melton-Houghton2022-09-14
| | | This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
* Add helper functions to make tool usable n times (#12047)Wuzzy2022-06-03
|
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* LuaItemStack: Add __tostring metamethod (#8785)Paul Ouellette2020-06-09
| | | | | * LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject
* Add ItemStack:get_description() to get tooltip (#8847)Paul Ouellette2019-08-24
|
* 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
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
| | | | * Migrate cpp headers to pragma once
* 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 ItemStack key-value meta storagerubenwardy2017-02-04
|
* Add minetest.unregister_item and minetest.register_alias_forcepaly22016-09-08
|
* Use "core" namespace internallyShadowNinja2014-05-08
|
* 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
|
* Add LuaVoxelManipkwolekr2013-06-27
|
* 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)