Added some gamelogic to NPCs.