 7f3f886e41
			
		
	
	7f3f886e41
	
	
	
		
			
			Overcooked! 2 is a couch co-op arcade game with a very high skill ceiling. It has a small but occult following, and the community craves a reason to keep coming back besides just grinding high scores. as such, this PR represents 3 major milestones in one: * The launch of OC2 Modding, a modding framework which is the first public mod for the game beyond simple RAM trainers * The launch of OC2 Randomizer * The integration of OC2 Randomizer in Archipelago
		
			
				
	
	
		
			16 lines
		
	
	
		
			485 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			485 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from BaseClasses import Location
 | |
| from .Overcooked2Levels import Overcooked2Level
 | |
| 
 | |
| 
 | |
| class Overcooked2Location(Location):
 | |
|     game: str = "Overcooked! 2"
 | |
| 
 | |
| 
 | |
| oc2_location_name_to_id = dict()
 | |
| oc2_location_id_to_name = dict()
 | |
| for level in Overcooked2Level():
 | |
|     if level.level_id == 36:
 | |
|         continue  # level 6-6 does not have an item location
 | |
|     oc2_location_name_to_id[level.location_name_item] = level.level_id
 | |
|     oc2_location_id_to_name[level.level_id] = level.location_name_item
 |