Core: Include unfilled locations in error when there are not enough locations for progression items (#4285)
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									7c89a83d19
								
							
						
					
					
						commit
						2d3faea713
					
				
							
								
								
									
										3
									
								
								Fill.py
								
								
								
								
							
							
						
						
									
										3
									
								
								Fill.py
								
								
								
								
							|  | @ -531,7 +531,8 @@ def distribute_items_restrictive(multiworld: MultiWorld, | |||
|         if progitempool: | ||||
|             raise FillError( | ||||
|                 f"Not enough locations for progression items. " | ||||
|                 f"There are {len(progitempool)} more progression items than there are available locations.", | ||||
|                 f"There are {len(progitempool)} more progression items than there are available locations.\n" | ||||
|                 f"Unfilled locations:\n{multiworld.get_unfilled_locations()}.", | ||||
|                 multiworld=multiworld, | ||||
|             ) | ||||
|         accessibility_corrections(multiworld, multiworld.state, defaultlocations) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue