def new_spawn(self, spawn_dict):
        spawn = Spawn(spawn_dict)
        if not spawn.dbid:
            spawn.save()
        self.spawns[spawn.id] = spawn
        return spawn
Create a new spawn object from the spawn_dict and return it.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/room.py/Room.new_spawn