Automatic item and node colorization (#5640)
authorDániel Juhász <juhdanad@gmail.com>
Tue, 20 Jun 2017 09:19:56 +0000 (09:19 +0000)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
commit322e5aaf9285e9686101393967f1a3c1e7db986c
tree27333ec46921d624cbe96b3d082a0cf189239e90
parent03bc584f5738e21ef6c07e7c0928d0083be9995e
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