create options files on WebHost startup

This commit is contained in:
Fabian Dill
2021-07-22 18:21:31 +02:00
parent df9bad75ea
commit 34ff5d9662
5 changed files with 120 additions and 21 deletions

View File

@@ -25,7 +25,7 @@ class Factorio(World):
item_name_to_id = tech_table
location_name_to_id = base_tech_table
def create_items(self):
def generate_basic(self):
for tech_name in base_tech_table:
if self.world.progressive:
item_name = tech_to_progressive_lookup.get(tech_name, tech_name)