aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_itemstackmeta.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hardware coloring for itemstacksDániel Juhász2017-04-081-0/+5
| | | | | | | | | | Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
* Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot2017-04-081-1/+1
| | | | | (#5541) We are bundling Lua5.1 which has same macro
* Add ItemStack key-value meta storagerubenwardy2017-02-041-0/+115