From 72610d8c2f7742b6bf8686418a8236998f1a0ac3 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 16 Aug 2021 18:40:26 +0200 Subject: [PATCH] Core: log world ID ranges --- Main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 0ca9951b..3d3cb84b 100644 --- a/Main.py +++ b/Main.py @@ -145,9 +145,13 @@ def main(args, seed=None): logger.info("Found World Types:") longest_name = max(len(text) for text in AutoWorld.AutoWorldRegister.world_types) + numlength = 8 for name, cls in AutoWorld.AutoWorldRegister.world_types.items(): logger.info(f" {name:{longest_name}}: {len(cls.item_names):3} Items | {len(cls.location_names):3} Locations") - + logger.info(f" Item IDs: {min(cls.item_id_to_name):{numlength}} - " + f"{max(cls.item_id_to_name):{numlength}} | " + f"Location IDs: {min(cls.location_id_to_name):{numlength}} - " + f"{max(cls.location_id_to_name):{numlength}}") logger.info('') for player in world.get_game_players("A Link to the Past"):