Update main.lua

This commit is contained in:
PHIDIAS
2023-03-17 20:33:01 +09:00
parent 8b0131b258
commit 5822f1a271

View File

@@ -49,10 +49,12 @@ end
-- item -- item
local function EI(source, tier) local function EI(source, tier)
local item
if source == 'assembling-machine' then if source == 'assembling-machine' then
local item = table.deepcopy(data.raw.item['assembling-machine-3']) item = table.deepcopy(data.raw.item['assembling-machine-3'])
else else
local item = table.deepcopy(data.raw.item[source]) item = table.deepcopy(data.raw.item[source])
end end
item.name = source .. '-' .. tier item.name = source .. '-' .. tier