Fix logic for standard mode
This commit is contained in:
		
							parent
							
								
									60c4ebf4d5
								
							
						
					
					
						commit
						4a2078db26
					
				
							
								
								
									
										5
									
								
								Rules.py
								
								
								
								
							
							
						
						
									
										5
									
								
								Rules.py
								
								
								
								
							| 
						 | 
					@ -469,9 +469,12 @@ def swordless_rules(world):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def standard_rules(world):
 | 
					def standard_rules(world):
 | 
				
			||||||
 | 
					    for loc in ['Sanctuary','Sewers - Secret Room - Left', 'Sewers - Secret Room - Middle',
 | 
				
			||||||
 | 
					                'Sewers - Secret Room - Right']:
 | 
				
			||||||
 | 
					        add_rule(world.get_location(loc), lambda state: state.can_kill_most_things() and state.has('Small Key (Escape)'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # easiest way to enforce key placement not relevant for open
 | 
					    # easiest way to enforce key placement not relevant for open
 | 
				
			||||||
    set_rule(world.get_location('Sewers - Dark Cross'), lambda state: state.can_kill_most_things())
 | 
					    set_rule(world.get_location('Sewers - Dark Cross'), lambda state: state.can_kill_most_things())
 | 
				
			||||||
    add_rule(world.get_entrance('Sewers Door'), lambda state: state.can_kill_most_things())
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    set_rule(world.get_location('Hyrule Castle - Boomerang Chest'), lambda state: state.can_kill_most_things())
 | 
					    set_rule(world.get_location('Hyrule Castle - Boomerang Chest'), lambda state: state.can_kill_most_things())
 | 
				
			||||||
    set_rule(world.get_location('Hyrule Castle - Zelda\'s Chest'), lambda state: state.can_kill_most_things())
 | 
					    set_rule(world.get_location('Hyrule Castle - Zelda\'s Chest'), lambda state: state.can_kill_most_things())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue