Abilty to nil tag.icon to remove SignalId

Post Reply
User avatar
Cooldude2606
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Sat Sep 16, 2017 9:04 pm
Contact:

Abilty to nil tag.icon to remove SignalId

Post by Cooldude2606 »

We are already able to set an icon for a chart tag with LuaCustomChartTag.icon; would it be possible to allow setting a nil value which will cause the tag to show the "tag marker" which a tag has by default? So far I have needed to remake a chart tag in order to remove the icon.
--- Developer for Explosive Gaming factorio community. Find our code on GitHub. Please contact me via our Discord. ---

User avatar
Cooldude2606
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Sat Sep 16, 2017 9:04 pm
Contact:

Re: Abilty to nil tag.icon to remove SignalId

Post by Cooldude2606 »

This has been added in 1.1.36 and can be moved to implemented mod requests.
Fixed clearing LuaCustomChartTag.icon by writing nil or empty SignalID.
--- Developer for Explosive Gaming factorio community. Find our code on GitHub. Please contact me via our Discord. ---

Post Reply

Return to “Implemented mod requests”