X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new2%2Fplomrogue%2Fgame.py;h=2202343d2bf61bc2fd63c5467ae4fb373bf7f20e;hp=e871d59401f1a9418ccc97c5f6c7fd5a055dd58a;hb=81554cf96856befe1392d86efcebb25e997e3497;hpb=a151d4cbc512d8075c6e49c0feb9cfcf63421f04 diff --git a/new2/plomrogue/game.py b/new2/plomrogue/game.py index e871d59..2202343 100755 --- a/new2/plomrogue/game.py +++ b/new2/plomrogue/game.py @@ -86,6 +86,9 @@ class Game(GameBase): def send_thing(thing): self.io.send('THING_POS %s %s' % (thing.id_, t.position)) + if hasattr(thing, 'nickname'): + self.io.send('THING_NAME %s %s' % (thing.id_, t.nickname)) + self.io.send('TURN ' + str(self.turn)) for t in self.things: