Researched all technologies before science pack 3
Posted: Thu Mar 15, 2018 5:12 pm
How can I research all technologies before science pack 3?
I tried to use it, but it research all technologies:
I tried to use it, but it research all technologies:
Code: Select all
for k, force in pairs (game.forces) do
for k, technology in pairs (force.technologies) do
for k, ingredient in pairs (technology.research_unit_ingredients) do
if ingredient.name ~= 'science-pack-3' then
technology.researched = true
end
end
end
end