Automatic item and node colorization (#5640)
authorDániel Juhász <juhdanad@gmail.com>
Tue, 20 Jun 2017 09:19:56 +0000 (09:19 +0000)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Tue, 20 Jun 2017 09:19:56 +0000 (11:19 +0200)
commit0fcaf9fb1b61caaf8ed78a5d3005b1d9d1c43b57
tree39b19a3fa61dc29b921739a26d7598222cdbd5f3
parent7c07cb4ec23ebb0f3d5f3d913bea205660515836
Automatic item and node colorization (#5640)

* Automatic item and node colorization

Now nodes with a palette yield colored item stacks, and colored items
place colored nodes by default. The client predicts the colorization.

* Backwards compatibility

* Use nil

* Style fixes

* Fix code style

* Document changes
builtin/game/falling.lua
builtin/game/item.lua
doc/lua_api.txt
src/game.cpp
src/inventory.cpp
src/inventory.h
src/script/lua_api/l_inventory.cpp
src/script/lua_api/l_inventory.h