2168.108 Error MainLoop.cpp:1016: Exception at tick 223194: Error while running event fast-filter-fill::on_gui_click (ID 1)
Unknown item name: curved-rail
stack traceback:
fast-filter-fill/control.lua:275: in function 'handler'
fast-filter-fill/control.lua:23: in function <fast-filter-fill/control.lua:20>
Curved rail consists of 4 straight rails. But do we need to add a hardcoded workaround for this item or can we receive some information from the entity?
2168.108 Error MainLoop.cpp:1016: Exception at tick 223194: Error while running event fast-filter-fill::on_gui_click (ID 1) Unknown item name: curved-rail stack traceback: fast-filter-fill/control.lua:275: in function 'handler' fast-filter-fill/control.lua:23: in function <fast-filter-fill/control.lua:20>
Curved rail consists of 4 straight rails. But do we need to add a hardcoded workaround for this item or can we receive some information from the entity?
Edit: http://lua-api.factorio.com/latest/LuaEntityPrototype.html#LuaEntityPrototype.items_to_place_this should work.