[2.0.72] LuaItem and LuaRecord support with get_quick_bar_slot

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Gweneph
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Thu Nov 14, 2019 11:51 pm
Contact:

[2.0.72] LuaItem and LuaRecord support with get_quick_bar_slot

Post by Gweneph »

Right now items with data like spidertron remotes, blueprints, etc. as well as LuaRecords in quick bar slots result in get_quick_bar_slot returning nil for that index. That's not ideal when we're trying to figure out what's there. According to the docs I guess that's expected, but could we get a union and have anything besides an empty slot return something useful?
Post Reply

Return to “Modding interface requests”