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:
@@ -326,7 +326,7 @@ for i=1, #recipe_list, 1 do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, tech in data.raw.technology do
|
for _, tech in pairs(data.raw.technology) do
|
||||||
for k, _ in pairs(tech.effects) do
|
for k, _ in pairs(tech.effects) do
|
||||||
if tech.effects[k].type == 'unlock-recipe' then
|
if tech.effects[k].type == 'unlock-recipe' then
|
||||||
if data.raw.recipe[tech.effects[k].recipe] ~= nil then
|
if data.raw.recipe[tech.effects[k].recipe] ~= nil then
|
||||||
|
|||||||
Reference in New Issue
Block a user