initial logic for npcs/dialogs