Add useful info for which medallion has the unknown type.

This commit is contained in:
CaitSith2 2021-03-07 03:31:36 -08:00
parent a86238d741
commit 1e17704ee6
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ def roll_settings(weights: dict, plando_options: typing.Set[str] = frozenset(("b
ret.required_medallions[index] = {"ether": "Ether", "quake": "Quake", "bombos": "Bombos", "random": "random"}\
.get(medallion.lower(), None)
if not ret.required_medallions[index]:
raise Exception(f"unknown Medallion {medallion}")
raise Exception(f"unknown Medallion {medallion} for {'misery mire' if index == 0 else 'turtle rock'}")
inventoryweights = weights.get('startinventory', {})
startitems = []