Fix TR small key getting shuffled away
This commit is contained in:
		
							parent
							
								
									756c6554c9
								
							
						
					
					
						commit
						82aca3bce4
					
				| 
						 | 
					@ -936,8 +936,9 @@ def set_trock_key_rules(world, player):
 | 
				
			||||||
                    # A key is required in the Big Key Chest to prevent a possible softlock.  Place an extra key to ensure 100% locations still works
 | 
					                    # A key is required in the Big Key Chest to prevent a possible softlock.  Place an extra key to ensure 100% locations still works
 | 
				
			||||||
                    item = ItemFactory('Small Key (Turtle Rock)', player)
 | 
					                    item = ItemFactory('Small Key (Turtle Rock)', player)
 | 
				
			||||||
                    item.world = world
 | 
					                    item.world = world
 | 
				
			||||||
                    world.push_item(world.get_location('Turtle Rock - Big Key Chest', player), item, False)
 | 
					                    location = world.get_location('Turtle Rock - Big Key Chest', player)
 | 
				
			||||||
                    world.get_location('Turtle Rock - Big Key Chest', player).event = True
 | 
					                    location.place_locked_item(item)
 | 
				
			||||||
 | 
					                    location.event = True
 | 
				
			||||||
                    toss_junk_item(world, player)
 | 
					                    toss_junk_item(world, player)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if world.accessibility[player] != 'locations':
 | 
					    if world.accessibility[player] != 'locations':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue