mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-11-30 19:10:20 +08:00
16 lines
430 B
Lua
16 lines
430 B
Lua
|
for i, force in pairs(game.forces) do
|
||
|
if force.technologies["advanced-electronics-2"].researched then
|
||
|
force.recipes["rocket-control-unit"].enabled = true
|
||
|
end
|
||
|
if force.technologies["advanced-material-processing-2"].researched then
|
||
|
force.recipes["rocket-fuel"].enabled = true
|
||
|
end
|
||
|
end
|
||
|
|
||
|
for i, force in pairs(game.forces) do
|
||
|
force.reset_recipes()
|
||
|
end
|
||
|
|
||
|
for i, force in pairs(game.forces) do
|
||
|
force.reset_technologies()
|
||
|
end
|