 90446ad175
			
		
	
	90446ad175
	
	
	
		
			
			* Update ChecksFinder * minor cleanup * Check for compatible name * Enable APWorld * Update setup_en.md * Update en_ChecksFinder.md * The client is getting updated instead * Qwint suggestions, ' -> ", streamline fill_slot_data * Oops, too many refactors --------- Co-authored-by: SunCat <suncat.game@ya.ru>
		
			
				
	
	
		
			21 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from BaseClasses import Item
 | |
| import typing
 | |
| 
 | |
| 
 | |
| class ItemData(typing.NamedTuple):
 | |
|     code: int
 | |
|     progression: bool = True
 | |
| 
 | |
| 
 | |
| class ChecksFinderItem(Item):
 | |
|     game: str = "ChecksFinder"
 | |
| 
 | |
| 
 | |
| item_table = {
 | |
|     "Map Width": ItemData(80000),
 | |
|     "Map Height": ItemData(80001),
 | |
|     "Map Bombs": ItemData(80002),
 | |
| }
 | |
| 
 | |
| lookup_id_to_name: typing.Dict[int, str] = {data.code: item_name for item_name, data in item_table.items()}
 |