Factorio: inflate location pool (#2422)

This commit is contained in:
Fabian Dill
2023-11-07 21:02:28 +01:00
committed by GitHub
parent 5a7d69c8b4
commit 72cb8b7d60
2 changed files with 3 additions and 8 deletions

View File

@@ -541,7 +541,7 @@ class FactorioScienceLocation(FactorioLocation):
super(FactorioScienceLocation, self).__init__(player, name, address, parent)
# "AP-{Complexity}-{Cost}"
self.complexity = int(self.name[3]) - 1
self.rel_cost = int(self.name[5:], 16)
self.rel_cost = int(self.name[5:])
self.ingredients = {Factorio.ordered_science_packs[self.complexity]: 1}
for complexity in range(self.complexity):