Dynamic allocation of friends in monster.txt