def add_char(self, char, prev_room='void'):
        if char.is_npc():
            self.npcs.append(char)
        else:
            self.players[char.name] = char
            self.area.times_visited_since_reset += 1
            self.fire_event('pc_enter', {'player': char, 'from': prev_room})
Adds a character to this room.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/room.py/Room.add_char