consider the ability to craft a rocket-silo for factorio completion

This commit is contained in:
Fabian Dill 2021-05-22 21:13:53 +02:00
parent d8e33fe596
commit c36ac5baba
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ for technologies in required_technologies.values():
@functools.lru_cache(10)
def get_rocket_requirements(ingredients: Set[str]) -> Set[str]:
techs = set()
techs = recursively_get_unlocking_technologies("rocket-silo")
for ingredient in ingredients:
techs |= recursively_get_unlocking_technologies(ingredient)
return {tech.name for tech in techs}