Remove the deprecated Object.at_say hook

This commit is contained in:
Vincent Le Goff 2017-03-29 12:14:32 -07:00
parent a5b26df330
commit 117d1b5809

View file

@ -1513,25 +1513,6 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
self.location.msg_contents(msg_location, exclude=(self, ),
mapping=mapping)
def at_say(self, speaker, message):
"""
DEPRECATED.
Called on this object if an object inside this object speaks.
The string returned from this method is the final form of the
speech.
Args:
speaker (Object): The object speaking.
message (str): The words spoken.
Notes:
You should not need to add things like 'you say: ' or
similar here, that should be handled by the say command before
this.
"""
return message
def at_before_whisper(self, receiver, speech):
"""
Before the object whispers something to receiver.