Status lights for everyone

by Mernom

Adds status lights for all entities that support them, as well as configure their coloring for different situations.

2 months ago
1.1
120
Owner:
Mernom
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
2 months ago
Latest Version:
0.0.1 (2 months ago)
Factorio version:
1.1
Downloaded:
120 times

Adds status lights to all entities, and updates the color table to be more descriptive of different states.
Colors stand to be changed in the future for better matches.

Current features:
) Every mod can mark their entities to be ignored, or override their color table.
status_lights_exceptions = status_lights_exceptions or {}
status_lights_exceptions[name] = {skip = true}
status_lights_exceptions[name] = {color = {working = {1,1,1,1} --[[white]] , no_power = {0,0,0,1} --[[black}]] }
) If the entity already has status lights defined, new lights won't be added, only the colors will be updated (if it's not marked for skipping).
Possible future features:
) Mod setting to change default colors.
) Mod setting to ignore small entities.