 5a8e6e61f5
			
		
	
	5a8e6e61f5
	
	
	
		
			
			- consolidated declaration and population of level location lists - moved floor_location_game_ids_late declaration for consistency - moved generate_itempool to create_items, where it belongs - mention that expanded pool includes take any caves in the option description again - removed unnecessary StartingPosition check regarding Take Any Caves (leftover from older StartingPosition behavior I believe) - use proper comparisons to option keys instead of hardcoded ints
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| import typing
 | |
| from Options import Option, DefaultOnToggle, Choice
 | |
| 
 | |
| 
 | |
| class ExpandedPool(DefaultOnToggle):
 | |
|     """Puts room clear drops and take any caves into the pool of items and locations."""
 | |
|     display_name = "Expanded Item Pool"
 | |
| 
 | |
| 
 | |
| class TriforceLocations(Choice):
 | |
|     """Where Triforce fragments can be located. Note that Triforce pieces
 | |
|     obtained in a dungeon will heal and warp you out, while overworld Triforce pieces obtained will appear to have
 | |
|     no immediate effect. This is normal."""
 | |
|     display_name = "Triforce Locations"
 | |
|     option_vanilla = 0
 | |
|     option_dungeons = 1
 | |
|     option_anywhere = 2
 | |
| 
 | |
| 
 | |
| class StartingPosition(Choice):
 | |
|     """How easy is the start of the game.
 | |
|     Safe means a weapon is guaranteed in Starting Sword Cave.
 | |
|     Unsafe means that a weapon is guaranteed between Starting Sword Cave, Letter Cave, and Armos Knight.
 | |
|     Dangerous adds these level locations to the unsafe pool (if they exist):
 | |
| #       Level 1 Compass, Level 2 Bomb Drop (Keese), Level 3 Key Drop (Zols Entrance), Level 3 Compass
 | |
|     Very Dangerous is the same as dangerous except it doesn't guarantee a weapon. It will only mean progression
 | |
|     will be there in single player seeds. In multi worlds, however, this means all bets are off and after checking
 | |
|     the dangerous spots, you could be stuck until someone sends you a weapon"""
 | |
|     display_name = "Starting Position"
 | |
|     option_safe = 0
 | |
|     option_unsafe = 1
 | |
|     option_dangerous = 2
 | |
|     option_very_dangerous = 3
 | |
| 
 | |
| 
 | |
| tloz_options: typing.Dict[str, type(Option)] = {
 | |
|     "ExpandedPool": ExpandedPool,
 | |
|     "TriforceLocations": TriforceLocations,
 | |
|     "StartingPosition": StartingPosition
 | |
| }
 |