mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
-- electric furnace
|
||||
data.raw['furnace']['electric-furnace'].fast_replaceable_group = 'electric-furnace'
|
||||
data.raw['assembling-machine']['electric-filter-furnace-1'].fast_replaceable_group = data.raw['furnace']['electric-furnace'].fast_replaceable_group
|
||||
data.raw['assembling-machine']['electric-filter-furnace-1'].crafting_categories = data.raw['furnace']['electric-furnace'].crafting_categories
|
||||
|
||||
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