Page 1 of 1

Light From a Burner Assembling Machine

Posted: Sat Apr 28, 2018 12:18 pm
by QGamer
How do I change the properties of the light that a burner assembling machine emits?
Specifically, I want to change the light so that there is no light emitted. I tried to do this:

Code: Select all

working_visualizations = {{ light = { intensity = 0, size = 0, color = { r = 0.0, g = 0.0, b = 0.0 }}}}
But it had no effect.

Re: Light From a Burner Assembling Machine

Posted: Sat Apr 28, 2018 12:35 pm
by Bilka
If you have a burner energy source, the light comes from that. Try setting the energy source light_flicker the same way you are setting the light right now. The color is a property of light_flicker, but there is currently a bug where you need to set it outside the light_flicker itself...

Code: Select all

energy_source = { light_flicker = { intensity = 0, size = 0}, color = { r = 0.0, g = 0.0, b = 0.0 }}

Re: Light From a Burner Assembling Machine

Posted: Sat Apr 28, 2018 9:16 pm
by QGamer
Bilka, thank you for the help. I tried it and it worked nicely. :D
Now my assembling machines don't glow in the dark anymore, unless I want them to.