diff --git a/Generate.py b/Generate.py index a5dd5a44..3acd4742 100644 --- a/Generate.py +++ b/Generate.py @@ -529,6 +529,8 @@ def roll_settings(weights: dict, plando_options: typing.Set[str] = frozenset(("b def roll_alttp_settings(ret: argparse.Namespace, weights, plando_options): + if "dungeon_items" in weights and get_choice_legacy('dungeon_items', weights, "non") != "none": + raise Exception(f"dungeon_items key in A Link to the Past was removed, but is present in these weights as {get_choice_legacy('dungeon_items', weights, False)}.") glitches_required = get_choice_legacy('glitches_required', weights) if glitches_required not in [None, 'none', 'no_logic', 'overworld_glitches', 'hybrid_major_glitches', 'minor_glitches']: logging.warning("Only NMG, OWG, HMG and No Logic supported")