consider the ability to craft a rocket-silo for factorio completion
This commit is contained in:
parent
d8e33fe596
commit
c36ac5baba
|
@ -225,7 +225,7 @@ for technologies in required_technologies.values():
|
||||||
|
|
||||||
@functools.lru_cache(10)
|
@functools.lru_cache(10)
|
||||||
def get_rocket_requirements(ingredients: Set[str]) -> Set[str]:
|
def get_rocket_requirements(ingredients: Set[str]) -> Set[str]:
|
||||||
techs = set()
|
techs = recursively_get_unlocking_technologies("rocket-silo")
|
||||||
for ingredient in ingredients:
|
for ingredient in ingredients:
|
||||||
techs |= recursively_get_unlocking_technologies(ingredient)
|
techs |= recursively_get_unlocking_technologies(ingredient)
|
||||||
return {tech.name for tech in techs}
|
return {tech.name for tech in techs}
|
||||||
|
|
Loading…
Reference in New Issue