mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: recipe randomization (rocket-part and science-packs only for now)
This commit is contained in:
@@ -1492,6 +1492,12 @@ class Spoiler(object):
|
||||
for dungeon, medallion in self.medallions.items():
|
||||
outfile.write(f'\n{dungeon}: {medallion}')
|
||||
|
||||
if self.world.factorio_player_ids:
|
||||
outfile.write('\n\nRecipes:\n')
|
||||
for player in self.world.factorio_player_ids:
|
||||
for recipe in self.world.worlds[player].custom_recipes.values():
|
||||
outfile.write(f"{recipe.name}: {recipe.ingredients} -> {recipe.products}\n")
|
||||
|
||||
if self.startinventory:
|
||||
outfile.write('\n\nStarting Inventory:\n\n')
|
||||
outfile.write('\n'.join(self.startinventory))
|
||||
|
Reference in New Issue
Block a user