From 9d3cbb19f9eb6cc6a9b34511136c6dde9d8e6cba Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 3 Dec 2021 05:14:44 +0100 Subject: [PATCH] Clients: add docstrings to /items and /locations --- CommonClient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonClient.py b/CommonClient.py index ea8170b1..cb7b94c9 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -82,11 +82,13 @@ class ClientCommandProcessor(CommandProcessor): return True def _cmd_items(self): + """List all item names for the currently running game.""" self.output(f"Item Names for {self.ctx.game}") for item_name in AutoWorldRegister.world_types[self.ctx.game].item_name_to_id: self.output(item_name) def _cmd_locations(self): + """List all location names for the currently running game.""" self.output(f"Location Names for {self.ctx.game}") for location_name in AutoWorldRegister.world_types[self.ctx.game].location_name_to_id: self.output(location_name)