Add new error to distinguish issues with predetermined items
@@ -255,6 +255,9 @@ def randomize_progression_items(self):
continue
possible_items.remove(prerand_item)
+ if len(possible_items) == 0:
+ raise Exception("Only items left to place are predetermined items at inaccessible locations!")
+
# Filter out items that are not valid in any of the locations we might use.
possible_items = self.logic.filter_items_by_any_valid_location(possible_items, accessible_undone_locations)
