mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|   | def create_regions(world, player: int): | ||
|  |     from . import create_region | ||
|  |     from .Locations import location_table | ||
|  | 
 | ||
|  |     world.regions += [ | ||
|  |         create_region(world, player, 'Menu', None, ['Neow\'s Room']), | ||
|  |         create_region(world, player, 'The Spire', [location for location in location_table]) | ||
|  |     ] | ||
|  | 
 | ||
|  |     # link up our region with the entrance we just made | ||
|  |     world.get_entrance('Neow\'s Room', player).connect(world.get_region('The Spire', player)) |