Types/DaytimeColorLookupTable

From Official Factorio Wiki
Revision as of 11:37, 14 April 2020 by Bilka (talk | contribs) (Created page with "An array of arrays. The first member of the inner array must be a double, second member of the inner array must be a Types/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An array of arrays.

The first member of the inner array must be a double, second member of the inner array must be a FileName or "identity". The file pointed to by the filename must be a sprite of size 16x16.

Example

color_lookup = {{1, "identity"}}
color_lookup = {{0.5, "__core__/graphics/color_luts/nightvision.png"}}
zoom_to_world_daytime_color_lookup =
{
  {0.25, "identity"},
  {0.45, "__core__/graphics/color_luts/night.png"},
  {0.55, "__core__/graphics/color_luts/night.png"},
  {0.75, "identity"},
},