home · contact · privacy
Add player name visibility via study mode.
[plomrogue2-experiments] / new2 / plomrogue / game.py
index e871d59401f1a9418ccc97c5f6c7fd5a055dd58a..2202343d2bf61bc2fd63c5467ae4fb373bf7f20e 100755 (executable)
@@ -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: