mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-15 05:34:52 +09:00
.
This commit is contained in:
1 parent
58141dbe8a
commit
c56a745abf
1 file changed
+8
@@ -54,6 +54,14 @@ end
|
||||
|
||||
-- entity
|
||||
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])
|
||||
item.name = source.name .. '-' .. tier
|
||||
item.minable.result = item.name
|
||||
|
||||
Reference in new issue
Block a user