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:
@@ -19,12 +19,14 @@ local item_max = {
|
|||||||
|
|
||||||
-- entity
|
-- entity
|
||||||
local function EE(source, tier)
|
local function EE(source, tier)
|
||||||
|
local item
|
||||||
|
|
||||||
if source == 'assembling-machine' then
|
if source == 'assembling-machine' then
|
||||||
local item = table.deepcopy(data.raw['assembling-machine']['assembling-machine-3'])
|
item = table.deepcopy(data.raw['assembling-machine']['assembling-machine-3'])
|
||||||
elseif source == 'electric-furnace' then
|
elseif source == 'electric-furnace' then
|
||||||
local item = table.deepcopy(data.raw['furnace']['electric-furnace'])
|
item = table.deepcopy(data.raw['furnace']['electric-furnace'])
|
||||||
else
|
else
|
||||||
local item = table.deepcopy(data.raw['assembling-machine'][source])
|
item = table.deepcopy(data.raw['assembling-machine'][source])
|
||||||
end
|
end
|
||||||
|
|
||||||
item.name = source .. '-' .. tier
|
item.name = source .. '-' .. tier
|
||||||
|
|||||||
Reference in New Issue
Block a user