mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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:
@@ -190,7 +190,11 @@ class OOTWorld(World):
|
|||||||
|
|
||||||
# Determine which dungeons are MQ
|
# Determine which dungeons are MQ
|
||||||
# Possible future plan: allow user to pick 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}
|
self.dungeon_mq = {item['name']: (item in mq_dungeons) for item in dungeon_table}
|
||||||
|
|
||||||
# Determine tricks in logic
|
# Determine tricks in logic
|
||||||
|
Reference in New Issue
Block a user