Factorio: Fix Rocket Launch event getting encoded into mod

This commit is contained in:
Fabian Dill
2021-05-22 07:54:12 +02:00
parent 71bb5b850e
commit 22aa4cbb9f
4 changed files with 3 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ def generate_mod(world: MultiWorld, player: int):
player_names = {x: world.player_names[x][0] for x in world.player_ids}
locations = []
for location in world.get_filled_locations(player):
locations.append((location.name, location.item.name, location.item.player))
if location.address:
locations.append((location.name, location.item.name, location.item.player))
mod_name = f"AP-{world.seed_name}-P{player}-{world.player_names[player][0]}"
tech_cost = {0: 0.1,
1: 0.25,