[0.16.18] Problems with displaying "made in" items
Posted: Tue Jan 30, 2018 7:41 pm
I installed several mods and when I hover over the recipe I saw the following:
IMG
full screen
www.factorio.com
https://forums.factorio.com/
Code: Select all
require ("util")
for i=1,20 do
local item = util.table.deepcopy(data.raw["item"].centrifuge)
item.name = "centrifuge" .. i
item.place_result = "centrifuge" .. i
local machine = util.table.deepcopy(data.raw["assembling-machine"].centrifuge)
machine.name = "centrifuge" .. i
data:extend({machine, item})
end