Update NPCs.js

adding basic functions to the NPC