Types/LightFlickeringDefinition: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Specifies the light flicker. Note that this defaults to "showing a white light" instead of the usually expected "showing nothing". == Optional properties == ===...")
 
(Removed old prototype docs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/LightFlickeringDefinition.html https://lua-api.factorio.com/latest/types/LightFlickeringDefinition.html]
Specifies the light flicker. Note that this defaults to "showing a white light" instead of the usually expected "showing nothing".


== Optional properties ==
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
=== minimum_intensity ===
'''Type''': [[Types/float]]
 
'''Default''': 0.2
 
Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.
 
=== maximum_intensity ===
'''Type''': [[Types/float]]
 
'''Default''': 0.8
 
Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.
 
=== derivation_change_frequency ===
'''Type''': [[Types/float]]
 
'''Default''': 0.3
 
=== derivation_change_deviation ===
'''Type''': [[Types/float]]
 
'''Default''': 0.06
 
=== border_fix_speed ===
'''Type''': [[Types/float]]
 
'''Default''': 0.02
 
=== minimum_light_size ===
'''Type''': [[Types/float]]
 
'''Default''': 0.5
 
The radius of the light in tiles.
Note, that the light gets darker near the edges, so the effective size of the light seems to be smaller.
 
=== light_intensity_to_size_coefficient ===
'''Type''': [[Types/float]]
 
'''Default''': 0.5
 
=== color ===
'''Type''': [[Types/Color]]
 
'''Default''': {r=1, g=1, b=1} (White)
 
Color of the light.

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/LightFlickeringDefinition.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.