Light From a Burner Assembling Machine

Place to get help with not working mods / modding interface.
User avatar
QGamer
Fast Inserter
Fast Inserter
Posts: 215
Joined: Fri Apr 14, 2017 9:27 pm
Contact:

Light From a Burner Assembling Machine

Post 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.
"Adam fell that men might be; and men are, that they might have joy."
Bilka
Factorio Staff
Factorio Staff
Posts: 3470
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Light From a Burner Assembling Machine

Post 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 }}
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
QGamer
Fast Inserter
Fast Inserter
Posts: 215
Joined: Fri Apr 14, 2017 9:27 pm
Contact:

Re: Light From a Burner Assembling Machine

Post 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.
"Adam fell that men might be; and men are, that they might have joy."
Post Reply

Return to “Modding help”