Updated to use player and npcs for dialog.