home · contact · privacy
Mark thing-carrying players with $ instead of +.
[plomrogue2] / plomrogue / game.py
index a1c2ee641cc1dcfefd8797b284676095ab69e83b..cd1ce2ea8ee5e3c947e10075acb2a0e39ae64969 100755 (executable)
@@ -238,6 +238,8 @@ class Game(GameBase):
                 if hasattr(t, 'thing_char'):
                     self.io.send('THING_CHAR %s %s' % (t.id_,
                                                        quote(t.thing_char)), c_id)
+                if hasattr(t, 'carrying') and t.carrying:
+                    self.io.send('THING_CARRYING %s' % (t.id_))
             for big_yx in self.portals:
                 for little_yx in [little_yx for little_yx in self.portals[big_yx]
                                   if player.fov_test(big_yx, little_yx)]: