From 6d03c5c5325bf7cf9579b8d52b003c61c6865b6e Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 19 Jul 2023 14:14:01 -0500 Subject: [PATCH] Merge branch 'OverworldShuffleDev' of https://github.com/codemann8/ALttPDoorRandomizer into OverworldShuffleDev Adding console output when generation fails to reach required items --- Main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Main.py b/Main.py index c426cef7..cb2d4983 100644 --- a/Main.py +++ b/Main.py @@ -877,6 +877,7 @@ def create_playthrough(world): if world.has_beaten_game(state): required_locations.clear() else: + logging.getLogger('').error(world.fish.translate("cli", "cli", "cannot.reach.items"), [world.fish.translate("cli","cli","cannot.reach.item") % (loc.item.name, loc.item.player, loc.name, loc.player) for loc in required_locations]) raise RuntimeError(world.fish.translate("cli","cli","cannot.reach.required")) # store the required locations for statistical analysis