make Factorio rocket silo a static (and therefore local) node

This commit is contained in:
Fabian Dill
2021-06-15 15:32:40 +02:00
parent 8d08b55e69
commit d9824d26d2
4 changed files with 13 additions and 11 deletions

View File

@@ -9,11 +9,12 @@ from .Mod import generate_mod
class Factorio(World):
game: str = "Factorio"
static_nodes = {"automation", "logistics"}
static_nodes = {"automation", "logistics", "rocket-silo"}
def generate_basic(self):
victory_tech_names = get_rocket_requirements(
frozenset(rocket_recipes[self.world.max_science_pack[self.player].value]))
for tech_name, tech_id in tech_table.items():
tech_item = Item(tech_name, tech_name in advancement_technologies or tech_name in victory_tech_names,
tech_id, self.player)