home · contact · privacy
Add player faces/hats popping up n their chat messages, if in FOV.
[plomrogue2] / plomrogue / things.py
index 9bf03b2f0d881364c56a32999d6a16c8fe1b13c4..0195a623f88e2426f214d56b1ce80b5bad887ac4 100644 (file)
@@ -94,6 +94,8 @@ class Thing(ThingBase):
                                                                lowered_nick,
                                                                lowered_msg)),
                               c_id)
+            if listener.fov_test(self.position[0], self.position[1]):
+                self.game.io.send('CHATFACE %s' % self.id_)