home · contact · privacy
Also show unworn hats' design.
[plomrogue2] / plomrogue / game.py
index 36a76561e21870d66d0e250e2d5a6d1b4de02d20..31cae6f2008f510a73046628bef1ee797233af2e 100755 (executable)
@@ -291,6 +291,9 @@ class Game(GameBase):
                                  c_id)
                 if hasattr(t, 'installable') and not t.portable:
                     self.io.send('THING_INSTALLED %s' % (t.id_), c_id)
+                if hasattr(t, 'design'):
+                    self.io.send('THING_HAT %s %s' % (t.id_,
+                                                      quote(t.design)), c_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)]: