Fix Ice Palace softlock
This commit is contained in:
		
							parent
							
								
									6007aed5d7
								
							
						
					
					
						commit
						596ba13781
					
				
							
								
								
									
										2
									
								
								Rules.py
								
								
								
								
							
							
						
						
									
										2
									
								
								Rules.py
								
								
								
								
							|  | @ -264,7 +264,7 @@ def global_rules(world): | |||
|     set_rule(world.get_entrance('Ice Palace Entrance Room'), lambda state: state.has('Fire Rod') or (state.has('Bombos') and state.has_sword())) | ||||
|     set_rule(world.get_location('Ice Palace - Big Chest'), lambda state: state.has('Big Key (Ice Palace)')) | ||||
|     set_rule(world.get_entrance('Ice Palace (Kholdstare)'), lambda state: state.can_lift_rocks() and state.has('Hammer') and state.has('Big Key (Ice Palace)') and (state.has('Small Key (Ice Palace)', 2) or (state.has('Cane of Somaria') and state.has('Small Key (Ice Palace)', 1)))) | ||||
|     set_rule(world.get_entrance('Ice Palace (East)'), lambda state: (state.has('Hookshot') or (item_in_locations(state, 'Big Key (Ice Palace)', ['Ice Palace - Spike Room', 'Ice Palace - Big Key Chest', 'Ice Palace - Map Chest']) and state.has('Small Key (Ice Palace)')) or state.has('Small Key (Ice Palace)', 2)) and (world.can_take_damage or state.has('Hookshot') or state.has('Cape') or state.has('Cane of Byrna'))) | ||||
|     set_rule(world.get_entrance('Ice Palace (East)'), lambda state: (state.has('Hookshot') or (item_in_locations(state, 'Big Key (Ice Palace)', ['Ice Palace - Spike Room', 'Ice Palace - Big Key Chest', 'Ice Palace - Map Chest']) and state.has('Small Key (Ice Palace)'))) and (world.can_take_damage or state.has('Hookshot') or state.has('Cape') or state.has('Cane of Byrna'))) | ||||
|     set_rule(world.get_entrance('Ice Palace (East Top)'), lambda state: state.can_lift_rocks() and state.has('Hammer')) | ||||
|     for location in ['Ice Palace - Big Chest', 'Ice Palace - Kholdstare']: | ||||
|         forbid_item(world.get_location(location), 'Big Key (Ice Palace)') | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue