home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add player faces/hats popping up n their chat messages, if in FOV.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 9bf03b2f0d881364c56a32999d6a16c8fe1b13c4..0195a623f88e2426f214d56b1ce80b5bad887ac4 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-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_)