Read access to icon_selector on a LuaGuiElement

User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 152
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Read access to icon_selector on a LuaGuiElement

Post by Osmo »

I'm working on a mod that allows editing Gui Elements in-game, and all of the properties which can be set on the elements can then be read back in some way.
Except for the icon_selector, which can be set on textboxes and textfields, but there is no way for a script to read whether it is set.
Read-write access would be good if possible, but just read only is more than enough.
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Read access to icon_selector on a LuaGuiElement

Post by Bilka »

Okay, added LuaGuiElement::icon_selector read for 2.0.67.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”