is it possible to make custom light sources? I want to make a light that is wider, to be better suited for large rooms.
if possible it would be cool to also change which color the light is produced
light_source = 0, -- Amount of light emitted by nodewhitephoenix wrote:As far as I can tell you cannot change the color, but you change a nodes light value using light_source as described in the lua_api specification file:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
light_source = 0, -- Amount of light emitted by node
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
Users browsing this forum: No registered users and 2 guests