LuaControl::crafting_queue can be nil if nothing is currently crafting
Posted: Thu Feb 19, 2026 1:58 am
The documentation states that it returns an array, but if nothing is being crafted, it returns nil.
https://lua-api.factorio.com/stable/cla ... ting_queue
https://lua-api.factorio.com/stable/cla ... ting_queue