diff --git a/worlds/factorio/Technologies.py b/worlds/factorio/Technologies.py index 2056dd4d..377c8f56 100644 --- a/worlds/factorio/Technologies.py +++ b/worlds/factorio/Technologies.py @@ -5,7 +5,6 @@ import Utils import logging factorio_id = 2 ** 17 - source_file = Utils.local_path("data", "factorio", "techs.json") recipe_source_file = Utils.local_path("data", "factorio", "recipes.json") with open(source_file) as f: diff --git a/worlds/factorio/__init__.py b/worlds/factorio/__init__.py index 26cf4660..0b37be12 100644 --- a/worlds/factorio/__init__.py +++ b/worlds/factorio/__init__.py @@ -9,8 +9,7 @@ static_nodes = {"automation", "logistics"} def gen_factorio(world: MultiWorld, player: int): for tech_name, tech_id in tech_table.items(): - # TODO: some techs don't need the advancement marker - tech_item = Item(tech_name, True, tech_id, player) + tech_item = Item(tech_name, tech_name in advancement_technologies, tech_id, player) tech_item.game = "Factorio" if tech_name in static_nodes: loc = world.get_location(tech_name, player)