X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/git-favicon.png?a=blobdiff_plain;f=plomrogue%2Fcommands.py;h=e75cbe9001f495a0177d65ee0859d148486e897f;hb=8c5624db0c2b463a490a425fc0f8baf2761d7d23;hp=c2484bf5d228ea1407e63caab79be1000554d3e0;hpb=00167344ddc7cb47c344473e2bc3bbfef6b4fe41;p=plomrogue2 diff --git a/plomrogue/commands.py b/plomrogue/commands.py index c2484bf..e75cbe9 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -4,6 +4,11 @@ from plomrogue.mapping import YX, MapGeometrySquare, MapGeometryHex +def cmd_TASKS(game, connection_id): + tasks = [] + game.io.send('TASKS ' + ','.join(game.tasks.keys()), connection_id) +cmd_TASKS.argtypes = '' + def cmd_ALL(game, msg, connection_id): if not connection_id in game.sessions: raise GameError('need to be logged in for this')