Expose drag-and-drop list to Lua

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
curiosity
Fast Inserter
Fast Inserter
Posts: 172
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Expose drag-and-drop list to Lua

Post by curiosity »

What I am asking for is for LuaGuiElement to support a rearrangeable list, like the one used by the game to display train schedule.

asiomido
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon May 30, 2022 2:55 am
Contact:

Re: Expose drag-and-drop list to Lua

Post by asiomido »

i too would like to see this

Rseding91
Factorio Staff
Factorio Staff
Posts: 12213
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Expose drag-and-drop list to Lua

Post by Rseding91 »

Unfortunately there is no generic drag-and-drop list. Every one you see in the base game is a custom implementation based off the way it needs to be used in that GUI.
If you want to get ahold of me I'm almost always on Discord.

curiosity
Fast Inserter
Fast Inserter
Posts: 172
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Expose drag-and-drop list to Lua

Post by curiosity »

Even exposing the train schedule list may be enough for some cases. Though, IMO, maybe not at the cost of having to maintain it for backward compatibility if/when a proper drag-and-drop list is added.

And then again, if there isn't one currently, doesn't mean there can't be one. Even when it will take some doing.

Post Reply

Return to “Modding interface requests”