Object properties: Add 'glow', disables light's effect if negative
authorRob Blanckaert <rob@withpiper.com>
Sat, 2 Sep 2017 06:12:15 +0000 (23:12 -0700)
committerparamat <mat.gregory@virginmedia.com>
Thu, 14 Sep 2017 03:06:05 +0000 (04:06 +0100)
commita9d43a04713dd0342d675f3bbb5cbacd863b4118
treedde4ca88964a67c1a27211eca6f6fcf96fc246d0
parent604fe2083d70fea92b6c53c9a9d1c1ffdcb36610
Object properties: Add 'glow', disables light's effect if negative

The 'glow' value is added to the ambient light value.
Negative 'glow' disables light's effect on object colour, for faking
self-lighting, UI-style entities, or programmatic colouring in mods.
doc/lua_api.txt
src/content_cao.cpp
src/content_cao.h
src/network/networkprotocol.h
src/object_properties.cpp
src/object_properties.h
src/script/common/c_content.cpp
src/script/common/c_converter.cpp
src/script/common/c_converter.h