Include military science pack in all techs military or higher.

This does mean you have to get military science online to research your silo.
This commit is contained in:
CaitSith2
2021-10-14 10:20:56 -07:00
parent e4564abe41
commit 17ed957c6b
3 changed files with 25 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ function prep_copy(new_copy, old_tech)
local ingredient_filter = allowed_ingredients[old_tech.name]
if ingredient_filter ~= nil then
new_copy.unit.ingredients = filter_ingredients(new_copy.unit.ingredients, ingredient_filter)
new_copy.unit.ingredients = add_ingredients(new_copy.unit.ingredients, ingredient_filter)
end
end