def return_detail(self, key):
        try:
            detail = self.db.details.get(key.lower(), None)
        except AttributeError:
            # this happens if no attribute details is set at all
            return None
        if detail:
            season, timeslot = self.get_time_and_season()
            detail = self.replace_timeslots(detail, timeslot)
            return detail
        return None
This will attempt to match a "detail" to look for in the room.
dataset/ETHPy150Open evennia/evennia/evennia/contrib/extended_room.py/ExtendedRoom.return_detail