Factorio: Differentiate advancement items.

This commit is contained in:
Fabian Dill
2021-05-22 10:46:27 +02:00
parent 80b7e2e188
commit d8e33fe596
3 changed files with 12 additions and 6 deletions

View File

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