Add Ganons Tower and Pyramid to the shuffle pool in non-ganon goal modes.

This commit is contained in:
LLCoolDave
2017-07-14 16:28:14 +02:00
parent 6464b516f8
commit de37916379
2 changed files with 65 additions and 11 deletions

View File

@@ -21,8 +21,9 @@ def set_rules(world):
raise NotImplementedError('Not implemented yet')
if world.goal == 'dungeons':
# require altar for ganon to enforce getting everything
add_rule(world.get_location('Ganon'), lambda state: state.can_reach('Altar', 'Location') and state.has('Beat Agahnim 1'))
# require all dungeons to beat ganon
add_rule(world.get_location('Ganon'), lambda state: state.can_reach('Altar', 'Location') and state.has('Beat Agahnim 1') and state.has('Beat Agahnim 2') and state.has('Crystal 1') and state.has('Crystal 2')
and state.has('Crystal 3') and state.has('Crystal 4') and state.has('Crystal 5') and state.has('Crystal 6') and state.has('Crystal 7'))
set_big_bomb_rules(world)