X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=inline;f=client.py;h=dd40323fca7038e45f8684bd1f34bd086e96523d;hb=6c2138deeea000ebb531203445fa22c1f7a6f0da;hp=80cac96aab380849a29c4e54edb6cb5c5bc86579;hpb=827134a13175939231b85fbc159c013e0f024e78;p=plomrogue2-experiments diff --git a/client.py b/client.py index 80cac96..dd40323 100755 --- a/client.py +++ b/client.py @@ -23,6 +23,11 @@ class Game(Commander): symbol = 'm' return symbol + def cmd_LAST_PLAYER_TASK_RESULT(self, msg): + if msg != "success": + self.log_text = msg + '\n' + self.log_text + cmd_LAST_PLAYER_TASK_RESULT.argtypes = 'string' + def cmd_TURN_FINISHED(self, n): """Do nothing. (This may be extended later.)""" pass