'This hook is called by the engine whenever the player is moved into
this room.'

def at_object_receive(self, character, source_location):

    if (not character.has_player):
        return
    is_success = (str(character.db.puzzle_clue) == str(self.db.puzzle_value))
    teleport_to = (self.db.success_teleport_to if is_success else self.db.failure_teleport_to)
    results = search_object(teleport_to)
    if ((not results) or (len(results) > 1)):
        character.msg(('no    valid    teleport    target    for    %s    was    found.' % teleport_to))
        return
    if character.is_superuser:
        character.msg(('Superuser    block:    You    would    have    been    teleported    to    %s.' % results[0]))
        return
    if is_success:
        character.msg(self.db.success_teleport_msg)
    else:
        character.msg(self.db.failure_teleport_msg)
    character.move_to(results[0], quiet=True, move_hooks=False)
    results[0].at_object_receive(character, self)
