Tie the need for satellite recipe to satellite goal, not max science pack.

This commit is contained in:
CaitSith2 2021-12-04 06:20:16 -08:00
parent feb2e0be03
commit 9c74d648f8
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ class Factorio(World):
needed_recipes = self.world.max_science_pack[self.player].get_allowed_packs() | {"rocket-part"} needed_recipes = self.world.max_science_pack[self.player].get_allowed_packs() | {"rocket-part"}
if self.world.silo[self.player] != Silo.option_spawn: if self.world.silo[self.player] != Silo.option_spawn:
needed_recipes |= {"rocket-silo"} needed_recipes |= {"rocket-silo"}
if self.world.max_science_pack[self.player].value == MaxSciencePack.option_space_science_pack: if self.world.goal[self.player].value == Goal.option_satellite:
needed_recipes |= {"satellite"} needed_recipes |= {"satellite"}
for recipe in needed_recipes: for recipe in needed_recipes: