added pathworker to tick function of npctype; inited pathworker in game;