Allow Mystery setting Misery Mire and Turtle Rock medallions

This commit is contained in:
Fabian Dill
2021-01-02 23:00:14 +01:00
parent be162f5b8d
commit e7beb80219
4 changed files with 18 additions and 4 deletions

View File

@@ -320,8 +320,14 @@ def generate_itempool(world, player: int):
world.random.shuffle(nonprogressionitems)
# shuffle medallions
mm_medallion = world.random.choice(['Ether', 'Quake', 'Bombos'])
tr_medallion = world.random.choice(['Ether', 'Quake', 'Bombos'])
if world.required_medallions[player][0] == "random":
mm_medallion = world.random.choice(['Ether', 'Quake', 'Bombos'])
else:
mm_medallion = world.required_medallions[player][0]
if world.required_medallions[player][0] == "random":
tr_medallion = world.random.choice(['Ether', 'Quake', 'Bombos'])
else:
tr_medallion = world.required_medallions[player][0]
world.required_medallions[player] = (mm_medallion, tr_medallion)
place_bosses(world, player)