deltaone/factorio-lua-processor

Crafting Recipes With Angel's Ores

SalDiAngelus opened this issue · 0 comments

I'm having trouble setting CPU output to an Angel's Ore recipe. I can set a RAM signal in game to 'Recipe Crushed Saphrite' and read the value 'angelsore1-crushed' in the script from the RAM snapshot. But if I call object.io:out("angelsore1-crushed", 1), I get the following error:

Error while running event lua-processor::on_tick (ID 0) Unknown item name: angelsore1-crushed stack traceback: __lua-processor__/bios.lua:92: in function 'outs' __lua-processor__/programs/storage-controller.lua:57: in function 'on_tick' __lua-processor__/control.lua:63: in function 'on_tick' __lua-processor__/control.lua:235: in function <__lua-processor__/control.lua:209>

I was using the blueprint in the readme and my modified storage-controller.lua is attached.
Any help would be appreciated.
storage-controller.lua