aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_metadata.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot2018-06-301-1/+1
| | | | | | | | | * 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
* Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot2018-06-041-1/+1
| | | | | | | * Modernize lua read (part 1): C++ templating assurance Implement the float reader
* MetaDataRef: Add contains() and get() (#7214)rubenwardy2018-04-301-0/+36
|
* Add player:get_meta(), deprecate player attributes (#7202)rubenwardy2018-04-061-0/+1
| | | | * Add player:get_meta(), deprecate player attributes
* Check argument types inside MetaDataRef Lua API (#7045)sfan52018-02-181-6/+6
|
* Modernize source code: last part (#6285)Loïc Blot2017-08-201-4/+3
| | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
* Hardware coloring for itemstacksDániel Juhász2017-04-081-0/+14
| | | | | | | | | | 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.
* Derive NodeMetaRef from MetaDataRefrubenwardy2017-02-041-0/+252