Dark Desert Teleporter requires the mitts

This commit is contained in:
compiling
2020-04-25 17:35:48 +10:00
parent e8fef8fc7b
commit c8a30bb749
2 changed files with 7 additions and 3 deletions

View File

@@ -62,7 +62,11 @@ The game can be completed without knowing how to perform glitches of any kind.
### Minor Glitches
May require Fake Flippers, Bunny Revival.
May require Fake Flippers, Dungeon Bunny Revival.
### Overworld Glitches
May require overworld clipping, superbunny and minor glitches
### No Logic
@@ -325,7 +329,7 @@ Show the help message and exit.
Output a Spoiler File (default: False)
```
--logic [{noglitches,minorglitches,nologic}]
--logic [{noglitches,minorglitches,owglitches,nologic}]
```
Select the game logic (default: noglitches)

View File

@@ -988,7 +988,7 @@ def overworld_glitches_rules(world, player):
# Regions that require the boots and some other stuff.
if world.mode != 'inverted':
set_rule(world.get_entrance('Dark Desert Teleporter', player), lambda state: state.has('Ocarina', player) or (state.can_boots_clip_dw(player) and state.can_lift_heavy_rocks(player)))
set_rule(world.get_entrance('Dark Desert Teleporter', player), lambda state: (state.has('Ocarina', player) or state.can_boots_clip_dw(player)) and state.can_lift_heavy_rocks(player))
set_rule(world.get_entrance('Turtle Rock Teleporter', player), lambda state: (state.can_boots_clip_dw(player) or state.can_lift_heavy_rocks(player)) and state.has('Hammer', player))
add_rule(world.get_entrance('Catfish Exit Rock', player), lambda state: state.can_boots_clip_dw(player), 'or')
add_rule(world.get_entrance('East Dark World Broken Bridge Pass', player), lambda state: state.can_boots_clip_dw(player), 'or')