LuaEntity.map_color [rw]

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

LuaEntity.map_color [rw]

Post by Godmave »

The subject says it all I guess.

But I guess it's a prototype thing and can't be controlled per single entity :(

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: LuaEntity.map_color [rw]

Post by posila »

That probably won't happen, definitelly not for all entity types. It is not really worth having space for color on every entity just in case mod wants to change it.

User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

Re: LuaEntity.map_color [rw]

Post by Godmave »

For my purpose it would be enough if lamps had it :D

Or set the map_color of lamps to the color they are showing when circuit connected and there is nothing to do for the mod anymore ;)

User avatar
H8UL
Fast Inserter
Fast Inserter
Posts: 114
Joined: Mon May 15, 2017 4:02 pm
Contact:

Re: LuaEntity.map_color [rw]

Post by H8UL »

Godmave wrote:
Wed Nov 28, 2018 8:04 pm
Or set the map_color of lamps to the color they are showing when circuit connected
Make it toggle with electric network and it would be a cute quality of life feature for vanilla! :)
Shameless mod plugging: Ribbon Maze

Post Reply

Return to “Modding interface requests”