Fix issue where wrong chest in hookshot cave is marked reachable with boots.
This commit is contained in:
		
							parent
							
								
									1630215a24
								
							
						
					
					
						commit
						32538c41d2
					
				
							
								
								
									
										4
									
								
								Rules.py
								
								
								
								
							
							
						
						
									
										4
									
								
								Rules.py
								
								
								
								
							| 
						 | 
				
			
			@ -172,8 +172,8 @@ def global_rules(world):
 | 
			
		|||
    set_rule(world.get_location('[cave-055] Spike Cave'), lambda state: state.has('Hammer') and state.can_lift_rocks())  # damage should be survivable always somehow. MAY need more logic ToDo
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [top right chest]'), lambda state: state.has('Hookshot'))
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [top left chest]'), lambda state: state.has('Hookshot'))
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [bottom right chest]'), lambda state: state.has('Hookshot'))
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [bottom left chest]'), lambda state: state.has('Hookshot') or state.has('Pegasus Boots'))
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [bottom right chest]'), lambda state: state.has('Hookshot') or state.has('Pegasus Boots'))
 | 
			
		||||
    set_rule(world.get_location('[cave-056] Hookshot Cave [bottom left chest]'), lambda state: state.has('Hookshot'))
 | 
			
		||||
    set_rule(world.get_location('Piece of Heart (Death Mountain - Floating Island)'), lambda state: state.has_Mirror())
 | 
			
		||||
    set_rule(world.get_entrance('Turtle Rock'), lambda state: state.has_Pearl() and state.has_sword() and state.has_turtle_rock_medallion())  # sword required to cast magic (!)
 | 
			
		||||
    set_rule(world.get_location('[cave-013] Mimic Cave'), lambda state: state.has('Hammer'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue