mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 21:53:12 +09:00
..
This commit is contained in:
1 parent
dd5c37196e
commit
59c203f597
3 files changed
+39
-6
No files matched your search
@@ -453,6 +453,7 @@ for _, v in pairs({{'logistics', 'loader'}, {'logistics-2', 'fast-loader'}, {'lo
|
||||
if data.raw['loader'] and data.raw['loader'][v[2]] then
|
||||
if data.raw.technology[v[1]] then
|
||||
table.insert(data.raw.technology[v[1]].effects, {type = 'unlock-recipe', recipe = v[2]})
|
||||
|
||||
else
|
||||
data.raw.recipe[v[2]].enabled = true
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user