mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
@@ -385,11 +385,9 @@ end
|
|||||||
-- GM-VP C 1 SPACE_AGE ENTITY
|
-- GM-VP C 1 SPACE_AGE ENTITY
|
||||||
if data.raw['lab'] then
|
if data.raw['lab'] then
|
||||||
for _, v in pairs(data.raw['lab']) do
|
for _, v in pairs(data.raw['lab']) do
|
||||||
v.inputs = {}
|
for i = #v.inputs, 1, -1 do
|
||||||
|
if data.raw.item[v.inputs[i]] and data.raw.item[v.inputs[i]].hidden then
|
||||||
for _, v2 in pairs(data.raw['tool']) do
|
table.remove(v.inputs, i)
|
||||||
if not v2.hidden then
|
|
||||||
table.insert(v.inputs, v2.name)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user