Add randomized recipe for Satellite.

This commit is contained in:
CaitSith2
2021-11-20 16:27:17 -08:00
parent affd707717
commit 1b4659276c
4 changed files with 30 additions and 6 deletions

View File

@@ -308,6 +308,7 @@ def get_rocket_requirements(silo_recipe: Recipe, part_recipe: Recipe, satellite_
for ingredient in part_recipe.ingredients:
techs |= recursively_get_unlocking_technologies(ingredient)
if satellite_recipe:
techs |= satellite_recipe.unlocking_technologies
for ingredient in satellite_recipe.ingredients:
techs |= recursively_get_unlocking_technologies(ingredient)
return {tech.name for tech in techs}