mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -54,6 +54,14 @@ end
|
|||||||
|
|
||||||
-- entity
|
-- entity
|
||||||
function main.EEE(source, tier)
|
function main.EEE(source, tier)
|
||||||
|
if not data.raw[source.type] then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if not data.raw[source.type][source.ref_name] then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
||||||
item.name = source.name .. '-' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.minable.result = item.name
|
item.minable.result = item.name
|
||||||
|
|||||||
Reference in New Issue
Block a user