mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
consider the ability to craft a rocket-silo for factorio completion
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user