mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Rework __init__ to use create_items and pre_fill properly
Puts keys into the itempool along with all other items Fixes a bug where dungeon smallkeys + nondungeon big keys fails generation Also includes some minor optimizations mostly relating to iterables
This commit is contained in:
@@ -193,7 +193,7 @@ def set_entrances_based_rules(ootworld):
|
||||
if ootworld.world.accessibility == 'beatable':
|
||||
return
|
||||
|
||||
all_state = ootworld.state_with_items(ootworld.itempool)
|
||||
all_state = ootworld.world.get_all_state(False)
|
||||
|
||||
for location in ootworld.get_locations():
|
||||
# If a shop is not reachable as adult, it can't have Goron Tunic or Zora Tunic as child can't buy these
|
||||
|
||||
Reference in New Issue
Block a user