This commit is contained in:
2026-05-26 18:41:04 +09:00
parent dd5c37196e
commit 59c203f597
3 changed files with 39 additions and 6 deletions
+1
View File
@@ -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