From 117d1b5809826f92040897d63d11da411db64ad4 Mon Sep 17 00:00:00 2001 From: Vincent Le Goff Date: Wed, 29 Mar 2017 12:14:32 -0700 Subject: [PATCH] Remove the deprecated Object.at_say hook --- evennia/objects/objects.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 1c8d8c132..ded09d9f4 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -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.