LuaGuiElement.type

User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 305
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

LuaGuiElement.type

Post by SupplyDepoo »

This should be GuiElementType, not string: https://lua-api.factorio.com/latest/cla ... .html#type
curiosity
Filter Inserter
Filter Inserter
Posts: 484
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: LuaGuiElement.type

Post by curiosity »

Every type is like that.
User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 305
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

Re: LuaGuiElement.type

Post by SupplyDepoo »

Can mods add new GUI element types?
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaGuiElement.type

Post by Bilka »

SupplyDepoo wrote: Sun Jan 21, 2024 2:48 pm This should be GuiElementType, not string: https://lua-api.factorio.com/latest/cla ... .html#type
Thanks for the note, changed for the next release.
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 “Resolved Requests”