mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
@@ -201,10 +201,10 @@ class Factorio(World):
|
||||
new_ingredient = pool.pop()
|
||||
if new_ingredient in liquids:
|
||||
while liquids_used == allow_liquids and new_ingredient in liquids:
|
||||
# liquids already at max for current recipe. Return the liquid to the pool, shuffle, and get a new ingredient.
|
||||
# liquids already at max for current recipe.
|
||||
# Return the liquid to the pool and get a new ingredient.
|
||||
pool.append(new_ingredient)
|
||||
self.world.random.shuffle(pool)
|
||||
new_ingredient = pool.pop()
|
||||
new_ingredient = pool.pop(0)
|
||||
liquids_used += 1
|
||||
new_ingredients[new_ingredient] = 1
|
||||
return Recipe(original.name, self.get_category(original.category, liquids_used), new_ingredients,
|
||||
|
||||
Reference in New Issue
Block a user