mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update main.lua
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user