From 1e17704ee6d65b818a39c178f83a2014c26a0b69 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Sun, 7 Mar 2021 03:31:36 -0800 Subject: [PATCH] Add useful info for which medallion has the unknown type. --- Mystery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mystery.py b/Mystery.py index 200f832e..7b290d28 100644 --- a/Mystery.py +++ b/Mystery.py @@ -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 = []