mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
OoT: reenable MQ dungeon support
This commit is contained in:
@@ -128,6 +128,14 @@ class LogicalChus(Toggle):
|
||||
displayname = "Bombchus Considered in Logic"
|
||||
|
||||
|
||||
class MQDungeons(Range):
|
||||
"""Number of MQ dungeons. The dungeons to replace are randomly selected."""
|
||||
displayname = "Number of MQ Dungeons"
|
||||
range_start = 0
|
||||
range_end = 12
|
||||
default = 0
|
||||
|
||||
|
||||
world_options: typing.Dict[str, type(Option)] = {
|
||||
"starting_age": StartingAge,
|
||||
# "shuffle_interior_entrances": InteriorEntrances,
|
||||
@@ -141,7 +149,7 @@ world_options: typing.Dict[str, type(Option)] = {
|
||||
"triforce_goal": TriforceGoal,
|
||||
"extra_triforce_percentage": ExtraTriforces,
|
||||
"bombchus_in_logic": LogicalChus,
|
||||
# "mq_dungeons": make_range(0, 12),
|
||||
"mq_dungeons": MQDungeons,
|
||||
}
|
||||
|
||||
|
||||
|
@@ -155,7 +155,6 @@ class OOTWorld(World):
|
||||
|
||||
# Determine which dungeons are MQ
|
||||
# Possible future plan: allow user to pick which dungeons are MQ
|
||||
self.mq_dungeons = 0 # temporary disable for client-side issues
|
||||
mq_dungeons = self.world.random.sample(dungeon_table, self.mq_dungeons)
|
||||
self.dungeon_mq = {item['name']: (item in mq_dungeons) for item in dungeon_table}
|
||||
|
||||
|
Reference in New Issue
Block a user