From 5f4b2cfa5222ef8cb94f0e5f764167e1ef7a396f Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 14 May 2022 20:52:57 +0200 Subject: [PATCH] Main: compress world type output log (#509) --- Main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Main.py b/Main.py index 19025500..d6bdcea2 100644 --- a/Main.py +++ b/Main.py @@ -86,12 +86,12 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No numlength = 8 for name, cls in AutoWorld.AutoWorldRegister.world_types.items(): if not cls.hidden: - logger.info(f" {name:{longest_name}}: {len(cls.item_names):3} Items | " - f"{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(f" {name:{longest_name}}: {len(cls.item_names):3} " + f"Items (IDs: {min(cls.item_id_to_name):{numlength}} - " + f"{max(cls.item_id_to_name):{numlength}}) | " + f"{len(cls.location_names):3} " + f"Locations (IDs: {min(cls.location_id_to_name):{numlength}} - " + f"{max(cls.location_id_to_name):{numlength}})") AutoWorld.call_stage(world, "assert_generate")