OoT: prevent glitched + mq dungeons

this combo is not allowed on main ootr, so we won't have it here either
This commit is contained in:
espeon65536 2022-09-03 10:02:20 -05:00 committed by Fabian Dill
parent f9e28004a0
commit 539d2e80f1
1 changed files with 5 additions and 1 deletions

View File

@ -190,7 +190,11 @@ class OOTWorld(World):
# Determine which dungeons are MQ
# Possible future plan: allow user to pick which dungeons are MQ
mq_dungeons = self.world.random.sample(dungeon_table, self.mq_dungeons)
if self.logic_rules == 'glitchless':
mq_dungeons = self.world.random.sample(dungeon_table, self.mq_dungeons)
else:
self.mq_dungeons = 0
mq_dungeons = []
self.dungeon_mq = {item['name']: (item in mq_dungeons) for item in dungeon_table}
# Determine tricks in logic