mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-30 20:01:40 +09:00
Update
This commit is contained in:
9
PHI-RS/migrations/migrations.lua
Normal file
9
PHI-RS/migrations/migrations.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
for index, force in pairs(game.forces) do
|
||||
local technologies = force.technologies
|
||||
local recipes = force.recipes
|
||||
|
||||
if technologies['advanced-material-processing-2'].researched then
|
||||
recipes['electric-filter-furnace'].enabled = true
|
||||
recipes['electric-filter-furnace'].reload()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user